Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Workspace.x_w8
- player.Animate.Disabled = true
- player.Animate.walk.WalkAnim.AnimationId = "rbxassetid://0"
- player.Animate.jump.JumpAnim.AnimationId = "rbxassetid://0"
- player.Animate.run.RunAnim.AnimationId = "rbxassetid://0"
- player.Animate.sit.SitAnim.AnimationId = "rbxassetid://0"
- player.Animate.toolnone.ToolNoneAnim.AnimationId = "rbxassetid://0"
- player.Animate.climb.ClimbAnim.AnimationId = "rbxassetid://0"
- player.Animate.fall.FallAnim.AnimationId = "rbxassetid://0"
- player.Animate.idle.Animation1.AnimationId = "rbxassetid://0"
- player.Animate.idle.Animation2.AnimationId = "rbxassetid://0"
- player.Animate.Disabled = false;
- local charge = Instance.new("Sound",player:WaitForChild("HumanoidRootPart"))
- charge.SoundId = "rbxassetid://1378131503"
- charge.Volume = 1
- local backpack = game:GetService("Players"):FindFirstChild(player.Name).Backpack
- enabled = false
- death = false
- wait(3)
- local trail_1 = Instance.new("Trail",player.Head)
- local t1attach_1 = Instance.new("Attachment",player.Head)
- t1attach_1.Position = Vector3.new(t1attach_1.Position.X,t1attach_1.Position.Y + t1attach_1.Parent.Size.Y/2.1,t1attach_1.Position.Z)
- local t1attach_2 = Instance.new("Attachment",player.Head)
- t1attach_2.Position = Vector3.new(t1attach_2.Position.X,t1attach_2.Position.Y - t1attach_2.Parent.Size.Y/2.1,t1attach_2.Position.Z)
- trail_1.Attachment0 = t1attach_1
- trail_1.Attachment1 = t1attach_2
- trail_1.Lifetime = 1;
- trail_1.Color = ColorSequence.new{
- ColorSequenceKeypoint.new(0, trail_1.Parent.Color),
- ColorSequenceKeypoint.new(1, trail_1.Parent.Color),
- }
- trail_1.Enabled = false
- print(player.Head.Color)
- trail_1.Transparency = NumberSequence.new{
- NumberSequenceKeypoint.new(0, 0.5),
- NumberSequenceKeypoint.new(1, 1),
- }
- local trail_2 = Instance.new("Trail",player.Torso)
- local t2attach_1 = Instance.new("Attachment",player.Torso)
- t2attach_1.Position = Vector3.new(t2attach_1.Position.X,t2attach_1.Position.Y + t2attach_1.Parent.Size.Y/2.1,t2attach_1.Position.Z)
- local t2attach_2 = Instance.new("Attachment",player.Torso)
- t2attach_2.Position = Vector3.new(t2attach_2.Position.X,t2attach_2.Position.Y - t2attach_2.Parent.Size.Y/2.1,t2attach_2.Position.Z)
- trail_2.Attachment0 = t2attach_1
- trail_2.Attachment1 = t2attach_2
- trail_2.Lifetime = 1;
- trail_2.Color = ColorSequence.new{
- ColorSequenceKeypoint.new(0, trail_2.Parent.Color),
- ColorSequenceKeypoint.new(1, trail_2.Parent.Color),
- }
- trail_2.Transparency = NumberSequence.new{
- NumberSequenceKeypoint.new(0, 0.5),
- NumberSequenceKeypoint.new(1, 1),
- }
- trail_2.Enabled = false
- local trail_3 = Instance.new("Trail",player["Left Leg"])
- local t3attach_1 = Instance.new("Attachment",player["Left Leg"])
- t3attach_1.Position = Vector3.new(t3attach_1.Position.X,t3attach_1.Position.Y + t3attach_1.Parent.Size.Y/2.1,t3attach_1.Position.Z)
- local t3attach_2 = Instance.new("Attachment",player["Left Leg"])
- t3attach_2.Position = Vector3.new(t3attach_2.Position.X,t3attach_2.Position.Y - t3attach_2.Parent.Size.Y/2.1,t3attach_2.Position.Z)
- trail_3.Attachment0 = t3attach_1
- trail_3.Attachment1 = t3attach_2
- trail_3.Lifetime = 1;
- trail_3.Color = ColorSequence.new{
- ColorSequenceKeypoint.new(0, trail_3.Parent.Color),
- ColorSequenceKeypoint.new(1, trail_3.Parent.Color),
- }
- trail_3.Transparency = NumberSequence.new{
- NumberSequenceKeypoint.new(0, 0.5),
- NumberSequenceKeypoint.new(1, 1),
- }
- trail_3.Enabled = false
- local trail_4 = Instance.new("Trail",player["Right Leg"])
- local t4attach_1 = Instance.new("Attachment",player["Right Leg"])
- t4attach_1.Position = Vector3.new(t4attach_1.Position.X,t4attach_1.Position.Y + t4attach_1.Parent.Size.Y/2.1,t4attach_1.Position.Z)
- local t4attach_2 = Instance.new("Attachment",player["Right Leg"])
- t4attach_2.Position = Vector3.new(t4attach_2.Position.X,t4attach_2.Position.Y - t4attach_2.Parent.Size.Y/2.1,t4attach_2.Position.Z)
- trail_4.Attachment0 = t4attach_1
- trail_4.Attachment1 = t4attach_2
- trail_4.Lifetime = 1;
- trail_4.Color = ColorSequence.new{
- ColorSequenceKeypoint.new(0, trail_4.Parent.Color),
- ColorSequenceKeypoint.new(1, trail_4.Parent.Color),
- }
- trail_4.Transparency = NumberSequence.new{
- NumberSequenceKeypoint.new(0, 0.5),
- NumberSequenceKeypoint.new(1, 1),
- }
- trail_4.Enabled = false
- local trail_5 = Instance.new("Trail",player["Left Arm"])
- local t5attach_1 = Instance.new("Attachment",player["Left Arm"])
- t5attach_1.Position = Vector3.new(t5attach_1.Position.X,t5attach_1.Position.Y + t5attach_1.Parent.Size.Y/2.1,t5attach_1.Position.Z)
- local t5attach_2 = Instance.new("Attachment",player["Left Arm"])
- t5attach_2.Position = Vector3.new(t5attach_2.Position.X,t5attach_2.Position.Y - t5attach_2.Parent.Size.Y/2.1,t5attach_2.Position.Z)
- trail_5.Attachment0 = t5attach_1
- trail_5.Attachment1 = t5attach_2
- trail_5.Lifetime = 1;
- trail_5.Color = ColorSequence.new{
- ColorSequenceKeypoint.new(0, trail_5.Parent.Color),
- ColorSequenceKeypoint.new(1, trail_5.Parent.Color),
- }
- trail_5.Transparency = NumberSequence.new{
- NumberSequenceKeypoint.new(0, 0.5),
- NumberSequenceKeypoint.new(1, 1),
- }
- trail_5.Enabled = false
- local trail_6 = Instance.new("Trail",player["Right Arm"])
- local t6attach_1 = Instance.new("Attachment",player["Right Arm"])
- t6attach_1.Position = Vector3.new(t6attach_1.Position.X,t6attach_1.Position.Y + t6attach_1.Parent.Size.Y/2.1,t6attach_1.Position.Z)
- local t6attach_2 = Instance.new("Attachment",player["Right Arm"])
- t6attach_2.Position = Vector3.new(t6attach_2.Position.X,t6attach_2.Position.Y - t6attach_2.Parent.Size.Y/2.1,t6attach_2.Position.Z)
- trail_6.Attachment0 = t6attach_1
- trail_6.Attachment1 = t6attach_2
- trail_6.Lifetime = 1;
- trail_6.Color = ColorSequence.new{
- ColorSequenceKeypoint.new(0, trail_6.Parent.Color),
- ColorSequenceKeypoint.new(1, trail_6.Parent.Color),
- }
- trail_6.Transparency = NumberSequence.new{
- NumberSequenceKeypoint.new(0, 0.5),
- NumberSequenceKeypoint.new(1, 1),
- }
- trail_6.Enabled = false
- player.Torso["Right Shoulder"].C0 = CFrame.new(1.5,1,0) * CFrame.Angles(1.57,0,1.57)
- player.Torso["Left Shoulder"].C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(-1.57,0,-1.57)
- enabled = true
- local Tool = Instance.new("Tool",backpack)
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripPos = Vector3.new(0, 0, 0)
- Tool.GripRight = Vector3.new(0, -1, 0)
- Tool.GripUp = Vector3.new(0, 0, 1)
- Tool.Name = "demoknight tf2"
- Tool.RequiresHandle = false
- function onActivated()
- --player.Humanoid.Animator:Destroy()
- if enabled == false then
- return
- end
- enabled = false
- death = true
- local speed = Instance.new("VectorForce",player.HumanoidRootPart)
- speed.ApplyAtCenterOfMass = true
- speed.Attachment0 = player.HumanoidRootPart.RootAttachment
- speed.Force = Vector3.new(0,0,-800)
- charge.Playing = true;
- player.Humanoid.WalkSpeed = 0
- player.Torso.Massless = true
- player.Head.Massless = true
- player["Left Arm"].Massless = true
- player["Right Arm"].Massless = true
- player["Left Leg"].Massless = true
- player["Right Leg"].Massless = true
- trail_1.Enabled = true
- trail_2.Enabled = true
- trail_3.Enabled = true
- trail_4.Enabled = true
- trail_5.Enabled = true
- trail_6.Enabled = true
- wait(2)
- speed:Destroy()
- death = false
- player.Humanoid.WalkSpeed = 16
- player.Torso.Massless = false
- player.Head.Massless = false
- player["Left Arm"].Massless = false
- player["Right Arm"].Massless = false
- player["Left Leg"].Massless = false
- player["Right Leg"].Massless = false
- trail_1.Enabled = false
- trail_2.Enabled = false
- trail_3.Enabled = false
- trail_4.Enabled = false
- trail_5.Enabled = false
- trail_6.Enabled = false
- wait(3)
- charge.Playing = false;
- charge.TimePosition = 0;
- enabled = true
- end
- function dmg(hit)
- if hit.Parent ~= nil then
- local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
- if hum ~= nil and death == true then
- if hum.Parent.Name == player.Name then
- return
- else
- if hum.Health>0 then
- local ff = Instance.new("Sound",hit.Parent:FindFirstChild("Head"))
- ff.SoundId = "rbxassetid://2868331684"
- ff.TimePosition = 0
- ff.Volume = 1
- ff.EmitterSize = 15
- ff.Playing = true
- hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
- wait(2)
- ff:Destroy()
- end
- end
- end
- end
- end
- player:WaitForChild("Humanoid").Died:Connect(function()
- local death = Instance.new("Sound",player.HumanoidRootPart)
- death.SoundId = "rbxassetid://6195500771"
- death.Playing = true
- death.Volume = 1
- end)
- Tool.Activated:connect(onActivated)
- player.Torso.Touched:connect(dmg)
- player.Head.Touched:connect(dmg)
- player["Left Arm"].Touched:connect(dmg)
- player["Right Arm"].Touched:connect(dmg)
- player["Left Leg"].Touched:connect(dmg)
- player["Right Leg"].Touched:connect(dmg)
Add Comment
Please, Sign In to add comment