YandZ1

pipe

Feb 2nd, 2020
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. --578208063, 578208055, 578208063
  2. local UserName = game:GetService('Players').LocalPlayer.Name
  3. local Autoride = true
  4.  
  5.  
  6. local Animations = {Drink = 28492456}
  7. local Icon, Mesh, Texture = 483388971, 856736661, 864352897
  8. local Name, ToolTip = "BOOMER", "Pipe"
  9.  
  10. local CE = {}
  11. local Variables = {
  12. workspace = game:GetService("Workspace"),
  13. players = game:GetService("Players")
  14. }
  15.  
  16. local MainUserP, MainUserW = Variables.players.LocalPlayer, Variables.workspace:FindFirstChild(UserName)
  17.  
  18. function CE:FireEvent(ItemName, Object, Property, Value)
  19. MainUserW:FindFirstChild(ItemName)["ServerControl"]:InvokeServer("SetProperty",{["Value"]=Value,["Property"]=Property,["Object"]=Object})
  20. end
  21.  
  22. Variables.workspace.Buy:FireServer(0, "PompousTheCloud")
  23. MainUserP["Backpack"]:WaitForChild("PompousTheCloud").Parent = MainUserW
  24. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true)
  25. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"CanBeDropped",true)
  26.  
  27. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"TextureId","rbxassetid://"..Icon)
  28.  
  29. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"MeshId","rbxassetid://"..Mesh)
  30. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"TextureId","rbxassetid://"..Texture)
  31. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Anchored",true)
  32. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Scale",Vector3.new(0.15, 0.15, 0.15))
  33. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Orientation",Vector3.new(30, 30, 50))
  34. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Position",Vector3.new(14.981, 1.759, -11.839))
  35.  
  36. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripForward",Vector3.new(-0.188, -0.124, -0.974))
  37. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripPos",Vector3.new(0.191, 0.236, 0.098))
  38. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripRight",Vector3.new(0.981, 0.015, -0.192))
  39. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripUp",Vector3.new(-0.039, 0.992, -0.118))
  40.  
  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.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://28492456"
  56. local AnimationLoader = MainUserP.Character.Humanoid:LoadAnimation(Animation)
  57. AnimationLoader:Play()
  58. AnimationLoader:AdjustSpeed(0.4)
  59. wait()
  60. Variables.workspace.GuiEvent:FireServer(".")
  61. wait(0.5)
  62. CE:FireEvent("BOOMER",MainUserW["."]:WaitForChild("Torso"),"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