StrawberryMemester

Cher

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