Advertisement
YandZ1

huge plane

Jan 18th, 2020
662
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. local UserName = game:GetService('Players').LocalPlayer.Name
  2. local Autoride = true
  3.  
  4. local Icon, Mesh, Texture = 441716524, 441716520, 441716524
  5. local Animations = {Shoot = 186934753}
  6. local Name, ToolTip = "BOOMER", "Plane"
  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.23,12.94,1.05))
  29. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Position",Vector3.new(-111.387,3.568,-35.084))
  30.  
  31. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripForward",Vector3.new(-0.545, -0.089, -0.834))
  32. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripPos",Vector3.new(0, -1.9, 0))
  33. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripRight",Vector3.new(1, -0.026, 0))
  34. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripUp",Vector3.new(-0.027, 1.996, -0.089))
  35.  
  36. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Smoke"],"Enabled",true)
  37. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Smoke"],"Color",Color3.new(0, 255, 0))
  38. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Smoke"],"Opacity","1")
  39.  
  40. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"ToolTip",ToolTip)
  41. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"CanBeDropped",true)
  42. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true)
  43. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"Name",Name)
  44. wait()
  45.  
  46. local Luger = MainUserW["BOOMER"]
  47.  
  48. MainUserP:GetMouse().Button1Down:Connect(function()
  49. if MainUserW:FindFirstChild("BOOMER") then
  50. if MainUserP:GetMouse().Target.Parent:FindFirstChild("HumanoidRootPart") or MainUserP:GetMouse().Target.Parent.Parent:FindFirstChild("HumanoidRootPart") then
  51. CE:FireEvent("BOOMER",BOOMER,"GripRight",Vector3.new(0.838, -0.026, -0.545))
  52. local Animation = Instance.new("Animation")
  53. Animation.AnimationId = "rbxassetid://"
  54. local AnimationLoader = MainUserP.Character.Humanoid:LoadAnimation(Animation)
  55. AnimationLoader:Play()
  56. AnimationLoader:AdjustSpeed(1)
  57. wait()
  58. Variables.workspace.GuiEvent:FireServer(".")
  59. wait(0.5)
  60. CE:FireEvent("BOOMER",MainUserW["."]:WaitForChild("Head"),"Parent",MainUserP:GetMouse().Target.Parent)
  61. CE:FireEvent("BOOMER",BOOMER,"GripRight",Vector3.new(1, -0.026, 0))
  62. end
  63. end
  64. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement