Advertisement
GojiGaming1337

Mouse

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