Advertisement
pitrioptixiop

Roblox | Grim reaper script [WIP]

Jun 16th, 2018
1,428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1.  
  2. --This script will be updated automatically from pastebin, so you won't have to re-create it in script builders every new update! Recommended to use in Void Script Builder.
  3. --Script made for Roblox.
  4.  
  5. wait(1)
  6. if game.Players.LocalPlayer.Character:FindFirstChild("UpperTorso") then
  7. error("Player R15 - couldn't run script, try changing to R6")
  8. end
  9. game.Players.CharacterAutoLoads = false
  10. charnames = {"Shirt","Pants","ShirtGraphic","ShirtGraphics","Hat","Accessory"}
  11. base = workspace:FindFirstChild("Base")
  12. if base == nil then
  13. base = workspace:FindFirstChild("Baseplate")
  14. end
  15. clone = base:Clone()
  16. clone.Parent = workspace
  17. clone.CollisionGroupId = 31
  18. lp = game.Players.LocalPlayer
  19. char = lp.Character
  20. head = char.Head
  21. hum = char.Humanoid
  22. mouse = lp:GetMouse()
  23. hum.Died:connect(function()
  24. game.Players.CharacterAutoLoads = true
  25. error("Player died")
  26. end)
  27. gc = char:GetChildren()
  28. for i=1, #gc do
  29. wait(0.01)
  30. for a=1, #charnames do
  31. if gc[i].ClassName == charnames[a] then
  32. gc[i]:Destroy()
  33. end
  34. end
  35. end
  36. findbc = char:FindFirstChildOfClass("BodyColors")
  37. if findbc then
  38. findbc:Destroy()
  39. end
  40. newbc = Instance.new("BodyColors",char)
  41. newbc.HeadColor = BrickColor.DarkGray()
  42. newbc.LeftArmColor = BrickColor.DarkGray()
  43. newbc.RightArmColor = BrickColor.DarkGray()
  44. newbc.TorsoColor = BrickColor.Black()
  45. newbc.LeftLegColor = BrickColor.Black()
  46. newbc.RightLegColor = BrickColor.Black()
  47. findface = head:FindFirstChildOfClass("Decal")
  48. if findface then
  49. findface.Texture = "rbxasset://textures/face.png"
  50. end
  51. smokel = Instance.new("Smoke",char["Left Leg"])
  52. smoker = Instance.new("Smoke",char["Right Leg"])
  53. smokel.Color = Color3.new(0,0,0)
  54. smoker.Color = Color3.new(0,0,0)
  55. smokel.Size = 3
  56. smoker.Size = 3
  57. hum.WalkSpeed = 12
  58. mouse.Button1Down:connect(function()
  59. target = mouse.Target
  60. if target.ClassName == "Part" and target.Name == "Head" then
  61. ghostchar = target.Parent
  62. ghostplr = game:GetService("Players"):GetPlayerFromCharacter(ghostchar)
  63. ghostcframe = target.CFrame
  64. game.Players.CharacterAutoLoads = true
  65. ghosthum = ghostchar:FindFirstChildOfClass("Humanoid")
  66. ghosthum.Health = ghosthum.MaxHealth
  67. wait(0.1)
  68. ghosthum.Health = 0
  69. wait(6)
  70. game.Players.CharacterAutoLoads = false
  71. ghostchar = ghostplr.Character
  72. ghostchar.Head.CFrame = ghostcframe
  73. gc = ghostchar:GetChildren()
  74. for i=1, #gc do
  75. wait(0.01)
  76. if gc[i].ClassName == "Part" then
  77. gc[i].Transparency = 0.5
  78. gc[i].CollisionGroupId = 31
  79. end
  80. end
  81. gc = ghostchar:GetChildren()
  82. for i=1, #gc do
  83. wait(0.01)
  84. for a=1, #charnames do
  85. if gc[i].ClassName == charnames[a] then
  86. gc[i]:Destroy()
  87. end
  88. end
  89. end
  90. ghosthum.MaxHealth = 9999
  91. ghosthum.Health = 9999
  92. end
  93. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement