The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Big Brain Simulator script pastebin roblox
By LINK GAME on 2024-11-22 08:00 am | Syntax: LUA | Views: 19



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local Startbutton = Instance.new("TextButton")
  4. local Stopbutton = Instance.new("TextButton")
  5. local TextLabel = Instance.new("TextLabel")
  6. local closebtn = Instance.new("TextButton")
  7.  
  8. ScreenGui.Parent = game.CoreGui
  9. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10.  
  11. Frame.Parent = ScreenGui
  12. Frame.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  13. Frame.BorderColor3 = Color3.fromRGB(130, 130, 130)
  14. Frame.Position = UDim2.new(0.0169971585, 0, 0.0130813867, 0)
  15. Frame.Size = UDim2.new(0, 298, 0, 62)
  16.  
  17. Startbutton.Name = "Startbutton"
  18. Startbutton.Parent = Frame
  19. Startbutton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  20. Startbutton.BorderColor3 = Color3.fromRGB(130, 130, 130)
  21. Startbutton.Position = UDim2.new(0.0671140924, 0, 0.268817216, 0)
  22. Startbutton.Size = UDim2.new(0, 118, 0, 28)
  23. Startbutton.Font = Enum.Font.SourceSans
  24. Startbutton.Text = "Start AutoFarm"
  25. Startbutton.TextColor3 = Color3.fromRGB(222, 222, 222)
  26. Startbutton.TextSize = 14.000
  27. Startbutton.MouseButton1Click:Connect(function()
  28.         start = true   
  29. end)
  30.  
  31. Stopbutton.Name = "Stopbutton"
  32. Stopbutton.Parent = Frame
  33. Stopbutton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  34. Stopbutton.BorderColor3 = Color3.fromRGB(130, 130, 130)
  35. Stopbutton.Position = UDim2.new(0.535000026, 0, 0.268999994, 0)
  36. Stopbutton.Size = UDim2.new(0, 118, 0, 28)
  37. Stopbutton.Font = Enum.Font.SourceSans
  38. Stopbutton.Text = "Stop AutoFarm"
  39. Stopbutton.TextColor3 = Color3.fromRGB(222, 222, 222)
  40. Stopbutton.TextSize = 14.000
  41. Stopbutton.MouseButton1Click:Connect(function()
  42.         start = false
  43.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").SpawnLocation.Position)
  44. end)
  45.  
  46. TextLabel.Parent = Frame
  47. TextLabel.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  48. TextLabel.BorderColor3 = Color3.fromRGB(60, 60, 60)
  49. TextLabel.Position = UDim2.new(0.0671140924, 0, 0.800000012, 0)
  50. TextLabel.Size = UDim2.new(0, 257, 0, 8)
  51. TextLabel.Font = Enum.Font.SourceSans
  52. TextLabel.Text = "\"G\" To Hide The Gui"
  53. TextLabel.TextColor3 = Color3.fromRGB(222, 222, 222)
  54. TextLabel.TextSize = 14.000
  55.  
  56. closebtn.Name = "closebtn"
  57. closebtn.Parent = Frame
  58. closebtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  59. closebtn.BorderSizePixel = 0
  60. closebtn.Position = UDim2.new(0.929530203, 0, 0.0300000105, 0)
  61. closebtn.Size = UDim2.new(0, 19, 0, 13)
  62. closebtn.Font = Enum.Font.SourceSans
  63. closebtn.Text = "X"
  64. closebtn.TextColor3 = Color3.fromRGB(222, 222, 222)
  65. closebtn.TextSize = 14.000
  66. closebtn.MouseButton1Click:Connect(function()
  67.     start = false
  68.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").SpawnLocation.Position)
  69.         closebtn.Parent:Destroy()
  70. end)
  71.  
  72. local function SFTYXF_fake_script()
  73.         local script = Instance.new('LocalScript', Frame)
  74.  
  75.         local UserInputService = game:GetService("UserInputService")
  76.         local mouse =  game.Players.LocalPlayer:GetMouse()
  77.         local hidden = false
  78.  
  79.         local gui = script.Parent
  80.  
  81.         local dragging
  82.         local dragInput
  83.         local dragStart
  84.         local startPos
  85.  
  86.         local function update(input)
  87.                 local delta = input.Position - dragStart
  88.                 gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  89.         end
  90.  
  91.         gui.InputBegan:Connect(function(input)
  92.                 if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  93.                         dragging = true
  94.                         dragStart = input.Position
  95.                         startPos = gui.Position
  96.  
  97.                         input.Changed:Connect(function()
  98.                                 if input.UserInputState == Enum.UserInputState.End then
  99.                                         dragging = false
  100.                                 end
  101.                         end)
  102.                 end
  103.         end)
  104.  
  105.         gui.InputChanged:Connect(function(input)
  106.                 if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  107.                         dragInput = input
  108.                 end
  109.         end)
  110.  
  111.         UserInputService.InputChanged:Connect(function(input)
  112.                 if input == dragInput and dragging then
  113.                         update(input)
  114.                 end
  115.         end)
  116.  
  117.         mouse.KeyDown:connect(function(key)
  118.                 if key == "g" then
  119.                         if hidden == false then
  120.                                 script.Parent.Visible = false
  121.                                 hidden = true
  122.                         else
  123.                                 script.Parent.Visible = true
  124.                                 hidden = false
  125.                         end
  126.                 end
  127.         end)
  128.  
  129.         start = false
  130.         local coin = game:GetService("Workspace").Coins:GetDescendants()
  131.         game:GetService("RunService").RenderStepped:Connect(function()
  132.                 for i, C in pairs(coin) do
  133.                         if C:IsA('Part') and C.Name == "Coin" and start == true then
  134.                                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(C.Position)
  135.                                 wait(0)
  136.                         end
  137.                 end
  138.         end)
  139. end
  140. coroutine.wrap(SFTYXF_fake_script)()



  • Recent Roblox Scripts