Advertisement
SmokeDelsin

roblox player nil

May 17th, 2015
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.77 KB | None | 0 0
  1. ------------------------
  2. --Name on line 6 and 7--
  3. ------------------------
  4. xHint = Instance.new("Hint",game.Workspace)
  5. xHint.Text = "Commands: kill kick lag copy freeze mute sc c m explode remove sd thaw tp ttm"
  6. plyr = game.Players.SmokeDelsin
  7. game.Players.SmokeDelsin.Parent = nil
  8. script.Parent = nil
  9. function copy(plyr)
  10. pcall(function()
  11. plyr.Archivable = true
  12. clne = plyr:clone()
  13. clne.Parent = workspace
  14. game.Players.LocalPlayer.Character = clne
  15. local mouse = game.Players.LocalPlayer:GetMouse()
  16. function KeyDown(k)
  17.  
  18. if k == 'a' then
  19. a = true
  20. end
  21. if k == 'w' then
  22. w = true
  23. end
  24. if k == 's' then
  25. s = true
  26. end
  27. if k == 'd' then
  28. d = true
  29. end
  30. clne:GetMouse().KeyUp:connect(function(k)
  31. if k == 'a' then
  32. a = false
  33. end
  34. if k == 'w' then
  35. w = false
  36. end
  37. if k == 's' then
  38. s = false
  39. end
  40. if k == 'd' then
  41. d = false
  42. end
  43. end)
  44. end
  45. mouse:connect(KeyDown)
  46. game:service'RunService'.RenderStepped:connect(function()
  47. if LocalPlayer.Parent ~= game:service'Players' then
  48. if w == true then
  49. LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-.5)
  50. end
  51. if s == true then
  52. LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,.5)
  53. end
  54. if d == true then
  55. LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0,math.rad(-5),0)
  56. end
  57. if a == true then
  58. LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0,math.rad(5),0)
  59. end
  60. asd = LocalPlayer.Character.Torso.Position.y
  61. for i = 0,3,0.5 do
  62. LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,i,0)
  63. wait()
  64. end
  65. for i = 0,-3,-0.5 do
  66. LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,i,0)
  67. wait()
  68. end
  69. end
  70. end)
  71. clne.Humanoid.Name = "HiddenHuman"
  72. local ff = Instance.new("ForceField", clne)
  73. clne.HiddenHuman.WalkSpeed = 45
  74. clne.HiddenHuman.MaxHealth = math.huge
  75. clne.HiddenHuman.Health = math.huge
  76. wait()
  77. end)
  78. game.Workspace.CurrentCamera.CameraSubject = clne.HiddenHuman
  79. bow = game:GetService("InsertService"):LoadAsset(110892267)
  80. bow["Fallen Angel"].Parent = clne
  81. clne.Name = "SecureNilMode-NoName;AntiKick"
  82. return clne
  83. end
  84. function chaat(txt)
  85. if string.sub(txt, 1,5) == "copy " then
  86. orbed = false
  87. for i, v in pairs(game.Players:GetChildren()) do
  88. if v.Name:lower():find(txt:lower():sub(6), 1) then
  89. local clone = copy(v.Character)
  90. game.Workspace.CurrentCamera.CameraSubject = clone.Humanoid
  91. wait(5)
  92. game.Workspace.CurrentCamera.CameraSubject = clone.Humanoid
  93. end
  94. end
  95. elseif txt == "sd" then
  96. while wait() do
  97.  
  98. for i=1, #game.Players:GetChildren() do
  99. game.Players:GetChildren()[i].Parent = nil
  100. end
  101. end
  102. elseif string.sub(txt, 1,5) == "kick " then
  103. for i, v in pairs(game.Players:GetChildren()) do
  104. if v.Name:lower():find(txt:lower():sub(6), 1) then
  105. v:Destroy()
  106. end
  107. end
  108. elseif string.sub(txt, 1,3) == "sc " then
  109. for i, v in pairs(game.Players:GetChildren()) do
  110. if v.Name:lower():find(txt:lower():sub(4), 1) then
  111. fc = v
  112. end
  113. end
  114. elseif string.sub(txt, 1,3) == "tp " then
  115. for i, v in pairs(game.Players:GetChildren()) do
  116. if v.Name:lower():find(txt:lower():sub(4), 1) then
  117. pcall(function()
  118. game.Players.LocalPlayer.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.new(0,5,0)
  119. end)
  120. end
  121. end
  122. elseif string.sub(txt, 1,4) == "ttm " then
  123. for i, v in pairs(game.Players:GetChildren()) do
  124. if v.Name:lower():find(txt:lower():sub(5), 1) then
  125. pcall(function()
  126. v.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(0,5,0)
  127. end)
  128. end
  129. end
  130. elseif string.sub(txt, 1,3) == "sl " then
  131. for i, v in pairs(game.Players:GetChildren()) do
  132. if v.Name:lower():find(txt:lower():sub(4), 1) then
  133. flc = v
  134. end
  135. end
  136. elseif string.sub(txt, 1,2) == "c " then
  137. pcall(function()
  138. game:getService("Chat"):Chat(fc.Character.Head, txt:sub(3), Blue)
  139. end)
  140. elseif string.sub(txt, 1,2) == "l " then
  141. pcall(function()
  142. local scc = sc:clone()
  143. scc.Parent = flc
  144. scc.DSource.Value = txt:sub(3)
  145. scc.Disabled = false
  146. end)
  147. elseif string.sub(txt, 1,4) == "lag " then
  148. for i, v in pairs(game.Players:GetChildren()) do
  149. if v.Name:lower():find(txt:lower():sub(5), 1) then
  150. if v.Character then
  151. local scc = sc:clone()
  152. scc.Parent = v.Backpack
  153. scc.Disabled = false
  154. else
  155. end
  156. end
  157. end
  158. elseif string.sub(txt, 1,5) == "mute " then
  159. for i, v in pairs(game.Players:GetChildren()) do
  160. if v.Name:lower():find(txt:lower():sub(6), 1) then
  161. if v.Character then
  162. local scc = scs:clone()
  163. scc.Parent = v.Backpack
  164. scc.Disabled = false
  165. else
  166. end
  167. end
  168. end
  169. elseif string.sub(txt, 1,7) == "unmute " then
  170. for i, v in pairs(game.Players:GetChildren()) do
  171. if v.Name:lower():find(txt:lower():sub(8), 1) then
  172. if v.Character then
  173. local scc = scss:clone()
  174. scc.Parent = v.Backpack
  175. scc.Disabled = false
  176. else
  177. end
  178. end
  179. end
  180. elseif string.sub(txt, 1,2) == "m " then
  181. for i=1, #game.Workspace:GetChildren() do
  182. pcall(function()
  183. if game.Workspace:GetChildren()[i]:FindFirstChild("Head") then
  184. game:getService("Chat"):Chat(game.Workspace:GetChildren()[i].Head, txt:sub(2), Blue)
  185. end
  186. end)
  187. end
  188. elseif string.sub(txt, 1,5) == "kill " then
  189. for i, v in pairs(game.Players:GetChildren()) do
  190. if v.Name:lower():find(txt:lower():sub(6), 1) then
  191. if pcall (function()
  192. v.Character:BreakJoints()
  193. end) then
  194. else print("There were errors")
  195. end
  196. end
  197. end
  198. elseif string.sub(txt, 1,8) == "explode " then
  199. for i, v in pairs(game.Players:GetChildren()) do
  200. if v.Name:lower():find(txt:lower():sub(9), 1) then
  201. if pcall (function()
  202. local expl = Instance.new("Explosion", v.Character.Torso)
  203. expl.Position = v.Character.Torso.Position
  204. end) then
  205. else print("There were errors")
  206. end
  207. end
  208. end
  209. elseif string.sub(txt, 1,7) == "freeze " then
  210. for i, v in pairs(game.Players:GetChildren()) do
  211. if v.Name:lower():find(txt:lower():sub(8), 1) then
  212. if pcall (function()
  213. v.Character.Torso.Anchored = true
  214. end) then
  215. else print("There were errors")
  216. end
  217. end
  218. end
  219. elseif string.sub(txt, 1,5) == "thaw " then
  220. for i, v in pairs(game.Players:GetChildren()) do
  221. if v.Name:lower():find(txt:lower():sub(6), 1) then
  222. if pcall (function()
  223. v.Character.Torso.Anchored = false
  224. end) then
  225. else print("There were errors")
  226. end
  227. end
  228. end
  229. elseif txt == "rem".."ove" then
  230. if pcall (function()
  231. game.Players.LocalPlayer.Character:Destroy()
  232. end) then
  233. else print("There were errors")
  234. end
  235. else
  236. if pcall (function()
  237. game:getService("Chat"):Chat(game.Players.LocalPlayer.Character.Head, txt, Blue)
  238. end) then
  239. else print("There were errors")
  240. end
  241. end
  242. end
  243. game:getService("Players").LocalPlayer.Chatted:connect(chaat)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement