Advertisement
GojiGaming1337

Untitled

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