Advertisement
omg12

Burtal Overlord with music

May 17th, 2018
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 103.62 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. LocalScript0 = Instance.new("LocalScript")
  19. LocalScript1 = Instance.new("LocalScript")
  20. LocalScript2 = Instance.new("LocalScript")
  21. LocalScript0.Parent = mas
  22. table.insert(cors,sandbox(LocalScript0,function()
  23. wait(0.016666666666666666)
  24. Effects = {}
  25. local Player = game:service("Players").localPlayer
  26. local chara = Player.Character
  27. local Humanoid = chara:FindFirstChildOfClass("Humanoid")
  28. local Mouse = Player:GetMouse()
  29. local LeftArm = chara["Left Arm"]
  30. local RightArm = chara["Right Arm"]
  31. local LeftLeg = chara["Left Leg"]
  32. local RightLeg = chara["Right Leg"]
  33. local Head = chara.Head
  34. local Torso = chara.Torso
  35. local RootPart = chara.HumanoidRootPart
  36. local RootJoint = RootPart.RootJoint
  37. local attack = false
  38. local Anim = "Idle"
  39. local attacktype = 1
  40. local delays = false
  41. local play = true
  42. local targetted
  43. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  44. local velocity = RootPart.Velocity.y
  45. local sine = 0
  46. local change = 1
  47. local doe = 0
  48. local heddo
  49. local grabhead = false
  50. local armo
  51. local grabhand = false
  52. local Create = LoadLibrary("RbxUtility").Create
  53. Humanoid.WalkSpeed = 8
  54. if Player.UserId ~= Player.UserId then
  55. chara:BreakJoints()
  56. end
  57. Humanoid.Animator.Parent = nil
  58. chara.Animate.Parent = nil
  59. local function newMotor(part0, part1, c0, c1)
  60. local w = Create("Motor")({
  61. Parent = part0,
  62. Part0 = part0,
  63. Part1 = part1,
  64. C0 = c0,
  65. C1 = c1
  66. })
  67. return w
  68. end
  69. function clerp(a, b, t)
  70. return a:lerp(b, t)
  71. end
  72. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  73. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  74. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  75. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  76. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  77. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  78. RootJoint.C1 = CFrame.new(0, 0, 0)
  79. RootJoint.C0 = CFrame.new(0, 0, 0)
  80. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  81. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  82. if Player.UserId ~= Player.UserId then
  83. chara:BreakJoints()
  84. end
  85. local rarmc1 = RW.C1
  86. local larmc1 = LW.C1
  87. local rlegc1 = RH.C1
  88. local llegc1 = LH.C1
  89. local resetc1 = false
  90. function PlayAnimationFromTable(table, speed, bool)
  91. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  92. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  93. RW.C0 = clerp(RW.C0, table[3], speed)
  94. LW.C0 = clerp(LW.C0, table[4], speed)
  95. RH.C0 = clerp(RH.C0, table[5], speed)
  96. LH.C0 = clerp(LH.C0, table[6], speed)
  97. if bool == true and resetc1 == false then
  98. resetc1 = true
  99. RootJoint.C1 = RootJoint.C1
  100. Torso.Neck.C1 = Torso.Neck.C1
  101. RW.C1 = rarmc1
  102. LW.C1 = larmc1
  103. RH.C1 = rlegc1
  104. LH.C1 = llegc1
  105. end
  106. end
  107. if Player.UserId ~= Player.UserId then
  108. chara:BreakJoints()
  109. end
  110. ArtificialHB = Instance.new("BindableEvent", script)
  111. ArtificialHB.Name = "Heartbeat"
  112. script:WaitForChild("Heartbeat")
  113. frame = 0.03333333333333
  114. tf = 0
  115. allowframeloss = false
  116. tossremainder = false
  117. lastframe = tick()
  118. script.Heartbeat:Fire()
  119. game:GetService("RunService").Heartbeat:connect(function(s, p)
  120. tf = tf + s
  121. if tf >= frame then
  122. if allowframeloss then
  123. script.Heartbeat:Fire()
  124. lastframe = tick()
  125. else
  126. for i = 1, math.floor(tf / frame) do
  127. script.Heartbeat:Fire()
  128. end
  129. lastframe = tick()
  130. end
  131. if tossremainder then
  132. tf = 0
  133. else
  134. tf = tf - frame * math.floor(tf / frame)
  135. end
  136. end
  137. end)
  138. function swait(num)
  139. if num == 0 or num == nil then
  140. ArtificialHB.Event:wait()
  141. else
  142. for i = 0, num do
  143. ArtificialHB.Event:wait()
  144. end
  145. end
  146. end
  147. function RemoveOutlines(part)
  148. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  149. end
  150. if Player.UserId ~= Player.UserId then
  151. chara:BreakJoints()
  152. end
  153. CFuncs = {
  154. Part = {
  155. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  156. local Part = Create("Part")({
  157. Parent = Parent,
  158. Reflectance = Reflectance,
  159. Transparency = Transparency,
  160. CanCollide = false,
  161. Locked = true,
  162. BrickColor = BrickColor.new(tostring(BColor)),
  163. Name = Name,
  164. Size = Size,
  165. Material = Material
  166. })
  167. RemoveOutlines(Part)
  168. return Part
  169. end
  170. },
  171. Mesh = {
  172. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  173. local Msh = Create(Mesh)({
  174. Parent = Part,
  175. Offset = OffSet,
  176. Scale = Scale
  177. })
  178. if Mesh == "SpecialMesh" then
  179. Msh.MeshType = MeshType
  180. Msh.MeshId = MeshId
  181. end
  182. return Msh
  183. end
  184. },
  185. Mesh = {
  186. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  187. local Msh = Create(Mesh)({
  188. Parent = Part,
  189. Offset = OffSet,
  190. Scale = Scale
  191. })
  192. if Mesh == "SpecialMesh" then
  193. Msh.MeshType = MeshType
  194. Msh.MeshId = MeshId
  195. end
  196. return Msh
  197. end
  198. },
  199. Weld = {
  200. Create = function(Parent, Part0, Part1, C0, C1)
  201. local Weld = Create("Weld")({
  202. Parent = Parent,
  203. Part0 = Part0,
  204. Part1 = Part1,
  205. C0 = C0,
  206. C1 = C1
  207. })
  208. return Weld
  209. end
  210. },
  211. ParticleEmitter = {
  212. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  213. local fp = Create("ParticleEmitter")({
  214. Parent = Parent,
  215. Color = ColorSequence.new(Color1, Color2),
  216. LightEmission = LightEmission,
  217. Size = Size,
  218. Texture = Texture,
  219. Transparency = Transparency,
  220. ZOffset = ZOffset,
  221. Acceleration = Accel,
  222. Drag = Drag,
  223. LockedToPart = LockedToPart,
  224. VelocityInheritance = VelocityInheritance,
  225. EmissionDirection = EmissionDirection,
  226. Enabled = Enabled,
  227. Lifetime = LifeTime,
  228. Rate = Rate,
  229. Rotation = Rotation,
  230. RotSpeed = RotSpeed,
  231. Speed = Speed,
  232. VelocitySpread = VelocitySpread
  233. })
  234. return fp
  235. end
  236. },
  237. CreateTemplate = {}
  238. }
  239. if Player.UserId ~= Player.UserId then
  240. chara:BreakJoints()
  241. end
  242. function so(id, par, pit, vol)
  243. local sou = Instance.new("Sound", par or workspace)
  244. if par == chara then
  245. sou.Parent = chara.Torso
  246. end
  247. sou.Volume = vol
  248. sou.Pitch = pit or 1
  249. sou.SoundId = "rbxassetid://" .. id
  250. sou.PlayOnRemove = true
  251. sou:Destroy()
  252. end
  253. local mus = Instance.new("Sound", Head)
  254. mus.Name = "mus"
  255. mus.SoundId = "rbxassetid://296564754"
  256. mus.Looped = true
  257. mus.Volume = 2
  258. mus:Play()
  259. function New(Object, Parent, Name, Data)
  260. local Object = Instance.new(Object)
  261. for Index, Value in pairs(Data or {}) do
  262. Object[Index] = Value
  263. end
  264. Object.Parent = Parent
  265. Object.Name = Name
  266. return Object
  267. end
  268. function createrainbow(part, size, trans, life, face, speed, accel, velsp, lock, name)
  269. local fira = Instance.new("ParticleEmitter", part)
  270. fira.Name = name
  271. fira.Color = ColorSequence.new(Color3.new(139,0,0))
  272. fira.Size = size
  273. fira.Texture = "rbxasset://textures/particles/fire_main.dds"
  274. fira.Transparency = trans
  275. fira.Lifetime = life
  276. fira.EmissionDirection = face
  277. fira.Rate = 10000
  278. fira.RotSpeed = NumberRange.new(100)
  279. fira.Rotation = NumberRange.new(0, 360)
  280. fira.Speed = speed
  281. fira.VelocitySpread = velsp
  282. fira.Acceleration = accel
  283. fira.LockedToPart = lock
  284. return fira
  285. end
  286. Wings = New("Model", chara, "Wings", {})
  287. MainPart = New("Part", Wings, "MainPart", {
  288. Transparency = 1,
  289. Transparency = 1,
  290. Size = Vector3.new(2, 2, 1),
  291. CFrame = CFrame.new(67.400032, 1.00001299, -47.2999992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  292. })
  293. Weld = New("ManualWeld", MainPart, "Weld", {Part0 = MainPart, Part1 = Torso})
  294. Wing1Part = New("Part", Wings, "Wing1Part", {
  295. Transparency = 1,
  296. CanCollide = true,
  297. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),
  298. CFrame = CFrame.new(68.2041626, 2.02130413, -46.7787056, 0.866025448, 0.35355404, 0.35355413, -0.353553772, 0.933016062, -0.0669873655, -0.353553891, -0.0669873059, 0.933015943)
  299. })
  300. createrainbow(Wing1Part, NumberSequence.new(0.5, 1), NumberSequence.new(0), NumberRange.new(1), "Back", NumberRange.new(5), Vector3.new(0, 10, 0), 0, true, "Firea")
  301. Weld = New("ManualWeld", Wing1Part, "Weld", {
  302. Part0 = Wing1Part,
  303. Part1 = MainPart,
  304. C0 = CFrame.new(0, 0, 0, 0.866025448, -0.353553772, -0.353553891, 0.35355404, 0.933016062, -0.0669873059, 0.35355413, -0.0669873655, 0.933015943),
  305. C1 = CFrame.new(0.804130554, 1.02129114, 0.52129364, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  306. })
  307. Wing2Part = New("Part", Wings, "Wing2Part", {
  308. Transparency = 1,
  309. CanCollide = true,
  310. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),
  311. CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.433013618, 0.250000477, 0.353553772, 0.176777452, -0.918561935, 0.353553891, 0.883886695, 0.306187093)
  312. })
  313. createrainbow(Wing2Part, NumberSequence.new(1, 0), NumberSequence.new(0), NumberRange.new(1.5), "Back", NumberRange.new(10), Vector3.new(0, 10, 0), 0, true, "Firea")
  314. Weld = New("ManualWeld", Wing2Part, "Weld", {
  315. Part0 = Wing2Part,
  316. Part1 = MainPart,
  317. C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.433013618, 0.176777452, 0.883886695, 0.250000477, -0.918561935, 0.306187093),
  318. C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  319. })
  320. Wing2Part = New("Part", Wings, "Wing2Part", {
  321. Transparency = 1,
  322. CanCollide = true,
  323. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),
  324. CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.482963979, 0.12940979, 0.353553772, 0.408495188, -0.841509461, 0.353553891, 0.774522126, 0.524520695)
  325. })
  326. createrainbow(Wing2Part, NumberSequence.new(1, 0), NumberSequence.new(0), NumberRange.new(1.5), "Back", NumberRange.new(10), Vector3.new(0, 10, 0), 0, true, "Firea")
  327. Weld = New("ManualWeld", Wing2Part, "Weld", {
  328. Part0 = Wing2Part,
  329. Part1 = MainPart,
  330. C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.482963979, 0.408495188, 0.774522126, 0.12940979, -0.841509461, 0.524520695),
  331. C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  332. })
  333. Wing2Part = New("Part", Wings, "Wing2Part", {
  334. Transparency = 1,
  335. CanCollide = true,
  336. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),
  337. CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.500001192, 3.06954462E-12, 0.353553772, 0.612374902, -0.707109571, 0.353553891, 0.61237514, 0.707109332)
  338. })
  339. createrainbow(Wing2Part, NumberSequence.new(1, 0), NumberSequence.new(0), NumberRange.new(1.5), "Back", NumberRange.new(10), Vector3.new(0, 10, 0), 0, true, "Firea")
  340. Weld = New("ManualWeld", Wing2Part, "Weld", {
  341. Part0 = Wing2Part,
  342. Part1 = MainPart,
  343. C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.500001192, 0.612374902, 0.61237514, 3.06954462E-12, -0.707109571, 0.707109332),
  344. C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  345. })
  346. Halo = New("Model", chara, "Halo", {})
  347. AHaloPart = New("Part", Halo, "AHaloPart", {
  348. Transparency = 1,
  349. Transparency = 1,
  350. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),
  351. CFrame = CFrame.new(-18.7999973, 5.50001764, -16.4999981, 1.00000644, 0, 1.25170106E-6, 0, 1, 0, 1.22189874E-6, 0, 1.00000715),
  352. CanCollide = false,
  353. BottomSurface = Enum.SurfaceType.Smooth,
  354. TopSurface = Enum.SurfaceType.Smooth
  355. })
  356. HaWeld = New("ManualWeld", AHaloPart, "HaWeld", {
  357. Part0 = AHaloPart,
  358. Part1 = Head,
  359. C0 = CFrame.new(0, 0, 0, 1.00000644, 0, 1.22189874E-6, 0, 1, 0, 1.25170106E-6, 0, 1.00000715),
  360. C1 = CFrame.new(-1.90734863E-6, 1.00000906, 1.33514404E-5, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  361. })
  362. HaPart = New("Part", Halo, "HaPart", {
  363. BrickColor = BrickColor.new("New Yeller"),
  364. Material = Enum.Material.SmoothPlastic,
  365. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  366. CFrame = CFrame.new(-18.1071625, 5.50001764, -16.0999889, 0.500003397, 0, 0.866038799, 0, 1, 0, -0.866037428, 0, 0.500008583),
  367. CanCollide = false,
  368. BottomSurface = Enum.SurfaceType.Smooth,
  369. TopSurface = Enum.SurfaceType.Smooth,
  370. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  371. })
  372. Weld = New("ManualWeld", HaPart, "Weld", {
  373. Part0 = HaPart,
  374. Part1 = AHaloPart,
  375. C0 = CFrame.new(0, 0, 0, 0.499999106, 0, -0.866026282, 0, 1, 0, 0.866026342, 0, 0.499999285),
  376. C1 = CFrame.new(0.692829132, 0, 0.400005341, 1.00000644, 0, 1.22189874E-6, 0, 1, 0, 1.25170106E-6, 0, 1.00000715)
  377. })
  378. HaPart = New("Part", Halo, "HaPart", {
  379. BrickColor = BrickColor.new("New Yeller"),
  380. Material = Enum.Material.SmoothPlastic,
  381. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  382. CFrame = CFrame.new(-18.285759, 5.50001764, -15.8871527, 0.76605016, 0, 0.642795265, 0, 1, 0, -0.642793238, 0, 0.766053021),
  383. CanCollide = false,
  384. BottomSurface = Enum.SurfaceType.Smooth,
  385. TopSurface = Enum.SurfaceType.Smooth,
  386. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  387. })
  388. Weld = New("ManualWeld", HaPart, "Weld", {
  389. Part0 = HaPart,
  390. Part1 = AHaloPart,
  391. C0 = CFrame.new(0, 0, 0, 0.766044378, 0, -0.642788231, 0, 1, 0, 0.642788351, 0, 0.766044497),
  392. C1 = CFrame.new(0.514234543, 0, 0.612840652, 1.00000238, 0, 3.57627869E-7, 0, 1, 0, 3.57627869E-7, 0, 1.00000262)
  393. })
  394. HaPart = New("Part", Halo, "HaPart", {
  395. BrickColor = BrickColor.new("New Yeller"),
  396. Material = Enum.Material.SmoothPlastic,
  397. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  398. CFrame = CFrame.new(-19.0736217, 5.50001764, -17.2517643, 0.939700842, 0, 0.342024595, 0, 1, 0, -0.342021763, 0, 0.939702868),
  399. CanCollide = false,
  400. BottomSurface = Enum.SurfaceType.Smooth,
  401. TopSurface = Enum.SurfaceType.Smooth,
  402. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  403. })
  404. Weld = New("ManualWeld", HaPart, "Weld", {
  405. Part0 = HaPart,
  406. Part1 = AHaloPart,
  407. C0 = CFrame.new(0, 0, 0, 0.939693093, 0, -0.342019916, 0, 1, 0, 0.342020094, 0, 0.939693153),
  408. C1 = CFrame.new(-0.273622513, 0, -0.751760483, 1.00000238, 0, 3.57627869E-7, 0, 1, 0, 3.57627869E-7, 0, 1.00000262)
  409. })
  410. HaPart = New("Part", Halo, "HaPart", {
  411. BrickColor = BrickColor.new("New Yeller"),
  412. Material = Enum.Material.SmoothPlastic,
  413. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  414. CFrame = CFrame.new(-19.4928379, 5.50001764, -16.9000072, 0.500003397, 0, 0.866038799, 0, 1, 0, -0.866037428, 0, 0.500008583),
  415. CanCollide = false,
  416. BottomSurface = Enum.SurfaceType.Smooth,
  417. TopSurface = Enum.SurfaceType.Smooth,
  418. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  419. })
  420. Weld = New("ManualWeld", HaPart, "Weld", {
  421. Part0 = HaPart,
  422. Part1 = AHaloPart,
  423. C0 = CFrame.new(0, 0, 0, 0.499999106, 0, -0.866026282, 0, 1, 0, 0.866026342, 0, 0.499999285),
  424. C1 = CFrame.new(-0.692834854, 0, -0.400005341, 1.00000644, 0, 1.22189874E-6, 0, 1, 0, 1.25170106E-6, 0, 1.00000715)
  425. })
  426. HaPart = New("Part", Halo, "HaPart", {
  427. BrickColor = BrickColor.new("New Yeller"),
  428. Material = Enum.Material.SmoothPlastic,
  429. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  430. CFrame = CFrame.new(-19.4928265, 5.50001764, -16.0999737, -0.500008047, 0, 0.866034508, 0, 1, 0, -0.866037786, 0, -0.500004828),
  431. CanCollide = false,
  432. BottomSurface = Enum.SurfaceType.Smooth,
  433. TopSurface = Enum.SurfaceType.Smooth,
  434. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  435. })
  436. Weld = New("ManualWeld", HaPart, "Weld", {
  437. Part0 = HaPart,
  438. Part1 = AHaloPart,
  439. C0 = CFrame.new(0, 0, 0, -0.500000477, 0, -0.866025746, 0, 1, 0, 0.866025627, 0, -0.500000358),
  440. C1 = CFrame.new(-0.692825317, 0, 0.400022507, 1.00000501, 0, 8.64267349E-7, 0, 1, 0, 8.94069672E-7, 0, 1.00000548)
  441. })
  442. HaPart = New("Part", Halo, "HaPart", {
  443. BrickColor = BrickColor.new("New Yeller"),
  444. Material = Enum.Material.SmoothPlastic,
  445. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  446. CFrame = CFrame.new(-19.5878544, 5.50001764, -16.6389122, 0.173646897, 0, 0.984815121, 0, 1, 0, -0.984815359, 0, 0.173649639),
  447. CanCollide = false,
  448. BottomSurface = Enum.SurfaceType.Smooth,
  449. TopSurface = Enum.SurfaceType.Smooth,
  450. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  451. })
  452. Weld = New("ManualWeld", HaPart, "Weld", {
  453. Part0 = HaPart,
  454. Part1 = AHaloPart,
  455. C0 = CFrame.new(0, 0, 0, 0.173647016, 0, -0.984808564, 0, 1, 0, 0.984808564, 0, 0.173647195),
  456. C1 = CFrame.new(-0.787851334, 0, -0.138912201, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  457. })
  458. HaPart = New("Part", Halo, "HaPart", {
  459. BrickColor = BrickColor.new("New Yeller"),
  460. Material = Enum.Material.SmoothPlastic,
  461. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  462. CFrame = CFrame.new(-18.5263824, 5.50001764, -17.2517605, -0.939701259, 0, 0.342020363, 0, 1, 0, -0.342023492, 0, -0.93970114),
  463. CanCollide = false,
  464. BottomSurface = Enum.SurfaceType.Smooth,
  465. TopSurface = Enum.SurfaceType.Smooth,
  466. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  467. })
  468. Weld = New("ManualWeld", HaPart, "Weld", {
  469. Part0 = HaPart,
  470. Part1 = AHaloPart,
  471. C0 = CFrame.new(0, 0, 0, -0.93969363, 0, -0.34201926, 0, 1, 0, 0.342019081, 0, -0.93969363),
  472. C1 = CFrame.new(0.273614883, 0, -0.751756668, 1.00000119, 0, 1.78813934E-7, 0, 1, 0, 1.78813934E-7, 0, 1.00000131)
  473. })
  474. HaPart = New("Part", Halo, "HaPart", {
  475. BrickColor = BrickColor.new("New Yeller"),
  476. Material = Enum.Material.SmoothPlastic,
  477. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  478. CFrame = CFrame.new(-18.0121346, 5.50001764, -16.6389122, -0.173651725, 0, 0.984817922, 0, 1, 0, -0.984819889, 0, -0.173648074),
  479. CanCollide = false,
  480. BottomSurface = Enum.SurfaceType.Smooth,
  481. TopSurface = Enum.SurfaceType.Smooth,
  482. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  483. })
  484. Weld = New("ManualWeld", HaPart, "Weld", {
  485. Part0 = HaPart,
  486. Part1 = AHaloPart,
  487. C0 = CFrame.new(0, 0, 0, -0.173648179, 0, -0.984808624, 0, 1, 0, 0.984808445, 0, -0.17364794),
  488. C1 = CFrame.new(0.787857056, 0, -0.138914108, 1.00000358, 0, 5.81145287E-7, 0, 1, 0, 5.96046448E-7, 0, 1.00000393)
  489. })
  490. HaPart = New("Part", Halo, "HaPart", {
  491. BrickColor = BrickColor.new("New Yeller"),
  492. Material = Enum.Material.SmoothPlastic,
  493. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  494. CFrame = CFrame.new(-18.0121384, 5.50001764, -16.3610725, 0.173646957, 0, 0.984817505, 0, 1, 0, -0.984817922, 0, 0.173650518),
  495. CanCollide = false,
  496. BottomSurface = Enum.SurfaceType.Smooth,
  497. TopSurface = Enum.SurfaceType.Smooth,
  498. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  499. })
  500. Weld = New("ManualWeld", HaPart, "Weld", {
  501. Part0 = HaPart,
  502. Part1 = AHaloPart,
  503. C0 = CFrame.new(0, 0, 0, 0.173647016, 0, -0.984808624, 0, 1, 0, 0.984808564, 0, 0.173647255),
  504. C1 = CFrame.new(0.787853241, 0, 0.138923645, 1.00000238, 0, 3.57627869E-7, 0, 1, 0, 3.57627869E-7, 0, 1.00000262)
  505. })
  506. HaPart = New("Part", Halo, "HaPart", {
  507. BrickColor = BrickColor.new("New Yeller"),
  508. Material = Enum.Material.SmoothPlastic,
  509. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  510. CFrame = CFrame.new(-18.2857647, 5.50001764, -17.1128464, -0.766056955, 0, 0.642793596, 0, 1, 0, -0.642798543, 0, -0.766054869),
  511. CanCollide = false,
  512. BottomSurface = Enum.SurfaceType.Smooth,
  513. TopSurface = Enum.SurfaceType.Smooth,
  514. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  515. })
  516. Weld = New("ManualWeld", HaPart, "Weld", {
  517. Part0 = HaPart,
  518. Part1 = AHaloPart,
  519. C0 = CFrame.new(0, 0, 0, -0.766045511, 0, -0.642787457, 0, 1, 0, 0.642787278, 0, -0.766045451),
  520. C1 = CFrame.new(0.514230728, 0, -0.612844467, 1.00000644, 0, 1.22189874E-6, 0, 1, 0, 1.25170106E-6, 0, 1.00000715)
  521. })
  522. HaPart = New("Part", Halo, "HaPart", {
  523. BrickColor = BrickColor.new("New Yeller"),
  524. Material = Enum.Material.SmoothPlastic,
  525. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  526. CFrame = CFrame.new(-18.1071663, 5.50001764, -16.9000053, -0.500009298, 0, 0.866035819, 0, 1, 0, -0.866039753, 0, -0.500005484),
  527. CanCollide = false,
  528. BottomSurface = Enum.SurfaceType.Smooth,
  529. TopSurface = Enum.SurfaceType.Smooth,
  530. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  531. })
  532. Weld = New("ManualWeld", HaPart, "Weld", {
  533. Part0 = HaPart,
  534. Part1 = AHaloPart,
  535. C0 = CFrame.new(0, 0, 0, -0.500000715, 0, -0.866026103, 0, 1, 0, 0.866025865, 0, -0.500000477),
  536. C1 = CFrame.new(0.692827225, 0, -0.400005341, 1.00000644, 0, 1.22189874E-6, 0, 1, 0, 1.25170106E-6, 0, 1.00000715)
  537. })
  538. HaPart = New("Part", Halo, "HaPart", {
  539. BrickColor = BrickColor.new("New Yeller"),
  540. Material = Enum.Material.SmoothPlastic,
  541. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  542. CFrame = CFrame.new(-19.3142319, 5.50001764, -15.8871336, -0.766055584, 0, 0.642793, 0, 1, 0, -0.642797172, 0, -0.766053736),
  543. CanCollide = false,
  544. BottomSurface = Enum.SurfaceType.Smooth,
  545. TopSurface = Enum.SurfaceType.Smooth,
  546. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  547. })
  548. Weld = New("ManualWeld", HaPart, "Weld", {
  549. Part0 = HaPart,
  550. Part1 = AHaloPart,
  551. C0 = CFrame.new(0, 0, 0, -0.766045511, 0, -0.642787457, 0, 1, 0, 0.642787278, 0, -0.766045451),
  552. C1 = CFrame.new(-0.514232635, 0, 0.61286068, 1.00000501, 0, 8.64267349E-7, 0, 1, 0, 8.94069672E-7, 0, 1.00000548)
  553. })
  554. HaPart = New("Part", Halo, "HaPart", {
  555. BrickColor = BrickColor.new("New Yeller"),
  556. Material = Enum.Material.SmoothPlastic,
  557. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  558. CFrame = CFrame.new(-19.0736103, 5.50001764, -15.7482185, -0.939703703, 0, 0.34202081, 0, 1, 0, -0.342024893, 0, -0.939703524),
  559. CanCollide = false,
  560. BottomSurface = Enum.SurfaceType.Smooth,
  561. TopSurface = Enum.SurfaceType.Smooth,
  562. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  563. })
  564. Weld = New("ManualWeld", HaPart, "Weld", {
  565. Part0 = HaPart,
  566. Part1 = AHaloPart,
  567. C0 = CFrame.new(0, 0, 0, -0.939693749, 0, -0.342019379, 0, 1, 0, 0.342019081, 0, -0.939693689),
  568. C1 = CFrame.new(-0.273612976, 0, 0.751774788, 1.00000358, 0, 5.81145287E-7, 0, 1, 0, 5.96046448E-7, 0, 1.00000393)
  569. })
  570. HaPart = New("Part", Halo, "HaPart", {
  571. BrickColor = BrickColor.new("New Yeller"),
  572. Material = Enum.Material.SmoothPlastic,
  573. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  574. CFrame = CFrame.new(-19.587862, 5.50001764, -16.3610744, -0.173652977, 0, 0.984820604, 0, 1, 0, -0.984823227, 0, -0.17364794),
  575. CanCollide = false,
  576. BottomSurface = Enum.SurfaceType.Smooth,
  577. TopSurface = Enum.SurfaceType.Smooth,
  578. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  579. })
  580. Weld = New("ManualWeld", HaPart, "Weld", {
  581. Part0 = HaPart,
  582. Part1 = AHaloPart,
  583. C0 = CFrame.new(0, 0, 0, -0.173648298, 0, -0.984808683, 0, 1, 0, 0.984808445, 0, -0.17364791),
  584. C1 = CFrame.new(-0.787858963, 0, 0.138923645, 1.00000644, 0, 1.22189874E-6, 0, 1, 0, 1.25170106E-6, 0, 1.00000715)
  585. })
  586. HaPart = New("Part", Halo, "HaPart", {
  587. BrickColor = BrickColor.new("New Yeller"),
  588. Material = Enum.Material.SmoothPlastic,
  589. Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),
  590. CFrame = CFrame.new(-18.7999992, 5.50001764, -17.3000011, 1.00001216, 0, 2.29479861E-6, 0, 1, 0, 2.29479883E-6, 0, 1.00001347),
  591. CanCollide = false,
  592. BottomSurface = Enum.SurfaceType.Smooth,
  593. TopSurface = Enum.SurfaceType.Smooth,
  594. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  595. })
  596. Weld = New("ManualWeld", HaPart, "Weld", {
  597. Part0 = HaPart,
  598. Part1 = AHaloPart,
  599. C0 = CFrame.new(0, 0, 0, 1.00000072, 0, 1.78813934E-7, 0, 1, 0, 1.78813934E-7, 0, 1.00000083),
  600. C1 = CFrame.new(0, 0, -0.79999733, 1.00000501, 0, 8.64267349E-7, 0, 1, 0, 8.94069672E-7, 0, 1.00000548)
  601. })
  602. Horns = New("Part", Halo, "Horns", {
  603. FormFactor = Enum.FormFactor.Custom,
  604. Size = Vector3.new(0.100000001, 0.100000001, 0.100000001),
  605. CFrame = CFrame.new(-18.7999992, 5.72899342, -16.4698296, -1, 0, 0, 0, 1, 0, 0, 0, -1),
  606. CanCollide = false,
  607. BottomSurface = Enum.SurfaceType.Smooth,
  608. TopSurface = Enum.SurfaceType.Smooth
  609. })
  610. Mesh = New("SpecialMesh", Horns, "Mesh", {
  611. Scale = Vector3.new(1.08000004, 1, 1),
  612. VertexColor = Vector3.new(-1, -1, -1),
  613. MeshId = "http://www.roblox.com/asset/?id=0",
  614. TextureId = "http://www.roblox.com/asset/?id=0",
  615. MeshType = Enum.MeshType.FileMesh
  616. })
  617. Weld = New("ManualWeld", Horns, "Weld", {
  618. Part0 = Horns,
  619. Part1 = Head,
  620. C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),
  621. C1 = CFrame.new(0, 1.22898483, -0.0301551819, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  622. })
  623. for i, v in pairs(Halo:children()) do
  624. if v:IsA("BasePart") then
  625. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  626. end
  627. end
  628. coroutine.wrap(function()
  629. while true do
  630. swait()
  631. HaWeld.C0 = HaWeld.C0 * CFrame.Angles(0, math.rad(1), 0)
  632. end
  633. end)()
  634. if Player.UserId ~= Player.UserId then
  635. chara:BreakJoints()
  636. end
  637. function CreateTrailObj(parent, color1, color2, ofsx, ofsz)
  638. local Att1 = New("Attachment", parent, "Att1", {
  639. Position = Vector3.new(ofsx, parent.Size.Y / 2, ofsz)
  640. })
  641. local Att2 = New("Attachment", parent, "Att2", {
  642. Position = Vector3.new(ofsx, -(parent.Size.Y / 2), ofsz)
  643. })
  644. local TEff = New("Trail", parent, "TrailEff", {
  645. Color = ColorSequence.new({
  646. ColorSequenceKeypoint.new(0, BrickColor.new(color1).Color),
  647. ColorSequenceKeypoint.new(1, BrickColor.new(color2).Color)
  648. }),
  649. Transparency = NumberSequence.new({
  650. NumberSequenceKeypoint.new(0, 0.5),
  651. NumberSequenceKeypoint.new(1, 1)
  652. }),
  653. Attachment0 = Att1,
  654. Attachment1 = Att2,
  655. Enabled = false,
  656. Lifetime = 0.5,
  657. MinLength = 0.001,
  658. LightEmission = 1
  659. })
  660. return TEff
  661. end
  662. LLTr = CreateTrailObj(LeftLeg, "White", "White", 0, 0)
  663. RLTr = CreateTrailObj(RightLeg, "White", "White", 0, 0)
  664. LATr = CreateTrailObj(LeftArm, "White", "White", 0, 0)
  665. RATR = CreateTrailObj(RightArm, "White", "White", 0, 0)
  666. function rayCast(Position, Direction, Range, Ignore)
  667. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  668. end
  669. function killmortal(dude, faws)
  670. local hah = dude:FindFirstChildOfClass("Humanoid")
  671. if hah then
  672. if hah.RigType == Enum.HumanoidRigType.R6 then
  673. local raggy = script.RagdollScript:Clone()
  674. raggy.Parent = dude
  675. raggy.Disabled = false
  676. elseif hah.RigType == Enum.HumanoidRigType.R15 then
  677. local raggy = script.R15RagdollScript:Clone()
  678. raggy.Parent = dude
  679. raggy.Disabled = false
  680. end
  681. do
  682. local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
  683. if torsy then
  684. torsy.Velocity = RootPart.CFrame.lookVector * faws
  685. coroutine.wrap(function()
  686. for nn = 1, math.random(4, 6) do
  687. do
  688. local bl = Instance.new("Part", dude)
  689. bl.CFrame = torsy.CFrame + Vector3.new(math.random(-1, 1), 0, math.random(-1, 1))
  690. local randd = math.random(6, 20) / 10
  691. bl.Size = Vector3.new(randd, 0.2, randd)
  692. bl.BrickColor = BrickColor.new("Maroon")
  693. bl.Material = "Granite"
  694. local clm = Instance.new("CylinderMesh", bl)
  695. coroutine.wrap(function()
  696. swait(120)
  697. for i = 0, 1, 0.01 do
  698. clm.Scale = Vector3.new(1 - i, 1 - i, 1 - i)
  699. swait()
  700. end
  701. bl:Destroy()
  702. end)()
  703. end
  704. end
  705. end)()
  706. end
  707. dude:BreakJoints()
  708. end
  709. end
  710. end
  711. function mdmg(Part, Magnitude, HitType)
  712. for _, c in pairs(workspace:GetDescendants()) do
  713. do
  714. local hum = c:FindFirstChildOfClass("Humanoid")
  715. if hum ~= nil then
  716. do
  717. local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso")
  718. if head ~= nil then
  719. local targ = head.Position - Part.Position
  720. local mag = targ.magnitude
  721. if Magnitude >= mag and c.Name ~= Player.Name and c:FindFirstChild("MagDmgd") == nil and c.Name ~= chara and (c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly") then
  722. local val = Instance.new("BoolValue", c)
  723. val.Name = "MagDmgd"
  724. if HitType == "Blunt" then
  725. so(386946017, head, 0.95, 3)
  726. elseif HitType == "Scream" then
  727. coroutine.wrap(function()
  728. local haed = c:FindFirstChild("Head")
  729. swait(3)
  730. so(206082327, haed, 1, 5)
  731. local passa = haed.Position
  732. haed:Destroy()
  733. createSplatter(passa)
  734. for i = 1, 15 do
  735. local bl = Instance.new("Part", head)
  736. bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10, 10) / 10, 0, math.random(-10, 10) / 10)
  737. local rand = math.random(2, 7) / 10
  738. bl.Size = Vector3.new(rand, rand, rand)
  739. bl.BrickColor = BrickColor.new("Really red")
  740. bl.Material = "Plastic"
  741. end
  742. end)()
  743. elseif HitType == "Arm" then
  744. grabhand = false
  745. so(386946017, head, 0.95, 3)
  746. armo:BreakJoints()
  747. do
  748. local ar = armo
  749. coroutine.wrap(function()
  750. ar.Velocity = RootPart.CFrame.lookVector * -5 + RootPart.CFrame.rightVector * -5 + Vector3.new(0, 60, 0)
  751. swait(2)
  752. ar.CanCollide = true
  753. swait(60)
  754. for i = 0, 1, 0.05 do
  755. swait()
  756. ar.Transparency = i
  757. end
  758. ar.Parent:Destroy()
  759. end)()
  760. armo = nil
  761. end
  762. elseif HitType == "Shot" then
  763. so(144884872, head, 0.9, 3)
  764. game:service("Debris"):AddItem(val, 0.05)
  765. end
  766. killmortal(c, 10)
  767. else
  768. end
  769. end
  770. end
  771. end
  772. end
  773. end
  774. end
  775. if Player.UserId ~= Player.UserId then
  776. chara:BreakJoints()
  777. end
  778. function FindNearestTorso(Position, Distance, SinglePlayer)
  779. if SinglePlayer then
  780. return Distance > (SinglePlayer.Head.CFrame.p - Position).magnitude
  781. end
  782. local List = {}
  783. for i, v in pairs(workspace:GetDescendants()) do
  784. if v:IsA("Model") and v:findFirstChild("Head") and v ~= chara and Distance >= (v.Head.Position - Position).magnitude then
  785. table.insert(List, v)
  786. end
  787. end
  788. return List
  789. end
  790. if Player.UserId ~= Player.UserId then
  791. chara:BreakJoints()
  792. end
  793. function chatfunc(text)
  794. coroutine.wrap(function()
  795. if chara:FindFirstChild("TalkingBillBoard") ~= nil then
  796. chara:FindFirstChild("TalkingBillBoard"):destroy()
  797. end
  798. local naeeym2 = Instance.new("BillboardGui", chara)
  799. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  800. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  801. naeeym2.Adornee = chara.Head
  802. naeeym2.Name = "TalkingBillBoard"
  803. local tecks2 = Instance.new("TextLabel", naeeym2)
  804. tecks2.BackgroundTransparency = 1
  805. tecks2.BorderSizePixel = 0
  806. tecks2.Text = ""
  807. tecks2.Font = "Fantasy"
  808. tecks2.FontSize = "Size24"
  809. tecks2.TextStrokeTransparency = 0
  810. tecks2.TextColor3 = Color3.new(0.6, 0, 0)
  811. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  812. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  813. local shk = coroutine.wrap(function()
  814. while tecks2 ~= nil do
  815. swait(0.05)
  816. tecks2.Position = UDim2.new(0, math.random(-3, 3), 0, math.random(-3, 3))
  817. end
  818. end)
  819. shk()
  820. for i = 1, string.len(text) do
  821. tecks2.Text = string.sub(text, 1, i)
  822. swait(0.01)
  823. end
  824. swait(30)
  825. for i = 1, 5 do
  826. swait()
  827. tecks2.Position = tecks2.Position - UDim2.new(0, 0, 0.05, 0)
  828. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.2
  829. tecks2.TextTransparency = tecks2.TextTransparency + 0.2
  830. end
  831. naeeym2:Destroy()
  832. end)()
  833. end
  834. if Player.UserId ~= Player.UserId then
  835. chara:BreakJoints()
  836. end
  837. if Player.UserId ~= Player.UserId then
  838. chara:BreakJoints()
  839. end
  840. EffectModel = Create("Model")({Parent = chara, Name = "Effects"})
  841. if Player.UserId ~= Player.UserId then
  842. chara:BreakJoints()
  843. end
  844. Effects = {
  845. Block = {
  846. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  847. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  848. prt.Anchored = true
  849. prt.CFrame = cframe
  850. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  851. game:GetService("Debris"):AddItem(prt, 10)
  852. if Type == 1 or Type == nil then
  853. table.insert(Effects, {
  854. prt,
  855. "Block1",
  856. delay,
  857. x3,
  858. y3,
  859. z3,
  860. msh
  861. })
  862. elseif Type == 2 then
  863. table.insert(Effects, {
  864. prt,
  865. "Block2",
  866. delay,
  867. x3,
  868. y3,
  869. z3,
  870. msh
  871. })
  872. end
  873. end
  874. },
  875. Cylinder = {
  876. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  877. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  878. prt.Anchored = true
  879. prt.CFrame = cframe
  880. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  881. game:GetService("Debris"):AddItem(prt, 10)
  882. table.insert(Effects, {
  883. prt,
  884. "Cylinder",
  885. delay,
  886. x3,
  887. y3,
  888. z3,
  889. msh
  890. })
  891. end
  892. },
  893. Head = {
  894. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  895. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  896. prt.Anchored = true
  897. prt.CFrame = cframe
  898. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  899. game:GetService("Debris"):AddItem(prt, 10)
  900. table.insert(Effects, {
  901. prt,
  902. "Cylinder",
  903. delay,
  904. x3,
  905. y3,
  906. z3,
  907. msh
  908. })
  909. end
  910. },
  911. Sphere = {
  912. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  913. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  914. prt.Anchored = true
  915. prt.CFrame = cframe
  916. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  917. game:GetService("Debris"):AddItem(prt, 10)
  918. table.insert(Effects, {
  919. prt,
  920. "Cylinder",
  921. delay,
  922. x3,
  923. y3,
  924. z3,
  925. msh
  926. })
  927. end
  928. },
  929. Elect = {
  930. Create = function(cff, x, y, z)
  931. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  932. prt.Anchored = true
  933. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  934. prt.CFrame = CFrame.new(prt.Position)
  935. game:GetService("Debris"):AddItem(prt, 2)
  936. local xval = math.random() / 2
  937. local yval = math.random() / 2
  938. local zval = math.random() / 2
  939. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  940. table.insert(Effects, {
  941. prt,
  942. "Elec",
  943. 0.1,
  944. x,
  945. y,
  946. z,
  947. xval,
  948. yval,
  949. zval
  950. })
  951. end
  952. },
  953. Ring = {
  954. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  955. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  956. prt.Anchored = true
  957. prt.CFrame = cframe
  958. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  959. game:GetService("Debris"):AddItem(prt, 10)
  960. table.insert(Effects, {
  961. prt,
  962. "Cylinder",
  963. delay,
  964. x3,
  965. y3,
  966. z3,
  967. msh
  968. })
  969. end
  970. },
  971. Wave = {
  972. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  973. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  974. prt.Anchored = true
  975. prt.CFrame = cframe
  976. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  977. game:GetService("Debris"):AddItem(prt, 10)
  978. table.insert(Effects, {
  979. prt,
  980. "Cylinder",
  981. delay,
  982. x3,
  983. y3,
  984. z3,
  985. msh
  986. })
  987. end
  988. },
  989. Break = {
  990. Create = function(brickcolor, cframe, x1, y1, z1)
  991. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  992. prt.Anchored = true
  993. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  994. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  995. local num = math.random(10, 50) / 1000
  996. game:GetService("Debris"):AddItem(prt, 10)
  997. table.insert(Effects, {
  998. prt,
  999. "Shatter",
  1000. num,
  1001. prt.CFrame,
  1002. math.random() - math.random(),
  1003. 0,
  1004. math.random(50, 100) / 100
  1005. })
  1006. end
  1007. },
  1008. Fire = {
  1009. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1010. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1011. prt.Anchored = true
  1012. prt.CFrame = cframe
  1013. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1014. game:GetService("Debris"):AddItem(prt, 10)
  1015. table.insert(Effects, {
  1016. prt,
  1017. "Fire",
  1018. delay,
  1019. 1,
  1020. 1,
  1021. 1,
  1022. msh
  1023. })
  1024. end
  1025. },
  1026. FireWave = {
  1027. Create = function(brickcolor, cframe, x1, y1, z1)
  1028. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1029. prt.Anchored = true
  1030. prt.CFrame = cframe
  1031. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1032. local d = Create("Decal")({
  1033. Parent = prt,
  1034. Texture = "rbxassetid://26356434",
  1035. Face = "Top"
  1036. })
  1037. local d = Create("Decal")({
  1038. Parent = prt,
  1039. Texture = "rbxassetid://26356434",
  1040. Face = "Bottom"
  1041. })
  1042. game:GetService("Debris"):AddItem(prt, 10)
  1043. table.insert(Effects, {
  1044. prt,
  1045. "FireWave",
  1046. 1,
  1047. 30,
  1048. math.random(400, 600) / 100,
  1049. msh
  1050. })
  1051. end
  1052. },
  1053. Lightning = {
  1054. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1055. local magz = (p0 - p1).magnitude
  1056. local curpos = p0
  1057. local trz = {
  1058. -ofs,
  1059. ofs
  1060. }
  1061. for i = 1, tym do
  1062. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1063. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1064. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1065. li.Material = "Neon"
  1066. if tym == i then
  1067. local magz2 = (curpos - p1).magnitude
  1068. li.Size = Vector3.new(th, th, magz2)
  1069. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1070. table.insert(Effects, {
  1071. li,
  1072. "Disappear",
  1073. last
  1074. })
  1075. else
  1076. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1077. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1078. game.Debris:AddItem(li, 10)
  1079. table.insert(Effects, {
  1080. li,
  1081. "Disappear",
  1082. last
  1083. })
  1084. end
  1085. end
  1086. end
  1087. },
  1088. EffectTemplate = {}
  1089. }
  1090. if Player.UserId ~= Player.UserId then
  1091. chara:BreakJoints()
  1092. end
  1093. coroutine.wrap(function()
  1094. while true do
  1095. swait()
  1096. Humanoid.MaxHealth = math.huge
  1097. Humanoid.Health = math.huge
  1098. Humanoid.Name = "CHACHASHHHAHHAAAAAAAAAAAAAAAA"
  1099. if chara:FindFirstChild("GodFF") == nil then
  1100. local ff = Instance.new("ForceField", chara)
  1101. ff.Name = "GodFF"
  1102. ff.Visible = false
  1103. end
  1104. end
  1105. end)()
  1106. if chara:FindFirstChild("FakeHeadM") then
  1107. local CorruptFace = New("Decal", chara.FakeHeadM.FakeHead, "Corrupt", {
  1108. Texture = "rbxassetid://1000657824"
  1109. })
  1110. chara.FakeHeadM.FakeHead.Normal:Destroy()
  1111. chara.FakeHeadM.FakeHead.Lood:Destroy()
  1112. chara.FakeHeadM.FakeHead.Rooped:Destroy()
  1113. chara.FaysG:Destroy()
  1114. chara.FakeHeadM.Ahoge:Destroy()
  1115. chara.Shirta.ShirtTemplate = "rbxassetid://1049388163"
  1116. chara.Pantsa.PantsTemplate = "rbxassetid://1269870713"
  1117. for i, v in pairs(chara:GetDescendants()) do
  1118. if v:IsA("BasePart") and (v.BrickColor == BrickColor.new("Alder") or v.BrickColor == BrickColor.new("Royal purple")) then
  1119. v.BrickColor = BrickColor.new("Crimson")
  1120. elseif v:IsA("BasePart") and v.BrickColor == BrickColor.new("Institutional white") then
  1121. v.BrickColor = BrickColor.new("New Yeller")
  1122. elseif v.Name == "SpecPart" or v.Name == "Ears1Part" then
  1123. v:Destroy()
  1124. elseif v.Name == "Ears2Part" then
  1125. v.Transparency = 0
  1126. end
  1127. end
  1128. end
  1129. local blpemit = Instance.new("ParticleEmitter")
  1130. blpemit.Color = ColorSequence.new(Color3.new(255,255,0))
  1131. blpemit.Texture = "rbxassetid://233069772"
  1132. blpemit.Transparency = NumberSequence.new(0, 1)
  1133. blpemit.Lifetime = NumberRange.new(1, 3)
  1134. blpemit.Acceleration = Vector3.new(0, -10, 0)
  1135. blpemit.Enabled = true
  1136. blpemit.EmissionDirection = "Front"
  1137. blpemit.Speed = NumberRange.new(1, 3)
  1138. blpemit.Size = NumberSequence.new(0.5)
  1139. blpemit.Rate = 1000
  1140. blpemit.RotSpeed = NumberRange.new(50)
  1141. blpemit.Rotation = NumberRange.new(0, 360)
  1142. function createSplatter(pos)
  1143. local emit = Instance.new("Part", chara)
  1144. emit.Anchored = true
  1145. emit.CanCollide = false
  1146. emit.Size = Vector3.new()
  1147. emit.Transparency = 1
  1148. emit.CFrame = CFrame.new(pos)
  1149. local blp = blpemit:Clone()
  1150. blp.Parent = emit
  1151. blp.Enabled = false
  1152. blp.EmissionDirection = "Top"
  1153. blp.VelocitySpread = 60
  1154. blp.Size = NumberSequence.new(2, 0)
  1155. blp.Lifetime = NumberRange.new(3)
  1156. blp.Speed = NumberRange.new(10)
  1157. blp.Acceleration = Vector3.new(0, -10, 0)
  1158. blp:Emit(math.random(35, 40))
  1159. game:service("Debris"):AddItem(emit, 4)
  1160. end
  1161. function thenatsuki()
  1162. attack = true
  1163. Humanoid.WalkSpeed = 2
  1164. local grab, torsy
  1165. for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do
  1166. if v:FindFirstChild("Head") and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  1167. torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
  1168. grab = v
  1169. end
  1170. end
  1171. if grab ~= nil and torsy ~= nil then
  1172. Instance.new("BoolValue", grab).Name = "NATSUKID"
  1173. so(200632136, RootPart, 0.8, 1)
  1174. for i = 0, 2, 0.1 do
  1175. swait()
  1176. PlayAnimationFromTable({
  1177. CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661),
  1178. CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661),
  1179. CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304),
  1180. CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768),
  1181. CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173),
  1182. CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326)
  1183. }, 0.3, false)
  1184. torsy.CFrame = RootPart.CFrame * CFrame.new(0, 0, -1.3)
  1185. torsy.Velocity = Vector3.new()
  1186. end
  1187. local wel = Instance.new("Weld", grab.Head)
  1188. wel.Part0 = torsy
  1189. wel.Part1 = grab.Head
  1190. wel.C0 = CFrame.new(0, 1.5, 0)
  1191. local bledp = Instance.new("Part", grab)
  1192. bledp.Size = Vector3.new(0, 0, 0)
  1193. bledp.Transparency = 1
  1194. bledp.CanCollide = false
  1195. local blpe = blpemit:Clone()
  1196. blpe.Parent = bledp
  1197. blpe.EmissionDirection = "Top"
  1198. blpe.VelocitySpread = 5
  1199. wel.C0 = CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, 0)
  1200. local bledw = Instance.new("Weld", bledp)
  1201. bledw.Part0 = grab.Head
  1202. bledw.Part1 = bledp
  1203. bledw.C0 = CFrame.new(0, -0.7, 0) * CFrame.Angles(0, 0, math.rad(45))
  1204. so(314390675, torsy, 0.7, 5)
  1205. for i = 0, 1, 0.25 do
  1206. swait()
  1207. PlayAnimationFromTable({
  1208. CFrame.new(-0.37728107, 0.00182711286, -0.228351086, 0.707106352, 0.0616285279, -0.704416513, 0, 0.99619478, 0.0871558264, 0.707107365, -0.0616284423, 0.7044155),
  1209. CFrame.new(-9.90927219E-7, 1.49941754, 0.0767165273, 0.766044199, 0, 0.642788053, 0.0560227223, 0.99619478, -0.066765219, -0.640341938, 0.0871558264, 0.763129056),
  1210. CFrame.new(1.14925241, 0.936202288, -0.560600817, 0.834721982, 0.490812272, 0.249685481, 0.39564395, -0.219157442, -0.891872227, -0.383021295, 0.843251646, -0.377122372),
  1211. CFrame.new(-1.01654804, 1.22616923, -0.180458635, 0.525007069, -0.121539712, -0.8423751, -0.63483566, -0.715151966, -0.292475075, -0.566878796, 0.688320994, -0.452617407),
  1212. CFrame.new(0.499999106, -1.99927592, -0.116537355, 0.965925813, 0, -0.258819491, -0.0225576311, 0.99619478, -0.0841860622, 0.257834613, 0.0871558264, 0.962249994),
  1213. CFrame.new(-0.500003219, -1.99927604, -0.116538122, 0.984807849, 0, 0.173648447, 0.0151344724, 0.99619478, -0.0858317465, -0.17298761, 0.0871558264, 0.981060266)
  1214. }, 0.3, false)
  1215. wel.C0 = CFrame.new(0.7 * i, 1.5, 0) * CFrame.Angles(0, 0, math.rad(-90 * i))
  1216. torsy.CFrame = RootPart.CFrame * CFrame.new(0, 0, -2)
  1217. torsy.Velocity = Vector3.new()
  1218. end
  1219. for i = 1, 30 do
  1220. swait()
  1221. torsy.CFrame = RootPart.CFrame * CFrame.new(0, 0, -2)
  1222. torsy.Velocity = Vector3.new()
  1223. end
  1224. killmortal(grab, 20)
  1225. end
  1226. attack = false
  1227. Humanoid.WalkSpeed = 8
  1228. end
  1229. xhold = false
  1230. function thesurou()
  1231. attack = true
  1232. Humanoid.WalkSpeed = 2
  1233. local grab, torsy, hum
  1234. for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do
  1235. if v:FindFirstChild("Head") and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  1236. hum = v:FindFirstChildOfClass("Humanoid")
  1237. torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
  1238. grab = v
  1239. end
  1240. end
  1241. if grab ~= nil and torsy ~= nil then
  1242. so(200632136, RootPart, 0.8, 1)
  1243. for i = 0, 1.5, 0.1 do
  1244. swait()
  1245. PlayAnimationFromTable({
  1246. CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1247. CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388),
  1248. CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704E-7, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876),
  1249. CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  1250. CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  1251. CFrame.new(-0.499997556, -2, 1.63912773E-7, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557)
  1252. }, 0.3, false)
  1253. torsy.CFrame = RootPart.CFrame * CFrame.new(0, 0, -1.3)
  1254. torsy.Velocity = Vector3.new()
  1255. end
  1256. so(240429615, torsy, 1, 1)
  1257. for i = 0, 1.5, 0.1 do
  1258. swait()
  1259. PlayAnimationFromTable({
  1260. CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388),
  1261. CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201),
  1262. CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287E-7, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975),
  1263. CFrame.new(-1.50000036, 0, -3.81469818E-6, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  1264. CFrame.new(0.500001073, -1.99999905, 7.15255737E-7, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1265. CFrame.new(-0.500000119, -1.99999905, -3.81469818E-6, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024)
  1266. }, 0.3, false)
  1267. torsy.CFrame = RootPart.CFrame * CFrame.new(0, 0, -1.3)
  1268. torsy.Velocity = Vector3.new()
  1269. end
  1270. repeat
  1271. swait()
  1272. PlayAnimationFromTable({
  1273. CFrame.new(-0.00874902681, -4.76837158E-7, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992),
  1274. CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992),
  1275. CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224E-8, 0, 0, 0, -1, -2.98023224E-8, 1.00000012, 0),
  1276. CFrame.new(-1.54019761, 0.669612885, -6.12696294E-6, 0.499998331, 0.866026461, 1.87754631E-6, -0.866026402, 0.499998331, 2.13891599E-6, 8.94069672E-7, -2.71201134E-6, 1.00000012),
  1277. CFrame.new(0.500005782, -1.99999893, -3.82959888E-6, 1.00000012, 0, -2.98023224E-8, 0, 1, 0, -2.98023224E-8, 0, 1.00000012),
  1278. CFrame.new(-0.499995083, -1.99999893, -1.18389726E-5, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718)
  1279. }, 0.3, false)
  1280. torsy.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-90), 0, 0)
  1281. hum.PlatformStand = true
  1282. torsy.Velocity = Vector3.new()
  1283. until xhold == false
  1284. so(200632136, RootPart, 0.9, 1)
  1285. do
  1286. local pato = Instance.new("Part", torsy)
  1287. pato.CFrame = torsy.CFrame
  1288. pato.Size = Vector3.new(4.1, 6.1, 1.1)
  1289. pato.Transparency = 1
  1290. pato.CanCollide = false
  1291. pato.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1292. local werudo = Instance.new("Weld", pato)
  1293. werudo.Part0 = pato
  1294. werudo.Part1 = torsy
  1295. torsy.Velocity = (Mouse.Hit.p - torsy.Position).unit * 100 + Vector3.new(0, 30, 0)
  1296. torsy.RotVelocity = Vector3.new(10, 10, 10)
  1297. coroutine.wrap(function()
  1298. while true do
  1299. swait()
  1300. hum.PlatformStand = true
  1301. end
  1302. end)
  1303. pato.Touched:connect(function(hit)
  1304. if hit:IsDescendantOf(chara) == false then
  1305. pato:Destroy()
  1306. killmortal(grab, 5)
  1307. so(260430079, torsy, 1, 5)
  1308. createSplatter(torsy.Position)
  1309. mdmg(torsy, 3, "Blunt")
  1310. Effects.Wave.Create(BrickColor.new("White"), CFrame.new(torsy.Position), 0, 0, 0, 1, 0.2, 1, 0.1)
  1311. end
  1312. end)
  1313. end
  1314. end
  1315. for i = 0, 1, 0.1 do
  1316. swait()
  1317. PlayAnimationFromTable({
  1318. CFrame.new(-0.0371780396, -4.76837158E-7, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  1319. CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845),
  1320. CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271E-7, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195),
  1321. CFrame.new(-1.59158015, 0.575855374, -7.62939453E-6, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1),
  1322. CFrame.new(0.500011563, -1.99999893, -2.07126141E-6, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1323. CFrame.new(-0.946406364, -1.97320735, -7.62939453E-6, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1)
  1324. }, 0.3, false)
  1325. end
  1326. attack = false
  1327. Humanoid.WalkSpeed = 8
  1328. end
  1329. function thehead()
  1330. attack = true
  1331. Humanoid.WalkSpeed = 2
  1332. local grab, torsy
  1333. for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do
  1334. if v:FindFirstChild("Head") and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  1335. torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
  1336. grab = v
  1337. end
  1338. end
  1339. if grab ~= nil and torsy ~= nil then
  1340. so(200632136, RootPart, 0.8, 1)
  1341. for i = 0, 2, 0.1 do
  1342. swait()
  1343. PlayAnimationFromTable({
  1344. CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661),
  1345. CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661),
  1346. CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304),
  1347. CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768),
  1348. CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173),
  1349. CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326)
  1350. }, 0.3, false)
  1351. torsy.CFrame = RootPart.CFrame * CFrame.new(0, 0, -1.3)
  1352. torsy.Velocity = Vector3.new()
  1353. end
  1354. local armmod = Instance.new("Model", chara)
  1355. armmod.Name = grab.Name
  1356. Instance.new("Humanoid", armmod).Health = 0
  1357. for i, v in pairs(grab:GetChildren()) do
  1358. if v:IsA("Accoutrement") and v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then
  1359. v.Handle.AccessoryWeld.Part1 = nil
  1360. end
  1361. end
  1362. local armp = grab:FindFirstChild("Head")
  1363. createSplatter(armp.Position)
  1364. killmortal(grab, 5)
  1365. armp.Parent = armmod
  1366. for i, v in pairs(grab:GetChildren()) do
  1367. if v:IsA("Accoutrement") and v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then
  1368. v.Handle.AccessoryWeld.Part1 = armp
  1369. v.Parent = armmod
  1370. end
  1371. end
  1372. so(206082327, armp, 1, 5)
  1373. local bledp = Instance.new("Part", grab)
  1374. bledp.Size = Vector3.new(0, 0, 0)
  1375. bledp.Transparency = 1
  1376. bledp.CanCollide = false
  1377. local blpe = blpemit:Clone()
  1378. blpe.Parent = bledp
  1379. blpe.EmissionDirection = "Top"
  1380. blpe.VelocitySpread = 20
  1381. local wel = Instance.new("Weld", armp)
  1382. wel.Part0 = RightArm
  1383. wel.Part1 = armp
  1384. wel.C0 = CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-90), 0, 0)
  1385. local blape = bledp:Clone()
  1386. blape.Parent = armmod
  1387. blape.ParticleEmitter.EmissionDirection = "Bottom"
  1388. local bledw = Instance.new("Weld", bledp)
  1389. bledw.Part0 = torsy
  1390. bledw.Part1 = bledp
  1391. bledw.C0 = CFrame.new(0, 1, 0)
  1392. local bledw2 = Instance.new("Weld", blape)
  1393. bledw2.Part0 = armp
  1394. bledw2.Part1 = blape
  1395. bledw2.C0 = CFrame.new(0, -0.5, 0)
  1396. grabhead = true
  1397. heddo = armp
  1398. for i = 0, 1, 0.25 do
  1399. swait()
  1400. PlayAnimationFromTable({
  1401. CFrame.new(-0.37728107, 0.00182711286, -0.228351086, 0.707106352, 0.0616285279, -0.704416513, 0, 0.99619478, 0.0871558264, 0.707107365, -0.0616284423, 0.7044155),
  1402. CFrame.new(-9.90927219E-7, 1.49941754, 0.0767165273, 0.766044199, 0, 0.642788053, 0.0560227223, 0.99619478, -0.066765219, -0.640341938, 0.0871558264, 0.763129056),
  1403. CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704E-7, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876),
  1404. CFrame.new(-1.01654804, 1.22616923, -0.180458635, 0.525007069, -0.121539712, -0.8423751, -0.63483566, -0.715151966, -0.292475075, -0.566878796, 0.688320994, -0.452617407),
  1405. CFrame.new(0.499999106, -1.99927592, -0.116537355, 0.965925813, 0, -0.258819491, -0.0225576311, 0.99619478, -0.0841860622, 0.257834613, 0.0871558264, 0.962249994),
  1406. CFrame.new(-0.500003219, -1.99927604, -0.116538122, 0.984807849, 0, 0.173648447, 0.0151344724, 0.99619478, -0.0858317465, -0.17298761, 0.0871558264, 0.981060266)
  1407. }, 0.3, false)
  1408. end
  1409. swait(30)
  1410. end
  1411. attack = false
  1412. Humanoid.WalkSpeed = 8
  1413. end
  1414. function headthrow()
  1415. attack = true
  1416. Humanoid.WalkSpeed = 2
  1417. for i = 0, 2, 0.1 do
  1418. swait()
  1419. PlayAnimationFromTable({
  1420. CFrame.new(-0.00874902681, -4.76837158E-7, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992),
  1421. CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992),
  1422. CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224E-8, 0, 0, 0, -1, -2.98023224E-8, 1.00000012, 0),
  1423. CFrame.new(-1.54019761, 0.669612885, -6.12696294E-6, 0.499998331, 0.866026461, 1.87754631E-6, -0.866026402, 0.499998331, 2.13891599E-6, 8.94069672E-7, -2.71201134E-6, 1.00000012),
  1424. CFrame.new(0.500005782, -1.99999893, -3.82959888E-6, 1.00000012, 0, -2.98023224E-8, 0, 1, 0, -2.98023224E-8, 0, 1.00000012),
  1425. CFrame.new(-0.499995083, -1.99999893, -1.18389726E-5, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718)
  1426. }, 0.3, false)
  1427. end
  1428. so(200632136, RootPart, 0.8, 1)
  1429. local haea = heddo
  1430. haea.Weld:Destroy()
  1431. haea.Velocity = (Mouse.Hit.p - haea.Position).unit * 200 + Vector3.new(0, 30, 0)
  1432. haea.RotVelocity = Vector3.new(10, 10, 10)
  1433. haea.Touched:connect(function(hit)
  1434. if hit:IsDescendantOf(chara) == false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA") == nil then
  1435. print("BOOBIES")
  1436. Instance.new("BoolValue", haea).Name = "HITA"
  1437. Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, 0.2, 1, 0.1)
  1438. killmortal(hit.Parent, 50)
  1439. so(386946017, haea, 0.95, 5)
  1440. swait(120)
  1441. for i = 0, 1, 0.05 do
  1442. haea.Transparency = i
  1443. swait()
  1444. end
  1445. haea.Parent:Destroy()
  1446. end
  1447. end)
  1448. heddo = nil
  1449. grabhead = false
  1450. for i = 0, 1, 0.1 do
  1451. swait()
  1452. PlayAnimationFromTable({
  1453. CFrame.new(-0.0371780396, -4.76837158E-7, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  1454. CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845),
  1455. CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271E-7, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195),
  1456. CFrame.new(-1.59158015, 0.575855374, -7.62939453E-6, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1),
  1457. CFrame.new(0.500011563, -1.99999893, -2.07126141E-6, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1458. CFrame.new(-0.946406364, -1.97320735, -7.62939453E-6, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1)
  1459. }, 0.3, false)
  1460. end
  1461. attack = false
  1462. Humanoid.WalkSpeed = 8
  1463. end
  1464. function therip()
  1465. attack = true
  1466. Humanoid.WalkSpeed = 2
  1467. local grab, torsy, hum
  1468. for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do
  1469. if v:FindFirstChild("Head") and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  1470. hum = v:FindFirstChildOfClass("Humanoid")
  1471. torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
  1472. grab = v
  1473. end
  1474. end
  1475. if grab ~= nil and torsy ~= nil then
  1476. so(200632136, RootPart, 0.8, 1)
  1477. for i = 0, 1.5, 0.1 do
  1478. swait()
  1479. PlayAnimationFromTable({
  1480. CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1481. CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388),
  1482. CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704E-7, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876),
  1483. CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  1484. CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  1485. CFrame.new(-0.499997556, -2, 1.63912773E-7, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557)
  1486. }, 0.3, false)
  1487. torsy.CFrame = RootPart.CFrame * CFrame.new(0, 0, -1.3)
  1488. torsy.Velocity = Vector3.new()
  1489. end
  1490. so(240429615, torsy, 1, 1)
  1491. for i = 0, 1.5, 0.1 do
  1492. swait()
  1493. PlayAnimationFromTable({
  1494. CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388),
  1495. CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201),
  1496. CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287E-7, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975),
  1497. CFrame.new(-1.50000036, 0, -3.81469818E-6, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  1498. CFrame.new(0.500001073, -1.99999905, 7.15255737E-7, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1499. CFrame.new(-0.500000119, -1.99999905, -3.81469818E-6, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024)
  1500. }, 0.3, false)
  1501. torsy.CFrame = RootPart.CFrame * CFrame.new(0, 0, -1.3)
  1502. torsy.Velocity = Vector3.new()
  1503. end
  1504. for i = 0, 3, 0.1 do
  1505. swait()
  1506. PlayAnimationFromTable({
  1507. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1508. CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  1509. CFrame.new(1.45148087, 1.32618856, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  1510. CFrame.new(-1.48567963, 1.22015762, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  1511. CFrame.new(0.500001848, -1.99999988, 1.62422657E-6, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736),
  1512. CFrame.new(-0.500001848, -1.99999988, 1.62422657E-6, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736)
  1513. }, 0.3, false)
  1514. torsy.CFrame = clerp(torsy.CFrame, RootPart.CFrame * CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90)), 0.3)
  1515. hum.PlatformStand = true
  1516. torsy.Velocity = Vector3.new()
  1517. end
  1518. so(206082327, torsy, 1, 5)
  1519. createSplatter(torsy.Position)
  1520. if hum.RigType == Enum.HumanoidRigType.R6 then
  1521. do
  1522. local lleg = grab:FindFirstChild("Left Leg")
  1523. local rleg = grab:FindFirstChild("Right Leg")
  1524. local mad = Instance.new("Model", workspace)
  1525. Instance.new("Humanoid", mad).Health = 0
  1526. mad.Humanoid.MaxHealth = 0
  1527. if grab:FindFirstChildOfClass("Pants") then
  1528. grab:FindFirstChildOfClass("Pants"):Clone().Parent = mad
  1529. end
  1530. killmortal(grab, 0)
  1531. coroutine.wrap(function()
  1532. swait(2)
  1533. torsy.Velocity = RootPart.CFrame.rightVector * -30
  1534. lleg.Parent = mad
  1535. rleg.Parent = mad
  1536. lleg.CanCollide = true
  1537. rleg.CanCollide = true
  1538. lleg:BreakJoints()
  1539. rleg:BreakJoints()
  1540. lleg.Velocity = RootPart.CFrame.rightVector * 30
  1541. rleg.Velocity = RootPart.CFrame.rightVector * 30
  1542. local bledp = Instance.new("Part", mad)
  1543. bledp.Size = Vector3.new(0, 0, 0)
  1544. bledp.Transparency = 1
  1545. bledp.CanCollide = false
  1546. local blpe = blpemit:Clone()
  1547. blpe.Parent = bledp
  1548. blpe.EmissionDirection = "Top"
  1549. blpe.VelocitySpread = 20
  1550. local bledp2 = bledp:Clone()
  1551. bledp2.Parent = mad
  1552. local blape = bledp:Clone()
  1553. blape.Parent = mad
  1554. blape.ParticleEmitter.EmissionDirection = "Bottom"
  1555. blape.Size = Vector3.new(1.5, 0, 0)
  1556. local bledw = Instance.new("Weld", bledp)
  1557. bledw.Part0 = lleg
  1558. bledw.Part1 = bledp
  1559. bledw.C0 = CFrame.new(0, 1, 0)
  1560. local bledw2 = Instance.new("Weld", blape)
  1561. bledw2.Part0 = torsy
  1562. bledw2.Part1 = blape
  1563. bledw2.C0 = CFrame.new(0, -0.5, 0)
  1564. local bledw3 = Instance.new("Weld", bledp2)
  1565. bledw.Part0 = rleg
  1566. bledw.Part1 = bledp2
  1567. bledw.C0 = CFrame.new(0, 1, 0)
  1568. game:service("Debris"):AddItem(mad, 15)
  1569. end)()
  1570. end
  1571. elseif hum.RigType == Enum.HumanoidRigType.R15 then
  1572. do
  1573. local hip = grab:FindFirstChild("LowerTorso")
  1574. local lleg = grab:FindFirstChild("LeftUpperLeg")
  1575. local rleg = grab:FindFirstChild("RightUpperLeg")
  1576. killmortal(grab, 0)
  1577. coroutine.wrap(function()
  1578. swait(2)
  1579. hip:Destroy()
  1580. torsy.Velocity = RootPart.CFrame.rightVector * -60
  1581. lleg.Velocity = RootPart.CFrame.rightVector * 60
  1582. rleg.Velocity = RootPart.CFrame.rightVector * 60
  1583. local bledp = Instance.new("Part", torsy.Parent)
  1584. bledp.Size = Vector3.new(0, 0, 0)
  1585. bledp.Transparency = 1
  1586. bledp.CanCollide = false
  1587. local blpe = blpemit:Clone()
  1588. blpe.Parent = bledp
  1589. blpe.EmissionDirection = "Top"
  1590. blpe.VelocitySpread = 20
  1591. local bledp2 = bledp:Clone()
  1592. bledp2.Parent = torsy.Parent
  1593. local blape = bledp:Clone()
  1594. blape.Parent = torsy.Parent
  1595. blape.ParticleEmitter.EmissionDirection = "Bottom"
  1596. blape.Size = Vector3.new(1.5, 0, 0)
  1597. local bledw = Instance.new("Weld", bledp)
  1598. bledw.Part0 = lleg
  1599. bledw.Part1 = bledp
  1600. bledw.C0 = CFrame.new(0, 1, 0)
  1601. local bledw2 = Instance.new("Weld", blape)
  1602. bledw2.Part0 = torsy
  1603. bledw2.Part1 = blape
  1604. bledw2.C0 = CFrame.new(0, -0.5, 0)
  1605. local bledw3 = Instance.new("Weld", bledp2)
  1606. bledw.Part0 = rleg
  1607. bledw.Part1 = bledp2
  1608. bledw.C0 = CFrame.new(0, 1, 0)
  1609. end)()
  1610. end
  1611. end
  1612. for i = 0, 2, 0.1 do
  1613. swait()
  1614. PlayAnimationFromTable({
  1615. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1616. CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  1617. CFrame.new(1.45148087, 0.22618866, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1),
  1618. CFrame.new(-1.48567963, 0.220157385, 0, 0, 1, 0, 1, 0, 0, 0, 0, -1),
  1619. CFrame.new(0.500001848, -1.99999988, 1.62422657E-6, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736),
  1620. CFrame.new(-0.499995321, -1.99999988, -2.78651714E-6, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736)
  1621. }, 0.3, false)
  1622. end
  1623. end
  1624. attack = false
  1625. Humanoid.WalkSpeed = 8
  1626. end
  1627. function thecrush()
  1628. attack = true
  1629. Humanoid.WalkSpeed = 0
  1630. local grab, torsy, heddo, hum
  1631. for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do
  1632. if v:FindFirstChild("Head") and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  1633. hum = v:FindFirstChildOfClass("Humanoid")
  1634. torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
  1635. heddo = v:FindFirstChild("Head")
  1636. grab = v
  1637. end
  1638. end
  1639. if grab ~= nil and torsy ~= nil then
  1640. so(200632136, RootPart, 0.8, 1)
  1641. for i = 0, 1.5, 0.1 do
  1642. swait()
  1643. PlayAnimationFromTable({
  1644. CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1645. CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388),
  1646. CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704E-7, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876),
  1647. CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  1648. CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  1649. CFrame.new(-0.499997556, -2, 1.63912773E-7, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557)
  1650. }, 0.3, false)
  1651. torsy.CFrame = RootPart.CFrame * CFrame.new(0, 0, -1.3)
  1652. torsy.Velocity = Vector3.new()
  1653. end
  1654. so(240429615, torsy, 1, 1)
  1655. if torsy.Name == "UpperTorso" then
  1656. heddo.CFrame = RootPart.CFrame * CFrame.new(-2, -3, -1) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
  1657. else
  1658. heddo.CFrame = RootPart.CFrame * CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
  1659. end
  1660. heddo.Anchored = true
  1661. for i = 0, 1.5, 0.1 do
  1662. swait()
  1663. PlayAnimationFromTable({
  1664. CFrame.new(0, 0, 0, 0.866025567, 3.5521316E-7, 0.500010252, 4.93042535E-6, 1.00000048, -7.94596781E-6, -0.50000006, -9.23901825E-6, 0.866042376),
  1665. CFrame.new(0.021950826, 1.50780511, -0.243860856, 0.852867603, 0.029702425, -0.521282434, 0.173647955, 0.925416946, 0.336825043, 0.492411494, -0.377797663, 0.784104764),
  1666. CFrame.new(0.956388712, -0.0409758762, -0.674532533, 0.766045928, 0.604021251, 0.219847187, -0.219834015, 0.567593455, -0.793417811, -0.604028642, 0.559465349, 0.567598879),
  1667. CFrame.new(-1.50000024, -1.14488239E-5, 8.18094031E-6, 1.00000012, 4.93042535E-6, 2.68220901E-7, 4.93042535E-6, 1.00000048, -7.94596781E-6, 2.68220901E-7, -7.94596781E-6, 1.00001991),
  1668. CFrame.new(0.499976635, -1.99998999, 3.24696302E-5, 0.866025567, 4.93042535E-6, -0.50000006, 3.5521316E-7, 1.00000048, -9.23901825E-6, 0.500010252, -7.94596781E-6, 0.866042376),
  1669. CFrame.new(-0.500013709, -2.00000167, 3.48316753E-5, 1.00000012, 4.93042535E-6, 2.68220901E-7, 4.93042535E-6, 1.00000048, -7.94596781E-6, 2.68220901E-7, -7.94596781E-6, 1.00001991)
  1670. }, 0.3, false)
  1671. end
  1672. for i = 0, 3, 0.1 do
  1673. swait()
  1674. PlayAnimationFromTable({
  1675. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1676. CFrame.new(0, 1.46578956, -0.0939694047, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1677. CFrame.new(1.52320564, 0.359808445, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1),
  1678. CFrame.new(-1.52320766, 0.359808564, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1),
  1679. CFrame.new(0.5, -1.19999838, -0.600002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1680. CFrame.new(-0.5, -1.9999994, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1681. }, 0.3, false)
  1682. end
  1683. so(206082327, torsy, 1, 5)
  1684. killmortal(grab, 0)
  1685. createSplatter(heddo.Position)
  1686. coroutine.wrap(function()
  1687. swait(3)
  1688. local passa = heddo.Position
  1689. heddo:Destroy()
  1690. for i = 1, 15 do
  1691. local bl = Instance.new("Part", torsy)
  1692. bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10, 10) / 10, 0, math.random(-10, 10) / 10)
  1693. local rand = math.random(2, 7) / 10
  1694. bl.Size = Vector3.new(rand, rand, rand)
  1695. bl.BrickColor = BrickColor.new("Really red")
  1696. bl.Material = "Plastic"
  1697. end
  1698. end)()
  1699. for i = 0, 3, 0.1 do
  1700. swait()
  1701. PlayAnimationFromTable({
  1702. CFrame.new(0, -0.115425974, -0.607762575, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1703. CFrame.new(0, 1.46579063, -0.0939693749, 1, 0, 0, 0, 0.939692438, 0.342020929, 0, -0.342020959, 0.939692438),
  1704. CFrame.new(1.52320361, 0.359808356, 2.34974073E-6, 0.86602509, -0.500000656, -3.33671437E-7, 0.500000715, 0.86602509, 2.08616257E-7, 1.78813934E-7, -3.87430191E-7, 1),
  1705. CFrame.new(-1.5232048, 0.359810114, 2.34974073E-6, 0.86602509, 0.500000656, 3.33671437E-7, -0.500000715, 0.86602509, 2.08616257E-7, -1.78813934E-7, -3.87430191E-7, 1),
  1706. CFrame.new(0.5, -1.6025629, -1.10711849, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1707. CFrame.new(-0.5, -1.99999857, 3.87430191E-6, 1, 0, 0, 0, 1, -2.98023224E-8, 0, -2.98023224E-8, 1)
  1708. }, 0.4, false)
  1709. end
  1710. end
  1711. attack = false
  1712. Humanoid.WalkSpeed = 8
  1713. end
  1714. function thehand()
  1715. attack = true
  1716. Humanoid.WalkSpeed = 2
  1717. local grab, torsy, totear, hum
  1718. for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do
  1719. if v:FindFirstChild("Head") and (v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm")) and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  1720. torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
  1721. grab = v
  1722. totear = v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm")
  1723. hum = v:FindFirstChildOfClass("Humanoid")
  1724. end
  1725. end
  1726. if grab ~= nil and torsy ~= nil and totear ~= nil and hum ~= nil then
  1727. so(200632136, RootPart, 0.8, 1)
  1728. for i = 0, 2, 0.1 do
  1729. swait()
  1730. PlayAnimationFromTable({
  1731. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1732. CFrame.new(0, 1.49999475, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1733. CFrame.new(1.0939827, 0.850001335, -0.515790701, 0, -0.342019916, 0.939692736, 1, 0, 0, 0, 0.939692736, 0.342019886),
  1734. CFrame.new(-0.900009155, 0.849995136, -0.549995422, 0, 0, -1, -1, 0, 0, 0, 1, 0),
  1735. CFrame.new(0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1736. CFrame.new(-0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1737. }, 0.3, false)
  1738. torsy.CFrame = RootPart.CFrame * CFrame.new(0, 0, -1.3)
  1739. torsy.Velocity = Vector3.new()
  1740. end
  1741. so(206082327, totear, 1, 5)
  1742. local bledp = Instance.new("Part", grab)
  1743. bledp.Size = Vector3.new(0, 0, 0)
  1744. bledp.Transparency = 1
  1745. bledp.CanCollide = false
  1746. local blpe = blpemit:Clone()
  1747. blpe.Parent = bledp
  1748. blpe.EmissionDirection = "Left"
  1749. local armmod = Instance.new("Model", chara)
  1750. armmod.Name = "TornArmdd"
  1751. Instance.new("Humanoid", armmod).MaxHealth = 0
  1752. for _, v in pairs(grab:GetChildren()) do
  1753. if v:IsA("Shirt") or v:IsA("CharacterMesh") then
  1754. v:Clone().Parent = armmod
  1755. end
  1756. end
  1757. local armp = totear
  1758. createSplatter(totear.Position)
  1759. armp:BreakJoints()
  1760. armp.Parent = armmod
  1761. so("206082327", armp, 1, 1)
  1762. local wel = Instance.new("Weld", armp)
  1763. wel.Part0 = RightArm
  1764. wel.Part1 = armp
  1765. wel.C0 = CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, 0)
  1766. local blape = bledp:Clone()
  1767. blape.Parent = armmod
  1768. local bledw = Instance.new("Weld", bledp)
  1769. bledw.Part0 = torsy
  1770. bledw.Part1 = bledp
  1771. local bledw2 = Instance.new("Weld", blape)
  1772. bledw2.Part0 = armp
  1773. bledw2.Part1 = blape
  1774. bledw.C0 = CFrame.new(1, 0.5, 0)
  1775. bledw2.C0 = CFrame.new(-0.5, 0.5, 0)
  1776. blpe.EmissionDirection = "Right"
  1777. grabhand = true
  1778. armo = armp
  1779. coroutine.wrap(function()
  1780. local currhp = hum.Health
  1781. for i = 1, currhp do
  1782. if hum.Health > 0 then
  1783. hum.Health = currhp - (i - 1)
  1784. swait(3)
  1785. end
  1786. end
  1787. if hum.Health > 0 then
  1788. killmortal(grab, 0)
  1789. end
  1790. end)()
  1791. for i = 0, 1, 0.25 do
  1792. swait()
  1793. PlayAnimationFromTable({
  1794. CFrame.new(0, 0, 0, 0.866021276, 0, -0.499997795, 0, 1, 0, 0.499997914, 0, 0.866021156),
  1795. CFrame.new(0, 1.49999189, 0, 0.866021276, 0, 0.499997914, 0, 1, 0, -0.499997795, 0, 0.866021156),
  1796. CFrame.new(1.50001729, 0.492406696, 0.0868175104, 0.642792583, -0.766034186, -7.97212124E-7, -0.133019835, -0.111618251, -0.984808207, 0.754396439, 0.633027494, -0.173645109),
  1797. CFrame.new(-1.38039482, 0.919607162, -0.300003946, 0, 0.500000179, -0.866022646, -1, 0, 0, 0, 0.866022587, 0.500000119),
  1798. CFrame.new(0.500005305, -1.99999964, -7.61445699E-6, 0.99999541, 0, 2.98023224E-8, 0, 1, 0, 2.98023224E-8, 0, 0.999995232),
  1799. CFrame.new(-0.499997407, -1.99999964, -5.43892384E-6, 0.766040862, 0, 0.642784715, 0, 1, 0, -0.642784536, 0, 0.766040802)
  1800. }, 0.3, false)
  1801. end
  1802. swait(30)
  1803. end
  1804. attack = false
  1805. Humanoid.WalkSpeed = 8
  1806. end
  1807. function armthrow()
  1808. attack = true
  1809. Humanoid.WalkSpeed = 2
  1810. for i = 0, 2, 0.1 do
  1811. swait()
  1812. PlayAnimationFromTable({
  1813. CFrame.new(-0.00874902681, -4.76837158E-7, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992),
  1814. CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992),
  1815. CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224E-8, 0, 0, 0, -1, -2.98023224E-8, 1.00000012, 0),
  1816. CFrame.new(-1.54019761, 0.669612885, -6.12696294E-6, 0.499998331, 0.866026461, 1.87754631E-6, -0.866026402, 0.499998331, 2.13891599E-6, 8.94069672E-7, -2.71201134E-6, 1.00000012),
  1817. CFrame.new(0.500005782, -1.99999893, -3.82959888E-6, 1.00000012, 0, -2.98023224E-8, 0, 1, 0, -2.98023224E-8, 0, 1.00000012),
  1818. CFrame.new(-0.499995083, -1.99999893, -1.18389726E-5, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718)
  1819. }, 0.3, false)
  1820. end
  1821. so(200632136, RootPart, 0.8, 1)
  1822. local haea = armo
  1823. haea.Weld:Destroy()
  1824. haea.Velocity = (Mouse.Hit.p - haea.Position).unit * 200 + Vector3.new(0, 30, 0)
  1825. haea.RotVelocity = Vector3.new(10, 10, 10)
  1826. haea.Touched:connect(function(hit)
  1827. if hit:IsDescendantOf(chara) == false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA") == nil then
  1828. print("BOOBIES")
  1829. Instance.new("BoolValue", haea).Name = "HITA"
  1830. Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, 0.2, 1, 0.1)
  1831. killmortal(hit.Parent, 50)
  1832. so(386946017, haea, 0.95, 5)
  1833. swait(120)
  1834. for i = 0, 1, 0.05 do
  1835. haea.Transparency = i
  1836. swait()
  1837. end
  1838. haea.Parent:Destroy()
  1839. end
  1840. end)
  1841. armo = nil
  1842. grabhand = false
  1843. for i = 0, 1, 0.1 do
  1844. swait()
  1845. PlayAnimationFromTable({
  1846. CFrame.new(-0.0371780396, -4.76837158E-7, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  1847. CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845),
  1848. CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271E-7, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195),
  1849. CFrame.new(-1.59158015, 0.575855374, -7.62939453E-6, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1),
  1850. CFrame.new(0.500011563, -1.99999893, -2.07126141E-6, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1851. CFrame.new(-0.946406364, -1.97320735, -7.62939453E-6, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1)
  1852. }, 0.3, false)
  1853. end
  1854. attack = false
  1855. Humanoid.WalkSpeed = 8
  1856. end
  1857. function smek()
  1858. attack = true
  1859. for i = 0, 1, 0.2 do
  1860. swait()
  1861. PlayAnimationFromTable({
  1862. CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  1863. CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  1864. CFrame.new(1.6195364, 0.256343663, -3.60019794E-6, 0.939692736, -0.342020124, -8.94069672E-8, 0.342020154, 0.939692676, -4.35416268E-7, 2.08616257E-7, 3.87430191E-7, 1),
  1865. CFrame.new(-1.65980804, 0.323206544, 5.72385352E-6, 0.866025329, 0.500000238, -2.98023224E-7, -0.500000179, 0.866025388, -1.34623383E-6, -4.47034836E-7, 1.29640102E-6, 1.00000012),
  1866. CFrame.new(0.500001073, -2.00000095, -1.57952309E-6, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616),
  1867. CFrame.new(-0.499998212, -2.00000095, 1.49011612E-6, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544)
  1868. }, 0.3, false)
  1869. end
  1870. Humanoid.WalkSpeed = 2
  1871. so(536642316, armo, 1, 1)
  1872. for i = 0, 1, 0.1 do
  1873. swait()
  1874. PlayAnimationFromTable({
  1875. CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992),
  1876. CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992),
  1877. CFrame.new(1.06065702, 1.09677029, -0.161810428, 0.400286436, 0.242276207, 0.88378346, 0.734158754, -0.661962748, -0.151050553, 0.548435688, 0.709300876, -0.442843854),
  1878. CFrame.new(-1.59605861, 0.10887894, 1.11486224E-6, 0.984807909, 0.173648059, -2.23517418E-6, -0.173648059, 0.984807849, 3.82394944E-7, 2.29477882E-6, 1.86264515E-8, 1),
  1879. CFrame.new(0.685087919, -1.96527183, 0.0673596561, 0.92541647, -0.163175598, -0.342020869, 0.173647985, 0.984807849, 2.90093368E-7, 0.336824894, -0.0593915246, 0.939692438),
  1880. CFrame.new(-0.499999702, -2.00000095, 8.68737698E-6, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511)
  1881. }, 0.3, false)
  1882. if armo ~= nil then
  1883. mdmg(armo, 3, "Arm")
  1884. end
  1885. end
  1886. swait(5)
  1887. Humanoid.WalkSpeed = 8
  1888. attack = false
  1889. end
  1890. function dash()
  1891. attack = true
  1892. so("235097614", Torso, 3, 1)
  1893. so("75356820", Torso, 2, 1)
  1894. Effects.Ring.Create(BrickColor.new("Persimmon"), RootPart.CFrame, 1, 1, 0, 1, 1, 0.2, 0.05)
  1895. PlayAnimationFromTable({
  1896. CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999998331, 0, 0, 0, 0.999998331) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-35), 0, 0),
  1897. CFrame.new(0, 1.49999368, 8.34463322E-7, 1, 0, 0, 0, 0.999998033, -2.38418579E-7, 0, 2.38418579E-7, 0.999998033) * CFrame.Angles(math.rad(15), 0, 0),
  1898. CFrame.new(0.663555026, 0.49231568, -0.850663185, 0.015370708, 0.692666352, 0.721096218, 0.999231637, 0.0153704779, -0.036063727, -0.0360642895, 0.721095979, -0.691897511) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1899. CFrame.new(-1.57927585, 0.317291111, 0.397556216, 0.809802711, 0.208654553, 0.548345804, -0.517000973, 0.695623755, 0.498816311, -0.277362049, -0.687437952, 0.671192646) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1900. CFrame.new(0.49999693, -1.99999774, -8.94069672E-8, 0.965925872, 3.7422879E-7, -0.258818924, 0.0449429974, 0.984807849, 0.167731062, 0.254886955, -0.173647881, 0.951251388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1901. CFrame.new(-0.486001939, -1.31615341, 0.112926364, 1.00000167, 1.25169754E-6, -1.87754631E-6, 8.64267349E-7, 0.573579729, 0.819149494, -4.61935997E-7, -0.819151759, 0.573578417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1902. }, 1, false)
  1903. for i = 1, 5 do
  1904. for _, v in pairs(chara:children()) do
  1905. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  1906. do
  1907. local p = v:clone()
  1908. p.Name = "trail"
  1909. p.Parent = EffectModel
  1910. p.Transparency = 0.5
  1911. p.Anchored = true
  1912. p.BrickColor = BrickColor.new("Really red")
  1913. p.Material = "Neon"
  1914. p:BreakJoints()
  1915. p.CanCollide = false
  1916. if v == Head then
  1917. for a, b in pairs(p:children()) do
  1918. if b:IsA("Sound") then
  1919. b:Destroy()
  1920. end
  1921. end
  1922. end
  1923. coroutine.resume(coroutine.create(function()
  1924. for i = 1, 50 do
  1925. swait()
  1926. p.Transparency = i / 50
  1927. end
  1928. p:Destroy()
  1929. end))
  1930. end
  1931. end
  1932. if v.className == "Accessory" then
  1933. end
  1934. end
  1935. RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 10
  1936. swait()
  1937. end
  1938. attack = false
  1939. end
  1940. function scream()
  1941. attack = true
  1942. Humanoid.WalkSpeed = 0
  1943. for i = 0, 1, 0.1 do
  1944. swait()
  1945. PlayAnimationFromTable({
  1946. CFrame.new(0, 0.0885660946, 0.326515794, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  1947. CFrame.new(0, 1.43158889, 0.18794021, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438),
  1948. CFrame.new(1.5, 0.099998951, 9.56654503E-7, 0, -1, 0, -1, 0, -2.98023224E-8, -2.98023224E-8, 0, -1),
  1949. CFrame.new(-1.5, 0.099998951, 9.56654503E-7, 0, 1, 0, 1, 0, -2.98023224E-8, 2.98023224E-8, 0, -1),
  1950. CFrame.new(0.696960211, -2.04165077, 0.395629227, 0.984807849, -0.173647985, 0, 0.163175747, 0.925416768, 0.342019916, -0.0593910627, -0.336823881, 0.939692736),
  1951. CFrame.new(-0.696963668, -2.04164839, 0.395628393, 0.984807849, 0.173647985, 0, -0.163175747, 0.925416768, 0.342019916, 0.0593910627, -0.336823881, 0.939692736)
  1952. }, 0.3, false)
  1953. end
  1954. so(51322486, Torso, 0.5, 5)
  1955. so(90696602, Torso, 0.5, 5)
  1956. for i = 1, 120 do
  1957. mdmg(Torso, 20, "Scream")
  1958. Effects.Ring.Create(BrickColor.new("New Yeller"), RootPart.CFrame * CFrame.Angles(math.rad(math.random(0, 360)), math.rad(math.random(0, 360)), math.rad(math.random(0, 360))), 1, 1, 0, 2, 2, 0.2, 0.05)
  1959. Effects.Wave.Create(BrickColor.new("New Yeller"), RootPart.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(0, math.random(-50, 50), 0), 1, 0, 1, 2, 0.1, 2, 0.05)
  1960. swait()
  1961. end
  1962. Humanoid.WalkSpeed = 8
  1963. attack = false
  1964. end
  1965. function handcrack()
  1966. attack = true
  1967. Humanoid.WalkSpeed = 0
  1968. for i = 0, 1, 0.1 do
  1969. swait()
  1970. PlayAnimationFromTable({
  1971. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1972. CFrame.new(0, 1.4657917, -0.0939691663, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1973. CFrame.new(0.849929154, 0.669377863, -0.285191476, 0.133021966, 0.754403889, 0.642790735, 0.989228785, -0.0610861331, -0.133022368, -0.0610869862, 0.65356195, -0.754403949),
  1974. CFrame.new(-0.949649334, 0.569002092, -0.378571123, 0, -0.866025269, -0.500000298, -0.984807849, 0.0868240297, -0.150383547, 0.173647985, 0.492404163, -0.852868497),
  1975. CFrame.new(0.499994665, -1.99999988, -9.83476639E-7, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736),
  1976. CFrame.new(-0.500002503, -1.99999988, -1.78813934E-7, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736)
  1977. }, 0.3, false)
  1978. end
  1979. so(240428955, Head, 1, 5)
  1980. swait(10)
  1981. Humanoid.WalkSpeed = 8
  1982. attack = false
  1983. end
  1984. if Player.UserId ~= Player.UserId then
  1985. chara:BreakJoints()
  1986. end
  1987. Mouse.Button1Down:connect(function()
  1988. if attack == false then
  1989. if grabhead == true then
  1990. headthrow()
  1991. elseif grabhand == true then
  1992. smek()
  1993. end
  1994. end
  1995. end)
  1996. local sprintt = 0
  1997. if Player.UserId ~= Player.UserId then
  1998. chara:BreakJoints()
  1999. end
  2000. Mouse.KeyDown:connect(function(k)
  2001. k = k:lower()
  2002. if k == "m" then
  2003. if mus.IsPlaying == true then
  2004. mus:Stop()
  2005. elseif mus.IsPaused == true then
  2006. mus:Play()
  2007. end
  2008. end
  2009. if attack == false then
  2010. if k == "z" and grabhead == false and grabhand == false then
  2011. thenatsuki()
  2012. elseif k == "x" and grabhead == false and grabhand == false then
  2013. xhold = true
  2014. thesurou()
  2015. elseif k == "c" and grabhead == false and grabhand == false then
  2016. therip()
  2017. elseif k == "v" and grabhead == false and grabhand == false then
  2018. thecrush()
  2019. elseif k == "b" then
  2020. if grabhead == true then
  2021. headthrow()
  2022. else
  2023. thehead()
  2024. end
  2025. elseif k == "n" then
  2026. if grabhand == true then
  2027. armthrow()
  2028. else
  2029. thehand()
  2030. end
  2031. elseif k == "e" then
  2032. dash()
  2033. elseif k == "g" then
  2034. handcrack()
  2035. elseif k == "h" then
  2036. scream()
  2037. end
  2038. end
  2039. end)
  2040. Mouse.KeyUp:connect(function(k)
  2041. k = k:lower()
  2042. if k == "x" then
  2043. xhold = false
  2044. end
  2045. end)
  2046. if Player.UserId ~= Player.UserId then
  2047. chara:BreakJoints()
  2048. end
  2049. coroutine.wrap(function()
  2050. while true do
  2051. swait()
  2052. if doe <= 360 then
  2053. doe = doe + 2
  2054. else
  2055. doe = 0
  2056. end
  2057. end
  2058. end)()
  2059. while true do
  2060. swait()
  2061. for i, v in pairs(chara:GetChildren()) do
  2062. if v:IsA("Part") then
  2063. v.Material = "SmoothPlastic"
  2064. elseif v:IsA("Accessory") then
  2065. v:WaitForChild("Handle").Material = "SmoothPlastic"
  2066. end
  2067. end
  2068. while true do
  2069. swait()
  2070. if sprintt >= 1 then
  2071. sprintt = sprintt - 1
  2072. end
  2073. if Player.UserId ~= Player.UserId then
  2074. chara:BreakJoints()
  2075. end
  2076. if Head:FindFirstChild("mus") == nil then
  2077. mus = Instance.new("Sound", Head)
  2078. mus.Name = "mus"
  2079. mus.SoundId = "rbxassetid://153384019"
  2080. mus.Looped = true
  2081. mus.Volume = 1
  2082. mus:Play()
  2083. end
  2084. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2085. velocity = RootPart.Velocity.y
  2086. sine = sine + change
  2087. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, chara)
  2088. if RootPart.Velocity.y > 1 and hit == nil then
  2089. Anim = "Jump"
  2090. if attack == false then
  2091. PlayAnimationFromTable({
  2092. CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  2093. CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855),
  2094. CFrame.new(1.20945489, -0.213504896, 3.55388607E-7, 0.939692736, 0.342019916, 1.53461215E-7, -0.342019945, 0.939692736, 1.93715096E-7, -8.56816769E-8, -2.23517418E-7, 1.00000012),
  2095. CFrame.new(-1.20945573, -0.213503733, 5.0439985E-7, 0.939692736, -0.342019916, -1.53461215E-7, 0.342019945, 0.939692736, 1.93715096E-7, 8.56816769E-8, -2.23517418E-7, 1.00000012),
  2096. CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  2097. CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676)
  2098. }, 0.3, false)
  2099. end
  2100. elseif RootPart.Velocity.y < -1 and hit == nil then
  2101. Anim = "Fall"
  2102. if attack == false then
  2103. PlayAnimationFromTable({
  2104. CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  2105. CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
  2106. CFrame.new(1.55285025, 0.466259956, -9.26282269E-8, 0.766043842, -0.642788351, -6.46188241E-8, 0.642788291, 0.766043961, -7.4505806E-8, 1.04308128E-7, 1.49011612E-8, 1.00000012),
  2107. CFrame.new(-1.5605253, 0.475036323, -2.10609159E-7, 0.766043842, 0.642788351, 6.46188241E-8, -0.642788291, 0.766043961, -7.4505806E-8, -1.04308128E-7, 1.49011612E-8, 1.00000012),
  2108. CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  2109. CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855)
  2110. }, 0.3, false)
  2111. end
  2112. elseif Torsovelocity < 1 and hit ~= nil then
  2113. Anim = "Idle"
  2114. if attack == false then
  2115. change = 1
  2116. PlayAnimationFromTable({
  2117. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0.05 * math.cos(sine / 10), 0),
  2118. CFrame.new(0, 1.4657923, -0.0939692855, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  2119. CFrame.new(1.20945823, -0.213502824, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  2120. CFrame.new(-1.20945406, -0.213503301, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  2121. CFrame.new(0.499998242, -1.99999988, 3.12924385E-7, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, -0.05 * math.cos(sine / 10), 0),
  2122. CFrame.new(-0.500002503, -1.99999988, -1.78813934E-7, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736) * CFrame.new(0, -0.05 * math.cos(sine / 10), 0)
  2123. }, 0.3, false)
  2124. end
  2125. elseif Torsovelocity > 2 and hit ~= nil then
  2126. Anim = "Walk"
  2127. if attack == false then
  2128. PlayAnimationFromTable({
  2129. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - 0.08 * math.cos(sine / 5), 0) * CFrame.Angles(0, 0, 0),
  2130. CFrame.new(0, 1.48263013, -0.0984808952, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  2131. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, -0.5 * math.cos(sine / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos(sine / 10)), 0, 0),
  2132. CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0.5 * math.cos(sine / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos(sine / 10)), 0, 0),
  2133. CFrame.new(0.540300786, -1.99793816, -9.82598067E-7, 0.998698533, -0.0510031395, 6.36324955E-7, 0.0510031395, 0.998698533, -1.00461093E-5, -8.35937328E-8, 1.08393433E-5, 1.00000024) * CFrame.new(0, 0, 0 + 0.5 * math.cos(sine / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos(sine / 10)), 0, 0),
  2134. CFrame.new(-0.539563596, -1.99794078, 1.12228372E-6, 0.998635888, 0.0523072146, -1.77852357E-7, -0.0523072146, 0.998635888, -1.00715051E-5, -3.89727461E-7, 1.08406466E-5, 1.00000024) * CFrame.new(0, 0, 0 - 0.5 * math.cos(sine / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos(sine / 10)), 0, 0)
  2135. }, 0.3, false)
  2136. end
  2137. end
  2138. if 0 < #Effects then
  2139. for e = 1, #Effects do
  2140. if Effects[e] ~= nil then
  2141. local Thing = Effects[e]
  2142. if Thing ~= nil then
  2143. local Part = Thing[1]
  2144. local Mode = Thing[2]
  2145. local Delay = Thing[3]
  2146. local IncX = Thing[4]
  2147. local IncY = Thing[5]
  2148. local IncZ = Thing[6]
  2149. if Thing[2] == "Shoot" then
  2150. local Look = Thing[1]
  2151. local move = 30
  2152. if Thing[8] == 3 then
  2153. move = 10
  2154. end
  2155. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  2156. if Thing[10] ~= nil then
  2157. da = pos
  2158. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  2159. cfa = CFrame.new(Thing[4], pos)
  2160. tehCF = cfa:lerp(cf2, 0.2)
  2161. Thing[1] = tehCF.lookVector
  2162. end
  2163. local mag = (Thing[4] - pos).magnitude
  2164. Effects.Head.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  2165. if Thing[8] == 2 then
  2166. Effects.Ring.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  2167. end
  2168. Thing[4] = Thing[4] + Look * move
  2169. Thing[3] = Thing[3] - 1
  2170. if 2 < Thing[5] then
  2171. Thing[5] = Thing[5] - 0.3
  2172. Thing[6] = Thing[6] - 0.3
  2173. end
  2174. if hit ~= nil then
  2175. Thing[3] = 0
  2176. if Thing[8] == 1 or Thing[8] == 3 then
  2177. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2178. elseif Thing[8] == 2 then
  2179. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2180. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil or hit.Parent.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2181. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2182. ref.Anchored = true
  2183. ref.CFrame = CFrame.new(pos)
  2184. CFuncs.Sound.Create("161006093", ref, 1, 1.2)
  2185. game:GetService("Debris"):AddItem(ref, 0.2)
  2186. Effects.Block.Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  2187. Effects.Ring.Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  2188. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  2189. end
  2190. end
  2191. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2192. ref.Anchored = true
  2193. ref.CFrame = CFrame.new(pos)
  2194. Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2195. game:GetService("Debris"):AddItem(ref, 1)
  2196. end
  2197. if Thing[3] <= 0 then
  2198. table.remove(Effects, e)
  2199. end
  2200. end
  2201. if Thing[2] == "FireWave" then
  2202. if Thing[3] <= Thing[4] then
  2203. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2204. Thing[3] = Thing[3] + 1
  2205. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2206. else
  2207. Part.Parent = nil
  2208. table.remove(Effects, e)
  2209. end
  2210. end
  2211. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2212. if Thing[1].Transparency <= 1 then
  2213. if Thing[2] == "Block1" then
  2214. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2215. Mesh = Thing[7]
  2216. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2217. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2218. elseif Thing[2] == "Block2" then
  2219. Thing[1].CFrame = Thing[1].CFrame
  2220. Mesh = Thing[7]
  2221. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2222. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2223. elseif Thing[2] == "Fire" then
  2224. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2225. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2226. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2227. elseif Thing[2] == "Cylinder" then
  2228. Mesh = Thing[7]
  2229. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2230. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2231. elseif Thing[2] == "Blood" then
  2232. Mesh = Thing[7]
  2233. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2234. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2235. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2236. elseif Thing[2] == "Elec" then
  2237. Mesh = Thing[10]
  2238. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2239. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2240. elseif Thing[2] == "Disappear" then
  2241. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2242. elseif Thing[2] == "Shatter" then
  2243. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2244. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2245. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2246. Thing[6] = Thing[6] + Thing[5]
  2247. end
  2248. else
  2249. Part.Parent = nil
  2250. table.remove(Effects, e)
  2251. end
  2252. end
  2253. end
  2254. end
  2255. end
  2256. end
  2257. end
  2258. end
  2259.  
  2260. end))
  2261. LocalScript1.Name = "RagdollScript"
  2262. LocalScript1.Parent = LocalScript0
  2263. LocalScript1.Disabled = true
  2264. table.insert(cors,sandbox(LocalScript1,function()
  2265. wait()
  2266. if script.Parent.Humanoid.RigType ~= Enum.HumanoidRigType.R6 then
  2267. game.Debris:AddItem(script,1)
  2268. else
  2269. wait()
  2270. function getAttachment0(attachmentName)
  2271. for _,child in next,script.Parent:GetChildren() do
  2272. local attachment = child:FindFirstChild(attachmentName)
  2273. if attachment then
  2274. return attachment
  2275. end
  2276. end
  2277. end
  2278. script.Parent.Humanoid.Died:Connect(function(var)
  2279. local removeHRP = true
  2280. local head = script.Parent["Head"]
  2281. local leftarm = script.Parent["Left Arm"]
  2282. local leftleg = script.Parent["Left Leg"]
  2283. local rightleg = script.Parent["Right Leg"]
  2284. local rightarm = script.Parent["Right Arm"]
  2285. local torso = script.Parent.Torso
  2286. local root =script.Parent.HumanoidRootPart
  2287. if removeHRP == true then
  2288. root:Destroy()
  2289. end
  2290. local rootA =Instance.new("Attachment")
  2291. local HeadA = Instance.new("Attachment")
  2292. local LeftArmA = Instance.new("Attachment")
  2293. local LeftLegA = Instance.new("Attachment")
  2294. local RightArmA = Instance.new("Attachment")
  2295. local RightLegA = Instance.new("Attachment")
  2296. local TorsoA = Instance.new("Attachment")
  2297. local TorsoA1 = Instance.new("Attachment")
  2298. local TorsoA2 = Instance.new("Attachment")
  2299. local TorsoA3 = Instance.new("Attachment")
  2300. local TorsoA4 = Instance.new("Attachment")
  2301. local TorsoA5 = Instance.new("Attachment")
  2302. function set1()
  2303. HeadA.Name = "HeadA"
  2304. HeadA.Parent = head
  2305. HeadA.Position = Vector3.new(0, -0.5, 0)
  2306. HeadA.Rotation = Vector3.new(0, 0, 0)
  2307. HeadA.Axis = Vector3.new(1, 0, 0)
  2308. HeadA.SecondaryAxis = Vector3.new(0, 1, 0)
  2309. LeftArmA.Name = "LeftArmA"
  2310. LeftArmA.Parent = leftarm
  2311. LeftArmA.Position = Vector3.new(0.5, 1, 0)
  2312. LeftArmA.Rotation = Vector3.new(0, 0, 0)
  2313. LeftArmA.Axis = Vector3.new(1, 0, 0)
  2314. LeftArmA.SecondaryAxis = Vector3.new(0, 1, 0)
  2315. LeftLegA.Name = "LeftLegA"
  2316. LeftLegA.Parent = leftleg
  2317. LeftLegA.Position = Vector3.new(0, 1, 0)
  2318. LeftLegA.Rotation = Vector3.new(0, 0, 0)
  2319. LeftLegA.Axis = Vector3.new(1, 0, 0)
  2320. LeftLegA.SecondaryAxis = Vector3.new(0, 1, 0)
  2321. RightArmA.Name = "RightArmA"
  2322. RightArmA.Parent = rightarm
  2323. RightArmA.Position = Vector3.new(-0.5, 1, 0)
  2324. RightArmA.Rotation = Vector3.new(0, 0, 0)
  2325. RightArmA.Axis = Vector3.new(1, 0, 0)
  2326. RightArmA.SecondaryAxis = Vector3.new(0, 1, 0)
  2327. RightLegA.Name = "RightLegA"
  2328. RightLegA.Parent = rightleg
  2329. RightLegA.Position = Vector3.new(0, 1, 0)
  2330. RightLegA.Rotation = Vector3.new(0, 0, 0)
  2331. RightLegA.Axis = Vector3.new(1, 0, 0)
  2332. RightLegA.SecondaryAxis = Vector3.new(0, 1, 0)
  2333. rootA.Name= "rootA"
  2334. rootA.Parent = root
  2335. rootA.Position = Vector3.new(0, 0, 0)
  2336. rootA.Rotation = Vector3.new(0, 90, 0)
  2337. rootA.Axis = Vector3.new(0, 0, -1)
  2338. rootA.SecondaryAxis = Vector3.new(0, 1, 0)
  2339. end
  2340. function set2()
  2341. TorsoA.Name = "TorsoA"
  2342. TorsoA.Parent = torso
  2343. TorsoA.Position = Vector3.new(0.5, -1, 0)
  2344. TorsoA.Rotation = Vector3.new(0, 0, 0)
  2345. TorsoA.Axis = Vector3.new(1, 0, 0)
  2346. TorsoA.SecondaryAxis = Vector3.new(0, 1, 0)
  2347. TorsoA1.Name = "TorsoA1"
  2348. TorsoA1.Parent = torso
  2349. TorsoA1.Position = Vector3.new(-0.5, -1, 0)
  2350. TorsoA1.Rotation = Vector3.new(0, 0, 0)
  2351. TorsoA1.Axis = Vector3.new(1, 0, 0)
  2352. TorsoA1.SecondaryAxis = Vector3.new(0, 1, 0)
  2353. TorsoA2.Name = "TorsoA2"
  2354. TorsoA2.Parent = torso
  2355. TorsoA2.Position = Vector3.new(-1, 1, 0)
  2356. TorsoA2.Rotation = Vector3.new(0, 0, 0)
  2357. TorsoA2.Axis = Vector3.new(1, 0, 0)
  2358. TorsoA2.SecondaryAxis = Vector3.new(0, 1, 0)
  2359. TorsoA3.Name = "TorsoA3"
  2360. TorsoA3.Parent = torso
  2361. TorsoA3.Position = Vector3.new(1, 1, 0)
  2362. TorsoA3.Rotation = Vector3.new(0, 0, 0)
  2363. TorsoA3.Axis = Vector3.new(1, 0, 0)
  2364. TorsoA3.SecondaryAxis = Vector3.new(0, 1, 0)
  2365. TorsoA4.Name = "TorsoA4"
  2366. TorsoA4.Parent = torso
  2367. TorsoA4.Position = Vector3.new(0, 1, 0)
  2368. TorsoA4.Rotation = Vector3.new(0, 0, 0)
  2369. TorsoA4.Axis = Vector3.new(1, 0, 0)
  2370. TorsoA4.SecondaryAxis = Vector3.new(0, 1, 0)
  2371. TorsoA5.Name = "TorsoA5"
  2372. TorsoA5.Parent = torso
  2373. TorsoA5.Position = Vector3.new(0, 0, 0)
  2374. TorsoA5.Rotation = Vector3.new(0, 90, 0)
  2375. TorsoA5.Axis = Vector3.new(0, 0, -1)
  2376. TorsoA5.SecondaryAxis = Vector3.new(0, 1, 0)
  2377. end
  2378. function set3()
  2379. end
  2380. spawn(set1);
  2381. spawn(set2);
  2382. local HA = Instance.new("HingeConstraint")
  2383. HA.Parent = head
  2384. HA.Attachment0 = HeadA
  2385. HA.Attachment1 = TorsoA4
  2386. HA.Enabled = true
  2387. HA.LimitsEnabled=true
  2388. HA.LowerAngle=0
  2389. HA.UpperAngle=0
  2390. local LAT = Instance.new("BallSocketConstraint")
  2391. LAT.Parent = leftarm
  2392. LAT.Attachment0 = LeftArmA
  2393. LAT.Attachment1 = TorsoA2
  2394. LAT.Enabled = true
  2395. LAT.LimitsEnabled=true
  2396. LAT.UpperAngle=90
  2397. local RAT = Instance.new("BallSocketConstraint")
  2398. RAT.Parent = rightarm
  2399. RAT.Attachment0 = RightArmA
  2400. RAT.Attachment1 = TorsoA3
  2401. RAT.Enabled = true
  2402. RAT.LimitsEnabled=true
  2403. RAT.UpperAngle=90
  2404. local HA = Instance.new("BallSocketConstraint")
  2405. HA.Parent = head
  2406. HA.Attachment0 = HeadA
  2407. HA.Attachment1 = TorsoA4
  2408. HA.Enabled = true
  2409. local TLL = Instance.new("BallSocketConstraint")
  2410. TLL.Parent = torso
  2411. TLL.Attachment0 = TorsoA1
  2412. TLL.Attachment1 = LeftLegA
  2413. TLL.Enabled = true
  2414. TLL.LimitsEnabled=true
  2415. TLL.UpperAngle=90
  2416. local TRL = Instance.new("BallSocketConstraint")
  2417. TRL.Parent = torso
  2418. TRL.Attachment0 = TorsoA
  2419. TRL.Attachment1 = RightLegA
  2420. TRL.Enabled = true
  2421. TRL.LimitsEnabled=true
  2422. TRL.UpperAngle=90
  2423. local RTA = Instance.new("BallSocketConstraint")
  2424. RTA.Parent = root
  2425. RTA.Attachment0 = rootA
  2426. RTA.Attachment1 = TorsoA5
  2427. RTA.Enabled = true
  2428. RTA.LimitsEnabled=true
  2429. RTA.UpperAngle=0
  2430. head.Velocity = head.CFrame.lookVector*30
  2431.  
  2432. for _,child in next,script.Parent:GetChildren() do
  2433. if child:IsA("Accoutrement") then
  2434. for _,part in next,child:GetChildren() do
  2435. if part:IsA("BasePart") then
  2436. part.Parent = script.Parent
  2437. child:remove()
  2438. local attachment1 = part:FindFirstChildOfClass("Attachment")
  2439. local attachment0 = getAttachment0(attachment1.Name)
  2440. if attachment0 and attachment1 then
  2441. local constraint = Instance.new("HingeConstraint")
  2442. constraint.Attachment0 = attachment0
  2443. constraint.Attachment1 = attachment1
  2444. constraint.LimitsEnabled = true
  2445. constraint.UpperAngle = 0
  2446. constraint.LowerAngle = 0
  2447. constraint.Parent = script.Parent
  2448. end
  2449. end
  2450. end
  2451. end
  2452. end
  2453. end)
  2454. end
  2455. end))
  2456. LocalScript2.Name = "R15RagdollScript"
  2457. LocalScript2.Parent = LocalScript0
  2458. LocalScript2.Disabled = true
  2459. table.insert(cors,sandbox(LocalScript2,function()
  2460. wait()
  2461. if script.Parent.Humanoid.RigType ~= Enum.HumanoidRigType.R15 then
  2462. game.Debris:AddItem(script,1)
  2463. else
  2464.  
  2465. local character = script.Parent
  2466.  
  2467. function recurse(root,callback,i)
  2468. i= i or 0
  2469. for _,v in pairs(root:GetChildren()) do
  2470. i = i + 1
  2471. callback(i,v)
  2472.  
  2473. if #v:GetChildren() > 0 then
  2474. i = recurse(v,callback,i)
  2475. end
  2476. end
  2477.  
  2478. return i
  2479. end
  2480.  
  2481. function ragdollJoint(part0, part1, attachmentName, className, properties)
  2482. attachmentName = attachmentName.."RigAttachment"
  2483. local constraint = Instance.new(className.."Constraint")
  2484. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2485. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2486. constraint.Name = "RagdollConstraint"..part1.Name
  2487.  
  2488. for _,propertyData in next,properties or {} do
  2489. constraint[propertyData[1]] = propertyData[2]
  2490. end
  2491.  
  2492. constraint.Parent = character
  2493. end
  2494.  
  2495. function getAttachment0(attachmentName)
  2496. for _,child in next,character:GetChildren() do
  2497. local attachment = child:FindFirstChild(attachmentName)
  2498. if attachment then
  2499. return attachment
  2500. end
  2501. end
  2502. end
  2503.  
  2504. character:WaitForChild("Humanoid").Died:connect(function()
  2505. local camera = workspace.CurrentCamera
  2506. if camera.CameraSubject == character.Humanoid then--If developer isn't controlling camera
  2507. camera.CameraSubject = character.UpperTorso
  2508. end
  2509. --Make it so ragdoll can't collide with invisible HRP, but don't let HRP fall through map and be destroyed in process
  2510. character.HumanoidRootPart.Anchored = true
  2511. character.HumanoidRootPart.CanCollide = false
  2512.  
  2513. --Helps to fix constraint spasms
  2514. recurse(character, function(_,v)
  2515. if v:IsA("Attachment") then
  2516. v.Axis = Vector3.new(0, 1, 0)
  2517. v.SecondaryAxis = Vector3.new(0, 0, 1)
  2518. v.Rotation = Vector3.new(0, 0, 0)
  2519. end
  2520. end)
  2521.  
  2522. for _,child in next,character:GetChildren() do
  2523. if child:IsA("Accoutrement") then
  2524. for _,part in next,child:GetChildren() do
  2525. if part:IsA("BasePart") then
  2526. part.Parent = character
  2527. child:remove()
  2528. local attachment1 = part:FindFirstChildOfClass("Attachment")
  2529. local attachment0 = getAttachment0(attachment1.Name)
  2530. if attachment0 and attachment1 then
  2531. local constraint = Instance.new("HingeConstraint")
  2532. constraint.Attachment0 = attachment0
  2533. constraint.Attachment1 = attachment1
  2534. constraint.LimitsEnabled = true
  2535. constraint.UpperAngle = 0
  2536. constraint.LowerAngle = 0
  2537. constraint.Parent = character
  2538. end
  2539. end
  2540. end
  2541. end
  2542. end
  2543.  
  2544. ragdollJoint(character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  2545. {"LimitsEnabled",true};
  2546. {"UpperAngle",5};
  2547. })
  2548. ragdollJoint(character.UpperTorso, character.Head, "Neck", "BallSocket", {
  2549. {"LimitsEnabled",true};
  2550. {"UpperAngle",15};
  2551. })
  2552.  
  2553. local handProperties = {
  2554. {"LimitsEnabled", true};
  2555. {"UpperAngle",0};
  2556. {"LowerAngle",0};
  2557. }
  2558. ragdollJoint(character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  2559. ragdollJoint(character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  2560.  
  2561. local shinProperties = {
  2562. {"LimitsEnabled", true};
  2563. {"UpperAngle", 0};
  2564. {"LowerAngle", -75};
  2565. }
  2566. ragdollJoint(character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  2567. ragdollJoint(character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  2568.  
  2569. local footProperties = {
  2570. {"LimitsEnabled", true};
  2571. {"UpperAngle", 15};
  2572. {"LowerAngle", -45};
  2573. }
  2574. ragdollJoint(character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  2575. ragdollJoint(character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  2576.  
  2577. --TODO fix ability for socket to turn backwards whenn ConeConstraints are shipped
  2578. ragdollJoint(character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  2579. ragdollJoint(character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  2580. ragdollJoint(character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  2581. ragdollJoint(character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  2582. ragdollJoint(character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  2583. ragdollJoint(character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  2584. end)
  2585. end
  2586. end))
  2587. for i,v in pairs(mas:GetChildren()) do
  2588. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  2589. pcall(function() v:MakeJoints() end)
  2590. end
  2591. mas:Destroy()
  2592. for i,v in pairs(cors) do
  2593. spawn(function()
  2594. pcall(v)
  2595. end)
  2596. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement