Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local repStorage = game:GetService("ReplicatedStorage")
- wait(3)
- local Player = game:GetService("Players").timetodie23232223
- local Mouse = Player:GetMouse()
- local UIS = game:GetService("UserInputService")
- Sans = false
- spawning = false
- LastPosition = CFrame.new(0,0,0)
- --Humanoid:SetStateEnabled("Dead",false)
- --Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
- function createRemotes()
- script.Main:Clone().Parent = repStorage
- script.placeholder.Name = Player.Name
- script[Player.Name].Parent = repStorage
- script.SouljaBoy.Parent = repStorage
- end
- if repStorage:FindFirstChild(Player.Name) == nil then
- createRemotes()
- else
- repStorage.Main:Destroy()
- repStorage[Player.Name]:Destroy()
- repStorage["SouljaBoy"]:Destroy()
- createRemotes()
- end
- Touch = workspace.ChildAdded:Connect(function()
- end)
- function Respawn()
- spawning = true
- Touch:Disconnect()
- local NP = Instance.new("Part")
- NP.Size = Vector3.new(0,0,0)
- NP.Anchored = true
- NP.Transparency = 1
- NP.CFrame = LastPosition
- local NG = script.non:Clone()
- NG.Parent = NP
- NG.Adornee = NP
- local NS = Instance.new("Sound")
- NS.SoundId = "rbxassetid://2893827608"
- NS.Volume = 10
- NS.Parent = NP
- NP.Parent = workspace
- NS:Play()
- for i = 0,1,0.1 do
- wait()
- NG.TL1.Size = UDim2.new(i,0,i,0)
- NG.TL1.TextTransparency = NG.TL1.Transparency - i
- end
- repeat wait() until NS.Playing == false
- NP:Destroy()
- Character = repStorage.SouljaBoy:Clone()
- wait()
- Humanoid = Character.Humanoid
- Humanoid:SetStateEnabled("Dead",false)
- Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
- Character.Parent = workspace
- Player.Character = Character
- Character.HumanoidRootPart.CFrame = LastPosition
- SansSkull = Instance.new("Part", Character)
- SansSkull.Name = "Core"
- SansSkull.Shape = Enum.PartType.Ball
- SansSkull.CanCollide = false
- SansSkull.BrickColor = BrickColor.new("Really red")
- SansSkull.Transparency = 1
- SansSkull.Material = "Neon"
- SansSkull.Size = Vector3.new(0.1, 0.1, 0.1)
- SansSkull.TopSurface = Enum.SurfaceType.Smooth
- SansSkull.BottomSurface = Enum.SurfaceType.Smooth
- local Weld = Instance.new("Weld", SansSkull)
- Weld.Part0 = Character.Head
- Weld.Part1 = SansSkull
- Weld.C1 = CFrame.new(0, -0.2, 0.2)
- SansMesh = Instance.new("FileMesh",SansSkull)
- SansMesh.MeshId = "http://www.roblox.com/asset/?id=430073345"
- SansMesh.TextureId = "http://www.roblox.com/asset/?id=430073362"
- SansMesh.Scale = Vector3.new(0.9,0.9,0.9)
- Touch = Character.Torso.Touched:Connect(function(Part)
- if Part.Parent ~= nil then
- if Part.Parent:FindFirstChild("HumanoidRootPart") == nil and MAD == true and Part.Name ~= "Base" then
- -- Idk
- elseif MAD == true and Part.Name ~= "Base" then
- local NP = Instance.new("Part")
- NP.Size = Vector3.new(0,0,0)
- NP.Anchored = true
- NP.Transparency = 1
- NP.CFrame = Part.Parent.HumanoidRootPart.CFrame
- Part.Parent:ClearAllChildren()
- local NG = script.non:Clone()
- NG.Parent = NP
- NG.Adornee = NP
- local NS = Instance.new("Sound")
- NS.SoundId = "rbxassetid://2893827608"
- NS.Volume = 10
- NS.Parent = NP
- NP.Parent = workspace
- NS:Play()
- for i = 0,1,0.1 do
- wait()
- NG.TL1.Size = UDim2.new(i,0,i,0)
- NG.TL1.TextTransparency = NG.TL1.Transparency - i
- end
- repeat wait() until NS.Playing == false
- NP:Destroy()
- end
- end
- end)
- spawning = false
- end
- Respawn()
- Touch = Character.Torso.Touched:Connect(function(Part)
- if Part.Parent ~= nil then
- if Part.Parent:FindFirstChild("HumanoidRootPart") == nil and MAD == true and Part.Name ~= "Base" then
- -- Idk
- elseif MAD == true and Part.Name ~= "Base" then
- local NP = Instance.new("Part")
- NP.Size = Vector3.new(0,0,0)
- NP.Anchored = true
- NP.Transparency = 1
- NP.CFrame = Part.Parent.HumanoidRootPart.CFrame
- Part.Parent:ClearAllChildren()
- local NG = script.non:Clone()
- NG.Parent = NP
- NG.Adornee = NP
- local NS = Instance.new("Sound")
- NS.SoundId = "rbxassetid://2893827608"
- NS.Volume = 10
- NS.Parent = NP
- NP.Parent = workspace
- NS:Play()
- for i = 0,1,0.1 do
- wait()
- NG.TL1.Size = UDim2.new(i,0,i,0)
- NG.TL1.TextTransparency = NG.TL1.Transparency - i
- end
- repeat wait() until NS.Playing == false
- NP:Destroy()
- end
- end
- end)
- function Sands()
- if Sans == false then
- Sans = true
- local NS = Instance.new("Sound")
- NS.SoundId = "rbxassetid://2772809069"
- NS.Name = "bruh"
- NS.Volume = 2
- NS.Parent = Character.Torso
- NS:Play()
- SansSkull.Transparency = 0
- Character.Head.BillboardGui.TextLabel.Text = "Soulja Sans"
- Character.Head.BillboardGui.TextLabel.TextColor3 = Color3.fromRGB(85,170,255)
- else
- Sans = false
- if Character.Torso:FindFirstChild("bruh") == nil then
- else
- Character.Torso.bruh:Destroy()
- end
- Character.Head.BillboardGui.TextLabel.Text = "Soulja Boy"
- Character.Head.BillboardGui.TextLabel.TextColor3 = Color3.fromRGB(0,0,0)
- SansSkull.Transparency = 1
- end
- end
- Main = repStorage:WaitForChild("Main")
- Remotes = repStorage:WaitForChild(Player.Name)
- MAD = false
- function Shoot(Target)
- if Character:FindFirstChild("Gun") == nil then
- -- Some random quote idk
- else
- if Target ~= nil then
- if Target.Parent:FindFirstChild("HumanoidRootPart") == nil then
- if Target.Name ~= "Base" then
- Target:Destroy()
- local NS = Instance.new("Sound")
- NS.SoundId = "rbxassetid://132373615"
- NS.Volume = 2
- NS.Parent = Character.Gun.Handle
- NS:Play()
- Character.Gun.Flare.BillboardGui.Enabled = true
- wait(0.5)
- Character.Gun.Flare.BillboardGui.Enabled = false
- end
- else
- Target.Parent.HumanoidRootPart.Velocity = Vector3.new(0,1000,0)
- local NS = Instance.new("Sound")
- NS.SoundId = "rbxassetid://132373615"
- NS.Volume = 2
- NS.Parent = Character.Gun.Handle
- NS:Play()
- Character.Gun.Flare.BillboardGui.Enabled = true
- wait(0.5)
- Character.Gun.Flare.BillboardGui.Enabled = false
- end
- end
- end
- end
- Main.OnServerEvent:Connect(function(plr, request, ...)
- if request == "shoot" then
- Shoot(...)
- end
- if request == "respawn" then
- if Character == nil then
- Respawn()
- else
- Character:Remove()
- Respawn()
- end
- end
- if request == "mad" then
- if MAD == false then
- MAD = true
- Humanoid.WalkSpeed = 50
- Character.Torso.ANGER.Enabled = true
- Character.Torso.Sound.TimePosition = 0
- Character.Torso.Sound:Play()
- else
- MAD = false
- Humanoid.WalkSpeed = 16
- Character.Torso.ANGER.Enabled = false
- Character.Torso.Sound:Stop()
- end
- end
- if request == "sans" then
- Sands()
- end
- end)
- script.ScreenGui.Parent = Player.PlayerGui
- while true do
- game:GetService("RunService").Stepped:wait()
- print(LastPosition)
- if Character == nil then
- else
- if Character:FindFirstChild("HumanoidRootPart") == nil and Character:FindFirstChildOfClass("Humanoid") == nil then
- elseif Character:FindFirstChildOfClass("Humanoid").Health > 0 and spawning == false then
- LastPosition = Character.HumanoidRootPart.CFrame
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement