YandZ1

Toxic Car

Dec 31st, 2019
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.75 KB | None | 0 0
  1. local UserName = game:GetService('Players').LocalPlayer.Name
  2. local Autoride = true
  3.  
  4. local Animations = {Shoot = ATTACKANIM} --[[DONT EDIT]]
  5. local Icon, Mesh, Texture = 4454565227, 4464083880, 4454565227
  6. local Name, ToolTip = "KTOOL", "Toxic Car" -- [[THE NAME OF THE TOOL]]
  7.  
  8. local CE = {}
  9. local Variables = {
  10. workspace = game:GetService("Workspace"), --[[DONT EDIT]]
  11. players = game:GetService("Players") --[[DONT EDIT]]
  12. }
  13.  
  14. local MainUserP, MainUserW = Variables.players.LocalPlayer, Variables.workspace:FindFirstChild(UserName) --[[DONT EDIT]]
  15.  
  16. function CE:FireEvent(ItemName, Object, Property, Value) --[[DONT EDIT]]
  17. MainUserW:FindFirstChild(ItemName)["ServerControl"]:InvokeServer("SetProperty",{["Value"]=Value,["Property"]=Property,["Object"]=Object}) --[[DONT EDIT]]
  18. end
  19.  
  20. Variables.workspace.Buy:FireServer(0, "PompousTheCloud")
  21. MainUserP["Backpack"]:WaitForChild("PompousTheCloud").Parent = MainUserW
  22. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true)
  23. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"CanBeDropped",true)
  24.  
  25. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"TextureId","rbxassetid://"..Icon) --[[DONT EDIT]]
  26. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"MeshId","rbxassetid://"..Mesh) --[[DONT EDIT]]
  27. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"TextureId","rbxassetid://"..Texture) --[[DONT EDIT]]
  28. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Scale",Vector3.new(2,2,2)) --[[TO RESIZE IT]]
  29. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Orientation",Vector3.new(-0, 0, 0)) --[[TO FIX WHERE IT IS]]
  30. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Position",Vector3.new(14.981, 1.759, -11.839)) --[[TO FIX WHERE IT IS]]
  31.  
  32. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripForward",Vector3.new(0.014, 0, 1)) --[[TO FIX WHERE IT IS]]
  33. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripPos",Vector3.new(-1.123, 0.818, 2.68)) --[[TO FIX WHERE IT IS]]
  34. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripRight",Vector3.new(-1, 0, 0.014)) --[[TO FIX WHERE IT IS]]
  35. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripUp",Vector3.new(0, 1, 0)) --[[TO FIX WHERE IT IS]]
  36.  
  37. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Smoke"],"Enabled",true)
  38. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Smoke"],"Color",Color3.new(0,0,0))
  39. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Smoke"],"Opacity","5")
  40.  
  41. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"ToolTip",ToolTip) --[[DONT EDIT]]
  42. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true) --[[DONT EDIT]]
  43. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"Name",Name) --[[DONT EDIT]]
  44. wait()
  45.  
  46. local KTOOL = MainUserW["KTOOL"]
  47.  
  48. MainUserP:GetMouse().Button1Down:Connect(function() --[[DONT EDIT]]
  49. if MainUserW:FindFirstChild("KTOOL") then --[[DONT EDIT]]
  50. if MainUserP:GetMouse().Target.Parent:FindFirstChild("HumanoidRootPart") or MainUserP:GetMouse().Target.Parent.Parent:FindFirstChild("HumanoidRootPart") then --[[DONT EDIT]]
  51. local Animation = Instance.new("Animation")
  52. Animation.AnimationId = "rbxassetid://" .. ATTACKANIM
  53. local AnimationLoader = MainUserP.Character.Humanoid:LoadAnimation(Animation)
  54. AnimationLoader:Play()
  55. AnimationLoader:AdjustSpeed(1) -- CHANGE SPEED OF ANIM
  56. wait()
  57. Variables.workspace.GuiEvent:FireServer("BANG") --[[DONT EDIT]]
  58. CE:FireEvent("KTOOL",MainUserW["BANG"]:WaitForChild("Head"),"Parent",MainUserP:GetMouse().Target.Parent) --[[DONT EDIT]]
  59. end
  60. end
  61. end)
Advertisement
Add Comment
Please, Sign In to add comment