Advertisement
Causmic

Untitled

Nov 10th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. local owner = game:GetService("Players").LocalPlayer
  2. local ticket = "Halloween Haberdash"
  3. local deb = game.Workspace.Debris
  4. function movealltickets()
  5. local h = deb:GetDescendants()
  6. for index, g in pairs(h) do
  7. if g.Name == ticket then
  8. owner.Character.HumanoidRootPart.CFrame = g.CFrame
  9. wait()
  10. elseif g.Name ~= ticket then
  11. end
  12. end
  13. end
  14.  
  15. while wait() do
  16. movealltickets()
  17. end
  18.  
  19. print("a")
  20. function getplrsname()
  21. for i,v in pairs(game:GetChildren()) do
  22. if v.ClassName == "Players" then
  23. return v.Name
  24. end
  25. end
  26. end
  27. local players = getplrsname()
  28. local plr = game[players].LocalPlayer
  29. coroutine.resume(coroutine.create(function()
  30. while wait(1) do
  31. coroutine.resume(coroutine.create(function()
  32. for _,v in pairs(game[players]:GetPlayers()) do
  33. if v.Name ~= plr.Name and v.Character then
  34. v.Character.LowerTorso.CanCollide = false
  35. v.Character.LowerTorso.Material = "Neon"
  36. v.Character.LowerTorso.Size = Vector3.new(30,30,30)
  37. v.Character.HumanoidRootPart.Size = Vector3.new(30,30,30)
  38. end
  39. end
  40. end))
  41. end
  42. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement