Advertisement
Guest User

Untitled

a guest
Feb 17th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. local mt = getrawmetatable(game)
  2. if make_writeable then
  3. make_writeable(mt)
  4. end
  5.  
  6. local check = IsLevel7 or checkcaller or function() return false end
  7.  
  8. local old = mt.__index
  9. mt.__index = function(self, val)
  10. if val == "Disabled" and not check() then
  11. return false
  12. end
  13. return old(self, val)
  14. end
  15.  
  16. local plr = game:GetService"Players".LocalPlayer
  17. plr.PlayerGui.ScreenGui.Check.AutoCheck.Disabled = true
  18.  
  19. local function TpAndAnchor()
  20. local hrp = plr.Character.HumanoidRootPart
  21. hrp.Anchored = true
  22. hrp.CFrame = hrp.CFrame * CFrame.new(0,300,0)
  23. end
  24.  
  25. local function TpToPlayArea()
  26. plr.Character.HumanoidRootPart.Anchored = false
  27. plr.Character.HumanoidRootPart.CFrame = CFrame.new(52,34,164)
  28. end
  29.  
  30. local event = game:GetService"ReplicatedStorage".RemoteEvent
  31. event.OnClientEvent:connect(function(...)
  32. local args = {...}
  33. if args[1] == "InformDisaster" and args[2]:find("Welcome To Lab Experiment",1,true) then
  34. TpToPlayArea()
  35. elseif args[1] == "setMyPlate" then
  36. wait(5)
  37. TpAndAnchor()
  38. end
  39. end)
  40. plr.CharacterAdded:connect(function(char)
  41. char:WaitForChild"HumanoidRootPart"
  42. TpToPlayArea()
  43. end)
  44. TpToPlayArea()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement