Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1/60)
- local Name1=game.Players.LocalPlayer
- local Player=Name1.Character
- local Name2=Player.Name
- local Halfway=0.50
- Player.Humanoid.Name=("Ghostly")
- local Shirt=Player:FindFirstChild("Shirt")
- if (Shirt~=nil) then
- Player.Shirt:Destroy()
- print("Shirt Removed")
- else
- print("Error removing Shirt")
- end
- local TShirt=Player:FindFirstChild("Shirt Graphic")
- if (TShirt~=nil) then
- Player["Shirt Graphic"]:Destroy()
- print("T-Shirt Removed")
- else
- print("Error removing T-Shirt")
- end
- local Pants=Player:FindFirstChild("Pants")
- if (Pants~=nil) then
- Player.Pants:Destroy()
- print("Pants Removed")
- else
- print("Error removing Pants")
- end
- wait()
- Player.Head.BrickColor=BrickColor.new("White")
- Player.Torso.BrickColor=BrickColor.new("White")
- Player["Left Arm"].BrickColor=BrickColor.new("White")
- Player["Right Arm"].BrickColor=BrickColor.new("White")
- Player["Right Leg"].BrickColor=BrickColor.new("White")
- Player["Left Leg"].BrickColor=BrickColor.new("White")
- wait()
- Player.Torso.Transparency=Halfway
- Player.Head.Transparency=Halfway
- Player["Left Arm"].Transparency=Halfway
- Player["Right Arm"].Transparency=Halfway
- Player["Right Leg"].Transparency=Halfway
- Player["Left Leg"].Transparency=Halfway
- wait(1/5)
- local Sound=Instance.new("Sound")
- Sound.SoundId="rbxassetid://182390761"
- Sound.Volume=5
- Sound.Parent=game.SoundService
- Sound.Playing=true
- Sound.Looped=true
- local v=Instance.new("Sound")
- v.Parent=Player.Head
- v.MaxDistance=40
- v.Volume=5
- v.SoundId="rbxassetid://1787893952"
- function onTouch(hit)
- local PV=hit:FindFirstChild("Humanoid")
- if (PV~=nil) then
- v.Playing=true
- wait(1)
- v.Playing=false
- end
- end
- Player.Torso.Touched:Connect(onTouch)
- Player.Ghostly.MaxHealth=("inf")
- Player.Ghostly.HealthDisplayType=("AlwaysOff")
- Player.Ghostly.WalkSpeed=100
- Player.Ghostly.JumpPower=200
- function onTouch(hit)
- local human=hit.Parent:FindFirstChild("Humanoid")
- if (human~=nil) then
- wait()
- hit.Parent:BreakJoints()
- end
- end
- Player.Torso.Touched:Connect(onTouch)
- g=Instance.new("SurfaceLight")
- g.Parent=Player.Torso
- g.Angle=180
- g.Brightness=10
- g.Color=Color3.new(255,255,255)
- g.Face=("Top")
- g.Range=60
- wait(1/60)
- local load=Player:FindFirstChild("Torso")
- if (load~=nil) then
- print(Name2.." is now a spookay ghost")
- else
- print("This script will only work with r6")
- end
- local UT=Player:FindFirstChild("Upper Torso")
- if (UT~=nil) then
- wait()
- Player:BreakJoints()
- end
- function onTouch(hit)
- local block=hit.Parent:FindFirstChild("Part")
- if (block~=nil) then
- hit.CanCollide=false
- hit.Anchored=true
- wait(1)
- hit.CanCollide=true
- else
- hit.CanCollide=true
- end
- end
- Player.Torso.Touched:Connect(onTouch)
- function onTouch(hit)
- local block=hit.Parent:FindFirstChild("Part")
- if (block~=nil) then
- hit.CanCollide=false
- hit.Anchored=true
- wait(1)
- hit.CanCollide=true
- else
- hit.CanCollide=true
- end
- end
- Player.Head.Touched:Connect(onTouch)
- function onTouch(hit)
- local base=hit:FindFirstChild("Baseplate")
- if (base~=nil) then
- hit.CanCollide=true
- hit.Anchored=true
- end
- end
- Player.Torso.Touched:Connect(onTouch)
- wait(1)
- local gui=Instance.new("BillboardGui")
- gui.Parent=Player.Head
- gui.Adornee=Player.Head
- gui.MaxDistance = 100
- gui.Size=UDim2.new(3,0,3,0)
- gui.StudsOffset=Vector3.new(0.5,2,0)
- local text=Instance.new("TextLabel")
- text.Text = ("Ghost")
- text.Font = "Arcade"
- text.TextColor3 = Color3.new("White")
- text.Size=UDim2.new(1,0,1,0)
- text.FontSize = 'Size32'
- text.Position=UDim2.new(-0.125,0,-0.25,0)
- text.BackgroundTransparency = 1
- text.Parent=gui
- function onTouch(hit)
- local person=hit.Parent:FindFirstChild("Humanoid")
- if (person~=nil) then
- wait()
- text.Text=(hit.Parent.Name.." has been rekt by "..Name2)
- wait(2)
- text.Text=("Ghost")
- end
- end
- Player.Torso.Touched:Connect(onTouch)
- function onDeath()
- text.Text=("RIP... "..Name2.." has died")
- game.SoundService.Sound:Destroy()
- script:Destroy()
- end
- Player.Ghostly.Died:Connect(onDeath)
- function onTouch(hit)
- local being=hit:FindFirstChild("Humanoid")
- if (being~=nil) then
- hit.Humanoid.WalkSpeed=5
- hit.Head.BrickColor=BrickColor.new("White")
- hit.Torso.BrickColor=BrickColor.new("White")
- hit["Left Arm"].BrickColor=BrickColor.new("White")
- hit["Right Arm"].BrickColor=BrickColor.new("White")
- hit["Right Leg"].BrickColor=BrickColor.new("White")
- hit["Left Leg"].BrickColor=BrickColor.new("White")
- end
- end
- Player.Torso.Touched:Connect(onTouch)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement