Qpwisnd

Untitled

Oct 12th, 2024
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. local GetSnow = function(i)
  2. return tonumber(string.split(game:GetService("Players").LocalPlayer["PlayerGui"].ScreenGui.Hud.Stats.Snow.Progress.AmountLabel.Text,"/")[i])
  3. end
  4. local GetRandomSnow = function()
  5. return workspace.Regions.Winterville.Tiles:GetChildren()[math.random(1,#workspace.Regions.Winterville.Tiles:GetChildren())]
  6. end
  7. while true do
  8. wait()
  9. repeat task.wait()
  10. local Snow = GetRandomSnow()
  11. repeat task.wait() Snow = GetRandomSnow() until Snow.Color == Color3.fromRGB(255, 255, 255)
  12. game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = Snow.CFrame*CFrame.new(0,7,0)
  13. local Tool = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool")
  14. if not Tool then
  15. local Got = game:GetService("Players").LocalPlayer.Backpack:FindFirstChildOfClass("Tool")
  16. if Got and Got:FindFirstChild("Handle") and Got:FindFirstChildOfClass("LocalScript") then
  17. Tool = Got
  18. end
  19. end
  20. Tool.Parent = game:GetService("Players").LocalPlayer.Character
  21. local ohString1 = "Thermal Pad"
  22. local ohInstance2 = Tool
  23. local ohTable3 = {
  24. [1] = Snow
  25. }
  26. for i=1,35 do
  27. task.spawn(function()
  28. game:GetService("ReplicatedStorage").Modules.Network.RemoteEvent:FireServer(ohString1, ohInstance2, ohTable3)
  29. end)
  30. end
  31. wait(.45)
  32. until GetSnow(1)==GetSnow(2)
  33. game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(521, 16, -69)
  34. wait(.7)
  35. local ohString1 = "SellSnow"
  36. local ohString2 = "Frosty"
  37. wait(.1)
  38. game:GetService("ReplicatedStorage").Modules.Network.RemoteEvent:FireServer(ohString1, ohString2)
  39. task.spawn(function()
  40. wait(.7)
  41. game:GetService("ReplicatedStorage").Modules.Network.RemoteEvent:FireServer(ohString1, ohString2)
  42. end)
  43. repeat task.wait() game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(521, 16, -69) until GetSnow(1) ==0
  44. end
  45.  
Advertisement
Add Comment
Please, Sign In to add comment