Advertisement
Rovo112

Untitled

Jan 27th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. Players = game:GetService("Players")
  2. ChatService = game:GetService("Chat")
  3. Char = Players.LocalPlayer.Character
  4. CloneName = "Zyph Nil"
  5. Char.Archivable = true
  6. Clone = Char:clone()
  7. Clone.Archivable = true
  8. Clone.Humanoid.MaxHealth = math.huge
  9. Clone.Humanoid.Health = math.huge
  10. Clone.Name = CloneName
  11. Players.LocalPlayer :Destroy()
  12. Clone2 = Clone:clone()
  13. Clone2.Parent = Workspace
  14. Players.LocalPlayer.Character = Clone2
  15. Workspace.CurrentCamera.CameraSubject = Clone2.Head
  16. --Utilitys True False--
  17. bet=";"
  18.  
  19.  
  20. DieDetector = coroutine.create(function()
  21. while true do
  22. wait()
  23. Players.LocalPlayer.Character.Humanoid.Died:connect(function()
  24. Clone2 :Destroy()
  25. Clone2 = Clone:clone()
  26. Clone2.Parent = Workspace
  27. Players.LocalPlayer.Character = Clone2
  28. Workspace.CurrentCamera.CameraSubject = Clone2.Head
  29. end)
  30. end
  31. end)
  32.  
  33. RemovedDetector = coroutine.create(function()
  34. while true do
  35. wait()
  36. Workspace.ChildRemoved:connect(function(item)
  37. if item.Name == CloneName then
  38. Clone2 :Destroy()
  39. Clone2 = Clone:clone()
  40. Clone2.Parent = Workspace
  41. Players.LocalPlayer.Character = Clone2
  42. Workspace.CurrentCamera.CameraSubject = Clone2.Head
  43. end
  44. end)
  45. end
  46. end)
  47.  
  48. coroutine.resume(DieDetector)
  49. coroutine.resume(RemovedDetector)
  50.  
  51.  
  52. Players.LocalPlayer.Chatted:connect(function(msg, plr)
  53. ChatService:Chat(Clone2.Head, msg , Enum.ChatColor.Red)
  54. end)
  55.  
  56. --Commands-- W.I.P--COMMANDS--Commands-- W.I.P--COMMANDS--Commands-- W.I.P--COMMANDS
  57.  
  58. function AddCommand(Name,Say,Func)
  59. table.insert(cmds,{Name,Say,Fun = Func})
  60. end
  61.  
  62. AddCommand("Kill",bet.."kill ", function(msg)
  63. CScript([[
  64. _msg="]]..msg..[["
  65. _Id="]]..SessID..[["
  66. function SendExeToNilPlayer(Name,Code)
  67. local SV=Instance.new("StringValue",game:service'Lighting')
  68. SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
  69. end
  70. for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
  71. if v:IsA("ServerReplicator") then
  72. v=v:GetPlayer()
  73. if v.Name:match(_msg) then
  74. if not v.Character then return end
  75. v.Character:BreakJoints()
  76. SendExeToNilPlayer(v.Name,[=[ game.Players.LocalPlayer.Character:BreakJoints() ]=])
  77. end
  78. end
  79. end
  80. ]],Workspace)
  81. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement