Advertisement
Diegolas97

Brutal Overlord

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