Advertisement
StarzoZero

Roblox SCP (The Ghost) FE

Dec 31st, 2018
582
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.91 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by StarzoZero");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. plr = game.Players.LocalPlayer
  143. char = plr.Character
  144. skin = BrickColor.new("Pastel brown")
  145.  
  146. wait(0.5)
  147. for i,v in pairs(char:GetChildren()) do
  148. if v.ClassName == "Shirt" or v.ClassName == "Pants" then
  149. v:Destroy()
  150. end
  151. end
  152. local shirt = Instance.new("Shirt",char)
  153. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=115893651"
  154. local pants = Instance.new("Pants",char)
  155. pants.PantsTemplate = "http://www.roblox.com/asset/?id=115893704"
  156. local bdy = char["Body Colors"]
  157. bdy.HeadColor = skin
  158. bdy.LeftArmColor = skin
  159. bdy.LeftLegColor = skin
  160. bdy.RightArmColor = skin
  161. bdy.RightLegColor = skin
  162. bdy.TorsoColor = skin
  163. wait(1)
  164. local gunshot = Instance.new("Sound",char.Torso)
  165. gunshot.Name = "BANG"
  166. gunshot.SoundId = "rbxassetid://213603013"
  167. gunshot.Volume = 2
  168. gunshot:Play()
  169. char.Humanoid.WalkSpeed = 0
  170. char.Humanoid.JumpPower = 0
  171. char.Torso["Right Shoulder"].C1 = CFrame.new(0,0,0)
  172. char.Torso["Left Shoulder"].C1 = CFrame.new(0,0,0)
  173. char.Torso["Left Hip"].C1 = CFrame.new(0,0,0)
  174. char.Torso["Right Hip"].C1 = CFrame.new(0,0,0)
  175. char.HumanoidRootPart.RootJoint.C1 = CFrame.new(0,0,0)
  176. rlegweld = char.Torso["Right Hip"]
  177. llegweld = char.Torso["Left Hip"]
  178. rhandweld = char.Torso["Right Shoulder"]
  179. lhandweld = char.Torso["Left Shoulder"]
  180. humanoidrootpart = char.HumanoidRootPart.RootJoint
  181. for i = 0,1 , 0.03 do
  182. 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)
  183. 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)
  184. 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)
  185. 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)
  186. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -2.71110725, -1.9999876, 1, -1.89579053e-26, -7.87598728e-27, 7.01770661e-27, 6.76514401e-06, 1.0000025, -1.93673287e-26, -1.00000238, 6.85455143e-06),i)
  187. game:GetService("RunService").RenderStepped:wait()
  188. end
  189. wait(2)
  190. char.Torso.Neck.C1 = CFrame.new(0,0,0)
  191. local scream = Instance.new("Sound",char)
  192. scream.SoundId = "rbxassetid://566988981"
  193. scream.Volume = 4
  194. scream:Play()
  195. char.Head.face.Texture = "http://www.roblox.com/asset/?id=152630087"
  196. for i = 0,1 ,0.03 do
  197. char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(1.1920929e-07, 1.01759481, 0.499690324, 1, 2.27373675e-13, -3.63797881e-12, 7.27595761e-12, 0.0351885781, -0.999380767, 7.81597009e-14, 0.999380767, 0.0351885781),i)
  198. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.43054783, 2.02057076, -4.70876694e-06, -0.998074114, -0.0620345771, -4.98416557e-06, 0.0620345846, -0.998074114, 2.182147e-06, -5.10993777e-06, 1.86875695e-06, 1.00000012),i)
  199. game:GetService("RunService").RenderStepped:wait()
  200. end
  201. wait(2)
  202. for i = 0,1 ,0.03 do
  203. char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  204. 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)
  205. game:GetService("RunService").RenderStepped:wait()
  206. end
  207. wait(4)
  208. renders = game:GetService("RunService").RenderStepped
  209. for i = 0,1 , 0.03 do
  210. 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)
  211. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
  212. 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)
  213. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
  214. char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
  215. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
  216. renders:wait()
  217. end
  218. local nametag = Instance.new("BillboardGui",char)
  219. nametag.StudsOffset = Vector3.new(0,2,0)
  220. nametag.Adornee = char.Head
  221. nametag.Size = UDim2.new(0,200,0,50)
  222.  
  223. local text = Instance.new("TextLabel",nametag)
  224. text.Size = UDim2.new(0,200,0,50)
  225. text.BackgroundTransparency = 1
  226. text.Text = "The Ghost"
  227. text.TextColor3 = Color3.new(180/255,0,0)
  228. text.TextStrokeColor3 = Color3.new(0,0,0)
  229. text.Font = Enum.Font.Fantasy
  230. text.TextScaled = true
  231. text.TextStrokeTransparency = 0
  232. coroutine.wrap(function()
  233. while wait() do
  234. wait(3)
  235. text.Text = "GIVE UP"
  236. wait()
  237. text.Text = "The Ghost";
  238. wait(2)
  239. local str = ""
  240. for i = 1, math.random(3,25) do
  241. str = str..string.char(math.random(65,122))
  242. end
  243. text.Text = str
  244. wait()
  245. str = ""
  246. for i = 1, math.random(12,25) do
  247. str = str..string.char(math.random(48,122))
  248. end
  249. wait()
  250. text.Text = str
  251. wait()
  252. text.Text = "The Ghost";
  253. wait(1)
  254. text.Text = "BE GONE THOT"
  255. wait()
  256. text.Text = "Burn in hell."
  257. wait()
  258. text.Text = "The Ghost";
  259. wait(2)
  260. text.Text = "You made me do this.";
  261. wait()
  262. text.Text = "edgy";
  263. wait()
  264. for i = 1, math.random(12,25) do
  265. str = str..string.char(math.random(48,57))
  266. end
  267. text.Text = str
  268. wait()
  269. text.Text = "The Ghost";
  270. wait(2)
  271. end
  272. end)()
  273. char.Humanoid.WalkSpeed = 16
  274. char.Humanoid.JumpPower = 50
  275. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  276. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  277. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  278. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  279. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  280. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  281. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  282. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  283. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  284. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  285. local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  286. game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
  287. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  288. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  289. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  290. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  291. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  292. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  293. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  294. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  295. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  296. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  297. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  298. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  299. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  300. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  301. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  302. local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  303. local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  304. headweld.Part0 = game.Players.LocalPlayer.Character.Torso
  305. headweld.Part1 = game.Players.LocalPlayer.Character.Head
  306. headweld.C0 = CFrame.new(0, 1.5, 0, 0.805139124, -0.593086064, 0, 0.593086064, 0.805139124, 0, 0, 0, 1)
  307. model = Instance.new("Model",char)
  308. char.Humanoid.Name = "nil"
  309. for i,v in pairs(char:GetChildren()) do
  310. if v.ClassName == "Accessory" then
  311. v:Remove()
  312. end
  313. end
  314. for i,v in pairs(char:GetChildren()) do
  315. if v.ClassName == "Part" then
  316. v.Transparency = 1
  317. end
  318. end
  319. local music = Instance.new("Sound",char)
  320. music.SoundId = "rbxassetid://254933693"
  321. music.Volume = 4
  322. music.Looped = true
  323. music:Play()
  324. local hitbox = Instance.new("Part",char.Torso)
  325. hitbox.Size = char.Torso.Size
  326. hitbox.Transparency = 1
  327. hitbox.CanCollide = false
  328. local hweld = Instance.new("Weld",hitbox)
  329. hweld.Part0 = hitbox
  330. hweld.Part1 = char.Torso
  331. hweld.C0 = CFrame.new(0, 0, 1.02879095, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  332. local slap = Instance.new("Sound",char)
  333. slap.SoundId = "rbxassetid://261566877"
  334. slap.Name = "damage"
  335. slap.Volume = 4
  336. hitbox.Touched:connect(function(part)
  337. local hum = part.Parent:FindFirstChildOfClass("Humanoid")
  338. if hum then
  339. slap:Play()
  340. hum.Sit = true
  341. hum.JumpPower = 0
  342. wait(3)
  343. for i,v in pairs(hum.Parent:GetChildren()) do
  344. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  345. local cp = Instance.new("BodyPosition",v)
  346. cp.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  347. v.BrickColor = BrickColor.new("Really black")
  348. game:GetService("Debris"):AddItem(hum.Parent,2)
  349. end
  350. end
  351. hum.Health = 0
  352. hum.Name = "w h y ?"
  353. end
  354. end)
  355. char.Parent = game.Workspace.CurrentCamera
  356. model.Parent = game.Workspace
  357. model.Name = "GhostTrail"
  358. char.Head.face:Remove()
  359. while true do
  360. wait(0.01)
  361. if model.Parent == nil then
  362. model.Parent = game.Workspace
  363. end
  364. local hum = char:FindFirstChildOfClass("Humanoid")
  365. hum.MaxHealth = math.huge
  366. hum.Health = math.huge
  367. for i,v in pairs(char:GetChildren()) do
  368. if v.ClassName == "Part" then
  369. local cp = v:Clone()
  370. cp.Parent = model
  371. cp.Anchored = true
  372. cp.CanCollide = false
  373. cp.BrickColor = BrickColor.new("Really black")
  374. cp.Material = Enum.Material.SmoothPlastic
  375. cp.Transparency = 0.8
  376. if cp.Name == "HumanoidRootPart" then
  377. cp:Remove()
  378. end
  379. for i,v in pairs(cp:GetChildren()) do
  380. if v.ClassName == "Motor6D" or v.ClassName == "Weld" then
  381. v:Remove()
  382. end
  383. end
  384. game:GetService("Debris"):AddItem(cp,0.2)
  385. end
  386. end
  387. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement