Advertisement
LeqTxl

Untitled

Mar 29th, 2020
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 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 = 4641765823, 435840330, 435840335
  6. local Name, ToolTip = "BOOMER", "Txl's Deagle :D"
  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(.5,.5,.5))
  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. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"],"Material","ForceField")
  31. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"],"BrickColor",BrickColor.new(255,0,0))
  32. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"],"VertexColor",BrickColor.new(255,255,255))
  33.  
  34. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripForward",Vector3.new(-0.545, -0.089, -0.834))
  35. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripPos",Vector3.new(0.2, -0.2, 0.2))
  36. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripRight",Vector3.new(1, -0.026, 0))
  37. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripUp",Vector3.new(-0.027, 5.996, -2))
  38.  
  39. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"ToolTip",ToolTip)
  40. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"CanBeDropped",true)
  41. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true)
  42. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"Name",Name)
  43. wait()
  44.  
  45. local Luger = MainUserW["BOOMER"]
  46.  
  47. MainUserP:GetMouse().Button1Down:Connect(function()
  48. if MainUserW:FindFirstChild("BOOMER") then
  49. if MainUserP:GetMouse().Target.Parent:FindFirstChild("HumanoidRootPart") or MainUserP:GetMouse().Target.Parent.Parent:FindFirstChild("HumanoidRootPart") then
  50. CE:FireEvent("BOOMER",BOOMER,"GripRight",Vector3.new(0.838, -0.026, -0.545))
  51. local Animation = Instance.new("Animation")
  52. Animation.AnimationId = "rbxassetid://95383980"
  53. local AnimationLoader = MainUserP.Character.Humanoid:LoadAnimation(Animation)
  54. AnimationLoader:Play()
  55. AnimationLoader:AdjustSpeed(1)
  56. wait()
  57. Variables.workspace.GuiEvent:FireServer(".")
  58. wait(0.5)
  59. CE:FireEvent("BOOMER",MainUserW["."]:WaitForChild("Head"),"Parent",MainUserP:GetMouse().Target.Parent)
  60. CE:FireEvent("BOOMER",BOOMER,"GripRight",Vector3.new(1, -0.026, 0))
  61. end
  62. end
  63. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement