Advertisement
Guest User

click if gay

a guest
Nov 13th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.69 KB | None | 0 0
  1. local lp = game.Players.LocalPlayer
  2. local mouse = lp:GetMouse()
  3. local w_ing = false
  4. local r15
  5.  
  6. _G.maxspeed = 25
  7. _G.minspeed = 6
  8.  
  9. if lp.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  10. r15 = true
  11. else
  12. r15 = false
  13. end
  14.  
  15. local anims = lp.Character.Animate
  16.  
  17. if anims:FindFirstChild("idle") then
  18. anims.idle.Animation2:Destroy()
  19. end
  20.  
  21. local hat = lp.Character:FindFirstChild("MeshPartAccessory")
  22.  
  23. local idle = anims.idle:FindFirstChildOfClass("Animation").AnimationId
  24.  
  25. local walk = anims.walk:FindFirstChildOfClass("Animation").AnimationId
  26.  
  27. local run = anims.run:FindFirstChildOfClass("Animation").AnimationId
  28.  
  29. local jump = anims.jump:FindFirstChildOfClass("Animation").AnimationId
  30.  
  31. local sit = anims.sit:FindFirstChildOfClass("Animation").AnimationId
  32.  
  33. if hat.Handle ~= nil then
  34.  
  35. tool = Instance.new("Tool", lp.Backpack)
  36. tool.Grip = CFrame.new(1.5,1.5,-0.8)
  37. tool.Name = "Car"
  38.  
  39. tool.Equipped:Connect(function()
  40. flag = Instance.new("BoolValue")
  41. flag.Parent = game.Players.LocalPlayer.Character
  42. flag.Name = "honk"
  43. end)
  44. tool.Unequipped:Connect(function()
  45. if game.Players.LocalPlayer.Character:FindFirstChild("honk") then
  46. game.Players.LocalPlayer.Character.honk:Remove()
  47. end
  48. end)
  49.  
  50. game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(key)
  51. if key:lower() == "h" then
  52. if game.Players.LocalPlayer.Character:FindFirstChild("honk") and game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("Died") then
  53. game.Players.LocalPlayer.Character.HumanoidRootPart.Died.Playing = true
  54. end
  55. end
  56. end)
  57.  
  58. tool.Equipped:Connect(function()
  59. anims.idle:FindFirstChildOfClass("Animation").AnimationId = sit
  60. anims.walk:FindFirstChildOfClass("Animation").AnimationId = sit
  61. anims.run:FindFirstChildOfClass("Animation").AnimationId = sit
  62. anims.jump:FindFirstChildOfClass("Animation").AnimationId = sit
  63. if r15 then
  64. lp.Character.Humanoid.HipHeight = 0.85
  65. else
  66. lp.Character.Humanoid.HipHeight = -0.9
  67. end
  68. end)
  69.  
  70. tool.Unequipped:Connect(function()
  71. lp.Character.Humanoid.WalkSpeed = 16
  72. anims.idle:FindFirstChildOfClass("Animation").AnimationId = idle
  73. anims.walk:FindFirstChildOfClass("Animation").AnimationId = walk
  74. anims.run:FindFirstChildOfClass("Animation").AnimationId = run
  75. anims.jump:FindFirstChildOfClass("Animation").AnimationId = jump
  76. if r15 then
  77. lp.Character.Humanoid.HipHeight = 2
  78. else
  79. lp.Character.Humanoid.HipHeight = 0
  80. end
  81. end)
  82.  
  83. tool.Equipped:Connect(function()
  84.  
  85. game.CoreGui.ScreenGui.Frame:TweenPosition(UDim2.new(0.2, 0, 0.3, 0),"Out","Quad",1,true)
  86. game.CoreGui.ScreenGui.speedframe:TweenPosition(UDim2.new(0.89, 0,0.400, 0),"Out","Quad",1,true)
  87.  
  88.  
  89. local Anim = Instance.new("Animation")
  90. Anim.AnimationId = sit
  91. local k = lp.Character.Humanoid:LoadAnimation(Anim)
  92. k:Play()
  93. k:AdjustSpeed(1)
  94. k:Destroy()
  95. Anim:Destroy()
  96. wait()
  97. lp.Character.Humanoid:Move(Vector3.new(10,0,0))
  98. end)
  99.  
  100. tool.Unequipped:Connect(function()
  101.  
  102. game.CoreGui.ScreenGui.Frame:TweenPosition(UDim2.new(-0.2, 0, -0.3, 0),"Out","Quad",1,true)
  103. game.CoreGui.ScreenGui.speedframe:TweenPosition(UDim2.new(-0.89, 0,-0.4, 0),"Out","Quad",1,true)
  104.  
  105.  
  106. local Anim = Instance.new("Animation")
  107. Anim.AnimationId = run
  108. local k = lp.Character.Humanoid:LoadAnimation(Anim)
  109. k:Play()
  110. k:AdjustSpeed(1)
  111. k:Destroy()
  112. Anim:Destroy()
  113. wait()
  114. lp.Character.Humanoid:Move(Vector3.new(10,0,0))
  115. end)
  116.  
  117.  
  118. local hathandle = hat.Handle
  119. hathandle:FindFirstChildOfClass("Weld"):Destroy()
  120. hathandle.Parent = tool
  121. hathandle.Massless = true
  122.  
  123.  
  124.  
  125.  
  126.  
  127. mouse.KeyDown:Connect(function(key)
  128. if key == "w" then
  129. w_ing = true
  130. end
  131. end)
  132.  
  133.  
  134. mouse.KeyUp:Connect(function(key)
  135. if key == "w" then
  136. w_ing = false
  137. end
  138. end)
  139.  
  140.  
  141.  
  142.  
  143. spawn(function()
  144.  
  145. repeat wait()
  146. if w_ing and tool.Parent == lp.Character then
  147. if lp.Character.Humanoid.WalkSpeed < _G.maxspeed then
  148. lp.Character.Humanoid.WalkSpeed = lp.Character.Humanoid.WalkSpeed +1
  149. end
  150. elseif not w_ing and tool.Parent == lp.Character then
  151. if lp.Character.Humanoid.WalkSpeed > _G.minspeed then
  152. lp.Character.Humanoid.WalkSpeed = lp.Character.Humanoid.WalkSpeed -6
  153. end
  154.  
  155. end
  156. until lp.Character.Humanoid.Health <= 0
  157.  
  158. end)
  159.  
  160. local son = true
  161.  
  162. local ScreenGui = Instance.new("ScreenGui")
  163. local Frame = Instance.new("Frame")
  164. local optbtn = Instance.new("TextButton")
  165. local Frame_2 = Instance.new("Frame")
  166. local maxspeed = Instance.new("TextLabel")
  167. local line = Instance.new("TextLabel")
  168. local _25 = Instance.new("TextButton")
  169. local _200 = Instance.new("TextButton")
  170. local _100 = Instance.new("TextButton")
  171. local _50 = Instance.new("TextButton")
  172. --Properties:
  173. ScreenGui.Parent = game.CoreGui
  174. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  175.  
  176. Frame.Parent = ScreenGui
  177. Frame.Active = true
  178. Frame.BackgroundColor3 = Color3.new(0.431373, 0.431373, 0.431373)
  179. Frame.BackgroundTransparency = 0.30000001192093
  180. Frame.BorderSizePixel = 2
  181. Frame.Position = UDim2.new(-0.2, 0, -0.3, 0)
  182. Frame.Size = UDim2.new(0, 163, 0, 48)
  183.  
  184. optbtn.Name = "optbtn"
  185. optbtn.Parent = Frame
  186. optbtn.BackgroundColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  187. optbtn.BackgroundTransparency = 0.30000001192093
  188. optbtn.BorderSizePixel = 2
  189. optbtn.Position = UDim2.new(0.117860004, 0, 0.28766194, 0)
  190. optbtn.Size = UDim2.new(0, 124, 0, 19)
  191. optbtn.Font = Enum.Font.Code
  192. optbtn.Text = "Car Options"
  193. optbtn.TextColor3 = Color3.new(0, 0, 0)
  194. optbtn.TextSize = 14
  195.  
  196. Frame_2.Parent = Frame
  197. Frame_2.BackgroundColor3 = Color3.new(0.431373, 0.431373, 0.431373)
  198. Frame_2.BackgroundTransparency = 0.30000001192093
  199. Frame_2.BorderSizePixel = 2
  200. Frame_2.Position = UDim2.new(0, 0, 1.04999995, 0)
  201. Frame_2.Size = UDim2.new(0, 163, 0, 178)
  202.  
  203. maxspeed.Name = "maxspeed"
  204. maxspeed.Parent = Frame_2
  205. maxspeed.BackgroundColor3 = Color3.new(1, 1, 1)
  206. maxspeed.BackgroundTransparency = 1
  207. maxspeed.BorderSizePixel = 0
  208. maxspeed.Position = UDim2.new(0.0674846619, 0, 0.0337078646, 0)
  209. maxspeed.Size = UDim2.new(0, 143, 0, 20)
  210. maxspeed.Font = Enum.Font.SourceSans
  211. maxspeed.Text = "Max Speed"
  212. maxspeed.TextColor3 = Color3.new(0, 0, 0)
  213. maxspeed.TextScaled = true
  214. maxspeed.TextSize = 14
  215. maxspeed.TextWrapped = true
  216.  
  217. line.Name = "line"
  218. line.Parent = Frame_2
  219. line.BackgroundColor3 = Color3.new(0, 0, 0)
  220. line.BackgroundTransparency = 0
  221. line.BorderSizePixel = 0
  222. line.Position = UDim2.new(0.128834352, 0, 0.146067411, 0)
  223. line.Size = UDim2.new(0, 119, 0, 1)
  224. line.Font = Enum.Font.SourceSans
  225. line.Text = ""
  226. line.TextColor3 = Color3.new(0, 0, 0)
  227. line.TextSize = 14
  228.  
  229. _25.Name = "25"
  230. _25.Parent = Frame_2
  231. _25.BackgroundColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  232. _25.BackgroundTransparency = 0.30000001192093
  233. _25.BorderSizePixel = 2
  234. _25.Position = UDim2.new(0.0674846619, 0, 0.202247187, 0)
  235. _25.Size = UDim2.new(0, 142, 0, 16)
  236. _25.Font = Enum.Font.SourceSans
  237. _25.Text = "25"
  238. _25.TextColor3 = Color3.new(0, 0, 0)
  239. _25.TextSize = 14
  240.  
  241. _200.Name = "200"
  242. _200.Parent = Frame_2
  243. _200.BackgroundColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  244. _200.BackgroundTransparency = 0.30000001192093
  245. _200.BorderSizePixel = 2
  246. _200.Position = UDim2.new(0.0674846619, 0, 0.797752798, 0)
  247. _200.Size = UDim2.new(0, 142, 0, 16)
  248. _200.Font = Enum.Font.SourceSans
  249. _200.Text = "200"
  250. _200.TextColor3 = Color3.new(0, 0, 0)
  251. _200.TextSize = 14
  252.  
  253. _100.Name = "100"
  254. _100.Parent = Frame_2
  255. _100.BackgroundColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  256. _100.BackgroundTransparency = 0.30000001192093
  257. _100.BorderSizePixel = 2
  258. _100.Position = UDim2.new(0.0674846619, 0, 0.606741548, 0)
  259. _100.Size = UDim2.new(0, 142, 0, 16)
  260. _100.Font = Enum.Font.SourceSans
  261. _100.Text = "100"
  262. _100.TextColor3 = Color3.new(0, 0, 0)
  263. _100.TextSize = 14
  264.  
  265. _50.Name = "50"
  266. _50.Parent = Frame_2
  267. _50.BackgroundColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  268. _50.BackgroundTransparency = 0.30000001192093
  269. _50.BorderSizePixel = 2
  270. _50.Position = UDim2.new(0.0736196339, 0, 0.410112321, 0)
  271. _50.Size = UDim2.new(0, 142, 0, 16)
  272. _50.Font = Enum.Font.SourceSans
  273. _50.Text = "50"
  274. _50.TextColor3 = Color3.new(0, 0, 0)
  275. _50.TextSize = 14
  276. -- Scripts:
  277. function SCRIPT_DVST66_FAKESCRIPT() -- optbtn.Script
  278. local script = Instance.new('Script')
  279. script.Parent = optbtn
  280.  
  281. script.Parent.MouseButton1Click:Connect(function()
  282.  
  283. if son then
  284. script.Parent.Parent.Frame:TweenSize(UDim2.new(0, 163, 0, 0),"Out","Quad",0.4,true)
  285.  
  286. for i,v in pairs(script.Parent.Parent.Frame:GetChildren()) do
  287. if v.Name ~= "maxspeed" then
  288. v.Transparency = 1
  289. else
  290. v.TextTransparency = 1
  291. end
  292. end
  293.  
  294.  
  295. son = false
  296. else
  297. script.Parent.Parent.Frame:TweenSize(UDim2.new(0, 163, 0, 178),"In","Quad",0.4,true)
  298.  
  299. for i,v in pairs(script.Parent.Parent.Frame:GetChildren()) do
  300. if v.Name ~= "line" and v.Name ~= "maxspeed" then
  301. v.Transparency = 0.3
  302. elseif v.Name == "line" then
  303. v.Transparency = 0
  304. elseif v.Name == "maxspeed" then
  305. v.TextTransparency = 0
  306. end
  307. end
  308.  
  309.  
  310. son = true
  311. end
  312.  
  313.  
  314. end)
  315.  
  316. end
  317. coroutine.resume(coroutine.create(SCRIPT_DVST66_FAKESCRIPT))
  318. function SCRIPT_XUSA80_FAKESCRIPT() -- _25.Script
  319. local script = Instance.new('Script')
  320. script.Parent = _25
  321. script.Parent.MouseButton1Click:Connect(function()
  322.  
  323.  
  324. _G.maxspeed = 25
  325.  
  326.  
  327.  
  328. end)
  329.  
  330. end
  331. coroutine.resume(coroutine.create(SCRIPT_XUSA80_FAKESCRIPT))
  332. function SCRIPT_FOAR80_FAKESCRIPT() -- _200.Script
  333. local script = Instance.new('Script')
  334. script.Parent = _200
  335. script.Parent.MouseButton1Click:Connect(function()
  336.  
  337.  
  338. _G.maxspeed = 200
  339.  
  340.  
  341.  
  342. end)
  343.  
  344. end
  345. coroutine.resume(coroutine.create(SCRIPT_FOAR80_FAKESCRIPT))
  346. function SCRIPT_HUUK86_FAKESCRIPT() -- _100.Script
  347. local script = Instance.new('Script')
  348. script.Parent = _100
  349. script.Parent.MouseButton1Click:Connect(function()
  350.  
  351.  
  352. _G.maxspeed = 100
  353.  
  354.  
  355.  
  356. end)
  357.  
  358. end
  359. coroutine.resume(coroutine.create(SCRIPT_HUUK86_FAKESCRIPT))
  360. function SCRIPT_OOYI66_FAKESCRIPT() -- _50.Script
  361. local script = Instance.new('Script')
  362. script.Parent = _50
  363. script.Parent.MouseButton1Click:Connect(function()
  364.  
  365.  
  366. _G.maxspeed = 50
  367.  
  368.  
  369.  
  370. end)
  371.  
  372. end
  373. coroutine.resume(coroutine.create(SCRIPT_OOYI66_FAKESCRIPT))
  374. function SCRIPT_TPOK81_FAKESCRIPT() -- Frame.Script
  375. local script = Instance.new('Script')
  376. script.Parent = Frame
  377. local a=game:GetService("UserInputService")local b=script.Parent;local c;local d;local e;local f;local function g(h)local i=h.Position-e;b.Position=UDim2.new(f.X.Scale,f.X.Offset+i.X,f.Y.Scale,f.Y.Offset+i.Y)end;b.InputBegan:Connect(function(h)if h.UserInputType==Enum.UserInputType.MouseButton1 or h.UserInputType==Enum.UserInputType.Touch then c=true;e=h.Position;f=b.Position;h.Changed:Connect(function()if h.UserInputState==Enum.UserInputState.End then c=false end end)end end)b.InputChanged:Connect(function(h)if h.UserInputType==Enum.UserInputType.MouseMovement or h.UserInputType==Enum.UserInputType.Touch then d=h end end)a.InputChanged:Connect(function(h)if h==d and c then g(h)end end)
  378.  
  379. end
  380. coroutine.resume(coroutine.create(SCRIPT_TPOK81_FAKESCRIPT))
  381.  
  382.  
  383. local speedframe = Instance.new("Frame")
  384. local speedlbl = Instance.new("TextLabel")
  385. local line2 = Instance.new("TextLabel")
  386. local speednum = Instance.new("TextLabel")
  387.  
  388. speedframe.Name = "speedframe"
  389. speedframe.Parent = ScreenGui
  390. speedframe.BackgroundColor3 = Color3.new(0.431373, 0.431373, 0.431373)
  391. speedframe.BackgroundTransparency = 0.30000001192093
  392. speedframe.Position = UDim2.new(-0.89, 0, -0.400, 0)
  393. speedframe.Size = UDim2.new(0, 137, 0, 63)
  394.  
  395. speedlbl.Name = "speedlbl"
  396. speedlbl.Parent = speedframe
  397. speedlbl.BackgroundColor3 = Color3.new(1, 1, 1)
  398. speedlbl.BackgroundTransparency = 1
  399. speedlbl.BorderSizePixel = 0
  400. speedlbl.Position = UDim2.new(0, 0, 0.00312877842, 0)
  401. speedlbl.Size = UDim2.new(0, 136, 0, 20)
  402. speedlbl.Font = Enum.Font.SourceSans
  403. speedlbl.Text = "Speed"
  404. speedlbl.TextColor3 = Color3.new(0, 0, 0)
  405. speedlbl.TextScaled = true
  406. speedlbl.TextSize = 14
  407. speedlbl.TextWrapped = true
  408.  
  409. line2.Name = "line2"
  410. line2.Parent = speedframe
  411. line2.BackgroundColor3 = Color3.new(0, 0, 0)
  412. line2.BorderSizePixel = 0
  413. line2.Position = UDim2.new(0.140239716, 0, 0.307832301, 0)
  414. line2.Size = UDim2.new(0, 98, 0, 1)
  415. line2.Font = Enum.Font.SourceSans
  416. line2.Text = ""
  417. line2.TextColor3 = Color3.new(0, 0, 0)
  418. line2.TextSize = 14
  419.  
  420. speednum.Name = "speednum"
  421. speednum.Parent = speedframe
  422. speednum.BackgroundColor3 = Color3.new(1, 1, 1)
  423. speednum.BackgroundTransparency = 1
  424. speednum.BorderSizePixel = 0
  425. speednum.Position = UDim2.new(-0.0294587687, 0, 0.459011316, 0)
  426. speednum.Size = UDim2.new(0, 143, 0, 20)
  427. speednum.Font = Enum.Font.SourceSans
  428. speednum.Text = "0"
  429. speednum.TextColor3 = Color3.new(0, 0, 0)
  430. speednum.TextScaled = true
  431. speednum.TextSize = 14
  432. speednum.TextWrapped = true
  433.  
  434. spawn(function()
  435. while wait() do
  436. speednum.Text = lp.Character:WaitForChild("Humanoid").WalkSpeed
  437. end
  438. end)
  439.  
  440. lp.Character.Humanoid.Died:Connect(function()
  441. Frame:TweenPosition(UDim2.new(-0.2, 0, -0.3, 0),"Out","Quad",1,true)
  442. speedframe:TweenPosition(UDim2.new(-0.89, 0,-0.400, 0),"Out","Quad",1,true)
  443. wait(1.16)
  444. ScreenGui:Destroy()
  445. end)
  446.  
  447. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement