Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. local plrs = game:GetService("Players")
  2. local workspc = game:GetService("Workspace")
  3. local myName = plrs.LocalPlayer.Character.Name
  4. local xyzval = 0
  5. local xbbval = 0
  6. local satirnum = 0
  7. local donguYap = false
  8. local playerNamex = "PLAYER USERNAME HERE"
  9. local cakeTown = 0
  10. if playerNamex == "rootabx" then
  11. game:GetService("StarterGui"):SetCore("SendNotification",{
  12. Title = "Error",
  13. Text = "You are trying to get the author!",
  14. Duration = 7,
  15. Button1 = "Sorry",
  16. Button2 = "sorry lol",
  17.  
  18. })
  19.  
  20. else
  21. if playerNamex == myName then
  22. else
  23. local isrepeatin = true
  24. while isrepeatin do
  25. isrepeatin = donguYap
  26. for ic, vc in pairs(workspc:FindFirstChild(playerNamex):GetChildren()) do
  27. cakeTown = 0
  28. local succ, probs = pcall(function()
  29. if vc.ClassName == "MeshPart" then
  30. cakeTown = 1
  31. end
  32. if vc.ClassName == "Script" then
  33. cakeTown = 1
  34. end
  35. if vc.ClassName == "LocalScript" then
  36. cakeTown = 1
  37. end
  38. if vc.ClassName == "Part" then
  39. cakeTown = 1
  40. end
  41. if cakeTown == 1 then
  42. if vc.Anchored == false then
  43. vc.Anchored = true
  44. end
  45. if vc.Position ~= plrs.LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(-7,0,-7) then
  46. vc.Position = plrs.LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(-7,0,-7)
  47. end
  48. end
  49. end)
  50. end
  51. if donguYap then
  52. for icX, vcX in pairs(workspc.TouchTrigger:GetChildren()) do
  53. if vcX.Name == "stopTheLoop" then
  54. donguYap = false
  55. isrepeatin = false
  56.  
  57. end
  58. end
  59. wait(1)
  60. end
  61.  
  62. end
  63. end
  64. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement