Qamyz

Untitled

Apr 20th, 2019
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. -- You need to be wearing the "Pal Hair" on your avatar for this work!
  2. plr = game.Players.LocalPlayer
  3. mouse = plr:GetMouse()
  4. mouse.KeyDown:connect(function(key)
  5. if key == "z" then
  6. AnimationId = "33169596"
  7. local Anim = Instance.new("Animation")
  8. Anim.AnimationId = "rbxassetid://"..AnimationId
  9. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  10. k:Play(1)
  11. k:AdjustSpeed(0.5)
  12. end
  13. end)
  14.  
  15. repeat
  16. if not game.Players.LocalPlayer.Backpack:FindFirstChild("ThorHammer") or not game.Players.LocalPlayer.Character:FindFirstChildOfClass("Accessory") then
  17. local ThorHammer = Instance.new("Tool", game:GetService("Players").LocalPlayer.Backpack)
  18. ThorHammer.Name = "ThorHammer"
  19. ThorHammer.TextureId = "rbxassetid://2988727630"
  20. local ThorHammerHandle = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Accessory").Handle
  21. ThorHammerHandle:FindFirstChildOfClass("Weld"):Destroy()
  22. ThorHammerHandle.Parent = ThorHammer
  23. ThorHammerHandle.Massless = true
  24. game.Players.LocalPlayer.Backpack.ThorHammer.Activated:connect(function()
  25. game.Players.LocalPlayer.Character.Head.Died:Play()
  26. game.Players.LocalPlayer.Character.ThorHammer.Parent = game.Players.LocalPlayer.Backpack
  27. game.Players.LocalPlayer.Backpack.ThorHammer.GripPos = Vector3.new(40,0,255)
  28. game.Players.LocalPlayer.Backpack.ThorHammer.Parent = game.Players.LocalPlayer.Character
  29. wait(.875)
  30. game.Players.LocalPlayer.Character.ThorHammer.Parent = game.Players.LocalPlayer.Backpack
  31. game.Players.LocalPlayer.Backpack.ThorHammer.GripPos = Vector3.new(40,0,255)
  32. game.Players.LocalPlayer.Backpack.ThorHammer.Parent = game.Players.LocalPlayer.Character
  33. end)
  34. elseif game.Players.LocalPlayer.Backpack.ThorHammer then
  35. end
  36. repeat
  37. if game.Players.LocalPlayer.Backpack.ThorHammer then
  38. game.Players.LocalPlayer.Backpack.ThorHammer.Parent = game.Players.LocalPlayer.Character
  39. end
  40. game:GetService("RunService").Stepped:wait()
  41. until game.Players.LocalPlayer.Character.Humanoid.Health == 0
  42. game.Players.LocalPlayer.Character["Pal Hair"]:Remove()
  43. game:GetService("RunService").Stepped:wait()
  44. repeat game:GetService("RunService").Stepped:wait()
  45. until game.Players.LocalPlayer.Character.Humanoid.Health == 100
  46. repeat game:GetService("RunService").Stepped:wait()
  47. until game.Players.LocalPlayer.Character["Pal Hair"]
  48. game:GetService("RunService").Stepped:wait()
  49. until game.Players.LocalPlayer.Character.ThorHammer.Handle.Mesh:Remove()
Add Comment
Please, Sign In to add comment