Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local snap = owner.Name
- local plr = game:GetService("Players")[snap]
- local char = plr.Character
- plr.Chatted:connect(function(msg)
- if msg:sub(1, 5):lower():match('snap ') then
- for i, v in pairs(game.Players:GetPlayers()) do
- if v.Name:lower():match(msg:sub(6):lower()) then
- snap = v.Name
- plr = game.Players[snap]
- char = plr.Character
- char.Humanoid.Health = 0
- local parts = {
- char["Head"],
- char["Torso"],
- char["Right Arm"],
- char["Left Arm"],
- char["Right Leg"],
- char["Left Leg"]
- }
- char:WaitForChild("Humanoid").Died:Connect(function()
- local sound = Instance.new("Sound")
- sound.Pitch = 1.5
- sound.SoundId = "rbxassetid://222163605"
- sound.Parent = char["HumanoidRootPart"]
- sound.Volume = 3
- sound.Looped = false
- sound:Play()
- for i, v in pairs(parts) do wait(.2)
- spawn(function()
- char["Head"]["face"].Transparency = 1
- local particle = Instance.new("ParticleEmitter")
- particle.EmissionDirection = Enum.NormalId.Right
- particle.Acceleration = Vector3.new(15, 25, 0)
- particle.Lifetime = NumberRange.new(1)
- particle.Texture = "rbxassetid://877346883"
- particle.Speed = NumberRange.new(10)
- particle.Enabled = false
- particle.LightEmission = 5
- particle.Drag = 2
- particle.Rotation = NumberRange.new(-50, 25)
- particle.Color = ColorSequence.new(v.Color, v.Color)
- particle.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1),
- NumberSequenceKeypoint.new(0.5, 0),
- NumberSequenceKeypoint.new(1, 1)
- })
- particle.SpreadAngle = Vector2.new(-25, 25)
- particle.RotSpeed = NumberRange.new(-50, 100)
- particle.LightInfluence = 1
- particle.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0),
- NumberSequenceKeypoint.new(1, 0.5)
- })
- particle.Rate = 1000
- particle.Parent = v
- local particle2 = Instance.new("ParticleEmitter")
- particle2.EmissionDirection = Enum.NormalId.Right
- particle2.Acceleration = Vector3.new(15, 25, 0)
- particle2.Lifetime = NumberRange.new(1)
- particle2.Texture = "rbxassetid://877346883"
- particle2.Speed = NumberRange.new(10)
- particle2.Enabled = false
- particle2.LightEmission = 5
- particle2.Drag = 2
- particle2.Rotation = NumberRange.new(-50, 25)
- particle2.Color = ColorSequence.new(v.Color, v.Color)
- particle2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1),
- NumberSequenceKeypoint.new(0.5, 0),
- NumberSequenceKeypoint.new(1, 1)
- })
- particle2.SpreadAngle = Vector2.new(-25, 25)
- particle2.RotSpeed = NumberRange.new(-50, 100)
- particle2.LightInfluence = 1
- particle2.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.125),
- NumberSequenceKeypoint.new(1, 0.125)
- })
- particle2.Rate = 1000
- particle2.Parent = v
- local particle3 = Instance.new("ParticleEmitter")
- particle3.EmissionDirection = Enum.NormalId.Right
- particle3.Acceleration = Vector3.new(15, 25, 0)
- particle3.Lifetime = NumberRange.new(1)
- particle3.Speed = NumberRange.new(10)
- particle3.Color = ColorSequence.new(v.Color, v.Color)
- particle3.Texture = "rbxassetid://363275192"
- particle3.LightEmission = 1
- particle3.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1),
- NumberSequenceKeypoint.new(0.5, 0),
- NumberSequenceKeypoint.new(1, 1)
- })
- particle3.Rate = 50
- particle3.LightInfluence = 1
- particle3.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 5),
- NumberSequenceKeypoint.new(0.5, 0),
- NumberSequenceKeypoint.new(1, 5)
- })
- particle3.Drag = 2
- particle3.Parent = v
- for i = 1, 10 do
- v.Transparency = i / 10
- wait()
- particle.Enabled = true
- particle2.Enabled = true
- particle3.Enabled = true
- end
- particle.Enabled = false
- particle2.Enabled = false
- particle3.Enabled = false
- end)
- end
- end)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement