Advertisement
The_God_M8

cccc

May 10th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.96 KB | None | 0 0
  1. local Scale = game.Players.LocalPlayer.Character.Torso.Size.X/2*(game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted") ~= nil and game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted").Scale.Z or 1)*0.8
  2. local Speed = 20*Scale
  3. local Gravity = 0.1
  4.  
  5. local Player = game.Players.LocalPlayer
  6. local Character = Player.Character
  7. local Humanoid = Character.Humanoid
  8. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  9. local Torso = Character.HumanoidRootPart
  10. local Mouse = game.Players.LocalPlayer:GetMouse()
  11. local RenderStepped = game:GetService("RunService").RenderStepped
  12. local Camera = Workspace.CurrentCamera
  13. Camera:ClearAllChildren()
  14. local Model = Instance.new("Model",Character)
  15. local IgnoreList = {Character,Workspace.Terrain}
  16.  
  17. local Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
  18. local Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
  19. local RotationOffset = CFrame.Angles(math.rad(90),math.rad(0),0)
  20. local Gangster = false
  21.  
  22. local Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
  23. local Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
  24. local RotationOffsetHead = CFrame.Angles(0,0,0)
  25.  
  26. local Handle = Instance.new("Part",Model)
  27. Handle.CanCollide = false
  28. Handle.Name = "Handle"
  29. Handle.Position = Vector3.new(0,100,0)
  30. Handle:BreakJoints()
  31. Handle.FormFactor = "Custom"
  32. Handle.Size = Vector3.new(0.2,0.2,0.2)
  33. Handle.TopSurface = "SmoothNoOutlines"
  34. Handle.BottomSurface = "SmoothNoOutlines"
  35. Handle.FrontSurface = "SmoothNoOutlines"
  36. Handle.BackSurface = "SmoothNoOutlines"
  37. Handle.RightSurface = "SmoothNoOutlines"
  38. Handle.LeftSurface = "SmoothNoOutlines"
  39. Handle.BrickColor = BrickColor.new("Black")
  40. local Mesh = Instance.new("BlockMesh",Handle)
  41. Mesh.Scale = Vector3.new(0.25,1,0.4) / 0.2 * Scale
  42. local HandleWeld = Instance.new("Motor6D")
  43. HandleWeld.Part0 = Character["Right Arm"]
  44. HandleWeld.Part1 = Handle
  45. HandleWeld.C0 = CFrame.new(Vector3.new(0,-1,0)*Scale) * CFrame.Angles(math.rad(-105),0,0)
  46. HandleWeld.Parent = Handle
  47.  
  48. local Part = Instance.new("Part",Model)
  49. Part.CanCollide = false
  50. Part.Position = Vector3.new(0,100,0)
  51. Part:BreakJoints()
  52. Part.FormFactor = "Custom"
  53. Part.Size = Vector3.new(0.2,0.2,0.2)
  54. Part.TopSurface = "SmoothNoOutlines"
  55. Part.BottomSurface = "SmoothNoOutlines"
  56. Part.FrontSurface = "SmoothNoOutlines"
  57. Part.BackSurface = "SmoothNoOutlines"
  58. Part.RightSurface = "SmoothNoOutlines"
  59. Part.LeftSurface = "SmoothNoOutlines"
  60. Part.BrickColor = BrickColor.new("Black")
  61. local Mesh = Instance.new("CylinderMesh",Part)
  62. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  63. local PartWeld = Instance.new("Motor6D")
  64. PartWeld.Part0 = Handle
  65. PartWeld.Part1 = Part
  66. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  67. PartWeld.Parent = Part
  68.  
  69. local Part = Instance.new("Part",Model)
  70. Part.CanCollide = false
  71. Part.Position = Vector3.new(0,100,0)
  72. Part:BreakJoints()
  73. Part.FormFactor = "Custom"
  74. Part.Size = Vector3.new(0.2,0.2,0.2)
  75. Part.TopSurface = "SmoothNoOutlines"
  76. Part.BottomSurface = "SmoothNoOutlines"
  77. Part.FrontSurface = "SmoothNoOutlines"
  78. Part.BackSurface = "SmoothNoOutlines"
  79. Part.RightSurface = "SmoothNoOutlines"
  80. Part.LeftSurface = "SmoothNoOutlines"
  81. Part.BrickColor = BrickColor.new("Black")
  82. local Mesh = Instance.new("CylinderMesh",Part)
  83. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  84. local PartWeld = Instance.new("Motor6D")
  85. PartWeld.Part0 = Handle
  86. PartWeld.Part1 = Part
  87. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  88. PartWeld.Parent = Part
  89.  
  90. local Part = Instance.new("Part",Model)
  91. Part.CanCollide = false
  92. Part.Position = Vector3.new(0,100,0)
  93. Part:BreakJoints()
  94. Part.FormFactor = "Custom"
  95. Part.Size = Vector3.new(0.2,0.2,0.2)
  96. Part.TopSurface = "SmoothNoOutlines"
  97. Part.BottomSurface = "SmoothNoOutlines"
  98. Part.FrontSurface = "SmoothNoOutlines"
  99. Part.BackSurface = "SmoothNoOutlines"
  100. Part.RightSurface = "SmoothNoOutlines"
  101. Part.LeftSurface = "SmoothNoOutlines"
  102. Part.BrickColor = BrickColor.new("Black")
  103. local Mesh = Instance.new("CylinderMesh",Part)
  104. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  105. local PartWeld = Instance.new("Motor6D")
  106. PartWeld.Part0 = Handle
  107. PartWeld.Part1 = Part
  108. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  109. PartWeld.Parent = Part
  110.  
  111. local Part = Instance.new("Part",Model)
  112. Part.CanCollide = false
  113. Part.Position = Vector3.new(0,100,0)
  114. Part:BreakJoints()
  115. Part.FormFactor = "Custom"
  116. Part.Size = Vector3.new(0.2,0.2,0.2)
  117. Part.TopSurface = "SmoothNoOutlines"
  118. Part.BottomSurface = "SmoothNoOutlines"
  119. Part.FrontSurface = "SmoothNoOutlines"
  120. Part.BackSurface = "SmoothNoOutlines"
  121. Part.RightSurface = "SmoothNoOutlines"
  122. Part.LeftSurface = "SmoothNoOutlines"
  123. Part.BrickColor = BrickColor.new("Black")
  124. local Mesh = Instance.new("CylinderMesh",Part)
  125. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  126. local PartWeld = Instance.new("Motor6D")
  127. PartWeld.Part0 = Handle
  128. PartWeld.Part1 = Part
  129. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  130. PartWeld.Parent = Part
  131.  
  132. local Part = Instance.new("Part",Model)
  133. Part.CanCollide = false
  134. Part.Position = Vector3.new(0,100,0)
  135. Part:BreakJoints()
  136. Part.FormFactor = "Custom"
  137. Part.Size = Vector3.new(0.2,0.2,0.2)
  138. Part.TopSurface = "SmoothNoOutlines"
  139. Part.BottomSurface = "SmoothNoOutlines"
  140. Part.FrontSurface = "SmoothNoOutlines"
  141. Part.BackSurface = "SmoothNoOutlines"
  142. Part.RightSurface = "SmoothNoOutlines"
  143. Part.LeftSurface = "SmoothNoOutlines"
  144. Part.BrickColor = BrickColor.new("Black")
  145. local Mesh = Instance.new("BlockMesh",Part)
  146. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  147. local PartWeld = Instance.new("Motor6D")
  148. PartWeld.Part0 = Handle
  149. PartWeld.Part1 = Part
  150. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,-0.175)*Scale) * CFrame.Angles(0,0,0)
  151. PartWeld.Parent = Part
  152.  
  153. local Part = Instance.new("Part",Model)
  154. Part.CanCollide = false
  155. Part.Position = Vector3.new(0,100,0)
  156. Part:BreakJoints()
  157. Part.FormFactor = "Custom"
  158. Part.Size = Vector3.new(0.2,0.2,0.2)
  159. Part.TopSurface = "SmoothNoOutlines"
  160. Part.BottomSurface = "SmoothNoOutlines"
  161. Part.FrontSurface = "SmoothNoOutlines"
  162. Part.BackSurface = "SmoothNoOutlines"
  163. Part.RightSurface = "SmoothNoOutlines"
  164. Part.LeftSurface = "SmoothNoOutlines"
  165. Part.BrickColor = BrickColor.new("Black")
  166. local Mesh = Instance.new("BlockMesh",Part)
  167. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  168. local PartWeld = Instance.new("Motor6D")
  169. PartWeld.Part0 = Handle
  170. PartWeld.Part1 = Part
  171. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,0.175)*Scale) * CFrame.Angles(0,0,0)
  172. PartWeld.Parent = Part
  173.  
  174. local Part = Instance.new("Part",Model)
  175. Part.CanCollide = false
  176. Part.Position = Vector3.new(0,100,0)
  177. Part:BreakJoints()
  178. Part.FormFactor = "Custom"
  179. Part.Size = Vector3.new(0.2,0.2,0.2)
  180. Part.TopSurface = "SmoothNoOutlines"
  181. Part.BottomSurface = "SmoothNoOutlines"
  182. Part.FrontSurface = "SmoothNoOutlines"
  183. Part.BackSurface = "SmoothNoOutlines"
  184. Part.RightSurface = "SmoothNoOutlines"
  185. Part.LeftSurface = "SmoothNoOutlines"
  186. Part.BrickColor = BrickColor.new("Black")
  187. local Mesh = Instance.new("BlockMesh",Part)
  188. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  189. local PartWeld = Instance.new("Motor6D")
  190. PartWeld.Part0 = Handle
  191. PartWeld.Part1 = Part
  192. PartWeld.C0 = CFrame.new(Vector3.new(-0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  193. PartWeld.Parent = Part
  194.  
  195. local Part = Instance.new("Part",Model)
  196. Part.CanCollide = false
  197. Part.Position = Vector3.new(0,100,0)
  198. Part:BreakJoints()
  199. Part.FormFactor = "Custom"
  200. Part.Size = Vector3.new(0.2,0.2,0.2)
  201. Part.TopSurface = "SmoothNoOutlines"
  202. Part.BottomSurface = "SmoothNoOutlines"
  203. Part.FrontSurface = "SmoothNoOutlines"
  204. Part.BackSurface = "SmoothNoOutlines"
  205. Part.RightSurface = "SmoothNoOutlines"
  206. Part.LeftSurface = "SmoothNoOutlines"
  207. Part.BrickColor = BrickColor.new("Black")
  208. local Mesh = Instance.new("BlockMesh",Part)
  209. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  210. local PartWeld = Instance.new("Motor6D")
  211. PartWeld.Part0 = Handle
  212. PartWeld.Part1 = Part
  213. PartWeld.C0 = CFrame.new(Vector3.new(0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  214. PartWeld.Parent = Part
  215.  
  216. local Part = Instance.new("Part",Model)
  217. Part.CanCollide = false
  218. Part.Position = Vector3.new(0,100,0)
  219. Part:BreakJoints()
  220. Part.FormFactor = "Custom"
  221. Part.Size = Vector3.new(0.2,0.2,0.2)
  222. Part.TopSurface = "SmoothNoOutlines"
  223. Part.BottomSurface = "SmoothNoOutlines"
  224. Part.FrontSurface = "SmoothNoOutlines"
  225. Part.BackSurface = "SmoothNoOutlines"
  226. Part.RightSurface = "SmoothNoOutlines"
  227. Part.LeftSurface = "SmoothNoOutlines"
  228. Part.BrickColor = BrickColor.new("Black")
  229. local Mesh = Instance.new("BlockMesh",Part)
  230. Mesh.Scale = Vector3.new(0.1,0.3,0.05) / 0.2 * Scale
  231. local PartWeld = Instance.new("Motor6D")
  232. PartWeld.Part0 = Handle
  233. PartWeld.Part1 = Part
  234. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.25,-0.75)*Scale) * CFrame.Angles(math.rad(-10),0,0)
  235. PartWeld.Parent = Part
  236.  
  237. local Part = Instance.new("Part",Model)
  238. Part.CanCollide = false
  239. Part.Position = Vector3.new(0,100,0)
  240. Part:BreakJoints()
  241. Part.FormFactor = "Custom"
  242. Part.Size = Vector3.new(0.2,0.2,0.2)
  243. Part.TopSurface = "SmoothNoOutlines"
  244. Part.BottomSurface = "SmoothNoOutlines"
  245. Part.FrontSurface = "SmoothNoOutlines"
  246. Part.BackSurface = "SmoothNoOutlines"
  247. Part.RightSurface = "SmoothNoOutlines"
  248. Part.LeftSurface = "SmoothNoOutlines"
  249. Part.BrickColor = BrickColor.new("Black")
  250. local Mesh = Instance.new("BlockMesh",Part)
  251. Mesh.Scale = Vector3.new(0.1,0.05,0.625) / 0.2 * Scale
  252. local PartWeld = Instance.new("Motor6D")
  253. PartWeld.Part0 = Handle
  254. PartWeld.Part1 = Part
  255. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.1,-0.435)*Scale)
  256. PartWeld.Parent = Part
  257.  
  258. if Humanoid then
  259. plrmodel = Humanoid.Parent
  260. if plrmodel.Humanoid.Health ~= 0 then
  261. --blood
  262. plrmodel.Archivable = true
  263. local Char = plrmodel
  264. local Hum = Char:FindFirstChild("Humanoid")
  265. local Tor = Char:FindFirstChild("Torso") or Char:FindFirstChild("UpperTorso")
  266. local Health = Hum.Health
  267.  
  268. local M = math.random
  269. local R = math.rad
  270. local rates = {.05, .075, .1, .15}
  271.  
  272. local smooth = function(P)
  273. local SM = Enum.SurfaceType.SmoothNoOutlines
  274. P.TopSurface = SM
  275. P.BottomSurface = SM
  276. P.RightSurface = SM
  277. P.LeftSurface = SM
  278. P.FrontSurface = SM
  279. P.BackSurface = SM
  280. end
  281.  
  282. local function BloodPool(Part,Size)
  283. local Pool = Instance.new("Part",game.Workspace)
  284. Pool.TopSurface = 0
  285. Pool.CanCollide = false
  286. Pool.BrickColor = BrickColor.new("Crimson")
  287. Pool.Transparency = 0
  288. Instance.new("CylinderMesh",Pool)
  289. Pool.Anchored = true
  290. Pool.Name = "BloodPoolPart"
  291. smooth(Pool)
  292. Pool.FormFactor = Enum.FormFactor.Custom
  293. Pool.Size = Size
  294. local c = Part.CFrame*CFrame.new(M(-3.01,3.01),-2.9,M(-3.01,3.01))
  295. coroutine.resume(coroutine.create(function()
  296. local rate = rates[M(1,#rates)]
  297. game.Debris:AddItem(Pool,15)
  298. for i = 1,M(25,70) do
  299. wait()
  300. Pool.CFrame = c
  301. Pool.Size = Pool.Size+Vector3.new(rate,0,rate)
  302. end
  303. wait(5)
  304. Pool:Destroy()
  305. end))
  306. end
  307.  
  308. local function BloodDrops(Size,Area)
  309. local Blood = Instance.new("Part",game.Workspace)
  310. Blood.BrickColor = BrickColor.new("Crimson")
  311. Blood.Parent = plrmodel
  312. Blood.TopSurface = 0
  313. Blood.CanCollide = false
  314. Blood.Anchored = false
  315. Blood.FormFactor = Enum.FormFactor.Custom
  316. Blood.Size = Size
  317. Blood.CFrame = Area*CFrame.new(M(-1.00,1.00),M(-1.00,1.00),M(-1.00,1.00))
  318. return Blood
  319. end
  320.  
  321.  
  322.  
  323. Hum.Changed:connect(function()
  324. if Hum.Health < Health then
  325.  
  326. Health = Hum.Health
  327. for i = 1, math.random(4,10)do
  328. local Size = Vector3.new(M(-0.25,0.25),.2,M(-.25,.25))
  329. local Blood = BloodDrops(Size,Tor.CFrame)
  330. local Stopper = false
  331. local Size2 = Vector3.new(M(-0.25,0.25),.2,M(-.25,.25))
  332. BloodPool(Tor,Size2)
  333. end
  334. end
  335. end)
  336. end
  337. --Ragdoll
  338. wait()
  339. function getAttachment0(attachmentName)
  340. for _,child in next,plrmodel:GetChildren() do
  341. local attachment = child:FindFirstChild(attachmentName)
  342. if attachment then
  343. return attachment
  344. end
  345. end
  346. end
  347. plrmodel.Humanoid.Died:Connect(function(var)
  348. local removeHRP = true
  349. local head = plrmodel["Head"]
  350. local leftarm = plrmodel["Left Arm"]
  351. local leftleg = plrmodel["Left Leg"]
  352. local rightleg = plrmodel["Right Leg"]
  353. local rightarm = plrmodel["Right Arm"]
  354. local torso = plrmodel.Torso
  355. local root = plrmodel.HumanoidRootPart
  356. if removeHRP == true then
  357. root:Destroy()
  358. end
  359. local rootA =Instance.new("Attachment")
  360. local HeadA = Instance.new("Attachment")
  361. local LeftArmA = Instance.new("Attachment")
  362. local LeftLegA = Instance.new("Attachment")
  363. local RightArmA = Instance.new("Attachment")
  364. local RightLegA = Instance.new("Attachment")
  365. local TorsoA = Instance.new("Attachment")
  366. local TorsoA1 = Instance.new("Attachment")
  367. local TorsoA2 = Instance.new("Attachment")
  368. local TorsoA3 = Instance.new("Attachment")
  369. local TorsoA4 = Instance.new("Attachment")
  370. local TorsoA5 = Instance.new("Attachment")
  371. local function set1()
  372. HeadA.Name = "HeadA"
  373. HeadA.Parent = head
  374. HeadA.Position = Vector3.new(0, -0.5, 0)
  375. HeadA.Rotation = Vector3.new(0, 0, 0)
  376. HeadA.Axis = Vector3.new(1, 0, 0)
  377. HeadA.SecondaryAxis = Vector3.new(0, 1, 0)
  378. LeftArmA.Name = "LeftArmA"
  379. LeftArmA.Parent = leftarm
  380. LeftArmA.Position = Vector3.new(0.5, 1, 0)
  381. LeftArmA.Rotation = Vector3.new(0, 0, 0)
  382. LeftArmA.Axis = Vector3.new(1, 0, 0)
  383. LeftArmA.SecondaryAxis = Vector3.new(0, 1, 0)
  384. LeftLegA.Name = "LeftLegA"
  385. LeftLegA.Parent = leftleg
  386. LeftLegA.Position = Vector3.new(0, 1, 0)
  387. LeftLegA.Rotation = Vector3.new(0, 0, 0)
  388. LeftLegA.Axis = Vector3.new(1, 0, 0)
  389. LeftLegA.SecondaryAxis = Vector3.new(0, 1, 0)
  390. RightArmA.Name = "RightArmA"
  391. RightArmA.Parent = rightarm
  392. RightArmA.Position = Vector3.new(-0.5, 1, 0)
  393. RightArmA.Rotation = Vector3.new(0, 0, 0)
  394. RightArmA.Axis = Vector3.new(1, 0, 0)
  395. RightArmA.SecondaryAxis = Vector3.new(0, 1, 0)
  396. RightLegA.Name = "RightLegA"
  397. RightLegA.Parent = rightleg
  398. RightLegA.Position = Vector3.new(0, 1, 0)
  399. RightLegA.Rotation = Vector3.new(0, 0, 0)
  400. RightLegA.Axis = Vector3.new(1, 0, 0)
  401. RightLegA.SecondaryAxis = Vector3.new(0, 1, 0)
  402. rootA.Name= "rootA"
  403. rootA.Parent = root
  404. rootA.Position = Vector3.new(0, 0, 0)
  405. rootA.Rotation = Vector3.new(0, 90, 0)
  406. rootA.Axis = Vector3.new(0, 0, -1)
  407. rootA.SecondaryAxis = Vector3.new(0, 1, 0)
  408. end
  409. local function set2()
  410. TorsoA.Name = "TorsoA"
  411. TorsoA.Parent = torso
  412. TorsoA.Position = Vector3.new(0.5, -1, 0)
  413. TorsoA.Rotation = Vector3.new(0, 0, 0)
  414. TorsoA.Axis = Vector3.new(1, 0, 0)
  415. TorsoA.SecondaryAxis = Vector3.new(0, 1, 0)
  416. TorsoA1.Name = "TorsoA1"
  417. TorsoA1.Parent = torso
  418. TorsoA1.Position = Vector3.new(-0.5, -1, 0)
  419. TorsoA1.Rotation = Vector3.new(0, 0, 0)
  420. TorsoA1.Axis = Vector3.new(1, 0, 0)
  421. TorsoA1.SecondaryAxis = Vector3.new(0, 1, 0)
  422. TorsoA2.Name = "TorsoA2"
  423. TorsoA2.Parent = torso
  424. TorsoA2.Position = Vector3.new(-1, 1, 0)
  425. TorsoA2.Rotation = Vector3.new(0, 0, 0)
  426. TorsoA2.Axis = Vector3.new(1, 0, 0)
  427. TorsoA2.SecondaryAxis = Vector3.new(0, 1, 0)
  428. TorsoA3.Name = "TorsoA3"
  429. TorsoA3.Parent = torso
  430. TorsoA3.Position = Vector3.new(1, 1, 0)
  431. TorsoA3.Rotation = Vector3.new(0, 0, 0)
  432. TorsoA3.Axis = Vector3.new(1, 0, 0)
  433. TorsoA3.SecondaryAxis = Vector3.new(0, 1, 0)
  434. TorsoA4.Name = "TorsoA4"
  435. TorsoA4.Parent = torso
  436. TorsoA4.Position = Vector3.new(0, 1, 0)
  437. TorsoA4.Rotation = Vector3.new(0, 0, 0)
  438. TorsoA4.Axis = Vector3.new(1, 0, 0)
  439. TorsoA4.SecondaryAxis = Vector3.new(0, 1, 0)
  440. TorsoA5.Name = "TorsoA5"
  441. TorsoA5.Parent = torso
  442. TorsoA5.Position = Vector3.new(0, 0, 0)
  443. TorsoA5.Rotation = Vector3.new(0, 90, 0)
  444. TorsoA5.Axis = Vector3.new(0, 0, -1)
  445. TorsoA5.SecondaryAxis = Vector3.new(0, 1, 0)
  446. end
  447. local function set3()
  448. end
  449. spawn(set1);
  450. spawn(set2);
  451. local HA = Instance.new("HingeConstraint")
  452. HA.Parent = head
  453. HA.Attachment0 = HeadA
  454. HA.Attachment1 = TorsoA4
  455. HA.Enabled = true
  456. HA.LimitsEnabled=true
  457. HA.LowerAngle=0
  458. HA.UpperAngle=0
  459. local LAT = Instance.new("BallSocketConstraint")
  460. LAT.Parent = leftarm
  461. LAT.Attachment0 = LeftArmA
  462. LAT.Attachment1 = TorsoA2
  463. LAT.Enabled = true
  464. LAT.LimitsEnabled=true
  465. LAT.UpperAngle=90
  466. local RAT = Instance.new("BallSocketConstraint")
  467. RAT.Parent = rightarm
  468. RAT.Attachment0 = RightArmA
  469. RAT.Attachment1 = TorsoA3
  470. RAT.Enabled = true
  471. RAT.LimitsEnabled=true
  472. RAT.UpperAngle=90
  473. local HA = Instance.new("BallSocketConstraint")
  474. HA.Parent = head
  475. HA.Attachment0 = HeadA
  476. HA.Attachment1 = TorsoA4
  477. HA.Enabled = true
  478. local TLL = Instance.new("BallSocketConstraint")
  479. TLL.Parent = torso
  480. TLL.Attachment0 = TorsoA1
  481. TLL.Attachment1 = LeftLegA
  482. TLL.Enabled = true
  483. TLL.LimitsEnabled=true
  484. TLL.UpperAngle=90
  485. local TRL = Instance.new("BallSocketConstraint")
  486. TRL.Parent = torso
  487. TRL.Attachment0 = TorsoA
  488. TRL.Attachment1 = RightLegA
  489. TRL.Enabled = true
  490. TRL.LimitsEnabled=true
  491. TRL.UpperAngle=90
  492. local RTA = Instance.new("BallSocketConstraint")
  493. RTA.Parent = root
  494. RTA.Attachment0 = rootA
  495. RTA.Attachment1 = TorsoA5
  496. RTA.Enabled = true
  497. RTA.LimitsEnabled=true
  498. RTA.UpperAngle=0
  499. head.Velocity = head.CFrame.lookVector*30
  500.  
  501. for _,child in next,plrmodel:GetChildren() do
  502. if child:IsA("Accoutrement") then
  503. for _,part in next,child:GetChildren() do
  504. if part:IsA("BasePart") then
  505. part.Parent = plrmodel
  506. child:remove()
  507. local attachment1 = part:FindFirstChildOfClass("Attachment")
  508. local attachment0 = getAttachment0(attachment1.Name)
  509. if attachment0 and attachment1 then
  510. local constraint = Instance.new("HingeConstraint")
  511. constraint.Attachment0 = attachment0
  512. constraint.Attachment1 = attachment1
  513. constraint.LimitsEnabled = true
  514. constraint.UpperAngle = 0
  515. constraint.LowerAngle = 0
  516. constraint.Parent = plrmodel
  517. end
  518. end
  519. end
  520. end
  521. end
  522. end)
  523.  
  524. end
  525. if Humanoid.Health ~= 0 then
  526. Humanoid.Health = 0
  527. wait(3)
  528. while true do
  529. if Humanoid.Health ~= 0 then
  530. Humanoid.Health = 0 --This loop is a strange kill system I know, but this prevents doing 99 damage instead of 100 for some reason.s
  531. else
  532. break
  533. end
  534. wait(0.3)
  535. end
  536. end
  537.  
  538. for i = 0,80,10 do
  539. local Part = Instance.new("Part",Model)
  540. Part.CanCollide = false
  541. Part.Position = Vector3.new(0,100,0)
  542. Part:BreakJoints()
  543. Part.FormFactor = "Custom"
  544. Part.Size = Vector3.new(0.2,0.2,0.2)
  545. Part.TopSurface = "SmoothNoOutlines"
  546. Part.BottomSurface = "SmoothNoOutlines"
  547. Part.FrontSurface = "SmoothNoOutlines"
  548. Part.BackSurface = "SmoothNoOutlines"
  549. Part.RightSurface = "SmoothNoOutlines"
  550. Part.LeftSurface = "SmoothNoOutlines"
  551. Part.BrickColor = BrickColor.new("Black")
  552. local Mesh = Instance.new("BlockMesh",Part)
  553. Mesh.Scale = Vector3.new(0.25,0.15,0.03555*2) / 0.2 * Scale
  554. local PartWeld = Instance.new("Motor6D")
  555. PartWeld.Part0 = Handle
  556. PartWeld.Part1 = Part
  557. PartWeld.C0 = CFrame.new(Vector3.new(0,0.15,0.315)*Scale) * CFrame.Angles(math.rad(i-65),0,0) * CFrame.new(Vector3.new(0,0.2,0)*Scale)
  558. PartWeld.Parent = Part
  559. end
  560.  
  561. local Barrel = Instance.new("Part",Model)
  562. Barrel.CanCollide = false
  563. Barrel.Position = Vector3.new(0,100,0)
  564. Barrel:BreakJoints()
  565. Barrel.FormFactor = "Custom"
  566. Barrel.Size = Vector3.new(0.2,0.2,0.2)
  567. Barrel.TopSurface = "SmoothNoOutlines"
  568. Barrel.BottomSurface = "SmoothNoOutlines"
  569. Barrel.FrontSurface = "SmoothNoOutlines"
  570. Barrel.BackSurface = "SmoothNoOutlines"
  571. Barrel.RightSurface = "SmoothNoOutlines"
  572. Barrel.LeftSurface = "SmoothNoOutlines"
  573. Barrel.BrickColor = BrickColor.new("Black")
  574. local Mesh = Instance.new("BlockMesh",Barrel)
  575. Mesh.Scale = Vector3.new(0.25,0.2,2) / 0.2 * Scale
  576. local BarrelWeld = Instance.new("Motor6D")
  577. BarrelWeld.Part0 = Handle
  578. BarrelWeld.Part1 = Barrel
  579. BarrelWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.5,-0.7)*Scale)
  580. BarrelWeld.Parent = Barrel
  581.  
  582. local Barrel1 = Barrel
  583.  
  584. local Barrel2 = Instance.new("Part",Model)
  585. Barrel2.CanCollide = false
  586. Barrel2.Position = Vector3.new(0,100,0)
  587. Barrel2:BreakJoints()
  588. Barrel2.FormFactor = "Custom"
  589. Barrel2.Size = Vector3.new(0.2,0.2,0.2)
  590. Barrel2.TopSurface = "SmoothNoOutlines"
  591. Barrel2.BottomSurface = "SmoothNoOutlines"
  592. Barrel2.FrontSurface = "SmoothNoOutlines"
  593. Barrel2.BackSurface = "SmoothNoOutlines"
  594. Barrel2.RightSurface = "SmoothNoOutlines"
  595. Barrel2.LeftSurface = "SmoothNoOutlines"
  596. Barrel2.BrickColor = BrickColor.new("Really black")
  597. local Mesh = Instance.new("BlockMesh",Barrel2)
  598. Mesh.Scale = Vector3.new(0.25,0.25,2) / 0.2 * Scale
  599. local Barrel2Weld = Instance.new("Motor6D")
  600. Barrel2Weld.Part0 = Barrel
  601. Barrel2Weld.Part1 = Barrel2
  602. Barrel2Weld.C0 = CFrame.new(Vector3.new(0,0.225,0)*Scale)
  603. Barrel2Weld.Parent = Barrel2
  604.  
  605. local RealBarrel = Instance.new("Part",Model)
  606. RealBarrel.CanCollide = false
  607. RealBarrel.Position = Vector3.new(0,100,0)
  608. RealBarrel:BreakJoints()
  609. RealBarrel.FormFactor = "Custom"
  610. RealBarrel.Size = Vector3.new(0.2,0.2,0.2)
  611. RealBarrel.TopSurface = "SmoothNoOutlines"
  612. RealBarrel.BottomSurface = "SmoothNoOutlines"
  613. RealBarrel.FrontSurface = "SmoothNoOutlines"
  614. RealBarrel.BackSurface = "SmoothNoOutlines"
  615. RealBarrel.RightSurface = "SmoothNoOutlines"
  616. RealBarrel.LeftSurface = "SmoothNoOutlines"
  617. RealBarrel.BrickColor = BrickColor.new("Dark grey metallic")
  618. local Mesh = Instance.new("CylinderMesh",RealBarrel)
  619. Mesh.Scale = Vector3.new(0.2,2,0.2) / 0.2 * Scale
  620. local RealBarrelWeld = Instance.new("Motor6D")
  621. RealBarrelWeld.Part0 = Barrel
  622. RealBarrelWeld.Part1 = RealBarrel
  623. RealBarrelWeld.C0 = CFrame.new(Vector3.new(0,0.1,-0.01)*Scale) * CFrame.Angles(math.rad(-90),0,0)
  624. RealBarrelWeld.Parent = RealBarrel
  625.  
  626. for i = 1,75,15 do
  627. local Part = Instance.new("Part",Model)
  628. Part.CanCollide = false
  629. Part.Position = Vector3.new(0,100,0)
  630. Part:BreakJoints()
  631. Part.FormFactor = "Custom"
  632. Part.Size = Vector3.new(0.2,0.2,0.2)
  633. Part.TopSurface = "SmoothNoOutlines"
  634. Part.BottomSurface = "SmoothNoOutlines"
  635. Part.FrontSurface = "SmoothNoOutlines"
  636. Part.BackSurface = "SmoothNoOutlines"
  637. Part.RightSurface = "SmoothNoOutlines"
  638. Part.LeftSurface = "SmoothNoOutlines"
  639. Part.BrickColor = BrickColor.new("Black")
  640. local Mesh = Instance.new("BlockMesh",Part)
  641. Mesh.Scale = Vector3.new(0.05,0.065,0.05) / 0.2 * Scale
  642. local PartWeld = Instance.new("Motor6D")
  643. PartWeld.Part0 = Handle
  644. PartWeld.Part1 = Part
  645. PartWeld.C0 = CFrame.new(Vector3.new(0,0.525,-0.515)*Scale) * CFrame.Angles(math.rad(i),0,0) * CFrame.new(Vector3.new(0,0,0.2)*Scale)
  646. PartWeld.Parent = Part
  647. end
  648.  
  649. local Part = Instance.new("Part",Model)
  650. Part.CanCollide = false
  651. Part.Position = Vector3.new(0,100,0)
  652. Part:BreakJoints()
  653. Part.FormFactor = "Custom"
  654. Part.Size = Vector3.new(0.2,0.2,0.2)
  655. Part.TopSurface = "SmoothNoOutlines"
  656. Part.BottomSurface = "SmoothNoOutlines"
  657. Part.FrontSurface = "SmoothNoOutlines"
  658. Part.BackSurface = "SmoothNoOutlines"
  659. Part.RightSurface = "SmoothNoOutlines"
  660. Part.LeftSurface = "SmoothNoOutlines"
  661. Part.BrickColor = BrickColor.new("Really black")
  662. local Mesh = Instance.new("BlockMesh",Part)
  663. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  664. local PartWeld = Instance.new("Motor6D")
  665. PartWeld.Part0 = Barrel2
  666. PartWeld.Part1 = Part
  667. PartWeld.C0 = CFrame.new(Vector3.new(0.06,0.135,0.925)*Scale)
  668. PartWeld.Parent = Part
  669.  
  670. local Part = Instance.new("Part",Model)
  671. Part.CanCollide = false
  672. Part.Position = Vector3.new(0,100,0)
  673. Part:BreakJoints()
  674. Part.FormFactor = "Custom"
  675. Part.Size = Vector3.new(0.2,0.2,0.2)
  676. Part.TopSurface = "SmoothNoOutlines"
  677. Part.BottomSurface = "SmoothNoOutlines"
  678. Part.FrontSurface = "SmoothNoOutlines"
  679. Part.BackSurface = "SmoothNoOutlines"
  680. Part.RightSurface = "SmoothNoOutlines"
  681. Part.LeftSurface = "SmoothNoOutlines"
  682. Part.BrickColor = BrickColor.new("Really black")
  683. local Mesh = Instance.new("BlockMesh",Part)
  684. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  685. local PartWeld = Instance.new("Motor6D")
  686. PartWeld.Part0 = Barrel2
  687. PartWeld.Part1 = Part
  688. PartWeld.C0 = CFrame.new(Vector3.new(-0.06,0.135,0.925)*Scale)
  689. PartWeld.Parent = Part
  690.  
  691. local Part = Instance.new("Part",Model)
  692. Part.CanCollide = false
  693. Part.Position = Vector3.new(0,100,0)
  694. Part:BreakJoints()
  695. Part.FormFactor = "Custom"
  696. Part.Size = Vector3.new(0.2,0.2,0.2)
  697. Part.TopSurface = "SmoothNoOutlines"
  698. Part.BottomSurface = "SmoothNoOutlines"
  699. Part.FrontSurface = "SmoothNoOutlines"
  700. Part.BackSurface = "SmoothNoOutlines"
  701. Part.RightSurface = "SmoothNoOutlines"
  702. Part.LeftSurface = "SmoothNoOutlines"
  703. Part.BrickColor = BrickColor.new("Really black")
  704. local Mesh = Instance.new("BlockMesh",Part)
  705. Mesh.Scale = Vector3.new(0.025,0.1,0.1) / 0.2 * Scale
  706. local PartWeld = Instance.new("Motor6D")
  707. PartWeld.Part0 = Barrel2
  708. PartWeld.Part1 = Part
  709. PartWeld.C0 = CFrame.new(Vector3.new(0,0.135,-0.925)*Scale)
  710. PartWeld.Parent = Part
  711.  
  712. local Part = Instance.new("Part",Model)
  713. Part.CanCollide = false
  714. Part.Position = Vector3.new(0,100,0)
  715. Part:BreakJoints()
  716. Part.FormFactor = "Custom"
  717. Part.Size = Vector3.new(0.2,0.2,0.2)
  718. Part.Transparency = 1
  719. Part.TopSurface = "SmoothNoOutlines"
  720. Part.BottomSurface = "SmoothNoOutlines"
  721. Part.FrontSurface = "SmoothNoOutlines"
  722. Part.BackSurface = "SmoothNoOutlines"
  723. Part.RightSurface = "SmoothNoOutlines"
  724. Part.LeftSurface = "SmoothNoOutlines"
  725. Part.BrickColor = BrickColor.new("Really black")
  726. local Mesh = Instance.new("BlockMesh",Part)
  727. Mesh.Scale = Vector3.new(0.1,0.1,0.1) / 0.2 * Scale
  728. local PartWeld = Instance.new("Motor6D")
  729. PartWeld.Part0 = Barrel
  730. PartWeld.Part1 = Part
  731. PartWeld.C0 = CFrame.new(Vector3.new(0,0,-5)*Scale)
  732. PartWeld.Parent = Part
  733.  
  734. local Light = Instance.new("PointLight",Part)
  735. Light.Color = BrickColor.new("Gold").Color
  736. Light.Enabled = true
  737. Light.Shadows = true
  738. Light.Brightness = 0
  739. Light.Range = 6
  740.  
  741. local Part = Instance.new("Part",Model)
  742. Part.Material = "Neon"
  743. Part.CanCollide = false
  744. Part.Position = Vector3.new(0,100,0)
  745. Part:BreakJoints()
  746. Part.FormFactor = "Custom"
  747. Part.Size = Vector3.new(0.2,0.2,0.2)
  748. Part.TopSurface = "SmoothNoOutlines"
  749. Part.BottomSurface = "SmoothNoOutlines"
  750. Part.FrontSurface = "SmoothNoOutlines"
  751. Part.BackSurface = "SmoothNoOutlines"
  752. Part.RightSurface = "SmoothNoOutlines"
  753. Part.LeftSurface = "SmoothNoOutlines"
  754. Part.BrickColor = BrickColor.new("Bright yellow")
  755. Part.Transparency = 0.25
  756. local RecoilMesh = Instance.new("SpecialMesh",Part)
  757. RecoilMesh.MeshType = "FileMesh"
  758. RecoilMesh.MeshId = "http://www.roblox.com/Asset/?id=1323306"
  759. RecoilMesh.TextureId = "http://www.roblox.com/Asset/?id=98896228"
  760. RecoilMesh.Scale = Vector3.new(0.175,0,0.175) * Scale
  761. local PartWeld = Instance.new("Motor6D")
  762. PartWeld.Part0 = RealBarrel
  763. PartWeld.Part1 = Part
  764. PartWeld.C0 = CFrame.new(Vector3.new(0,0.95,0)*Scale)
  765. PartWeld.Parent = Part
  766.  
  767. function ShootBullet(Target,barrel)
  768. local barrel = barrel or Barrel
  769. local Bullet = Instance.new("Part",Workspace)
  770. Barrel.CanCollide = false
  771. Bullet.FormFactor = "Custom"
  772. Bullet.Size = Vector3.new(0.2,0.2,5)*Scale
  773. Bullet.TopSurface = "Smooth"
  774. Bullet.BottomSurface = "Smooth"
  775. Bullet.Anchored = true
  776. Bullet.CanCollide = false
  777. Bullet.CFrame = CFrame.new((barrel.CFrame*CFrame.new(0,0,-barrel.Size.Z*barrel.Mesh.Scale.Z/2)).p,Target)*CFrame.new(0,0,-Bullet.Size.Z/2)
  778. Bullet.Transparency = 0.1
  779. Bullet.BrickColor = BrickColor.new("Gold")
  780. --[[local Mesh = Instance.new("SpecialMesh",Bullet)
  781. Mesh.MeshType = "FileMesh"
  782. Mesh.Scale = Vector3.new(0.5,0.5,0.2)
  783. Mesh.MeshId = "http://www.roblox.com/asset/?id=2697549"
  784. --Mesh.TextureId = "http://www.roblox.com/asset/?id=2697544"]]
  785. local Mesh = Instance.new("BlockMesh",Bullet)
  786. Mesh.Scale = Vector3.new(0.2,0.2,5)*Scale/Bullet.Size
  787. IgnoreList[#IgnoreList+1] = Bullet
  788. RenderStepped:wait()
  789. for i = Speed,1000,Speed do -- Loop to do the bullet movement and stuff.
  790. local ray,Hit,Pos,SurfaceNormal;
  791. ray = Ray.new(Bullet.Position,((Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)).p-Bullet.Position).unit*Speed)
  792. Hit,Pos,SurfaceNormal = Workspace:FindPartOnRayWithIgnoreList(ray,IgnoreList)
  793. Bullet.CFrame = Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)
  794. if Hit ~= nil then
  795. local Hum = Hit.Parent:FindFirstChild("Humanoid") or Hit.Parent.Parent:FindFirstChild("Humanoid") or (Hit.Parent.Parent.Parent ~= nil and Hit.Parent.Parent.Parent:FindFirstChild("Humanoid"))
  796. if Hum ~= nil then
  797. Hum:TakeDamage((((Gangster and math.random(99999,99999) or math.random(99999,99999))*Scale)/100)*Hum.MaxHealth)
  798. end
  799. break
  800. end
  801. RenderStepped:wait()
  802. end
  803. Bullet:Destroy()
  804. end
  805.  
  806. Mouse.Button1Down:connect(function()
  807. if not Down and not DB then
  808. Down = true
  809. while Down do
  810. if Humanoid.Health == 0 then break end
  811. if not DB then
  812. DB = true
  813. local Sound = Instance.new("Sound",Barrel)
  814. Sound.SoundId = "http://www.roblox.com/Asset/?id=165946426" -- 132373574
  815. Sound.Volume = 5*Scale
  816. Sound.Pitch = (math.random(70,110)/100)/((Scale < 0.25 and 0.25) or (Scale > 4 and 4) or Scale)
  817. Sound:Play()
  818. Spawn(function()
  819. ShootBullet(Mouse.Hit.p,Barrel1)
  820. end)
  821. RecoilMesh.VertexColor = Vector3.new(1,math.random(160,245)/255,20/255)
  822. PartWeld.C0 = PartWeld.C0 * CFrame.Angles(0,math.rad(math.random(-40,40)),0)
  823. local Shell = Instance.new("Part",Workspace)
  824. Shell.FormFactor = "Custom"
  825. Shell.BrickColor = BrickColor.new("Bright yellow")
  826. Shell.Size = Vector3.new(0.2,0.5,0.2)*Scale
  827. Shell.CFrame = Barrel.CFrame*CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(-90),0,0)
  828. Shell.Velocity = ((Barrel.CFrame*CFrame.new(5,0,math.random(-2,2))).p-Barrel.CFrame.p)*5*Scale
  829. local Mesh = Instance.new("CylinderMesh",Shell)
  830. Mesh.Scale = Vector3.new(0.2,0.5,0.2)*Scale/Shell.Size
  831. Spawn(function()
  832. wait(5)
  833. Shell:Destroy()
  834. end)
  835. for i = 1,20,7.5 do
  836. RotationOffset = RotationOffset*CFrame.Angles(math.rad(7.5),0,0)
  837. Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,-0.15,0)*Scale)
  838. Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,0.15)*Scale)
  839. Light.Brightness = Light.Brightness+38
  840. RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,0.375,0)*Scale)
  841. RenderStepped:wait()
  842. end
  843. wait(0.02)
  844. for i = 1,20,3.75 do
  845. RotationOffset = RotationOffset*CFrame.Angles(math.rad(-3.75),0,0)
  846. Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,0.075,0)*Scale)
  847. Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,-0.075)*Scale)
  848. Light.Brightness = Light.Brightness-19
  849. RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,-0.1875,0)*Scale)
  850. RenderStepped:wait()
  851. end
  852. wait(0.02)
  853. DB = false
  854. end
  855. end
  856. end
  857. end)
  858.  
  859. Mouse.Button1Up:connect(function()
  860. Down = false
  861. end)
  862.  
  863. Mouse.KeyDown:connect(function(Key)
  864. if Key:lower() == "g" and not DB then
  865. DB = true
  866. if Gangster == true then
  867. for i = 1,70,5 do
  868. RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(-5),0)
  869. RenderStepped:wait()
  870. end
  871. Gangster = false
  872. else
  873. for i = 1,70,5 do
  874. RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(5),0)
  875. RenderStepped:wait()
  876. end
  877. Gangster = true
  878. end
  879. DB = false
  880. end
  881. end)
  882.  
  883. local Weld = Instance.new("Weld")
  884. Weld.Part0 = Torso
  885. Weld.Part1 = Character["Right Arm"]
  886. Weld.Parent = Torso
  887.  
  888. local Weld2 = Instance.new("Weld")
  889. Weld2.Part0 = Torso
  890. Weld2.Part1 = Character.Head
  891. Weld2.Parent = Torso
  892.  
  893. local RA = Character["Right Arm"]
  894.  
  895. game:GetService("RunService"):BindToRenderStep("Pistol",Enum.RenderPriority.Character.Value,function()
  896. local Point = Torso.CFrame:vectorToObjectSpace(Mouse.Hit.p-Torso.CFrame.p)
  897. if Point.Z > 0 then
  898. if Point.X > 0 then
  899. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(90),0)
  900. elseif Point.X < 0 then
  901. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(-90),0)
  902. end
  903. end
  904.  
  905. local CFr = (Torso.CFrame*Part0Joint):toObjectSpace(CFrame.new((Torso.CFrame*Part0Joint).p,Mouse.Hit.p))--RayEnd))
  906. Weld.C0 = Part0Joint * (CFr-CFr.p) * RotationOffset
  907. Weld.C1 = Part1Joint
  908. Weld.Part0 = Torso
  909. Weld.Part1 = RA
  910. local CFr = (Torso.CFrame*Part0JointHead):toObjectSpace(CFrame.new((Torso.CFrame*Part0JointHead).p,Mouse.Hit.p))--RayEnd))
  911. Weld2.C0 = Part0JointHead * (CFr-CFr.p) * RotationOffsetHead
  912. Weld2.C1 = Part1JointHead
  913. Weld2.Part0 = Torso
  914. Weld2.Part1 = Character.Head
  915. local Last = Scale
  916. Scale = game.Players.LocalPlayer.Character.Torso.Size.X/2*(game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted") ~= nil and game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted").Scale.Z or 1)*0.8
  917. Speed = 20*Scale
  918. if Scale ~= Last then
  919. Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
  920. Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
  921. Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
  922. Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
  923. end
  924. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement