Advertisement
SpacecowboyHX

Roblox - The Ghost (Official 0.2)

Nov 21st, 2018
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.41 KB | None | 0 0
  1. wait(1/60)
  2. local Name1=game.Players.LocalPlayer
  3. local Player=Name1.Character
  4. local Name2=Player.Name
  5. local Halfway=0.50
  6. Player.Humanoid.Name=("Ghostly")
  7. local Shirt=Player:FindFirstChild("Shirt")
  8. if (Shirt~=nil) then
  9. Player.Shirt:Destroy()
  10. print("Shirt Removed")
  11. else
  12. print("Error removing Shirt")
  13. end
  14. local TShirt=Player:FindFirstChild("Shirt Graphic")
  15. if (TShirt~=nil) then
  16. Player["Shirt Graphic"]:Destroy()
  17. print("T-Shirt Removed")
  18. else
  19. print("Error removing T-Shirt")
  20. end
  21. local Pants=Player:FindFirstChild("Pants")
  22. if (Pants~=nil) then
  23. Player.Pants:Destroy()
  24. print("Pants Removed")
  25. else
  26. print("Error removing Pants")
  27. end
  28. wait()
  29. Player.Head.BrickColor=BrickColor.new("White")
  30. Player.Torso.BrickColor=BrickColor.new("White")
  31. Player["Left Arm"].BrickColor=BrickColor.new("White")
  32. Player["Right Arm"].BrickColor=BrickColor.new("White")
  33. Player["Right Leg"].BrickColor=BrickColor.new("White")
  34. Player["Left Leg"].BrickColor=BrickColor.new("White")
  35. wait()
  36. Player.Torso.Transparency=Halfway
  37. Player.Head.Transparency=Halfway
  38. Player["Left Arm"].Transparency=Halfway
  39. Player["Right Arm"].Transparency=Halfway
  40. Player["Right Leg"].Transparency=Halfway
  41. Player["Left Leg"].Transparency=Halfway
  42. wait(1/5)
  43. local Sound=Instance.new("Sound")
  44. Sound.SoundId="rbxassetid://182390761"
  45. Sound.Volume=5
  46. Sound.Parent=game.SoundService
  47. Sound.Playing=true
  48. Sound.Looped=true
  49. local v=Instance.new("Sound")
  50. v.Parent=Player.Head
  51. v.MaxDistance=40
  52. v.Volume=5
  53. v.SoundId="rbxassetid://1787893952"
  54. function onTouch(hit)
  55. local PV=hit:FindFirstChild("Humanoid")
  56. if (PV~=nil) then
  57. v.Playing=true
  58. wait(1)
  59. v.Playing=false
  60. end
  61. end
  62. Player.Torso.Touched:Connect(onTouch)
  63. Player.Ghostly.MaxHealth=("inf")
  64. Player.Ghostly.HealthDisplayType=("AlwaysOff")
  65. Player.Ghostly.WalkSpeed=100
  66. Player.Ghostly.JumpPower=200
  67. function onTouch(hit)
  68. local human=hit.Parent:FindFirstChild("Humanoid")
  69. if (human~=nil) then
  70. wait()
  71. hit.Parent:BreakJoints()
  72. end
  73. end
  74. Player.Torso.Touched:Connect(onTouch)
  75. g=Instance.new("SurfaceLight")
  76. g.Parent=Player.Torso
  77. g.Angle=180
  78. g.Brightness=10
  79. g.Color=Color3.new(255,255,255)
  80. g.Face=("Top")
  81. g.Range=60
  82. wait(1/60)
  83. local load=Player:FindFirstChild("Torso")
  84. if (load~=nil) then
  85. print(Name2.." is now a spookay ghost")
  86. else
  87. print("This script will only work with r6")
  88. end
  89. local UT=Player:FindFirstChild("Upper Torso")
  90. if (UT~=nil) then
  91. wait()
  92. Player:BreakJoints()
  93. end
  94. function onTouch(hit)
  95. local block=hit.Parent:FindFirstChild("Part")
  96. if (block~=nil) then
  97. hit.CanCollide=false
  98. hit.Anchored=true
  99. wait(1)
  100. hit.CanCollide=true
  101. else
  102. hit.CanCollide=true
  103. end
  104. end
  105. Player.Torso.Touched:Connect(onTouch)
  106. function onTouch(hit)
  107. local block=hit.Parent:FindFirstChild("Part")
  108. if (block~=nil) then
  109. hit.CanCollide=false
  110. hit.Anchored=true
  111. wait(1)
  112. hit.CanCollide=true
  113. else
  114. hit.CanCollide=true
  115. end
  116. end
  117. Player.Head.Touched:Connect(onTouch)
  118. function onTouch(hit)
  119. local base=hit:FindFirstChild("Baseplate")
  120. if (base~=nil) then
  121. hit.CanCollide=true
  122. hit.Anchored=true
  123. end
  124. end
  125. Player.Torso.Touched:Connect(onTouch)
  126. wait(1)
  127. local gui=Instance.new("BillboardGui")
  128. gui.Parent=Player.Head
  129. gui.Adornee=Player.Head
  130. gui.MaxDistance = 100
  131. gui.Size=UDim2.new(3,0,3,0)
  132. gui.StudsOffset=Vector3.new(0.5,2,0)
  133. local text=Instance.new("TextLabel")
  134. text.Text = ("Ghost")
  135. text.Font = "Arcade"
  136. text.TextColor3 = Color3.new("White")
  137. text.Size=UDim2.new(1,0,1,0)
  138. text.FontSize = 'Size32'
  139. text.Position=UDim2.new(-0.125,0,-0.25,0)
  140. text.BackgroundTransparency = 1
  141. text.Parent=gui
  142. function onTouch(hit)
  143. local person=hit.Parent:FindFirstChild("Humanoid")
  144. if (person~=nil) then
  145. wait()
  146. text.Text=(hit.Parent.Name.." has been rekt by "..Name2)
  147. wait(2)
  148. text.Text=("Ghost")
  149. end
  150. end
  151. Player.Torso.Touched:Connect(onTouch)
  152. function onDeath()
  153. text.Text=("RIP... "..Name2.." has died")
  154. game.SoundService.Sound:Destroy()
  155. script:Destroy()
  156. end
  157. Player.Ghostly.Died:Connect(onDeath)
  158. function onTouch(hit)
  159. local being=hit:FindFirstChild("Humanoid")
  160. if (being~=nil) then
  161. hit.Humanoid.WalkSpeed=5
  162. hit.Head.BrickColor=BrickColor.new("White")
  163. hit.Torso.BrickColor=BrickColor.new("White")
  164. hit["Left Arm"].BrickColor=BrickColor.new("White")
  165. hit["Right Arm"].BrickColor=BrickColor.new("White")
  166. hit["Right Leg"].BrickColor=BrickColor.new("White")
  167. hit["Left Leg"].BrickColor=BrickColor.new("White")
  168. end
  169. end
  170. Player.Torso.Touched:Connect(onTouch)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement