Hugo1234cool

Untitled

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