Advertisement
Legendofawesomeness3

Admin Baseplate

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