Guest User

Untitled

a guest
Jul 29th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.16 KB | None | 0 0
  1. --xChair--
  2.  
  3. --[[
  4. MODES
  5. ----------
  6. DAMAGE = 'Q'
  7. HATSTEEL = 'E'
  8. BUILD = 'R'
  9. EXPLODE = 'T'
  10. TELEPORT = 'Z'
  11. HEAL = 'H'
  12. BOOST = 'F'
  13. --]]
  14.  
  15. plr = game.Players.LocalPlayer
  16. char = plr.Character
  17. local mouse = plr:GetMouse()
  18. mode = 'damage'
  19. local human = char.Humanoid
  20. char.Animate:Destroy()
  21. running = false
  22. human.Running:connect(function(speed)
  23. if speed <= 0 then
  24. running = false
  25. else
  26. running = true
  27. end
  28. end)
  29. local function weldBetween(a, b)
  30. local weld = Instance.new("ManualWeld")
  31. weld.Part0 = a
  32. weld.Part1 = b
  33. weld.C0 = CFrame.new()
  34. weld.C1 = b.CFrame:inverse() * a.CFrame
  35. weld.Parent = a
  36. return weld;
  37. end
  38.  
  39. function takehats(char)
  40. for i,v in pairs(char:GetChildren()) do
  41. if v.ClassName == "Hat" then
  42. v.Parent = game.Players.LocalPlayer.Character
  43. end
  44. end
  45. end
  46.  
  47.  
  48. char.Torso.Transparency = 1
  49. --------------------------ARM 1-----------------------------------------
  50. local rawc = char["Right Arm"]:clone()
  51. char["Right Arm"]:Destroy()
  52. rawc.Parent = char
  53. local RAW = weldBetween(char.Torso, char["Right Arm"])
  54. RAW.C1 = CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  55. --------------------------LEG 1-----------------------------------------
  56. local rlwc = char["Right Leg"]:clone()
  57. char["Right Leg"]:Destroy()
  58. rlwc.Parent = char
  59. local RLW = weldBetween(char.Torso, char["Right Leg"])
  60. RLW.C1 = CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  61. --------------------------LEG 2-----------------------------------------
  62. local llwc = char["Left Leg"]:clone()
  63. char["Left Leg"]:Destroy()
  64. llwc.Parent = char
  65. local LLW = weldBetween(char.Torso, char["Left Leg"])
  66. LLW.C1 = CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  67.  
  68. ----------------------------ARM 2---------------------------------------
  69.  
  70. local lawc = char["Left Arm"]:clone()
  71. char["Left Arm"]:Destroy()
  72. lawc.Parent = char
  73. local LAW = weldBetween(char.Torso, char["Left Arm"])
  74. LAW.C1 = CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  75.  
  76. -----------------------------HEAD----------------------------------
  77. local heaw = weldBetween(char.Torso, char.Head)
  78. -----------------------------------------------------------------------
  79.  
  80.  
  81.  
  82. Tween = function(Weld, Stop, Step,a)
  83. ypcall(function()
  84. local func = function()
  85. local Start = Weld.C1
  86. local X1, Y1, Z1 = Start:toEulerAnglesXYZ()
  87. local Stop = Stop
  88. local X2, Y2, Z2 = Stop:toEulerAnglesXYZ()
  89.  
  90. for i = 0, 1, Step or .1 do
  91. Weld.C1 = CFrame.new( (Start.p.X * (1 - i)) + (Stop.p.X * i),
  92. (Start.p.Y * (1 - i)) + (Stop.p.Y * i),
  93. (Start.p.Z * (1 - i)) + (Stop.p.Z * i)) * CFrame.fromEulerAnglesXYZ(
  94. (X1 * (1 - i)) + (X2 * i), (Y1 * (1 - i)) + (Y2 * i),
  95. (Z1 * (1 - i)) + (Z2 * i) )
  96. wait()
  97. end
  98.  
  99. Weld.C1 = Stop
  100. end
  101.  
  102. if a then coroutine.wrap(func)() else func() end
  103. end)
  104. end
  105.  
  106.  
  107.  
  108.  
  109.  
  110. local Seat = Instance.new("Part", char)
  111. Seat:BreakJoints()
  112. Seat.TopSurface = "Smooth"
  113. Seat.Name = 'Seat'
  114. Seat.BottomSurface = "Smooth"
  115. Seat.FormFactor = "Custom" Seat.CanCollide = false
  116. Seat.BrickColor = BrickColor.new("Medium stone grey")
  117. Seat.Size = Vector3.new(3.71499968, 0.77700007, 3.04400015)
  118. local Seatweld = Instance.new("ManualWeld")
  119. Seatweld.Part0 = char["Torso"]
  120. Seatweld.Part1 = Seat Seatweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  121. Seatweld.C1 = CFrame.new(-0.436842084, 1.27730489, 0.478226662, 0.998842537, 0, 0.0480999425, 0, 1, 0, -0.0480999425, 0, 0.998842537)
  122. Seatweld.Parent = char["Torso"]
  123.  
  124. local Extra = Instance.new("Part", char)
  125. Extra:BreakJoints()
  126. Extra.TopSurface = "Smooth"
  127. Extra.Name = 'Extra'
  128. Extra.BottomSurface = "Smooth"
  129. Extra.FormFactor = "Custom" Extra.CanCollide = false
  130. Extra.BrickColor = BrickColor.new("Medium stone grey")
  131. Extra.Size = Vector3.new(0.568000019, 1.0990001, 0.495000124)
  132. local Extraweld = Instance.new("ManualWeld")
  133. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  134. Extraweld.C1 = CFrame.new(1.54849625, -0.737998962, 1.29749203, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  135. Extraweld.Parent = Extra
  136. local ExtraMesh = Instance.new("CylinderMesh",Extra)
  137. ExtraMesh.Name = "Mesh"
  138. ExtraMesh.Offset = Vector3.new(0, 0, 0)
  139. ExtraMesh.Scale = Vector3.new(1, 1, 1)
  140.  
  141. local Extra = Instance.new("Part", char)
  142. Extra:BreakJoints()
  143. Extra.TopSurface = "Smooth"
  144. Extra.Name = 'Extra'
  145. Extra.BottomSurface = "Smooth"
  146. Extra.FormFactor = "Custom" Extra.CanCollide = false
  147. Extra.BrickColor = BrickColor.new("Medium stone grey")
  148. Extra.Size = Vector3.new(0.568000019, 1.0990001, 0.50300014)
  149. local Extraweld = Instance.new("ManualWeld")
  150. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  151. Extraweld.C1 = CFrame.new(-1.5555079, -0.737998962, 1.26849937, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  152. Extraweld.Parent = Extra
  153. local ExtraMesh = Instance.new("CylinderMesh",Extra)
  154. ExtraMesh.Name = "Mesh"
  155. ExtraMesh.Offset = Vector3.new(0, 0, 0)
  156. ExtraMesh.Scale = Vector3.new(1, 1, 1)
  157.  
  158. local Extra = Instance.new("Part", char)
  159. Extra:BreakJoints()
  160. Extra.TopSurface = "Smooth"
  161. Extra.Name = 'Extra'
  162. Extra.BottomSurface = "Smooth"
  163. Extra.FormFactor = "Custom" Extra.CanCollide = false
  164. Extra.BrickColor = BrickColor.new("Medium stone grey")
  165. Extra.Size = Vector3.new(0.788000047, 0.200000048, 3.19300008)
  166. local Extraweld = Instance.new("ManualWeld")
  167. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  168. Extraweld.C1 = CFrame.new(-1.38551331, -1.24449921, -0.0904994011, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  169. Extraweld.Parent = Extra
  170. local Extra = Instance.new("Part", char)
  171. Extra:BreakJoints()
  172. Extra.TopSurface = "Smooth"
  173. Extra.Name = 'Extra'
  174. Extra.BottomSurface = "Smooth"
  175. Extra.FormFactor = "Custom" Extra.CanCollide = false
  176. Extra.BrickColor = BrickColor.new("Medium stone grey")
  177. Extra.Size = Vector3.new(0.788000047, 0.200000048, 3.25000024)
  178. local Extraweld = Instance.new("ManualWeld")
  179. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  180. Extraweld.C1 = CFrame.new(1.37048721, -1.24449921, -0.0620036125, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  181. Extraweld.Parent = Extra
  182. local Extra = Instance.new("Part", char)
  183. Extra:BreakJoints()
  184. Extra.TopSurface = "Smooth"
  185. Extra.Name = 'Extra'
  186. Extra.BottomSurface = "Smooth"
  187. Extra.FormFactor = "Custom" Extra.CanCollide = false
  188. Extra.BrickColor = BrickColor.new("Medium stone grey")
  189. Extra.Size = Vector3.new(3.60299969, 2.34500003, 0.918000042)
  190. local Extraweld = Instance.new("ManualWeld")
  191. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  192. Extraweld.C1 = CFrame.new(0.0589904785, -1.5719986, -1.23900461, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  193. Extraweld.Parent = Extra
  194. local Extra = Instance.new("Part", char)
  195. Extra:BreakJoints()
  196. Extra.TopSurface = "Smooth"
  197. Extra.Name = 'Extra'
  198. Extra.BottomSurface = "Smooth"
  199. Extra.FormFactor = "Custom" Extra.CanCollide = false
  200. Extra.BrickColor = BrickColor.new("Medium stone grey")
  201. Extra.Size = Vector3.new(3.62799978, 0.34800005, 0.917999983)
  202. local Extraweld = Instance.new("ManualWeld")
  203. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  204. Extraweld.C1 = CFrame.new(0.0454930663, -2.93249893, -1.23600054, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  205. Extraweld.Parent = Extra
  206. local ExtraMesh = Instance.new("SpecialMesh",Extra)
  207. ExtraMesh.MeshId = ""
  208. ExtraMesh.MeshType = Enum.MeshType.Torso ExtraMesh.Name = "Mesh"
  209. ExtraMesh.Offset = Vector3.new(0, 0, 0)
  210. ExtraMesh.Scale = Vector3.new(1, 1, 1)
  211.  
  212. local Extra = Instance.new("WedgePart", char)
  213. Extra:BreakJoints()
  214. Extra.TopSurface = "Smooth"
  215. Extra.Name = 'Extra'
  216. Extra.BottomSurface = "Smooth"
  217. Extra.FormFactor = "Custom" Extra.CanCollide = false
  218. Extra.BrickColor = BrickColor.new("Medium stone grey")
  219. Extra.Size = Vector3.new(3.70700002, 0.75999999, 1.1500001)
  220. local Extraweld = Instance.new("ManualWeld")
  221. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  222. Extraweld.C1 = CFrame.new(0.0117220879, -0.027305603, 2.04488182, 0.999991775, 0, 0.00417119637, 0, 1, 0, -0.00417116284, 0, 0.999991715)
  223. Extraweld.Parent = Extra
  224. local Extra = Instance.new("Part", char)
  225. Extra:BreakJoints()
  226. Extra.TopSurface = "Smooth"
  227. Extra.Name = 'Extra'
  228. Extra.BottomSurface = "Smooth"
  229. Extra.FormFactor = "Custom" Extra.CanCollide = false
  230. Extra.BrickColor = BrickColor.new("Medium stone grey")
  231. Extra.Size = Vector3.new(0.200000003, 0.921000123, 0.634000063)
  232. local Extraweld = Instance.new("ManualWeld")
  233. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  234. Extraweld.C1 = CFrame.new(1.75548577, 0.794002533, 2.21600151, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  235. Extraweld.Parent = Extra
  236. local Extra = Instance.new("Part", char)
  237. Extra:BreakJoints()
  238. Extra.TopSurface = "Smooth"
  239. Extra.Name = 'Extra'
  240. Extra.BottomSurface = "Smooth"
  241. Extra.FormFactor = "Custom" Extra.CanCollide = false
  242. Extra.BrickColor = BrickColor.new("Medium stone grey")
  243. Extra.Size = Vector3.new(0.200000003, 0.921000123, 0.634000063)
  244. local Extraweld = Instance.new("ManualWeld")
  245. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  246. Extraweld.C1 = CFrame.new(-1.68250918, 0.794002533, 2.21599579, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  247. Extraweld.Parent = Extra
  248. local Extra = Instance.new("Part", char)
  249. Extra:BreakJoints()
  250. Extra.TopSurface = "Smooth"
  251. Extra.Name = 'Extra'
  252. Extra.BottomSurface = "Smooth"
  253. Extra.FormFactor = "Custom" Extra.CanCollide = false
  254. Extra.BrickColor = BrickColor.new("Medium stone grey")
  255. Extra.Size = Vector3.new(0.296999991, 0.22600013, 0.634000063)
  256. local Extraweld = Instance.new("ManualWeld")
  257. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  258. Extraweld.C1 = CFrame.new(1.80398464, 1.14150238, 2.21599388, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  259. Extraweld.Parent = Extra
  260. local Extra = Instance.new("Part", char)
  261. Extra:BreakJoints()
  262. Extra.TopSurface = "Smooth"
  263. Extra.Name = 'Extra'
  264. Extra.BottomSurface = "Smooth"
  265. Extra.FormFactor = "Custom" Extra.CanCollide = false
  266. Extra.BrickColor = BrickColor.new("Medium stone grey")
  267. Extra.Size = Vector3.new(0.296999991, 0.22600013, 0.634000063)
  268. local Extraweld = Instance.new("ManualWeld")
  269. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  270. Extraweld.C1 = CFrame.new(-1.72101617, 1.14150238, 2.2159977, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  271. Extraweld.Parent = Extra
  272. local Extra = Instance.new("Part", char)
  273. Extra:BreakJoints()
  274. Extra.TopSurface = "Smooth"
  275. Extra.Name = 'Extra'
  276. Extra.BottomSurface = "Smooth"
  277. Extra.FormFactor = "Custom" Extra.CanCollide = false
  278. Extra.BrickColor = BrickColor.new("Medium stone grey")
  279. Extra.Size = Vector3.new(1.43400002, 0.232000113, 1.14300013)
  280. local Extraweld = Instance.new("ManualWeld")
  281. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  282. Extraweld.C1 = CFrame.new(1.43379831, -1.95537186, 2.23299217, 0.0168066788, 0.999856353, 5.82076609e-010, -0.999856353, 0.0168066788, 6.33299351e-008, 0, 0, 1)
  283. Extraweld.Parent = Extra
  284. local ExtraMesh = Instance.new("CylinderMesh",Extra)
  285. ExtraMesh.Name = "Mesh"
  286. ExtraMesh.Offset = Vector3.new(0, 0, 0)
  287. ExtraMesh.Scale = Vector3.new(1, 1, 1)
  288.  
  289. local Extra = Instance.new("Part", char)
  290. Extra:BreakJoints()
  291. Extra.TopSurface = "Smooth"
  292. Extra.Name = 'Extra'
  293. Extra.BottomSurface = "Smooth"
  294. Extra.FormFactor = "Custom" Extra.CanCollide = false
  295. Extra.BrickColor = BrickColor.new("Really black")
  296. Extra.Size = Vector3.new(1.43400002, 0.232000113, 0.829000115)
  297. local Extraweld = Instance.new("ManualWeld")
  298. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  299. Extraweld.C1 = CFrame.new(1.43379307, -2.00535631, 2.23299789, 0.0168066509, 0.999854743, 5.82076609e-010, -0.999854743, 0.0168066509, 6.33299351e-008, 0, 0, 1)
  300. Extraweld.Parent = Extra
  301. local ExtraMesh = Instance.new("CylinderMesh",Extra)
  302. ExtraMesh.Name = "Mesh"
  303. ExtraMesh.Offset = Vector3.new(0, 0, 0)
  304. ExtraMesh.Scale = Vector3.new(1, 1, 1)
  305.  
  306. local Extra = Instance.new("Part", char)
  307. Extra:BreakJoints()
  308. Extra.TopSurface = "Smooth"
  309. Extra.Name = 'Extra'
  310. Extra.BottomSurface = "Smooth"
  311. Extra.FormFactor = "Custom" Extra.CanCollide = false
  312. Extra.BrickColor = BrickColor.new("Medium stone grey")
  313. Extra.Size = Vector3.new(1.43400002, 0.200000003, 1.14300013)
  314. local Extraweld = Instance.new("ManualWeld")
  315. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  316. Extraweld.C1 = CFrame.new(1.38780296, -1.85258067, -2.23299694, 0.0168067049, 0.999858499, 4.07453626e-010, 0.999858499, -0.0168067217, 8.94069672e-008, 8.94069672e-008, -1.46930046e-009, -1)
  317. Extraweld.Parent = Extra
  318. local ExtraMesh = Instance.new("CylinderMesh",Extra)
  319. ExtraMesh.Name = "Mesh"
  320. ExtraMesh.Offset = Vector3.new(0, 0, 0)
  321. ExtraMesh.Scale = Vector3.new(1, 1, 1)
  322.  
  323. local Extra = Instance.new("Part", char)
  324. Extra:BreakJoints()
  325. Extra.TopSurface = "Smooth"
  326. Extra.Name = 'Extra'
  327. Extra.BottomSurface = "Smooth"
  328. Extra.FormFactor = "Custom" Extra.CanCollide = false
  329. Extra.BrickColor = BrickColor.new("Really black")
  330. Extra.Size = Vector3.new(1.43400002, 0.200000003, 0.829000115)
  331. local Extraweld = Instance.new("ManualWeld")
  332. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  333. Extraweld.C1 = CFrame.new(1.3878001, -1.90258074, -2.23299599, 0.0168067086, 0.999858558, 9.89530236e-010, 0.999858558, -0.0168067235, 1.2665987e-007, 8.94069672e-008, -1.46930046e-009, -1)
  334. Extraweld.Parent = Extra
  335. local ExtraMesh = Instance.new("CylinderMesh",Extra)
  336. ExtraMesh.Name = "Mesh"
  337. ExtraMesh.Offset = Vector3.new(0, 0, 0)
  338. ExtraMesh.Scale = Vector3.new(1, 1, 1)
  339.  
  340. local Extra = Instance.new("Part", char)
  341. Extra:BreakJoints()
  342. Extra.TopSurface = "Smooth"
  343. Extra.Name = 'Extra'
  344. Extra.BottomSurface = "Smooth"
  345. Extra.FormFactor = "Custom" Extra.CanCollide = false
  346. Extra.BrickColor = BrickColor.new("Medium stone grey")
  347. Extra.Size = Vector3.new(4.34100008, 0.573000073, 4.08699989)
  348. local Extraweld = Instance.new("ManualWeld")
  349. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  350. Extraweld.C1 = CFrame.new(-0.117188454, -2.12586164, -0.534004211, 0.016806718, 0.999858737, 5.82076609e-010, -0.999858737, 0.0168067198, -1.11758709e-008, 0, 0, 1)
  351. Extraweld.Parent = Extra
  352. local ExtraMesh = Instance.new("CylinderMesh",Extra)
  353. ExtraMesh.Name = "Mesh"
  354. ExtraMesh.Offset = Vector3.new(0, 0, 0)
  355. ExtraMesh.Scale = Vector3.new(1, 1, 1)
  356.  
  357. local Extra = Instance.new("Part", char)
  358. Extra:BreakJoints()
  359. Extra.TopSurface = "Smooth"
  360. Extra.Name = 'Extra'
  361. Extra.BottomSurface = "Smooth"
  362. Extra.FormFactor = "Custom" Extra.CanCollide = false
  363. Extra.BrickColor = BrickColor.new("Really black")
  364. Extra.Size = Vector3.new(4.34100008, 0.573000073, 3.773)
  365. local Extraweld = Instance.new("ManualWeld")
  366. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  367. Extraweld.C1 = CFrame.new(-0.11719501, -2.17586231, -0.534002304, 0.0168067198, 0.999858797, 5.82076609e-010, -0.999858797, 0.0168067198, 0, 0, 0, 1)
  368. Extraweld.Parent = Extra
  369. local ExtraMesh = Instance.new("CylinderMesh",Extra)
  370. ExtraMesh.Name = "Mesh"
  371. ExtraMesh.Offset = Vector3.new(0, 0, 0)
  372. ExtraMesh.Scale = Vector3.new(1, 1, 1)
  373.  
  374. local Extra = Instance.new("Part", char)
  375. Extra:BreakJoints()
  376. Extra.TopSurface = "Smooth"
  377. Extra.Name = 'Extra'
  378. Extra.BottomSurface = "Smooth"
  379. Extra.FormFactor = "Custom" Extra.CanCollide = false
  380. Extra.BrickColor = BrickColor.new("Medium stone grey")
  381. Extra.Size = Vector3.new(4.34100008, 0.573000073, 4.08699989)
  382. local Extraweld = Instance.new("ManualWeld")
  383. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  384. Extraweld.C1 = CFrame.new(-0.117194057, -2.01313376, 0.534003735, 0.0168067031, 0.999856472, 5.82076609e-010, 0.999856472, -0.0168066565, 5.21540642e-008, 8.94069672e-008, -1.46929091e-009, -1)
  385. Extraweld.Parent = Extra
  386. local ExtraMesh = Instance.new("CylinderMesh",Extra)
  387. ExtraMesh.Name = "Mesh"
  388. ExtraMesh.Offset = Vector3.new(0, 0, 0)
  389. ExtraMesh.Scale = Vector3.new(1, 1, 1)
  390.  
  391. local Extra = Instance.new("Part", char)
  392. Extra:BreakJoints()
  393. Extra.TopSurface = "Smooth"
  394. Extra.Name = 'Extra'
  395. Extra.BottomSurface = "Smooth"
  396. Extra.FormFactor = "Custom" Extra.CanCollide = false
  397. Extra.BrickColor = BrickColor.new("Really black")
  398. Extra.Size = Vector3.new(4.34100008, 0.573000073, 3.773)
  399. local Extraweld = Instance.new("ManualWeld")
  400. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  401. Extraweld.C1 = CFrame.new(-0.117191076, -2.0631218, 0.534003735, 0.0168067031, 0.999856532, 5.82076609e-010, 0.999856532, -0.0168066584, 5.21540642e-008, 8.94069672e-008, -1.46929091e-009, -1)
  402. Extraweld.Parent = Extra
  403. local ExtraMesh = Instance.new("CylinderMesh",Extra)
  404. ExtraMesh.Name = "Mesh"
  405. ExtraMesh.Offset = Vector3.new(0, 0, 0)
  406. ExtraMesh.Scale = Vector3.new(1, 1, 1)
  407.  
  408. local Extra = Instance.new("Part", char)
  409. Extra:BreakJoints()
  410. Extra.TopSurface = "Smooth"
  411. Extra.Name = 'Extra'
  412. Extra.BottomSurface = "Smooth"
  413. Extra.FormFactor = "Custom" Extra.CanCollide = false
  414. Extra.BrickColor = BrickColor.new("Dark stone grey")
  415. Extra.Size = Vector3.new(0.413999707, 0.394999981, 1.97000003)
  416. local Extraweld = Instance.new("ManualWeld")
  417. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  418. Extraweld.C1 = CFrame.new(1.54100084, -2.53600311, -2.32900763, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  419. Extraweld.Parent = Extra
  420. local Extra = Instance.new("Part", char)
  421. Extra:BreakJoints()
  422. Extra.TopSurface = "Smooth"
  423. Extra.Name = 'Extra'
  424. Extra.BottomSurface = "Smooth"
  425. Extra.FormFactor = "Custom" Extra.CanCollide = false
  426. Extra.BrickColor = BrickColor.new("Dark stone grey")
  427. Extra.Size = Vector3.new(0.413999707, 0.394999981, 1.97000003)
  428. local Extraweld = Instance.new("ManualWeld")
  429. Extraweld.Part0 = Seat Extraweld.Part1 = Extra Extraweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  430. Extraweld.C1 = CFrame.new(-1.43300843, -2.53600311, -2.32900667, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  431. Extraweld.Parent = Extra
  432. local Sight1 = Instance.new("Part", char)
  433. Sight1:BreakJoints()
  434. Sight1.TopSurface = "Smooth"
  435. Sight1.Name = 'Sight1'
  436. Sight1.BottomSurface = "Smooth"
  437. Sight1.FormFactor = "Custom" Sight1.CanCollide = false
  438. Sight1.BrickColor = BrickColor.new("Really black")
  439. Sight1.Size = Vector3.new(0.375999987, 1.13800001, 0.219000354)
  440. local Sight1weld = Instance.new("ManualWeld")
  441. Sight1weld.Part0 = Seat Sight1weld.Part1 = Sight1 Sight1weld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  442. Sight1weld.C1 = CFrame.new(0.0589828193, -3.94650269, 0.53849411, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  443. Sight1weld.Parent = Sight1
  444. local Pack = Instance.new("Part", char)
  445. Pack:BreakJoints()
  446. Pack.TopSurface = "Smooth"
  447. Pack.Name = 'Pack'
  448. Pack.BottomSurface = "Smooth"
  449. Pack.FormFactor = "Custom" Pack.CanCollide = false
  450. Pack.BrickColor = BrickColor.new("Really black")
  451. Pack.Size = Vector3.new(2.5619998, 2.32999992, 0.987000108)
  452. local Packweld = Instance.new("ManualWeld")
  453. Packweld.Part0 = Seat Packweld.Part1 = Pack Packweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  454. Packweld.C1 = CFrame.new(0.0589860976, -1.5644989, -1.83750725, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  455. Packweld.Parent = Pack
  456. local Sight = Instance.new("Part", char)
  457. Sight:BreakJoints()
  458. Sight.TopSurface = "Smooth"
  459. Sight.Name = 'Sight'
  460. Sight.BottomSurface = "Smooth"
  461. Sight.FormFactor = "Custom" Sight.CanCollide = false
  462. Sight.BrickColor = BrickColor.new("Really black")
  463. Sight.Size = Vector3.new(0.94599998, 0.701999962, 0.219000354)
  464. Sight.Transparency = 0.7
  465. local Sightweld = Instance.new("ManualWeld")
  466. Sightweld.Part0 = Seat Sightweld.Part1 = Sight Sightweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  467. Sightweld.C1 = CFrame.new(-0.227016628, -3.22650146, 0.538492203, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  468. Sightweld.Parent = Sight
  469. local FakeTorso = Instance.new("Part", char)
  470. FakeTorso:BreakJoints()
  471. FakeTorso.TopSurface = "Smooth"
  472. FakeTorso.Name = 'FakeTorso'
  473. FakeTorso.BottomSurface = "Smooth"
  474. FakeTorso.FormFactor = "Custom" FakeTorso.CanCollide = false
  475. FakeTorso.BrickColor = BrickColor.new("Really black")
  476. FakeTorso.Size = Vector3.new(2, 2, 1)
  477. local FakeTorsoweld = Instance.new("ManualWeld")
  478. FakeTorsoweld.Part0 = Seat FakeTorsoweld.Part1 = FakeTorso FakeTorsoweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  479. FakeTorsoweld.C1 = CFrame.new(0.0261787176, -1.84207273, 0.207453251, 0.999655664, 0.0114495121, -0.0235939212, -0.00555597525, 0.971703291, 0.236139566, 0.0256299879, -0.235926434, 0.971433282)
  480. FakeTorsoweld.Parent = FakeTorso
  481. local GunStable = Instance.new("Part", char)
  482. GunStable:BreakJoints()
  483. GunStable.TopSurface = "Smooth"
  484. GunStable.Name = 'GunStable'
  485. GunStable.BottomSurface = "Smooth"
  486. GunStable.FormFactor = "Custom" GunStable.CanCollide = false
  487. GunStable.BrickColor = BrickColor.new("Really black")
  488. GunStable.Size = Vector3.new(0.45600003, 2.32999992, 0.370000124)
  489. local GunStableweld = Instance.new("ManualWeld")
  490. GunStableweld.Part0 = Seat GunStableweld.Part1 = GunStable GunStableweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  491. GunStableweld.C1 = CFrame.new(0.0589980781, -3.84950256, -2.08850527, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  492. GunStableweld.Parent = GunStable
  493. local Boostpart = Instance.new("Part", char)
  494. Boostpart:BreakJoints()
  495. Boostpart.TopSurface = "Smooth"
  496. Boostpart.Name = 'Boostpart'
  497. Boostpart.BottomSurface = "Smooth"
  498. Boostpart.FormFactor = "Custom" Boostpart.CanCollide = false
  499. Boostpart.BrickColor = BrickColor.new("Really black")
  500. Boostpart.Size = Vector3.new(0.413999707, 0.394999981, 0.200000003)
  501. local Boostpartweld = Instance.new("ManualWeld")
  502. Boostpartweld.Part0 = Seat Boostpartweld.Part1 = Boostpart Boostpartweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  503. Boostpartweld.C1 = CFrame.new(-1.43300271, -2.53600311, -3.37199974, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  504. Boostpartweld.Parent = Boostpart
  505. local Boostpart2 = Instance.new("Part", char)
  506. Boostpart2:BreakJoints()
  507. Boostpart2.TopSurface = "Smooth"
  508. Boostpart2.Name = 'Boostpart2'
  509. Boostpart2.BottomSurface = "Smooth"
  510. Boostpart2.FormFactor = "Custom" Boostpart2.CanCollide = false
  511. Boostpart2.BrickColor = BrickColor.new("Really black")
  512. Boostpart2.Size = Vector3.new(0.413999707, 0.394999981, 0.200000003)
  513. local Boostpart2weld = Instance.new("ManualWeld")
  514. Boostpart2weld.Part0 = Seat Boostpart2weld.Part1 = Boostpart2 Boostpart2weld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  515. Boostpart2weld.C1 = CFrame.new(1.54098463, -2.53600311, -3.37200499, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  516. Boostpart2weld.Parent = Boostpart2
  517. local GunBarral = Instance.new("Part", char)
  518. GunBarral:BreakJoints()
  519. GunBarral.TopSurface = "Smooth"
  520. GunBarral.Name = 'GunBarral'
  521. GunBarral.BottomSurface = "Smooth"
  522. GunBarral.FormFactor = "Custom" GunBarral.CanCollide = false
  523. GunBarral.BrickColor = BrickColor.new("Really black")
  524. GunBarral.Size = Vector3.new(0.375999987, 0.352999985, 4.88500023)
  525. local GunBarralweld = Instance.new("ManualWeld")
  526. GunBarralweld.Part0 = Seat GunBarralweld.Part1 = GunBarral GunBarralweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  527. GunBarralweld.C1 = CFrame.new(0.0589904487, -4.68700027, -0.35300684, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  528. GunBarralweld.Parent = GunBarral
  529. local GunMag = Instance.new("Part", char)
  530. GunMag:BreakJoints()
  531. GunMag.TopSurface = "Smooth"
  532. GunMag.Name = 'GunMag'
  533. GunMag.BottomSurface = "Smooth"
  534. GunMag.FormFactor = "Custom" GunMag.CanCollide = false
  535. GunMag.BrickColor = BrickColor.new("Really black")
  536. GunMag.Size = Vector3.new(0.824000001, 0.654999971, 0.892000139)
  537. local GunMagweld = Instance.new("ManualWeld")
  538. GunMagweld.Part0 = Seat GunMagweld.Part1 = GunMag GunMagweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  539. GunMagweld.C1 = CFrame.new(0.0589942634, -4.68700027, -2.34950876, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  540. GunMagweld.Parent = GunMag
  541. local GunBlast = Instance.new("Part", char)
  542. GunBlast:BreakJoints()
  543. GunBlast.TopSurface = "Smooth"
  544. GunBlast.Name = 'GunBlast'
  545. GunBlast.BottomSurface = "Smooth"
  546. GunBlast.FormFactor = "Custom" GunBlast.CanCollide = false
  547. GunBlast.BrickColor = BrickColor.new("Really black")
  548. GunBlast.Size = Vector3.new(0.941999972, 0.969999969, 0.200000003)
  549. local GunBlastweld = Instance.new("ManualWeld")
  550. GunBlastweld.Part0 = Seat GunBlastweld.Part1 = GunBlast GunBlastweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  551. GunBlastweld.C1 = CFrame.new(0.0589976311, -4.68700027, 1.98949432, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  552. GunBlastweld.Parent = GunBlast
  553.  
  554.  
  555.  
  556. ------------------------------------------------------------------------------------------
  557.  
  558. Tween(heaw, CFrame.new(-0.413999856, -1.92999959, -0.210000008, 1, 0, 0, 0, 0.978148043, -0.207911745, 0, 0.207911745, 0.978148043) , .1, true)
  559. Tween(RAW, CFrame.new(-1.87999964, 1.04999948, 1.06999934, 0.881515563, 0.241381884, 0.405797154, -0.467570841, 0.326720238, 0.821365237, 0.0656802952, -0.913782716, 0.400870949), .1, true)
  560. Tween(LAW, CFrame.new(0.270001173, -1.18999922, -1.43999898, 0.788093567, 0.286842585, -0.544639528, -0.539656579, -0.103669383, -0.835481584, -0.296113938, 0.952355325, 0.0730953068), .1, true)
  561. Tween(LLW,CFrame.new(0.120000415, -1.66999829, 0.400000453, 0.999980032, -0.00637814868, 0.000165756792, -0.000388266519, -0.0867659673, -0.996230364, 0.00636848854, 0.99620986, -0.0867666453) , .1, true)
  562. Tween(RLW, CFrame.new(-1.03999949, 1.54999995, -0.25000003, 0.999847949, 0.00182427373, 0.0173568055, -0.0173860081, 0.190793589, 0.981477916, -0.00152108353, -0.981630087, 0.190796345), .1, true)
  563. boosting = false
  564.  
  565. function boost()
  566. if boosting == false then
  567. boosting = true
  568.  
  569. human.WalkSpeed = 300
  570. coroutine.resume(coroutine.create(function()
  571. for i=1, 100 do
  572. wait(0.05)
  573. local p = Instance.new("Part", char)
  574. p.Anchored = true
  575. p.BrickColor = BrickColor.Random()
  576. p.Transparency = 0
  577. p.CanCollide = false
  578. p.FormFactor = "Custom"
  579. p.Name = 'Effect'
  580. p.Size = Vector3.new(2, 2, 2)
  581. p.CFrame = Boostpart.CFrame * CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360))
  582. coroutine.resume(coroutine.create(function()
  583. for i=1, 10 do
  584. p.Transparency = p.Transparency + 0.1
  585. wait()
  586. if i == 10 then
  587. p:Destroy()
  588. end
  589. end
  590. end))
  591. end
  592. end))
  593.  
  594.  
  595. for i=1, 100 do
  596. wait(0.05)
  597. local p = Instance.new("Part", char)
  598. p.Anchored = true
  599. p.CanCollide = false
  600. p.BrickColor = BrickColor.Random()
  601. p.Transparency = 0
  602. p.FormFactor = "Custom"
  603. p.Name = 'Effect'
  604. p.Size = Vector3.new(2, 2, 2)
  605. p.CFrame = Boostpart2.CFrame * CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360))
  606. coroutine.resume(coroutine.create(function()
  607. for i=1, 10 do
  608. p.Transparency = p.Transparency + 0.1
  609. wait()
  610. if i == 10 then
  611. p:Destroy()
  612. end
  613. end
  614. end))
  615. end
  616. human.WalkSpeed = 16
  617. wait(9)
  618. boosting = false
  619. end
  620. end
  621.  
  622.  
  623. mouse.KeyDown:connect(function(key)
  624. if key == "f" then
  625. boost()
  626. elseif key == 'q' then
  627. mode = "damage"
  628. elseif key == "e" then
  629. mode = "steel"
  630. elseif key == 'r' then
  631. mode = 'draw'
  632. elseif key == 't' then
  633. mode = 'explode'
  634. elseif key == 'h' then
  635. mode = 'heal'
  636. elseif key == 'z' then
  637. mode = 'tele'
  638. end
  639. end)
  640. function shoot()
  641. pcall(function()
  642.  
  643. local ray = Ray.new(GunBlast.CFrame.p, (mouse.Hit.p - GunBlast.CFrame.p).unit*400)
  644. local hit, position = game.Workspace:FindPartOnRay(ray, char)
  645.  
  646. local humanoid = hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") or hit.Parent.Parent:FindFirstChild("Humanoid")
  647.  
  648. if mode == "damage" then
  649. if humanoid and humanoid.Health ~= 0 then
  650. if hit.Name == 'Head' or hit.Name == 'Handle' then
  651. humanoid:TakeDamage(5000)
  652. else
  653. humanoid:TakeDamage(30)
  654. end
  655. end
  656. elseif mode == "steel" then
  657. if humanoid and humanoid.Health ~= 0 then
  658. takehats(humanoid.Parent)
  659. end
  660. elseif mode == 'draw' then
  661. local p = Instance.new("Part", workspace)
  662. p.Anchored = true
  663. p.Parent = char
  664. p.CFrame = CFrame.new(mouse.Hit.X, mouse.Hit.Y + 0.1, mouse.Hit.Z)
  665. elseif mode == 'explode' then
  666. local p = Instance.new("Part", workspace)
  667. p.Anchored = true
  668. p.Parent = char
  669. p.CFrame = CFrame.new(mouse.Hit.X, mouse.Hit.Y + 0.1, mouse.Hit.Z)
  670. p.Transparency = 1
  671. local ex = Instance.new("Explosion", p)
  672. ex.Position = p.Position
  673. elseif mode == 'tele' then
  674. coroutine.resume(coroutine.create(function()
  675. wait(0.1)
  676. local p = Instance.new("Part", workspace)
  677. p.Anchored = true
  678. p.Parent = char
  679. p.CFrame = CFrame.new(mouse.Hit.X, mouse.Hit.Y + 0.8, mouse.Hit.Z)
  680. p.CanCollide = true
  681. p.Transparency = 1
  682. char.Torso.CFrame = p.CFrame
  683. p:Destroy()
  684. end))
  685. elseif mode == 'heal' then
  686. if humanoid and humanoid.Health ~= 0 then
  687. humanoid.Health = humanoid.Health + 20
  688.  
  689. end
  690. end
  691.  
  692. local distance = (position - GunBlast.CFrame.p).magnitude
  693. local rayPart = Instance.new("Part", char)
  694. rayPart.Name = "RayPart"
  695. if mode == "damage" then
  696. rayPart.BrickColor = BrickColor.new("Really red")
  697. elseif mode == "steel" then
  698. rayPart.BrickColor = BrickColor.new("Royal purple")
  699. elseif mode == 'explode' then
  700. rayPart.BrickColor = BrickColor.new("Bright blue")
  701. elseif mode == 'heal' then
  702. rayPart.BrickColor = BrickColor.new("Lime green")
  703. elseif mode == 'tele' then
  704. rayPart.BrickColor = BrickColor.new("Brown")
  705. end
  706. rayPart.Transparency = 0
  707. rayPart.Anchored = true
  708. rayPart.CanCollide = false
  709. rayPart.TopSurface = Enum.SurfaceType.Smooth
  710. rayPart.BottomSurface = Enum.SurfaceType.Smooth
  711. rayPart.formFactor = Enum.FormFactor.Custom
  712. rayPart.Size = Vector3.new(0.4, 0.4, distance)
  713. rayPart.CFrame = CFrame.new(position, GunBlast.CFrame.p) * CFrame.new(0, 0, -distance/2)
  714.  
  715. local rp2 = Instance.new("Part", char)
  716. rp2.Name = "RayPart"
  717. rp2.BrickColor = BrickColor.new("White")
  718. rp2.Transparency = 0
  719. rp2.Anchored = true
  720. rp2.CanCollide = false
  721. rp2.TopSurface = Enum.SurfaceType.Smooth
  722. rp2.BottomSurface = Enum.SurfaceType.Smooth
  723. rp2.formFactor = Enum.FormFactor.Custom
  724. rp2.Size = Vector3.new(0.1, 0.1, distance)
  725. rp2.CFrame = CFrame.new(position, GunBlast.CFrame.p) * CFrame.new(0, 0, -distance/2)
  726. coroutine.resume(coroutine.create(function()
  727. for i=1, 10 do
  728. rayPart.Transparency = rayPart.Transparency + 0.1
  729. rp2.Transparency = rp2.Transparency + 0.1
  730. wait()
  731. if i == 10 then
  732. rayPart:Destroy()
  733. rp2:Destroy()
  734. end
  735. end
  736. end))
  737. end)
  738. end
  739.  
  740.  
  741. mouse.Button1Down:connect(function()
  742. shoot()
  743. end)
Add Comment
Please, Sign In to add comment