Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake;Fake = {Connections = {},
- fakeEvent=true;
- Connect=function(self,Func)
- Bind.Event:connect(Func)
- self.Connections[Bind] = true
- return setmetatable({Connected = true},{
- __index = function (self,Index)
- if Index:lower() == "disconnect" then
- return function() Fake.Connections[Bind] = false;self.Connected = false end
- end
- return Fake[Index]
- end;
- __tostring = function() return "Connection" end;
- })
- end}
- Fake.connect = Fake.Connect;return Fake;
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Connections then
- for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
- end
- end
- Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return RealPlayer[Index](RealPlayer,...) end
- end
- return RealPlayer[Index]
- end;
- __tostring = function(self) return RealPlayer.Name end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return Sandbox(owner) end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return RealGame:GetService(Service).Name end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return RealGame:GetService(Service)
- end
- end
- return function (self,...) return RealGame[Index](RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return RealGame[Index]
- end
- end
- return nil
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
- plr = game.Players.LocalPlayer
- char = plr.Character
- skin = BrickColor.new("Pastel brown")
- wait(0.5)
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Shirt" or v.ClassName == "Pants" then
- v:Destroy()
- end
- end
- local shirt = Instance.new("Shirt",char)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=115893651"
- local pants = Instance.new("Pants",char)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=115893704"
- local bdy = char["Body Colors"]
- bdy.HeadColor = skin
- bdy.LeftArmColor = skin
- bdy.LeftLegColor = skin
- bdy.RightArmColor = skin
- bdy.RightLegColor = skin
- bdy.TorsoColor = skin
- wait(1)
- local gunshot = Instance.new("Sound",char.Torso)
- gunshot.Name = "BANG"
- gunshot.SoundId = "rbxassetid://213603013"
- gunshot.Volume = 2
- gunshot:Play()
- char.Humanoid.WalkSpeed = 0
- char.Humanoid.JumpPower = 0
- char.Torso["Right Shoulder"].C1 = CFrame.new(0,0,0)
- char.Torso["Left Shoulder"].C1 = CFrame.new(0,0,0)
- char.Torso["Left Hip"].C1 = CFrame.new(0,0,0)
- char.Torso["Right Hip"].C1 = CFrame.new(0,0,0)
- char.HumanoidRootPart.RootJoint.C1 = CFrame.new(0,0,0)
- rlegweld = char.Torso["Right Hip"]
- llegweld = char.Torso["Left Hip"]
- rhandweld = char.Torso["Right Shoulder"]
- lhandweld = char.Torso["Left Shoulder"]
- humanoidrootpart = char.HumanoidRootPart.RootJoint
- for i = 0,1 , 0.03 do
- 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)
- 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)
- 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)
- 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)
- 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)
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(2)
- char.Torso.Neck.C1 = CFrame.new(0,0,0)
- local scream = Instance.new("Sound",char)
- scream.SoundId = "rbxassetid://566988981"
- scream.Volume = 4
- scream:Play()
- char.Head.face.Texture = "http://www.roblox.com/asset/?id=152630087"
- for i = 0,1 ,0.03 do
- 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)
- 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)
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(2)
- for i = 0,1 ,0.03 do
- 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)
- 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)
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(4)
- renders = game:GetService("RunService").RenderStepped
- for i = 0,1 , 0.03 do
- 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)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
- 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)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
- 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)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
- renders:wait()
- end
- local nametag = Instance.new("BillboardGui",char)
- nametag.StudsOffset = Vector3.new(0,2,0)
- nametag.Adornee = char.Head
- nametag.Size = UDim2.new(0,200,0,50)
- local text = Instance.new("TextLabel",nametag)
- text.Size = UDim2.new(0,200,0,50)
- text.BackgroundTransparency = 1
- text.Text = "The Ghost"
- text.TextColor3 = Color3.new(180/255,0,0)
- text.TextStrokeColor3 = Color3.new(0,0,0)
- text.Font = Enum.Font.Fantasy
- text.TextScaled = true
- text.TextStrokeTransparency = 0
- coroutine.wrap(function()
- while wait() do
- wait(3)
- text.Text = "GIVE UP"
- wait()
- text.Text = "The Ghost";
- wait(2)
- local str = ""
- for i = 1, math.random(3,25) do
- str = str..string.char(math.random(65,122))
- end
- text.Text = str
- wait()
- str = ""
- for i = 1, math.random(12,25) do
- str = str..string.char(math.random(48,122))
- end
- wait()
- text.Text = str
- wait()
- text.Text = "The Ghost";
- wait(1)
- text.Text = "BE GONE THOT"
- wait()
- text.Text = "Burn in hell."
- wait()
- text.Text = "The Ghost";
- wait(2)
- text.Text = "You made me do this.";
- wait()
- text.Text = "edgy";
- wait()
- for i = 1, math.random(12,25) do
- str = str..string.char(math.random(48,57))
- end
- text.Text = str
- wait()
- text.Text = "The Ghost";
- wait(2)
- end
- end)()
- char.Humanoid.WalkSpeed = 16
- char.Humanoid.JumpPower = 50
- local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
- local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
- local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
- lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
- game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
- local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
- llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
- local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
- game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
- local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
- rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
- local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
- local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
- humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
- local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
- local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- headweld.Part0 = game.Players.LocalPlayer.Character.Torso
- headweld.Part1 = game.Players.LocalPlayer.Character.Head
- headweld.C0 = CFrame.new(0, 1.5, 0, 0.805139124, -0.593086064, 0, 0.593086064, 0.805139124, 0, 0, 0, 1)
- model = Instance.new("Model",char)
- char.Humanoid.Name = "nil"
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Accessory" then
- v:Remove()
- end
- end
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- end
- local music = Instance.new("Sound",char)
- music.SoundId = "rbxassetid://254933693"
- music.Volume = 4
- music.Looped = true
- music:Play()
- local hitbox = Instance.new("Part",char.Torso)
- hitbox.Size = char.Torso.Size
- hitbox.Transparency = 1
- hitbox.CanCollide = false
- local hweld = Instance.new("Weld",hitbox)
- hweld.Part0 = hitbox
- hweld.Part1 = char.Torso
- hweld.C0 = CFrame.new(0, 0, 1.02879095, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- local slap = Instance.new("Sound",char)
- slap.SoundId = "rbxassetid://261566877"
- slap.Name = "damage"
- slap.Volume = 4
- hitbox.Touched:connect(function(part)
- local hum = part.Parent:FindFirstChildOfClass("Humanoid")
- if hum then
- slap:Play()
- hum.Sit = true
- hum.JumpPower = 0
- wait(3)
- for i,v in pairs(hum.Parent:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- local cp = Instance.new("BodyPosition",v)
- cp.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- v.BrickColor = BrickColor.new("Really black")
- game:GetService("Debris"):AddItem(hum.Parent,2)
- end
- end
- hum.Health = 0
- hum.Name = "w h y ?"
- end
- end)
- char.Parent = game.Workspace.CurrentCamera
- model.Parent = game.Workspace
- model.Name = "GhostTrail"
- char.Head.face:Remove()
- while true do
- wait(0.01)
- if model.Parent == nil then
- model.Parent = game.Workspace
- end
- local hum = char:FindFirstChildOfClass("Humanoid")
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- local cp = v:Clone()
- cp.Parent = model
- cp.Anchored = true
- cp.CanCollide = false
- cp.BrickColor = BrickColor.new("Really black")
- cp.Material = Enum.Material.SmoothPlastic
- cp.Transparency = 0.8
- if cp.Name == "HumanoidRootPart" then
- cp:Remove()
- end
- for i,v in pairs(cp:GetChildren()) do
- if v.ClassName == "Motor6D" or v.ClassName == "Weld" then
- v:Remove()
- end
- end
- game:GetService("Debris"):AddItem(cp,0.2)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement