Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- You need to be wearing the "Pal Hair" on your avatar for this work!
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "z" then
- AnimationId = "33169596"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play(1)
- k:AdjustSpeed(0.5)
- end
- end)
- repeat
- if not game.Players.LocalPlayer.Backpack:FindFirstChild("ThorHammer") or not game.Players.LocalPlayer.Character:FindFirstChildOfClass("Accessory") then
- local ThorHammer = Instance.new("Tool", game:GetService("Players").LocalPlayer.Backpack)
- ThorHammer.Name = "ThorHammer"
- ThorHammer.TextureId = "rbxassetid://2988727630"
- local ThorHammerHandle = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Accessory").Handle
- ThorHammerHandle:FindFirstChildOfClass("Weld"):Destroy()
- ThorHammerHandle.Parent = ThorHammer
- ThorHammerHandle.Massless = true
- game.Players.LocalPlayer.Backpack.ThorHammer.Activated:connect(function()
- game.Players.LocalPlayer.Character.Head.Died:Play()
- game.Players.LocalPlayer.Character.ThorHammer.Parent = game.Players.LocalPlayer.Backpack
- game.Players.LocalPlayer.Backpack.ThorHammer.GripPos = Vector3.new(40,0,255)
- game.Players.LocalPlayer.Backpack.ThorHammer.Parent = game.Players.LocalPlayer.Character
- wait(.875)
- game.Players.LocalPlayer.Character.ThorHammer.Parent = game.Players.LocalPlayer.Backpack
- game.Players.LocalPlayer.Backpack.ThorHammer.GripPos = Vector3.new(40,0,255)
- game.Players.LocalPlayer.Backpack.ThorHammer.Parent = game.Players.LocalPlayer.Character
- end)
- elseif game.Players.LocalPlayer.Backpack.ThorHammer then
- end
- repeat
- if game.Players.LocalPlayer.Backpack.ThorHammer then
- game.Players.LocalPlayer.Backpack.ThorHammer.Parent = game.Players.LocalPlayer.Character
- end
- game:GetService("RunService").Stepped:wait()
- until game.Players.LocalPlayer.Character.Humanoid.Health == 0
- game.Players.LocalPlayer.Character["Pal Hair"]:Remove()
- game:GetService("RunService").Stepped:wait()
- repeat game:GetService("RunService").Stepped:wait()
- until game.Players.LocalPlayer.Character.Humanoid.Health == 100
- repeat game:GetService("RunService").Stepped:wait()
- until game.Players.LocalPlayer.Character["Pal Hair"]
- game:GetService("RunService").Stepped:wait()
- until game.Players.LocalPlayer.Character.ThorHammer.Handle.Mesh:Remove()
Add Comment
Please, Sign In to add comment