Advertisement
Lollddsf

Untitled

Jan 27th, 2020
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. local UserName = game:GetService('Players').LocalPlayer.Name
  2. local Autoride = true
  3.  
  4. local Animations = {Shoot = 95383980}
  5. local Icon, Mesh, Texture = 4597675617, 4562922827, 113616822
  6. local Name, ToolTip = "BOOMER", "TommyGun"
  7.  
  8. local CE = {}
  9. local Variables = {
  10. workspace = game:GetService("Workspace"),
  11. players = game:GetService("Players")
  12. }
  13.  
  14. local MainUserP, MainUserW = Variables.players.LocalPlayer, Variables.workspace:FindFirstChild(UserName)
  15.  
  16. function CE:FireEvent(ItemName, Object, Property, Value)
  17. MainUserW:FindFirstChild(ItemName)["ServerControl"]:InvokeServer("SetProperty",{["Value"]=Value,["Property"]=Property,["Object"]=Object})
  18. end
  19.  
  20. Variables.workspace.Buy:FireServer(0, "PompousTheCloud")
  21. MainUserP["Backpack"]:WaitForChild("PompousTheCloud").Parent = MainUserW
  22.  
  23. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"TextureId","rbxassetid://"..Icon)
  24.  
  25. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"MeshId","rbxassetid://"..Mesh)
  26. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"TextureId","rbxassetid://"..Texture)
  27. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Scale",Vector3.new(.9,.9,.9))
  28. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Orientation",Vector3.new(0, 0, 0))
  29. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Position",Vector3.new(17, 7.5, 8.999))
  30.  
  31. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripForward",Vector3.new(-0.023, -0.122, 0.992))
  32. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripPos",Vector3.new(-0.033, -0.055, -0.231))
  33. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripRight",Vector3.new(-1, 0.018, -0.021))
  34. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripUp",Vector3.new(0.015, 0.992, 0.123))
  35.  
  36. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Fire"],"Enabled",false)
  37. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Fire"],"Color",Color3.new(40, 127, 71))
  38. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Fire"],"Opacity","1")
  39. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Fire"],"Size","-2")
  40. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Fire"],"RiseVelocity","1")
  41.  
  42. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"ToolTip",ToolTip)
  43. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"CanBeDropped",true)
  44. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true)
  45. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"Name",Name)
  46. wait()
  47.  
  48. local Luger = MainUserW["BOOMER"]
  49.  
  50. MainUserP:GetMouse().Button1Down:Connect(function()
  51. if MainUserW:FindFirstChild("BOOMER") then
  52. if MainUserP:GetMouse().Target.Parent:FindFirstChild("HumanoidRootPart") or MainUserP:GetMouse().Target.Parent.Parent:FindFirstChild("HumanoidRootPart") then
  53. CE:FireEvent("BOOMER",BOOMER,"GripRight",Vector3.new(0.838, -0.026, -0.545))
  54. local Animation = Instance.new("Animation")
  55. Animation.AnimationId = "rbxassetid://95383980"
  56. local AnimationLoader = MainUserP.Character.Humanoid:LoadAnimation(Animation)
  57. AnimationLoader:Play()
  58. AnimationLoader:AdjustSpeed(1)
  59. wait()
  60. Variables.workspace.GuiEvent:FireServer(".")
  61. wait(0.5)
  62. CE:FireEvent("BOOMER",MainUserW["."]:WaitForChild("Head"),"Parent",MainUserP:GetMouse().Target.Parent)
  63. CE:FireEvent("BOOMER",BOOMER,"GripRight",Vector3.new(1, -0.026, 0))
  64. end
  65. end
  66. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement