Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. --Ban Hammer
  2. local UserName = game:GetService('Players').LocalPlayer.Name
  3. local Autoride = true
  4.  
  5. local Animations = {Swing = 306451377}
  6. local Icon, Mesh, Texture = 4529176213, 10604848, 113333128
  7. local Name, ToolTip = "BOOMER", "Ban Hammer"
  8.  
  9. local CE = {}
  10. local Variables = {
  11. workspace = game:GetService("Workspace"),
  12. players = game:GetService("Players")
  13. }
  14.  
  15. local MainUserP, MainUserW = Variables.players.LocalPlayer, Variables.workspace:FindFirstChild(UserName)
  16.  
  17. function CE:FireEvent(ItemName, Object, Property, Value)
  18. MainUserW:FindFirstChild(ItemName)["ServerControl"]:InvokeServer("SetProperty",{["Value"]=Value,["Property"]=Property,["Object"]=Object})
  19. end
  20.  
  21. Variables.workspace.Buy:FireServer(0, "PompousTheCloud")
  22. MainUserP["Backpack"]:WaitForChild("PompousTheCloud").Parent = MainUserW
  23.  
  24. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"TextureId","rbxassetid://"..Icon)
  25.  
  26. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"MeshId","rbxassetid://"..Mesh)
  27. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"TextureId","rbxassetid://"..Texture)
  28. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Scale",Vector3.new(0.5, 0.5, 0.5))
  29. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Orientation",Vector3.new(-0.23,12.94,1.05))
  30. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Position",Vector3.new(-111.387,3.568,-35.084))
  31.  
  32. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripForward",Vector3.new(-0.545, -0.089, -0.834))
  33. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripPos",Vector3.new(0.2, -0.2, 0.2))
  34. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripRight",Vector3.new(1, -0.026, 0))
  35. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripUp",Vector3.new(-0.027, 1.996, -0.089))
  36.  
  37. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"ToolTip",ToolTip)
  38. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"CanBeDropped",true)
  39. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true)
  40. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"Name",Name)
  41. wait()
  42.  
  43. local Luger = MainUserW["BOOMER"]
  44.  
  45. MainUserP:GetMouse().Button1Down:Connect(function()
  46. if MainUserW:FindFirstChild("BOOMER") then
  47. if MainUserP:GetMouse().Target.Parent:FindFirstChild("HumanoidRootPart") or MainUserP:GetMouse().Target.Parent.Parent:FindFirstChild("HumanoidRootPart") then
  48. CE:FireEvent("BOOMER",BOOMER,"GripRight",Vector3.new(0.838, -0.026, -0.545))
  49. local Animation = Instance.new("Animation")
  50. Animation.AnimationId = "rbxassetid://306451377"
  51. local AnimationLoader = MainUserP.Character.Humanoid:LoadAnimation(Animation)
  52. AnimationLoader:Play()
  53. AnimationLoader:AdjustSpeed(1)
  54. wait()
  55. Variables.workspace.GuiEvent:FireServer(".")
  56. wait(0.5)
  57. CE:FireEvent("BOOMER",MainUserW["."]:WaitForChild("Head"),"Parent",MainUserP:GetMouse().Target.Parent)
  58. CE:FireEvent("BOOMER",BOOMER,"GripRight",Vector3.new(1, -0.026, 0))
  59. end
  60. end
  61. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement