YandZ1

energy Drink For All

Dec 29th, 2019
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. local UserName = game:GetService('Players').LocalPlayer.Name
  2. local Autoride = true
  3. workspace.GiveTool:FireServer(XXX,"PompousTheCloud")
  4.  
  5. local Animations = {Drink = 28492456}
  6. local Icon, Mesh, Texture = 449144251, 449144249, 449144251
  7. local Name, ToolTip = "BOOMER", "Energy Drink, Dan says 'drink it!'"
  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(6,6,6))
  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",false)
  39. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"Parent",game.StarterPack)
  40. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true)
  41. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"Name",Name)
Add Comment
Please, Sign In to add comment