Advertisement
Guest User

Untitled

a guest
Dec 19th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.31 KB | None | 0 0
  1. local playerPlot = {}
  2. for i=1, #game:GetService("Workspace").snowmanBases:GetChildren() do
  3. local Plot = game:GetService("Workspace").snowmanBases:GetChildren()[i]
  4. if Plot.player.Value == game:GetService("Players").LocalPlayer then
  5. playerPlot = Plot
  6. end
  7. end
  8. local HNNNG = Instance.new("ScreenGui")
  9. local OpenClose = Instance.new("TextButton")
  10. local Drag = Instance.new("TextButton")
  11. local MainFrame = Instance.new("Frame")
  12. local Frames = Instance.new("Frame")
  13. local WelcomeFrame = Instance.new("Frame")
  14. local WelcomeMsg = Instance.new("TextLabel")
  15. local MadeBy = Instance.new("TextLabel")
  16. local CommandsFrame = Instance.new("Frame")
  17. local Commands = Instance.new("TextLabel")
  18. local CommandsScroll = Instance.new("ScrollingFrame")
  19. local Autofarm = Instance.new("TextButton")
  20. local GetGoldCandyCane = Instance.new("TextButton")
  21. local SellRedCandyCanes = Instance.new("TextButton")
  22. local SellGreenCandyCanes = Instance.new("TextButton")
  23. local Side = Instance.new("Frame")
  24. local WelcomeButton = Instance.new("TextButton")
  25. local CommandsButton = Instance.new("TextButton")
  26. local TeleportsButton = Instance.new("TextButton")
  27. local AutoFarmEnabled = false
  28.  
  29. HNNNG.Name = "HNNNG"
  30. HNNNG.Parent = game.CoreGui
  31. HNNNG.ResetOnSpawn = false
  32.  
  33. OpenClose.Name = "OpenClose"
  34. OpenClose.Parent = HNNNG
  35. OpenClose.BackgroundColor3 = Color3.new(0.854902, 0.854902, 0.854902)
  36. OpenClose.BorderSizePixel = 0
  37. OpenClose.Position = UDim2.new(0, 5, 0, 5)
  38. OpenClose.Size = UDim2.new(0, 69, 0, 26)
  39. OpenClose.AutoButtonColor = false
  40. OpenClose.Font = Enum.Font.Gotham
  41. OpenClose.Text = "Open"
  42. OpenClose.TextColor3 = Color3.new(0, 0, 0)
  43. OpenClose.TextSize = 14
  44. OpenClose.TextWrapped = true
  45. OpenClose.MouseButton1Down:Connect(function()
  46. if Drag.Visible == true then
  47. Drag.Visible = false
  48. OpenClose.Text = "Open"
  49. else
  50. Drag.Visible = true
  51. OpenClose.Text = "Close"
  52. end
  53. end)
  54.  
  55. Drag.Name = "Drag"
  56. Drag.Parent = HNNNG
  57. Drag.BackgroundColor3 = Color3.new(0.854902, 0.854902, 0.854902)
  58. Drag.BorderSizePixel = 0
  59. Drag.Draggable = true
  60. Drag.Position = UDim2.new(0.5, -148, 0, 5)
  61. Drag.Size = UDim2.new(0, 297, 0, 26)
  62. Drag.AutoButtonColor = false
  63. Drag.Font = Enum.Font.Gotham
  64. Drag.Text = "snowman lol"
  65. Drag.TextColor3 = Color3.new(0, 0, 0)
  66. Drag.TextSize = 14
  67. Drag.Visible = false
  68.  
  69. MainFrame.Name = "MainFrame"
  70. MainFrame.Parent = Drag
  71. MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  72. MainFrame.BorderSizePixel = 0
  73. MainFrame.Position = UDim2.new(0, 0, 1, 0)
  74. MainFrame.Size = UDim2.new(1, 0, 0, 200)
  75.  
  76. Frames.Name = "Frames"
  77. Frames.Parent = MainFrame
  78. Frames.BackgroundColor3 = Color3.new(1, 1, 1)
  79. Frames.BackgroundTransparency = 1
  80. Frames.Size = UDim2.new(1, 0, 1, 0)
  81.  
  82. WelcomeFrame.Name = "WelcomeFrame"
  83. WelcomeFrame.Parent = Frames
  84. WelcomeFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  85. WelcomeFrame.BackgroundTransparency = 1
  86. WelcomeFrame.Position = UDim2.new(0, 75, 0, 0)
  87. WelcomeFrame.Size = UDim2.new(1, -75, 1, 0)
  88.  
  89. WelcomeMsg.Name = "WelcomeMsg"
  90. WelcomeMsg.Parent = WelcomeFrame
  91. WelcomeMsg.BackgroundColor3 = Color3.new(1, 1, 1)
  92. WelcomeMsg.BackgroundTransparency = 1
  93. WelcomeMsg.BorderSizePixel = 0
  94. WelcomeMsg.Position = UDim2.new(0, 4, 0, 4)
  95. WelcomeMsg.Size = UDim2.new(1, -8, -0.170000002, 50)
  96. WelcomeMsg.Font = Enum.Font.Gotham
  97. WelcomeMsg.Text = "Welcome, ".. game.Players.LocalPlayer.Name .. "."
  98. WelcomeMsg.TextColor3 = Color3.new(0, 0, 0)
  99. WelcomeMsg.TextSize = 15
  100. WelcomeMsg.TextWrapped = true
  101. WelcomeMsg.TextXAlignment = Enum.TextXAlignment.Left
  102. WelcomeMsg.TextYAlignment = Enum.TextYAlignment.Top
  103.  
  104. MadeBy.Name = "MadeBy"
  105. MadeBy.Parent = WelcomeFrame
  106. MadeBy.BackgroundColor3 = Color3.new(1, 1, 1)
  107. MadeBy.BackgroundTransparency = 1
  108. MadeBy.BorderSizePixel = 0
  109. MadeBy.Position = UDim2.new(0, 4, 0, 20)
  110. MadeBy.Size = UDim2.new(1, -8, -0.170000002, 50)
  111. MadeBy.Font = Enum.Font.Gotham
  112. MadeBy.Text = "Made by Roanm05 on v3rm"
  113. MadeBy.TextColor3 = Color3.new(0, 0, 0)
  114. MadeBy.TextSize = 15
  115. MadeBy.TextWrapped = true
  116. MadeBy.TextXAlignment = Enum.TextXAlignment.Left
  117. MadeBy.TextYAlignment = Enum.TextYAlignment.Top
  118.  
  119. CommandsFrame.Name = "CommandsFrame"
  120. CommandsFrame.Parent = Frames
  121. CommandsFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  122. CommandsFrame.BackgroundTransparency = 1
  123. CommandsFrame.Position = UDim2.new(0, 75, 0, 0)
  124. CommandsFrame.Size = UDim2.new(1, -75, 1, 0)
  125. CommandsFrame.Visible = false
  126.  
  127. Commands.Name = "Commands"
  128. Commands.Parent = CommandsFrame
  129. Commands.BackgroundColor3 = Color3.new(1, 1, 1)
  130. Commands.BorderSizePixel = 0
  131. Commands.Size = UDim2.new(1, 0, 0, 50)
  132. Commands.Font = Enum.Font.Gotham
  133. Commands.Text = "Commands"
  134. Commands.TextColor3 = Color3.new(0, 0, 0)
  135. Commands.TextSize = 20
  136.  
  137. CommandsScroll.Name = "CommandsScroll"
  138. CommandsScroll.Parent = CommandsFrame
  139. CommandsScroll.BackgroundColor3 = Color3.new(1, 1, 1)
  140. CommandsScroll.BorderSizePixel = 0
  141. CommandsScroll.Position = UDim2.new(0, 10, 0, 50)
  142. CommandsScroll.Size = UDim2.new(0, 200, 0, 120)
  143. CommandsScroll.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  144. CommandsScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
  145. CommandsScroll.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  146.  
  147. Autofarm.Name = "Autofarm"
  148. Autofarm.Parent = CommandsScroll
  149. Autofarm.BackgroundColor3 = Color3.new(1, 1, 1)
  150. Autofarm.BorderSizePixel = 0
  151. Autofarm.Size = UDim2.new(1.00000001, 0, 0, 20)
  152. Autofarm.Font = Enum.Font.Gotham
  153. Autofarm.Text = "Autofarm: Disabled"
  154. Autofarm.TextColor3 = Color3.new(0, 0, 0)
  155. Autofarm.TextSize = 14
  156. Autofarm.MouseButton1Down:Connect(function()
  157. if AutoFarmEnabled == false then
  158. AutoFarmEnabled = true
  159. Autofarm.Text = "Autofarm: Enabled"
  160. else
  161. AutoFarmEnabled = false
  162. Autofarm.Text = "Autofarm: Disabled"
  163. end
  164. end)
  165.  
  166. GetGoldCandyCane.Name = "GetGoldCandyCane"
  167. GetGoldCandyCane.Parent = CommandsScroll
  168. GetGoldCandyCane.BackgroundColor3 = Color3.new(1, 1, 1)
  169. GetGoldCandyCane.BorderSizePixel = 0
  170. GetGoldCandyCane.Position = UDim2.new(0, 0, 0, 20)
  171. GetGoldCandyCane.Size = UDim2.new(1.00000001, 0, 0, 20)
  172. GetGoldCandyCane.Font = Enum.Font.Gotham
  173. GetGoldCandyCane.Text = "Gold candy cane"
  174. GetGoldCandyCane.TextColor3 = Color3.new(0, 0, 0)
  175. GetGoldCandyCane.TextSize = 14
  176. GetGoldCandyCane.MouseButton1Down:Connect(function()
  177. local currentPosX = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X
  178. local currentPosY = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y
  179. local currentPosZ = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z
  180. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.singleCaneSpawners.goldCaneSpawnObbyEnd.CFrame
  181. wait(1)
  182. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(currentPosX, currentPosY, currentPosZ))
  183. wait(1)
  184. game.ReplicatedStorage.ThisGame.Calls.candycaneSell:FireServer("sellCandycanes", 3)
  185. end)
  186.  
  187. SellRedCandyCanes.Name = "SellRedCandyCanes"
  188. SellRedCandyCanes.Parent = CommandsScroll
  189. SellRedCandyCanes.BackgroundColor3 = Color3.new(1, 1, 1)
  190. SellRedCandyCanes.BorderSizePixel = 0
  191. SellRedCandyCanes.Position = UDim2.new(0, 0, 0, 40)
  192. SellRedCandyCanes.Size = UDim2.new(1.00000001, 0, 0, 20)
  193. SellRedCandyCanes.Font = Enum.Font.Gotham
  194. SellRedCandyCanes.Text = "Sell Red Candy Canes"
  195. SellRedCandyCanes.TextColor3 = Color3.new(0, 0, 0)
  196. SellRedCandyCanes.TextSize = 14
  197. SellRedCandyCanes.MouseButton1Down:Connect(function()
  198. game.ReplicatedStorage.ThisGame.Calls.candycaneSell:FireServer("sellCandycanes", 1)
  199. end)
  200.  
  201. SellGreenCandyCanes.Name = "SellGreenCandyCanes"
  202. SellGreenCandyCanes.Parent = CommandsScroll
  203. SellGreenCandyCanes.BackgroundColor3 = Color3.new(1, 1, 1)
  204. SellGreenCandyCanes.BorderSizePixel = 0
  205. SellGreenCandyCanes.Position = UDim2.new(0, 0, 0, 60)
  206. SellGreenCandyCanes.Size = UDim2.new(1.00000001, 0, 0, 20)
  207. SellGreenCandyCanes.Font = Enum.Font.Gotham
  208. SellGreenCandyCanes.Text = "Sell Green Candy Canes"
  209. SellGreenCandyCanes.TextColor3 = Color3.new(0, 0, 0)
  210. SellGreenCandyCanes.TextSize = 14
  211. SellGreenCandyCanes.MouseButton1Down:Connect(function()
  212. game.ReplicatedStorage.ThisGame.Calls.candycaneSell:FireServer("sellCandycanes", 2)
  213. end)
  214.  
  215. Side.Name = "Side"
  216. Side.Parent = MainFrame
  217. Side.BackgroundColor3 = Color3.new(0.886275, 0.886275, 0.886275)
  218. Side.BorderSizePixel = 0
  219. Side.Size = UDim2.new(0, 75, 1, 0)
  220.  
  221. WelcomeButton.Name = "WelcomeButton"
  222. WelcomeButton.Parent = Side
  223. WelcomeButton.BackgroundColor3 = Color3.new(1, 1, 1)
  224. WelcomeButton.BorderSizePixel = 0
  225. WelcomeButton.Size = UDim2.new(1, 0, 0, 20)
  226. WelcomeButton.Font = Enum.Font.Gotham
  227. WelcomeButton.Text = "Welcome"
  228. WelcomeButton.TextColor3 = Color3.new(0, 0, 0)
  229. WelcomeButton.TextSize = 10
  230. WelcomeButton.AutoButtonColor = false
  231. WelcomeButton.MouseButton1Down:Connect(function()
  232. local framesChildren = Frames:GetChildren()
  233. for i=1,#framesChildren do
  234. framesChildren[i].Visible = false
  235. end
  236. WelcomeFrame.Visible = true
  237. local framesChildren = Side:GetChildren()
  238. for i=1,#framesChildren do
  239. framesChildren[i].BackgroundColor3 = Color3.new(0.745098, 0.745098, 0.745098)
  240. end
  241. WelcomeButton.BackgroundColor3 = Color3.new(1, 1, 1)
  242. end)
  243.  
  244. CommandsButton.Name = "CommandsButton"
  245. CommandsButton.Parent = Side
  246. CommandsButton.BackgroundColor3 = Color3.new(0.745098, 0.745098, 0.745098)
  247. CommandsButton.BorderSizePixel = 0
  248. CommandsButton.Position = UDim2.new(0, 0, 0, 30)
  249. CommandsButton.Size = UDim2.new(1, 0, 0, 20)
  250. CommandsButton.Font = Enum.Font.Gotham
  251. CommandsButton.Text = "Commands"
  252. CommandsButton.TextColor3 = Color3.new(0, 0, 0)
  253. CommandsButton.TextSize = 10
  254. CommandsButton.AutoButtonColor = false
  255. CommandsButton.MouseButton1Down:Connect(function()
  256. local framesChildren = Frames:GetChildren()
  257. for i=1,#framesChildren do
  258. framesChildren[i].Visible = false
  259. end
  260. CommandsFrame.Visible = true
  261. local framesChildren = Side:GetChildren()
  262. for i=1,#framesChildren do
  263. framesChildren[i].BackgroundColor3 = Color3.new(0.745098, 0.745098, 0.745098)
  264. end
  265. CommandsButton.BackgroundColor3 = Color3.new(1, 1, 1)
  266. end)
  267.  
  268. local button = Instance.new("TextButton")
  269. button.Name = "CollectCandyCanes"
  270. button.Parent = CommandsScroll
  271. button.BackgroundColor3 = Color3.new(1, 1, 1)
  272. button.BorderSizePixel = 0
  273. button.Position = UDim2.new(0, 0, 0, 80)
  274. button.Size = UDim2.new(1.00000001, 0, 0, 20)
  275. button.Font = Enum.Font.Gotham
  276. button.Text = "Collect Candy Canes"
  277. button.TextColor3 = Color3.new(0, 0, 0)
  278. button.TextSize = 14
  279. button.MouseButton1Down:Connect(function()
  280. for i=1, #game.workspace.gameCandyCanes:GetChildren() do
  281. local candyCane = game.workspace.gameCandyCanes:GetChildren()[i]
  282. if candyCane:FindFirstChild("cane") then
  283. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = candyCane:FindFirstChild("cane").CFrame
  284. end
  285. wait(0.5)
  286. end
  287. end)
  288.  
  289. local TpFrame = Instance.new("Frame")
  290. local TpLabel = Instance.new("TextLabel")
  291. local TPScroll = Instance.new("ScrollingFrame")
  292. local YourBase = Instance.new("TextButton")
  293. local Shop = Instance.new("TextButton")
  294.  
  295. TpFrame.Name = "TpFrame"
  296. TpFrame.Parent = Frames
  297. TpFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  298. TpFrame.BackgroundTransparency = 1
  299. TpFrame.Position = UDim2.new(0, 75, 0, 0)
  300. TpFrame.Size = UDim2.new(1, -75, 1, 0)
  301. TpFrame.Visible = false
  302.  
  303. TpLabel.Name = "TpLabel"
  304. TpLabel.Parent = TpFrame
  305. TpLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  306. TpLabel.BorderSizePixel = 0
  307. TpLabel.Size = UDim2.new(1, 0, 0, 50)
  308. TpLabel.Font = Enum.Font.Gotham
  309. TpLabel.Text = "Teleports"
  310. TpLabel.TextColor3 = Color3.new(0, 0, 0)
  311. TpLabel.TextSize = 20
  312.  
  313. TPScroll.Name = "TPScroll"
  314. TPScroll.Parent = TpFrame
  315. TPScroll.BackgroundColor3 = Color3.new(1, 1, 1)
  316. TPScroll.BorderSizePixel = 0
  317. TPScroll.Position = UDim2.new(0, 10, 0, 50)
  318. TPScroll.Size = UDim2.new(0, 200, 0, 120)
  319. TPScroll.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  320. TPScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
  321. TPScroll.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  322.  
  323. YourBase.Name = "YourBase"
  324. YourBase.Parent = TPScroll
  325. YourBase.BackgroundColor3 = Color3.new(1, 1, 1)
  326. YourBase.BorderSizePixel = 0
  327. YourBase.Size = UDim2.new(1.00000002, 0, 0, 20)
  328. YourBase.Font = Enum.Font.Gotham
  329. YourBase.Text = "Your base"
  330. YourBase.TextColor3 = Color3.new(0, 0, 0)
  331. YourBase.TextSize = 14
  332. YourBase.MouseButton1Down:Connect(function()
  333. local sign = playerPlot.sign.sign
  334. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(sign.Position.X, playerPlot.SpawnLocation.Position.Y, sign.Position.Z))
  335. end)
  336.  
  337. Shop.Name = "Shop"
  338. Shop.Parent = TPScroll
  339. Shop.BackgroundColor3 = Color3.new(1, 1, 1)
  340. Shop.BorderSizePixel = 0
  341. Shop.Position = UDim2.new(0, 0, 0, 20)
  342. Shop.Size = UDim2.new(1.00000002, 0, 0, 20)
  343. Shop.Font = Enum.Font.Gotham
  344. Shop.Text = "Shop"
  345. Shop.TextColor3 = Color3.new(0, 0, 0)
  346. Shop.TextSize = 14
  347. Shop.MouseButton1Down:Connect(function()
  348. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1702, 21, 51)
  349. end)
  350.  
  351. local Button = Instance.new("TextButton")
  352. Button.Name = "GreenCandyCaneFinishObby"
  353. Button.Parent = TPScroll
  354. Button.BackgroundColor3 = Color3.new(1, 1, 1)
  355. Button.BorderSizePixel = 0
  356. Button.Position = UDim2.new(0, 0, 0, 40)
  357. Button.Size = UDim2.new(1.00000002, 0, 0, 20)
  358. Button.Font = Enum.Font.Gotham
  359. Button.Text = "Green Candy Cane Obby"
  360. Button.TextColor3 = Color3.new(0, 0, 0)
  361. Button.TextSize = 14
  362. Button.MouseButton1Down:Connect(function()
  363. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1320, 32, 1)
  364. end)
  365.  
  366. local Button = Instance.new("TextButton")
  367. Button.Name = "GreenCandyCaneFinishObby2"
  368. Button.Parent = TPScroll
  369. Button.BackgroundColor3 = Color3.new(1, 1, 1)
  370. Button.BorderSizePixel = 0
  371. Button.Position = UDim2.new(0, 0, 0, 60)
  372. Button.Size = UDim2.new(1.00000002, 0, 0, 20)
  373. Button.Font = Enum.Font.Gotham
  374. Button.Text = "Green Candy Cane Obby 2"
  375. Button.TextColor3 = Color3.new(0, 0, 0)
  376. Button.TextSize = 14
  377. Button.MouseButton1Down:Connect(function()
  378. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1490, 31, -282)
  379. end)
  380.  
  381. TeleportsButton.Name = "TeleportsButton"
  382. TeleportsButton.Parent = Side
  383. TeleportsButton.BackgroundColor3 = Color3.new(0.745098, 0.745098, 0.745098)
  384. TeleportsButton.BorderSizePixel = 0
  385. TeleportsButton.Position = UDim2.new(0, 0, 0, 60)
  386. TeleportsButton.Size = UDim2.new(1, 0, 0, 20)
  387. TeleportsButton.AutoButtonColor = false
  388. TeleportsButton.Font = Enum.Font.Gotham
  389. TeleportsButton.Text = "Teleports"
  390. TeleportsButton.TextColor3 = Color3.new(0, 0, 0)
  391. TeleportsButton.TextSize = 10
  392. TeleportsButton.MouseButton1Down:Connect(function()
  393. local framesChildren = Frames:GetChildren()
  394. for i=1,#framesChildren do
  395. framesChildren[i].Visible = false
  396. end
  397. TpFrame.Visible = true
  398. local framesChildren = Side:GetChildren()
  399. for i=1,#framesChildren do
  400. framesChildren[i].BackgroundColor3 = Color3.new(0.745098, 0.745098, 0.745098)
  401. end
  402. TeleportsButton.BackgroundColor3 = Color3.new(1, 1, 1)
  403. end)
  404.  
  405. while wait() do
  406. if AutoFarmEnabled == true then
  407. for i=1, 4 do
  408. game:GetService("ReplicatedStorage").ThisGame.Calls.collectSnow:FireServer()
  409. wait(0.5)
  410. end
  411. game.ReplicatedStorage.ThisGame.Calls.snowballControllerFunc:InvokeServer("stopRoll")
  412. game.ReplicatedStorage.ThisGame.Calls.snowballController:FireServer("addToSnowman")
  413. end
  414. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement