hawoody

Private baseplate

Apr 13th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. Admins = {"reset4852258","ZaBlazy_y","YOURFRIENDSNAMEHERE","YOURFRIENDSNAMEHERE","YOURFRIENDSNAMEHERE","YOURFRIENDSNAMEHERE","YOURFRIENDSNAMEHERE","YOURFRIENDSNAMEHERE","YOURFRIENDSNAMEHERE","YOURFRIENDSNAMEHERE"}
  2.  
  3. Basez = nil
  4.  
  5. function GBase(P)
  6. if Basez == nil then
  7. Basez = Instance.new("Part")
  8. Basez.Anchored = true
  9. Basez.Locked = true
  10. Basez.CanCollide = true
  11. Basez.Size = Vector3.new(512,1,512)
  12. Basez.BrickColor = BrickColor.new("Dark green")
  13. Basez.Name = "Basez"
  14. Basez.Parent = P
  15. Basez.CFrame = CFrame.new(10000,3000,10000)
  16. end
  17. end
  18. function BaseCheck(p)
  19. for i = 1,#Admins do
  20. if p.Name == Admins[i] then return true end
  21. end
  22. return false
  23. end
  24. for i,v in pairs(game.Players:GetPlayers()) do
  25. if v:IsA("Player") then
  26. d = BaseCheck(v)
  27. if d == true then
  28. --print(v)
  29. if v.Character:findFirstChild("Torso") ~= nil then
  30. GBase(v.Character)
  31. if Basez.CFrame.y < v.Character.Torso.CFrame.y then
  32. else
  33. pcall(function() v.Character.Torso.CFrame = Basez.CFrame + Vector3.new(0,10,0) end)
  34. end
  35. end
  36. end
  37. end
  38. end
  39. --Meidafire
Add Comment
Please, Sign In to add comment