Advertisement
Qwartarz

Untitled

May 16th, 2015
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.57 KB | None | 0 0
  1. receiver = game.Players.Qwartarz
  2.  
  3. color = BrickColor.Red()
  4. colorB = BrickColor.Black()
  5.  
  6. mc = Instance.new("Model")
  7. mc.Name = "Plane"
  8. mc.Parent = receiver.Character
  9.  
  10. v = Instance.new("IntValue")
  11. v.Name = "PlaneCheck"
  12. v.Value = 0
  13. v.Parent = mc
  14.  
  15. v = Instance.new("IntValue")
  16. v.Name = "Stunt"
  17. v.Value = 0
  18. v.Parent = mc
  19.  
  20. md = Instance.new("Model")
  21. md.Name = "Parts"
  22. md.Parent = mc
  23.  
  24. x = Instance.new("Part")
  25. x.formFactor = "Plate"
  26. x.BackSurface = "Smooth"
  27. x.FrontSurface = "Smooth"
  28. x.TopSurface = "Weld"
  29. x.Size = Vector3.new(6, 0.4, 6)
  30. x.BrickColor = color
  31. x.Position = Vector3.new(-13, 6.2, 6)
  32. x.Parent = md
  33.  
  34. a = Instance.new("Part")
  35. a.formFactor = "Plate"
  36. a.BackSurface = "Weld"
  37. a.FrontSurface = "Weld"
  38. a.TopSurface = "Weld"
  39. a.LeftSurface = "Motor"
  40. a.RightSurface = "Motor"
  41. a.LeftSurfaceInput = "Constant"
  42. a.RightSurfaceInput = "Constant"
  43. a.LeftParamB = 0
  44. a.RightParamB = 0
  45. a.Size = Vector3.new(2, 0.4, 2)
  46. a.BrickColor = color
  47. a.Position = Vector3.new(-13, 6.2, 10)
  48. a.Name = "backAxle"
  49. a.Parent = md
  50.  
  51. g = Instance.new("Part")
  52. g.formFactor = "Plate"
  53. g.BackSurface = "Weld"
  54. g.FrontSurface = "Weld"
  55. g.TopSurface = "Weld"
  56. g.LeftSurface = "Motor"
  57. g.RightSurface = "Motor"
  58. g.LeftSurfaceInput = "Constant"
  59. g.RightSurfaceInput = "Constant"
  60. g.LeftParamB = 0
  61. g.RightParamB = 0
  62. g.Size = Vector3.new(2, 0.4, 2)
  63. g.BrickColor = color
  64. g.Position = Vector3.new(-13, 6.2, 2)
  65. g.Parent = md
  66.  
  67. s = Instance.new("Script")
  68. s.Source = "while true do script.Parent.RightParamB = script.Parent.Parent.backAxle.RightParamB script.Parent.LeftParamB = script.Parent.Parent.backAxle.LeftParamB wait() end "
  69. s.Parent = g
  70.  
  71. s = Instance.new("Part")
  72. s.Shape = "Cylinder"
  73. s.TopSurface = "Smooth"
  74. s.BottomSurface = "Smooth"
  75. s.Size = Vector3.new(2,2,2)
  76. s.BrickColor = BrickColor.Black()
  77. s.Position = Vector3.new(-15, 6.2, 10)
  78. s.Parent = md
  79.  
  80. s = Instance.new("Part")
  81. s.Shape = "Cylinder"
  82. s.TopSurface = "Smooth"
  83. s.BottomSurface = "Smooth"
  84. s.Size = Vector3.new(2,2,2)
  85. s.BrickColor = BrickColor.Black()
  86. s.Position = Vector3.new(-15, 6.2, 2)
  87. s.Parent = md
  88.  
  89. s = Instance.new("Part")
  90. s.Shape = "Cylinder"
  91. s.TopSurface = "Smooth"
  92. s.BottomSurface = "Smooth"
  93. s.Size = Vector3.new(2,2,2)
  94. s.BrickColor = BrickColor.Black()
  95. s.Position = Vector3.new(-11, 6.2, 10)
  96. s.Parent = md
  97.  
  98. s = Instance.new("Part")
  99. s.Shape = "Cylinder"
  100. s.TopSurface = "Smooth"
  101. s.BottomSurface = "Smooth"
  102. s.Size = Vector3.new(2,2,2)
  103. s.BrickColor = BrickColor.Black()
  104. s.Position = Vector3.new(-11, 6.2, 2)
  105. s.Parent = md
  106.  
  107. x = Instance.new("Part")
  108. x.formFactor = "Plate"
  109. x.BackSurface = "Smooth"
  110. x.FrontSurface = "Smooth"
  111. x.TopSurface = "Weld"
  112. x.Size = Vector3.new(1, 1.2, 3)
  113. x.BrickColor = color
  114. x.Position = Vector3.new(-15.5, 7, 6.5)
  115. x.Parent = md
  116.  
  117. x = Instance.new("Part")
  118. x.formFactor = "Plate"
  119. x.BackSurface = "Smooth"
  120. x.FrontSurface = "Smooth"
  121. x.TopSurface = "Weld"
  122. x.Size = Vector3.new(2, 1.2, 2)
  123. x.BrickColor = color
  124. x.Position = Vector3.new(-13, 6.99, 2)
  125. x.Parent = md
  126.  
  127. x = Instance.new("Part")
  128. x.formFactor = "Plate"
  129. x.BackSurface = "Smooth"
  130. x.FrontSurface = "Smooth"
  131. x.TopSurface = "Weld"
  132. x.Size = Vector3.new(6, 1.2, 2)
  133. x.BrickColor = color
  134. x.Position = Vector3.new(-13, 6.99, 4)
  135. x.Parent = md
  136.  
  137. x = Instance.new("Part")
  138. x.formFactor = "Plate"
  139. x.BackSurface = "Smooth"
  140. x.FrontSurface = "Smooth"
  141. x.TopSurface = "Weld"
  142. x.Size = Vector3.new(6, 1.6, 1)
  143. x.BrickColor = color
  144. x.Position = Vector3.new(-13, 6.79, 11.5)
  145. x.Parent = md
  146.  
  147. x = Instance.new("Part")
  148. x.formFactor = "Plate"
  149. x.BackSurface = "Smooth"
  150. x.FrontSurface = "Smooth"
  151. x.TopSurface = "Smooth"
  152. x.Size = Vector3.new(6, 0.4, 5)
  153. x.BrickColor = color
  154. x.Position = Vector3.new(-13, 7.79, 2.5)
  155. x.Parent = md
  156.  
  157. x = Instance.new("Part")
  158. x.formFactor = "Plate"
  159. x.BackSurface = "Smooth"
  160. x.FrontSurface = "Smooth"
  161. x.TopSurface = "Weld"
  162. x.Size = Vector3.new(1, 1.2, 3)
  163. x.BrickColor = color
  164. x.Name = "Engine"
  165. x.Position = Vector3.new(-10.5, 6.99, 6.5)
  166. x.Parent = md
  167.  
  168. x = Instance.new("Part")
  169. x.formFactor = "Plate"
  170. x.BackSurface = "Smooth"
  171. x.FrontSurface = "Smooth"
  172. x.TopSurface = "Weld"
  173. x.Size = Vector3.new(2, 1.2, 2)
  174. x.BrickColor = color
  175. x.Position = Vector3.new(-13, 6.99, 10)
  176. x.Parent = md
  177.  
  178. x = Instance.new("Part")
  179. x.formFactor = "Plate"
  180. x.BackSurface = "Smooth"
  181. x.FrontSurface = "Smooth"
  182. x.TopSurface = "Smooth"
  183. x.Size = Vector3.new(6, 0.4, 4)
  184. x.BrickColor = color
  185. x.Position = Vector3.new(-13, 7.79, 10)
  186. x.Parent = md
  187.  
  188. x = Instance.new("Part")
  189. x.formFactor = "Plate"
  190. x.BackSurface = "Smooth"
  191. x.FrontSurface = "Smooth"
  192. x.TopSurface = "Weld"
  193. x.Size = Vector3.new(6, 1.6, 1)
  194. x.BrickColor = color
  195. x.Position = Vector3.new(-13, 6.79, 0.5)
  196. x.Parent = md
  197.  
  198. x = Instance.new("Part")
  199. x.formFactor = "Plate"
  200. x.BackSurface = "Smooth"
  201. x.FrontSurface = "Smooth"
  202. x.TopSurface = "Weld"
  203. x.Size = Vector3.new(6, 1.2, 1)
  204. x.BrickColor = color
  205. x.Position = Vector3.new(-13, 6.99, 8.5)
  206. x.Parent = md
  207.  
  208. x = Instance.new("Part")
  209. x.formFactor = "Plate"
  210. x.BackSurface = "Smooth"
  211. x.FrontSurface = "Smooth"
  212. x.TopSurface = "Smooth"
  213. x.BottomSurface = "Weld"
  214. x.Size = Vector3.new(6, 1.2, 1)
  215. x.BrickColor = BrickColor.White()
  216. x.Position = Vector3.new(-13, 8.6, 4.5)
  217. x.Transparency = 0.5
  218. x.Parent = md
  219.  
  220. x = Instance.new("Seat")
  221. x.formFactor = "Plate"
  222. x.BackSurface = "Smooth"
  223. x.FrontSurface = "Smooth"
  224. x.TopSurface = "Smooth"
  225. x.BottomSurface = "Weld"
  226. x.Size = Vector3.new(2, 0.4, 2)
  227. x.BrickColor = colorB
  228. x.Name = "Seat2"
  229. x.Position = Vector3.new(-12, 6.6, 7)
  230. x.Parent = md
  231.  
  232. x = Instance.new("Seat")
  233. x.formFactor = "Plate"
  234. x.BackSurface = "Smooth"
  235. x.FrontSurface = "Smooth"
  236. x.TopSurface = "Smooth"
  237. x.BottomSurface = "Weld"
  238. x.Size = Vector3.new(2, 0.4, 2)
  239. x.BrickColor = colorB
  240. x.Position = Vector3.new(-14, 6.6, 7)
  241. x.Parent = md
  242.  
  243. x = Instance.new("Part")
  244. x.formFactor = "Plate"
  245. x.BackSurface = "Smooth"
  246. x.FrontSurface = "Smooth"
  247. x.TopSurface = "Smooth"
  248. x.BottomSurface = "Weld"
  249. x.Size = Vector3.new(1, 0.4, 2)
  250. x.BrickColor = color
  251. x.Position = Vector3.new(-11.5, 8.2, 11)
  252. x.Parent = md
  253.  
  254. x = Instance.new("Part")
  255. x.formFactor = "Plate"
  256. x.BackSurface = "Smooth"
  257. x.FrontSurface = "Smooth"
  258. x.TopSurface = "Smooth"
  259. x.BottomSurface = "Weld"
  260. x.Size = Vector3.new(2, 0.4, 2)
  261. x.BrickColor = color
  262. x.Position = Vector3.new(-13, 8.2, 2)
  263. x.Parent = md
  264.  
  265. x = Instance.new("Part")
  266. x.formFactor = "Plate"
  267. x.BackSurface = "Smooth"
  268. x.FrontSurface = "Smooth"
  269. x.TopSurface = "Smooth"
  270. x.BottomSurface = "Weld"
  271. x.Size = Vector3.new(6, 0.4, 1)
  272. x.BrickColor = color
  273. x.Position = Vector3.new(-13, 8.6, 11.5)
  274. x.Parent = md
  275.  
  276. x = Instance.new("Part")
  277. x.formFactor = "Plate"
  278. x.BackSurface = "Smooth"
  279. x.FrontSurface = "Smooth"
  280. x.TopSurface = "Smooth"
  281. x.BottomSurface = "Weld"
  282. x.Size = Vector3.new(1, 0.4, 2)
  283. x.BrickColor = color
  284. x.Position = Vector3.new(-14.5, 8.2, 11)
  285. x.Parent = md
  286.  
  287. r = Instance.new("Part")
  288. r.formFactor = "Plate"
  289. r.BackSurface = "Weld"
  290. r.FrontSurface = "Smooth"
  291. r.TopSurface = "Smooth"
  292. r.BottomSurface = "Smooth"
  293. r.Size = Vector3.new(1, 0.8, 1)
  294. r.BrickColor = color
  295. r.Position = Vector3.new(-10.5, 7.2, -0.5)
  296. r.Transparency = 1
  297. r.Parent = md
  298.  
  299. s = Instance.new("Part")
  300. s.formFactor = "Plate"
  301. s.BackSurface = "Weld"
  302. s.FrontSurface = "Smooth"
  303. s.TopSurface = "Smooth"
  304. s.BottomSurface = "Smooth"
  305. s.Size = Vector3.new(1, 0.8, 1)
  306. s.BrickColor = color
  307. s.Position = Vector3.new(-15.5, 7.2, -0.5)
  308. s.Transparency = 1
  309. s.Parent = md
  310.  
  311. md:makeJoints()
  312.  
  313. b = md:children()
  314. for i=1,#b do
  315. if (b[i].className == "Part") then
  316. b[i].Locked = true
  317. end
  318. end
  319.  
  320. t = Instance.new("HopperBin")
  321. t.Name = "VI Car tool"
  322. t.Parent = receiver.Backpack
  323.  
  324. s = Instance.new("Script")
  325. s.Source = [[bin=script.Parent
  326. plane=nil
  327. hold=false
  328. local debounce = false
  329. local planedebounce = false
  330. local stuntdebounce = false
  331. local controlling = false
  332.  
  333. function onSelected(mouse)
  334. mouse.KeyDown:connect(onKeyDown)
  335. while true do
  336. mouse.Icon = "rbxasset://textures\\W_Key.png"
  337. wait(1)
  338. mouse.Icon = "rbxasset://textures\\A_Key.png"
  339. wait(1)
  340. mouse.Icon = "rbxasset://textures\\S_Key.png"
  341. wait(1)
  342. mouse.Icon = "rbxasset://textures\\D_Key.png"
  343. wait(1)
  344. end
  345. end
  346.  
  347. function onKeyDown(key)
  348. if (key~=nil) then
  349. key = key:lower()
  350. local vehicle = script.Parent.Parent.Parent.Character:findFirstChild("Plane")
  351. if (vehicle==nil) then return end
  352. plane = vehicle.Parts
  353. local engine = vehicle.Parts.Engine
  354.  
  355. if (key=="x") and planedebounce == false then
  356. engine.Parent.backAxle.RightParamB = 0
  357. engine.Parent.backAxle.LeftParamB = 0
  358. end
  359. if (key=="s" and engine.Parent.backAxle.RightParamB == 0 and engine.Parent.backAxle.LeftParamB == 0) then
  360. engine.Parent.backAxle.RightParamB = 1
  361. engine.Parent.backAxle.LeftParamB = -1
  362. end
  363. if (key=="s" and engine.Parent.backAxle.RightParamB == 0 and engine.Parent.backAxle.LeftParamB ~= 0) then
  364. engine.Parent.backAxle.RightParamB = engine.Parent.backAxle.LeftParamB * -1
  365. end
  366. if (key=="s" and engine.Parent.backAxle.RightParamB ~= 0 and engine.Parent.backAxle.LeftParamB == 0) then
  367. engine.Parent.backAxle.LeftParamB = engine.Parent.backAxle.RightParamB * -1
  368. end
  369. if (key=="w" and engine.Parent.backAxle.RightParamB == 0 and engine.Parent.backAxle.LeftParamB == 0) then
  370. engine.Parent.backAxle.RightParamB = -1
  371. engine.Parent.backAxle.LeftParamB = 1
  372. end
  373. if (key=="w" and engine.Parent.backAxle.RightParamB == 0 and engine.Parent.backAxle.LeftParamB ~= 0) then
  374. engine.Parent.backAxle.RightParamB = engine.Parent.backAxle.LeftParamB * -1
  375. end
  376. if (key=="w" and engine.Parent.backAxle.RightParamB ~= 0 and engine.Parent.backAxle.LeftParamB == 0) then
  377. engine.Parent.backAxle.LeftParamB = engine.Parent.backAxle.RightParamB * -1
  378. end
  379. if (key=="d") then
  380. engine.Parent.backAxle.LeftParamB = engine.Parent.backAxle.RightParamB * -1
  381. engine.Parent.backAxle.RightParamB = 0
  382. end
  383. if (key=="a") then
  384. engine.Parent.backAxle.RightParamB = engine.Parent.backAxle.LeftParamB * -1
  385. engine.Parent.backAxle.LeftParamB = 0
  386. end
  387. if (key=="n") then
  388. engine.Parent.backAxle.RightParamB = engine.Parent.backAxle.RightParamB + 0.1
  389. engine.Parent.backAxle.LeftParamB = engine.Parent.backAxle.LeftParamB - 0.1
  390. end
  391. if (key=="m") then
  392. engine.Parent.backAxle.RightParamB = engine.Parent.backAxle.RightParamB - 0.1
  393. engine.Parent.backAxle.LeftParamB = engine.Parent.backAxle.LeftParamB + 0.1
  394. end
  395. end
  396. end
  397.  
  398. bin.Selected:connect(onSelected)]]
  399.  
  400. s.Disabled = false
  401. s.Parent = t
  402.  
  403. --Removing this message or editing it's content is punishable by law.
  404.  
  405. msg = Instance.new("Message")
  406. msg.Text = "MrHavic's script builder car loaded for " .. receiver.Name
  407. msg.Parent = game.Workspace
  408. wait(3)
  409. msg.Parent = nil
  410.  
  411. MrHavik
  412. Admin of HavikMotion
  413. Admin of HavikMotion
  414.  
  415. Posts: 72
  416. Join date: 2012-10-27
  417. Age: 18
  418. Location: Unknown
  419.  
  420. View user profile http://havikmotion.forumotion.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement