Advertisement
Guest User

Script GROW A CANDY CANE SIMULATOR By:Raengga/KidsGamers

a guest
Feb 10th, 2019
1,704
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.62 KB | None | 0 0
  1. function AutoSell()
  2.     for _,v in pairs(game.Workspace:GetChildren()) do
  3.         if v.Name == "Model" then
  4.             for _,v in pairs(v:GetChildren()) do
  5.                 if v.Name == "Model" then
  6.                     for _,v in pairs(v:GetChildren()) do
  7.                         if v.Name == "Model" then
  8.                             for _,v in pairs(v:GetChildren()) do
  9.                                 if v:FindFirstChild("LoadSell") then
  10.                                     local part = v
  11.                                     part.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  12.                                 end
  13.                             end
  14.                         end
  15.                     end
  16.                 end
  17.             end
  18.         end
  19.     end
  20. end
  21. local Shitulator = Instance.new("ScreenGui")
  22. local Back = Instance.new("Frame")
  23. local TopBar = Instance.new("Frame")
  24. local Credits = Instance.new("TextLabel")
  25. local InfoFrame = Instance.new("Frame")
  26. local InfoText = Instance.new("TextLabel")
  27. local Info = Instance.new("TextButton")
  28. local Destroy = Instance.new("TextButton")
  29. local Cane = Instance.new("TextButton")
  30. local Egg = Instance.new("TextButton")
  31. local EggNum = Instance.new("TextBox")
  32. local Power = Instance.new("TextButton")
  33. local Sell = Instance.new("TextButton")
  34. local Coins = Instance.new("TextButton")
  35. Shitulator.Name = "Shitulator"
  36. Shitulator.Parent = game.CoreGui
  37. Shitulator.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  38.  
  39. Back.Name = "Back"
  40. Back.Parent = Shitulator
  41. Back.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  42. Back.BorderSizePixel = 0
  43. Back.Position = UDim2.new(0.310083389, 0, 0.331325322, 0)
  44. Back.Size = UDim2.new(0, 479, 0, 223)
  45.  
  46. TopBar.Name = "TopBar"
  47. TopBar.Parent = Back
  48. TopBar.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  49. TopBar.BorderSizePixel = 0
  50. TopBar.Size = UDim2.new(0, 479, 0, 85)
  51.  
  52. Credits.Name = "Credits"
  53. Credits.Parent = TopBar
  54. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  55. Credits.BackgroundTransparency = 1
  56. Credits.BorderSizePixel = 0
  57. Credits.Size = UDim2.new(0, 324, 0, 85)
  58. Credits.Font = Enum.Font.Highway
  59. Credits.Text = "By Raengga/KidsGamers"
  60. Credits.TextColor3 = Color3.new(1, 1, 1)
  61. Credits.TextScaled = true
  62. Credits.TextSize = 14
  63. Credits.TextWrapped = true
  64.  
  65. InfoFrame.Name = "InfoFrame"
  66. InfoFrame.Parent = TopBar
  67. InfoFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  68. InfoFrame.BorderSizePixel = 0
  69. InfoFrame.Position = UDim2.new(1, 0, 0, 0)
  70. InfoFrame.Size = UDim2.new(0, 170, 0, 223)
  71.  
  72. InfoText.Name = "InfoText"
  73. InfoText.Parent = InfoFrame
  74. InfoText.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  75. InfoText.BorderSizePixel = 0
  76. InfoText.Size = UDim2.new(0, 170, 0, 223)
  77. InfoText.Font = Enum.Font.Highway
  78. InfoText.Text = "Hover over something for a description"
  79. InfoText.TextColor3 = Color3.new(1, 1, 1)
  80. InfoText.TextScaled = true
  81. InfoText.TextSize = 14
  82. InfoText.TextWrapped = true
  83.  
  84. Info.Name = "Info"
  85. Info.Parent = TopBar
  86. Info.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  87. Info.BorderSizePixel = 0
  88. Info.Position = UDim2.new(0.684759915, 0, 0.494117647, 0)
  89. Info.Size = UDim2.new(0, 139, 0, 43)
  90. Info.Font = Enum.Font.Highway
  91. Info.Text = "Info"
  92. Info.TextColor3 = Color3.new(1, 1, 1)
  93. Info.TextScaled = true
  94. Info.TextSize = 14
  95. Info.TextWrapped = true
  96.  
  97. Destroy.Name = "Destroy"
  98. Destroy.Parent = TopBar
  99. Destroy.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  100. Destroy.BorderSizePixel = 0
  101. Destroy.Position = UDim2.new(0.684759915, 0, 0, 0)
  102. Destroy.Size = UDim2.new(0, 139, 0, 42)
  103. Destroy.Font = Enum.Font.Highway
  104. Destroy.Text = "Destroy UI"
  105. Destroy.TextColor3 = Color3.new(1, 1, 1)
  106. Destroy.TextScaled = true
  107. Destroy.TextSize = 14
  108. Destroy.TextWrapped = true
  109.  
  110. Cane.Name = "Cane"
  111. Cane.Parent = Back
  112. Cane.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  113. Cane.BorderSizePixel = 0
  114. Cane.Position = UDim2.new(0, 0, 0.793721974, 0)
  115. Cane.Size = UDim2.new(0, 144, 0, 46)
  116. Cane.Font = Enum.Font.Highway
  117. Cane.Text = "Auto Gain candy cane - off"
  118. Cane.TextColor3 = Color3.new(1, 1, 1)
  119. Cane.TextScaled = true
  120. Cane.TextSize = 14
  121. Cane.TextWrapped = true
  122.  
  123. Egg.Name = "Egg"
  124. Egg.Parent = Back
  125. Egg.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  126. Egg.BorderSizePixel = 0
  127. Egg.Position = UDim2.new(0.33831048, 0, 0.793721974, 0)
  128. Egg.Size = UDim2.new(0, 144, 0, 46)
  129. Egg.Font = Enum.Font.Highway
  130. Egg.Text = "Open Egg For Free"
  131. Egg.TextColor3 = Color3.new(1, 1, 1)
  132. Egg.TextScaled = true
  133. Egg.TextSize = 14
  134. Egg.TextWrapped = true
  135.  
  136. EggNum.Name = "EggNum"
  137. EggNum.Parent = Back
  138. EggNum.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  139. EggNum.Position = UDim2.new(0.33831048, 0, 0.493273556, 0)
  140. EggNum.Size = UDim2.new(0, 144, 0, 46)
  141. EggNum.Font = Enum.Font.Highway
  142. EggNum.Text = "Egg Number e.g 1"
  143. EggNum.TextColor3 = Color3.new(1, 1, 1)
  144. EggNum.TextScaled = true
  145. EggNum.TextSize = 14
  146. EggNum.TextWrapped = true
  147.  
  148. Power.Name = "Power"
  149. Power.Parent = Back
  150. Power.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  151. Power.BorderSizePixel = 0
  152. Power.Position = UDim2.new(0, 0, 0.493273556, 0)
  153. Power.Size = UDim2.new(0, 144, 0, 46)
  154. Power.Font = Enum.Font.Highway
  155. Power.Text = "Buy Power"
  156. Power.TextColor3 = Color3.new(1, 1, 1)
  157. Power.TextScaled = true
  158. Power.TextSize = 14
  159. Power.TextWrapped = true
  160.  
  161. Sell.Name = "Sell"
  162. Sell.Parent = Back
  163. Sell.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  164. Sell.BorderSizePixel = 0
  165. Sell.Position = UDim2.new(0.675999999, 0, 0.493000001, 0)
  166. Sell.Size = UDim2.new(0, 144, 0, 46)
  167. Sell.Font = Enum.Font.Highway
  168. Sell.Text = "Auto Sell - off"
  169. Sell.TextColor3 = Color3.new(1, 1, 1)
  170. Sell.TextScaled = true
  171. Sell.TextSize = 14
  172. Sell.TextWrapped = true
  173.  
  174. Coins.Name = "Coins"
  175. Coins.Parent = Back
  176. Coins.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  177. Coins.BorderSizePixel = 0
  178. Coins.Position = UDim2.new(0.673912287, 0, 0.793448448, 0)
  179. Coins.Size = UDim2.new(0, 144, 0, 46)
  180. Coins.Font = Enum.Font.Highway
  181. Coins.Text = "Auto Farm Coins - off"
  182. Coins.TextColor3 = Color3.new(1, 1, 1)
  183. Coins.TextScaled = true
  184. Coins.TextSize = 14
  185. Coins.TextWrapped = true
  186.  
  187.  
  188. local SellOn = 0
  189. Sell.MouseButton1Click:Connect(function()
  190.     if SellOn == 0 then
  191.         Sell.Text = "Auto Sell - on"
  192.         SellOn = 1
  193.     elseif SellOn == 1 then
  194.         Sell.Text = "Auto Sell - off"
  195.         SellOn = 0
  196.     end
  197.     repeat
  198.         wait()
  199.         AutoSell()
  200.     until SellOn == 0
  201.    
  202. end)
  203. function settext(text)
  204.     InfoText.Text = text
  205. end
  206. Sell.MouseEnter:Connect(function()
  207.     settext("Teleport the sell to your position causing you to auto-sell")
  208. end)
  209. Info.MouseEnter:Connect(function()
  210.     settext("Thats how you got here idiot")
  211. end)
  212. Destroy.MouseEnter:Connect(function()
  213.     settext("Destroyed the GUI")
  214. end)
  215. Cane.MouseEnter:Connect(function()
  216.     settext("Auto gains you candy canes super quick")
  217. end)
  218. Power.MouseEnter:Connect(function()
  219.     settext("Buys you Power ( takes the Ice ")
  220. end)
  221. EggNum.MouseEnter:Connect(function()
  222.     settext("Well put your number here")
  223. end)
  224. Coins.MouseEnter:Connect(function()
  225.     settext("Tp's all coins to you!")
  226. end)
  227. Egg.MouseEnter:Connect(function()
  228.     settext("Buys the egg for free ( you must have the ice required ) ")
  229. end)
  230. Sell.MouseButton1Click:Connect(function()
  231.     AutoSell()
  232. end)
  233. function autocane()
  234.     local A_1 = "Click"
  235.     local Event = game:GetService("Workspace")[game.Players.LocalPlayer.Name].Candycane.RemoteEvent
  236.     for i = 0,50,1 do
  237.         Event:FireServer(A_1)
  238.     end
  239. end
  240.  
  241. local caneon = 0
  242. Cane.MouseButton1Click:Connect(function()
  243.     if caneon == 0 then
  244.         caneon = 1
  245.         Cane.Text = "Auto Gain candy cane - on"
  246.     elseif caneon == 1 then
  247.         Cane.Text = "Auto Gain candy cane - off"
  248.         caneon = 0
  249.     end
  250.     repeat
  251.         wait()
  252.         autocane()
  253.     until caneon == 0
  254. end)
  255.  
  256.  
  257. Destroy.MouseButton1Click:Connect(function()
  258.     Shitulator:Destroy()
  259. end)
  260.  
  261. Info.MouseButton1Click:Connect(function()
  262.     if InfoFrame.Visible == false then
  263.         InfoFrame.Visible = true
  264.     elseif InfoFrame.Visible == true then
  265.         InfoFrame.Visible = false
  266.     end
  267. end)
  268.  
  269.  
  270. Egg.MouseButton1Click:Connect(function()
  271.     local num = tonumber(EggNum.Text)
  272.     local A_1 = "ConfirmPet"
  273.     local A_2 = "E"..num
  274.     local Event = game:GetService("ReplicatedStorage").RemoteEvent
  275.     Event:FireServer(A_1, A_2)
  276. end)
  277.  
  278. Power.MouseButton1Click:Connect(function()
  279.     local A_1 = "BuyPower"
  280.     local Event = game:GetService("ReplicatedStorage").RemoteEvent
  281.     Event:FireServer(A_1)
  282. end)
  283.  
  284. function coin()
  285.     for _,v in pairs(game.Workspace.DropsFolder.Drops:GetChildren()) do
  286.         for _,v in pairs(v:GetChildren()) do
  287.             if v.ClassName == "MeshPart" then
  288.                 v.CFrame =game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  289.             end
  290.         end
  291.     end
  292. end
  293. local coinon = 0
  294. Coins.MouseButton1Click:Connect(function()
  295.     if coinon == 0 then
  296.         Coins.Text = "Auto Farm Coins - on"
  297.         coinon = 1
  298.     elseif coinon == 1 then
  299.         Coins.Text = "Auto Farm Coins - off"
  300.         coinon = 0
  301.     end
  302.     repeat
  303.         wait()
  304.         coin()
  305.     until coinon == 0
  306. end)
  307.  
  308. InfoFrame.Visible = false
  309. Back.Active = true
  310. Back.Draggable = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement