Advertisement
Mr-Shadow_Cat

The ghost

Feb 16th, 2018
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.05 KB | None | 0 0
  1. -- By Theamazingnater
  2. -- hi
  3. plr = game.Players.LocalPlayer
  4. char = plr.Character
  5.  
  6.  
  7. -- Defining RenderStepped?
  8. renders = game:GetService("RunService").RenderStepped
  9. -- Intro
  10. char.Torso.roblox.Texture = "rbxassetid://305296807"
  11. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  12. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  13. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  14. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  15. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  16. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  17. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  18. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  19. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  20. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  21. local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  22. game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
  23. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  24. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  25. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  26. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  27. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  28. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  29. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  30. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  31. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  32. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  33. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  34. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  35. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  36. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  37. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  38. local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  39. local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  40. headweld.Part0 = game.Players.LocalPlayer.Character.Torso
  41. headweld.Part1 = game.Players.LocalPlayer.Character.Head
  42. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  43. local gunshot = Instance.new("Sound",char.Torso)
  44. gunshot.Name = "BANG"
  45. gunshot.SoundId = "rbxassetid://546413146"
  46. gunshot.Volume = 2
  47. gunshot:Play()
  48. char:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
  49. char:FindFirstChildOfClass("Humanoid").JumpPower = 0
  50. for i = 0,1 , 0.03 do
  51. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.975958347, -2.06729031, 0, 0.905177712, -0.425033659, 8.83524214e-27, 0.425034732, 0.905179977, 4.223007e-27, -1.05518035e-26, 3.02922588e-28, 1.0000025),i)
  52. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.901434898, -1.97289896, 0, 0.896831989, 0.442371875, -3.88750654e-27, -0.442372978, 0.896834254, 5.09510506e-27, 4.69530011e-27, -3.35739201e-27, 1.0000025),i)
  53. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i)
  54. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.80910063, 0.148392916, 0, 0.586558223, 0.80990839, -5.84135723e-26, -0.809910417, 0.586559713, -6.21380681e-26, -1.6509281e-26, 8.28998148e-26, 1.0000025),i)
  55. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -2.50004101, 2.00000429, 1, -4.90253133e-27, 8.98669496e-27, 8.98670343e-27, 1.77323375e-06, -1, 4.90251553e-27, 1, 1.77323375e-06),i)
  56. renders:wait()
  57. end
  58. wait(3)
  59. local scream = Instance.new("Sound",char.Torso)
  60. scream.SoundId = "rbxassetid://880951531"
  61. scream.Volume = 4
  62. scream:Play()
  63. char.Head.face.Texture = "http://www.roblox.com/asset/?id=1364114735"
  64. for i = 0,1 , 0.03 do
  65. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.52452374, 0.510128379, -0.901310444, -0.0983733907, 0.0243432298, 0.994851828, 0.995149672, 0.00240636896, 0.0983439684, 2.91038305e-08, 0.999700963, -0.0244618785),i)
  66. renders:wait()
  67. end
  68. wait(5)
  69. char.Head.face.Texture = "http://www.roblox.com/asset/?id=295197013"
  70. for i = 0,1 , 0.03 do
  71. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i)
  72. renders:wait()
  73. end
  74. local Part0 = Instance.new("Part")
  75. Part0.Name = "bl00d"
  76. Part0.CanCollide = false
  77. Part0.Anchored = true
  78. Part0.Parent = char
  79. Part0.BrickColor = BrickColor.new("Crimson")
  80. Part0.Rotation = Vector3.new(0, 0, 90)
  81. Part0.Shape = Enum.PartType.Cylinder
  82. Part0.Size = Vector3.new(0.310000002, 1.77000022, 2)
  83. Part0.CFrame = CFrame.new(10.5427914, 1.28072846, 11.4908791, 4.47034836e-07, -1.00000215, 0, 1.00000215, 4.47034836e-07, 0, 0, 0, 1)
  84. Part0.Color = Color3.new(0.458824, 0, 0)
  85. Part0.Position = Vector3.new(10.5427914, 1.28072846, 11.4908791)
  86. Part0.Orientation = Vector3.new(0, 0, 90)
  87. Part0.Color = Color3.new(0.458824, 0, 0)
  88. for i = 1,400 do
  89. game.Players.LocalPlayer.Character.Head.CanCollide = false
  90. Part0.Size = Part0.Size + Vector3.new(0,0.01,0.01)
  91. Part0.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,0.4)
  92. Part0.CFrame = Part0.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  93. game:GetService("RunService").Stepped:wait()
  94. end
  95. wait(4)
  96. for i = 0,1 , 0.03 do
  97. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  98. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
  99. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  100. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
  101. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
  102. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
  103. renders:wait()
  104. end
  105. lhandweld:Destroy()
  106. llegweld:Destroy()
  107. rhandweld:Destroy()
  108. rlegweld:Destroy()
  109. headweld:Destroy()
  110. humanoidrootpart:Destroy()
  111. lhandclone.Parent = char.Torso
  112. llegclone.Parent = char.Torso
  113. rhandclone.Parent = char.Torso
  114. rlegclone.Parent = char.Torso
  115. heed.Parent = char.Torso
  116. rootjointclone.Parent = char.HumanoidRootPart
  117. char:FindFirstChildOfClass("Humanoid").WalkSpeed = 16
  118. char:FindFirstChildOfClass("Humanoid").JumpPower = 50
  119. -- the thing that follows you
  120. local part = Instance.new("Part",char)
  121. part.Transparency = 1
  122. part.Size = Vector3.new(5.92, 0.05, 5.95)
  123. part.CanCollide = false
  124. local surfacegui = Instance.new("SurfaceGui",part)
  125. surfacegui.Adornee = part
  126. surfacegui.Face = "Top"
  127. surfacegui.AlwaysOnTop = false
  128. local image = Instance.new("ImageLabel",surfacegui)
  129. image.Size = UDim2.new(1.066, 0, 0.998, 0)
  130. image.Image = "rbxassetid://0"
  131. image.BackgroundTransparency = 1
  132. local weld = Instance.new("Weld",part)
  133. weld.Part0 = part
  134. weld.Part1 = char.HumanoidRootPart
  135. for i = 0,1 , 0.05 do
  136. weld.C0 = weld.C0:lerp(CFrame.new(-0.232723236, 2.4942894, 0.332229614, 1, 0, 0, 0, 0.999996066, 0, 0, 0, 1),i)
  137. game:GetService("RunService").RenderStepped:wait()
  138. end
  139. -- funcs
  140. function onTouched(brick)
  141. local humn = brick.Parent:FindFirstChildOfClass("Humanoid")
  142. if humn then
  143. for i,v in pairs(humn.Parent:GetChildren()) do
  144. if v.ClassName == "Part" then
  145. v.Transparency = 0.5
  146. v.Color = Color3.new(0,0,0)
  147. v.CanCollide = false
  148. v.Parent:FindFirstChildOfClass("Humanoid").Health = 0
  149. local bodyvel = Instance.new("BodyVelocity",v)
  150. local leftarm = Instance.new("CharacterMesh",v.Parent)
  151. leftarm.BodyPart = "LeftArm"
  152. leftarm.MeshId = "1112256772"
  153. local leftleg = Instance.new("CharacterMesh",v.Parent)
  154. leftleg.BodyPart = "LeftLeg"
  155. leftleg.MeshId = "1112275294"
  156. local rightarm = Instance.new("CharacterMesh",v.Parent)
  157. rightarm.BodyPart = "RightArm"
  158. rightarm.MeshId = "1112244824"
  159. local rightleg = Instance.new("CharacterMesh",v.Parent)
  160. rightleg.BodyPart = "RightLeg"
  161. rightleg.MeshId = "1112267576"
  162. local torso = Instance.new("CharacterMesh",v.Parent)
  163. torso.BodyPart = "Torso"
  164. torso.MeshId = "1112228624"
  165. end
  166. end
  167. end
  168. end
  169. char.Torso.Touched:connect(onTouched)
  170. -- Transparency
  171. char["Left Arm"].Transparency = 0.5
  172. char["Left Leg"].Transparency = 0.5
  173. char["Right Arm"].Transparency = 0.5
  174. char["Right Leg"].Transparency = 0.5
  175. char["Head"].Transparency = 0.5
  176. char.Torso.Transparency = 0.5
  177. -- Color
  178. local bdycolors = char["Body Colors"]
  179. bdycolors.HeadColor = BrickColor.new("Really black")
  180. bdycolors.LeftArmColor = BrickColor.new("Really black")
  181. bdycolors.RightArmColor = BrickColor.new("Really black")
  182. bdycolors.LeftLegColor = BrickColor.new("Really black")
  183. bdycolors.RightLegColor = BrickColor.new("Really black")
  184. bdycolors.TorsoColor = BrickColor.new("Really black")
  185. -- Music
  186. local music = Instance.new("Sound",char)
  187. music.SoundId = "rbxassetid://928990066"
  188. music.Volume = 2
  189. music:Play()
  190. music.Looped = true
  191. -- Name
  192. local nametag = Instance.new("BillboardGui",char.Head)
  193. nametag.StudsOffset = Vector3.new(0,2,0)
  194. nametag.Adornee = char.Head
  195. nametag.Size = UDim2.new(0,200,0,50)
  196.  
  197. local text = Instance.new("TextLabel",nametag)
  198. text.Size = UDim2.new(0,200,0,50)
  199. text.BackgroundTransparency = 1
  200. text.Text = "The Ghost"
  201. text.TextColor3 = Color3.new(180/255,0,0)
  202. text.TextStrokeColor3 = Color3.new(0,0,0)
  203. text.Font = Enum.Font.Fantasy
  204. text.TextScaled = true
  205. text.TextStrokeTransparency = 0
  206. coroutine.wrap(function()
  207. while wait() do
  208. wait(3)
  209. text.Text = "GIVE UP"
  210. wait()
  211. text.Text = "The Ghost";
  212. wait(2)
  213. local str = ""
  214. for i = 1, math.random(3,25) do
  215. str = str..string.char(math.random(65,122))
  216. end
  217. text.Text = str
  218. wait()
  219. str = ""
  220. for i = 1, math.random(12,25) do
  221. str = str..string.char(math.random(48,122))
  222. end
  223. wait()
  224. text.Text = str
  225. wait()
  226. text.Text = "The Ghost";
  227. wait(1)
  228. text.Text = "run"
  229. wait()
  230. text.Text = "Burn in hell."
  231. wait()
  232. text.Text = "The Ghost";
  233. wait(2)
  234. text.Text = "You made me do this.";
  235. wait()
  236. text.Text = "edgy";
  237. wait()
  238. for i = 1, math.random(12,25) do
  239. str = str..string.char(math.random(48,57))
  240. end
  241. text.Text = str
  242. wait()
  243. text.Text = "The Ghost";
  244. wait(2)
  245. end
  246. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement