Advertisement
Christoffer07700Extr

e

Dec 24th, 2019
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.28 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| goner
  3. --\\====================================================//--
  4.  
  5. script.Parent = owner.Character
  6. local MODULE = script
  7. local CHARACTER = MODULE.Parent
  8. local PLAYER = game:GetService("Players"):GetPlayerFromCharacter(CHARACTER)
  9. local HUM = CHARACTER.Humanoid
  10. local REMOTE = Instance.new("RemoteEvent",MODULE)
  11. REMOTE.Name = "Event"
  12.  
  13. local ROOT = HUM.Torso
  14. local HEAD = CHARACTER.Head
  15. local TORSO = CHARACTER.Torso
  16. local RIGHTARM = CHARACTER["Right Arm"]
  17. local LEFTARM = CHARACTER["Left Arm"]
  18. local RIGHTLEG = CHARACTER["Right Leg"]
  19. local LEFTLEG = CHARACTER["Left Leg"]
  20. local ROOTJOINT = ROOT["RootJoint"]
  21. local NECK = TORSO["Neck"]
  22. local RIGHTSHOULDER = TORSO["Right Shoulder"]
  23. local LEFTSHOULDER = TORSO["Left Shoulder"]
  24. local RIGHTHIP = TORSO["Right Hip"]
  25. local LEFTHIP = TORSO["Left Hip"]
  26. local MOUSEPOS = ROOT.Position
  27.  
  28. IT = Instance.new
  29. CF = CFrame.new
  30. VT = Vector3.new
  31. RAD = math.rad
  32. C3 = Color3.new
  33. UD2 = UDim2.new
  34. BRICKC = BrickColor.new
  35. ANGLES = CFrame.Angles
  36. EULER = CFrame.fromEulerAnglesXYZ
  37. COS = math.cos
  38. ACOS = math.acos
  39. SIN = math.sin
  40. ASIN = math.asin
  41. ABS = math.abs
  42. MRANDOM = math.random
  43. FLOOR = math.floor
  44.  
  45. --//====================================================\\--
  46. --|| FE CODE
  47. --\\====================================================//--
  48.  
  49. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  50. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  51. local RealPlayer = Player
  52. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  53.  
  54. --//====================================================\\--
  55. --|| BACKGROUND VALUES
  56. --\\====================================================//--
  57.  
  58. local ANIM_SPEED = 3
  59. local MOUSE = PLAYER:GetMouse()
  60. local FRAME_SPEED = 1 / 60 -- (1 / 30) OR (1 / 60)
  61. local CHANGE = 2 / ANIM_SPEED
  62. local DAMAGEMULTIPLIER = 1
  63. local ANIM = "Idle"
  64. local KEYHOLD = false
  65. local MOUSEHOLD = false
  66. local SINE = 0
  67. local ATTACKING = false
  68. local Debris = game:GetService("Debris")
  69. local Effects = IT("Folder",CHARACTER)
  70. Effects.Name = "FXFolder"
  71. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  72. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  73. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  74. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  75.  
  76. --//====================================================\\--
  77. --|| HEARTBEAT
  78. --\\====================================================//--
  79.  
  80. ArtificialHB = Instance.new("BindableEvent", script)
  81. ArtificialHB.Name = "ArtificialHB"
  82.  
  83. script:WaitForChild("ArtificialHB")
  84.  
  85. frame = FRAME_SPEED
  86. tf = 0
  87. allowframeloss = false
  88. tossremainder = false
  89. lastframe = tick()
  90. script.ArtificialHB:Fire()
  91.  
  92. game:GetService("RunService").Heartbeat:connect(function(s, p)
  93. tf = tf + s
  94. if tf >= frame then
  95. if allowframeloss then
  96. ArtificialHB:Fire()
  97. lastframe = tick()
  98. else
  99. for i = 1, math.floor(tf / frame) do
  100. ArtificialHB:Fire()
  101. end
  102. lastframe = tick()
  103. end
  104. if tossremainder then
  105. tf = 0
  106. else
  107. tf = tf - frame * math.floor(tf / frame)
  108. end
  109. end
  110. end)
  111.  
  112. function PositiveAngle(NUMBER)
  113. if NUMBER >= 0 then
  114. NUMBER = 0
  115. end
  116. return NUMBER
  117. end
  118.  
  119. function NegativeAngle(NUMBER)
  120. if NUMBER <= 0 then
  121. NUMBER = 0
  122. end
  123. return NUMBER
  124. end
  125.  
  126. function Swait(NUMBER)
  127. if NUMBER == 0 or NUMBER == nil then
  128. ArtificialHB.Event:wait()
  129. else
  130. for i = 1, NUMBER do
  131. ArtificialHB.Event:wait()
  132. end
  133. end
  134. end
  135.  
  136. --//====================================================\\--
  137. --|| CLERP
  138. --\\====================================================//--
  139.  
  140. function QuaternionFromCFrame(cf)
  141. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  142. local trace = m00 + m11 + m22
  143. if trace > 0 then
  144. local s = math.sqrt(1 + trace)
  145. local recip = 0.5 / s
  146. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  147. else
  148. local i = 0
  149. if m11 > m00 then
  150. i = 1
  151. end
  152. if m22 > (i == 0 and m00 or m11) then
  153. i = 2
  154. end
  155. if i == 0 then
  156. local s = math.sqrt(m00 - m11 - m22 + 1)
  157. local recip = 0.5 / s
  158. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  159. elseif i == 1 then
  160. local s = math.sqrt(m11 - m22 - m00 + 1)
  161. local recip = 0.5 / s
  162. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  163. elseif i == 2 then
  164. local s = math.sqrt(m22 - m00 - m11 + 1)
  165. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  166. end
  167. end
  168. end
  169.  
  170. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  171. local xs, ys, zs = x + x, y + y, z + z
  172. local wx, wy, wz = w * xs, w * ys, w * zs
  173. local xx = x * xs
  174. local xy = x * ys
  175. local xz = x * zs
  176. local yy = y * ys
  177. local yz = y * zs
  178. local zz = z * zs
  179. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  180. end
  181.  
  182. function QuaternionSlerp(a, b, t)
  183. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  184. local startInterp, finishInterp;
  185. if cosTheta >= 0.0001 then
  186. if (1 - cosTheta) > 0.0001 then
  187. local theta = ACOS(cosTheta)
  188. local invSinTheta = 1 / SIN(theta)
  189. startInterp = SIN((1 - t) * theta) * invSinTheta
  190. finishInterp = SIN(t * theta) * invSinTheta
  191. else
  192. startInterp = 1 - t
  193. finishInterp = t
  194. end
  195. else
  196. if (1 + cosTheta) > 0.0001 then
  197. local theta = ACOS(-cosTheta)
  198. local invSinTheta = 1 / SIN(theta)
  199. startInterp = SIN((t - 1) * theta) * invSinTheta
  200. finishInterp = SIN(t * theta) * invSinTheta
  201. else
  202. startInterp = t - 1
  203. finishInterp = t
  204. end
  205. end
  206. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  207. end
  208.  
  209. function Clerp(a, b, t)
  210. local qa = {QuaternionFromCFrame(a)}
  211. local qb = {QuaternionFromCFrame(b)}
  212. local ax, ay, az = a.x, a.y, a.z
  213. local bx, by, bz = b.x, b.y, b.z
  214. local _t = 1 - t
  215. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  216. end
  217.  
  218. --//====================================================\\--
  219. --|| FUNCTIONS
  220. --\\====================================================//--
  221.  
  222. function WeldParts(A,B)
  223. local WLD = IT("ManualWeld")
  224. WLD.Part0 = A
  225. WLD.Part1 = B
  226. WLD.C1 = B.CFrame:inverse() * A.CFrame
  227. WLD.Parent = A
  228. return WLD
  229. end
  230.  
  231. --NewSound({ID = 0,PARENT = ROOT,VOLUME = 0.5,PITCH = 1,LOOP = false,MAXDISTANCE = 1000,EMITTERSIZE = 10,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  232. function NewSound(TABLE)
  233. local ID = "rbxassetid://"..(TABLE.ID or 0)
  234. local PARENT = (TABLE.PARENT or ROOT)
  235. local VOLUME = (TABLE.VOLUME or 0.5)
  236. local PITCH = (TABLE.PITCH or 1)
  237. local LOOP = (TABLE.LOOP or false)
  238. local MAXDISTANCE = (TABLE.MAXDISTANCE or 100)
  239. local EMITTERSIZE = (TABLE.EMITTERSIZE or 10)
  240. local PLAYING = (TABLE.PLAYING or true)
  241. local PLAYONREMOVE = (TABLE.PLAYONREMOVE or false)
  242. local DOESDEBRIS = (TABLE.DOESDEBRIS or true)
  243. if ID ~= "rbxassetid://0" then
  244. local SOUND = IT("Sound",PARENT)
  245. SOUND.SoundId = ID
  246. SOUND.Volume = VOLUME
  247. SOUND.Pitch = PITCH
  248. SOUND.Looped = LOOP
  249. SOUND.MaxDistance = MAXDISTANCE
  250. SOUND.EmitterSize = EMITTERSIZE
  251. SOUND.PlayOnRemove = PLAYONREMOVE
  252. if DOESDEBRIS == true and PLAYING == true and LOOP == false then
  253. Debris:AddItem(SOUND,SOUND.TimeLength+5)
  254. end
  255. if PLAYING == true then
  256. SOUND:Play()
  257. end
  258. return SOUND
  259. end
  260. end
  261.  
  262. function OofOuchBlood(LOCATION,TO,AMOUNT)
  263. local P = CreatePart(3, Effects, "Granite", 0, 1, BRICKC("Pearl"), "Blood", VT(0,0,0), true)
  264. P.CFrame = CF(LOCATION,TO)
  265. local BLOOD = MODULE.Blood:Clone()
  266. BLOOD.Parent = P
  267. BLOOD:Emit(AMOUNT)
  268. Debris:AddItem(P,2)
  269. end
  270.  
  271. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  272. local NEWMESH = IT(MESH)
  273. if MESH == "SpecialMesh" then
  274. NEWMESH.MeshType = MESHTYPE
  275. if MESHID ~= "nil" and MESHID ~= "" then
  276. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  277. end
  278. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  279. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  280. end
  281. end
  282. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  283. NEWMESH.Scale = SCALE
  284. NEWMESH.Parent = PARENT
  285. return NEWMESH
  286. end
  287.  
  288. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  289. local NEWPART = IT("Part")
  290. NEWPART.formFactor = FORMFACTOR
  291. NEWPART.Reflectance = REFLECTANCE
  292. NEWPART.Transparency = TRANSPARENCY
  293. NEWPART.CanCollide = false
  294. NEWPART.Locked = true
  295. NEWPART.Anchored = true
  296. if ANCHOR == false then
  297. NEWPART.Anchored = false
  298. end
  299. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  300. NEWPART.Name = NAME
  301. NEWPART.Size = SIZE
  302. NEWPART.Position = ROOT.Position
  303. NEWPART.Material = MATERIAL
  304. NEWPART:BreakJoints()
  305. NEWPART.Parent = PARENT
  306. return NEWPART
  307. end
  308.  
  309. function Raycast(POSITION, DIRECTION, RANGE, TABLE)
  310. local TABLE = ((type(TABLE) == "table" and TABLE) or {TABLE})
  311. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(POSITION, DIRECTION * RANGE), TABLE)
  312. end
  313.  
  314. function CameraShake(AREA,RANGE,SHAKE,TIMER)
  315. for index, CHILD in pairs(workspace:GetChildren()) do
  316. if CHILD:FindFirstChildOfClass("Humanoid") then
  317. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  318. local ROOT = HUMAN.Torso
  319. if ROOT and game.Players:GetPlayerFromCharacter(CHILD) then
  320. if (ROOT.Position - AREA).Magnitude <= RANGE then
  321. if CHILD:FindFirstChild("CamShake") then
  322. Debris:AddItem(CHILD:FindFirstChild("CamShake"),0.05)
  323. end
  324.  
  325.  
  326. --Converted with ttyyuu12345's model to script plugin v4
  327. function sandbox(var,func)
  328. local env = getfenv(func)
  329. local newenv = setmetatable({},{
  330. __index = function(self,k)
  331. if k=="script" then
  332. return var
  333. else
  334. return env[k]
  335. end
  336. end,
  337. })
  338. setfenv(func,newenv)
  339. return func
  340. end
  341. cors = {}
  342. mas = Instance.new("Model",game:GetService("Lighting"))
  343. LocalScript0 = Instance.new("LocalScript")
  344. LocalScript0.Name = "CamShake"
  345. LocalScript0.Parent = mas
  346. CAMSHAKE = LocalScript0
  347. local TIMER_V = IT("NumberValue",CAMSHAKE)
  348. TIMER_V.Name = "Timer"
  349. TIMER_V.Value = TIMER
  350. local SHAKE_V = IT("NumberValue",CAMSHAKE)
  351. SHAKE_V.Name = "Shake"
  352. SHAKE_V.Value = SHAKE
  353. table.insert(cors,sandbox(LocalScript0,function()
  354. ArtificialHB = Instance.new("BindableEvent", script)
  355. ArtificialHB.Name = "ArtificialHB"
  356.  
  357. script:WaitForChild("ArtificialHB")
  358.  
  359. frame = 1/60
  360. tf = 0
  361. allowframeloss = false
  362. tossremainder = false
  363. lastframe = tick()
  364. script.ArtificialHB:Fire()
  365.  
  366. game:GetService("RunService").Heartbeat:connect(function(s, p)
  367. tf = tf + s
  368. if tf >= frame then
  369. if allowframeloss then
  370. ArtificialHB:Fire()
  371. lastframe = tick()
  372. else
  373. for i = 1, math.floor(tf / frame) do
  374. ArtificialHB:Fire()
  375. end
  376. lastframe = tick()
  377. end
  378. if tossremainder then
  379. tf = 0
  380. else
  381. tf = tf - frame * math.floor(tf / frame)
  382. end
  383. end
  384. end)
  385.  
  386. function PositiveAngle(NUMBER)
  387. if NUMBER >= 0 then
  388. NUMBER = 0
  389. end
  390. return NUMBER
  391. end
  392.  
  393. function NegativeAngle(NUMBER)
  394. if NUMBER <= 0 then
  395. NUMBER = 0
  396. end
  397. return NUMBER
  398. end
  399.  
  400. function Swait(NUMBER)
  401. if NUMBER == 0 or NUMBER == nil then
  402. ArtificialHB.Event:wait()
  403. else
  404. for i = 1, NUMBER do
  405. ArtificialHB.Event:wait()
  406. end
  407. end
  408. end
  409. wait()
  410. VT = Vector3.new
  411. MRANDOM = math.random
  412. local A = script:FindFirstChild("Timer").Value
  413. local B = script:FindFirstChild("Shake").Value
  414. local HUMANOID = script.Parent:FindFirstChildOfClass("Humanoid")
  415. local TIMER = math.ceil(A) or 35
  416. local SHAKE = math.ceil(B) or 5
  417. if HUMANOID then
  418. local FADER = SHAKE/TIMER
  419. for i = 1, TIMER do
  420. Swait()
  421. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10)
  422. end
  423. HUMANOID.CameraOffset = VT(0,0,0)
  424. end
  425. end))
  426. LocalScript0.Disabled = false
  427. for i,v in pairs(mas:GetChildren()) do
  428. v.Parent = CHILD
  429. pcall(function() v:MakeJoints() end)
  430. end
  431. mas:Destroy()
  432. for i,v in pairs(cors) do
  433. spawn(function()
  434. pcall(v)
  435. end)
  436. end
  437. CAMSHAKE.Disabled = false
  438. Debris:AddItem(CAMSHAKE,15)
  439. end
  440. end
  441. end
  442. end
  443. end
  444.  
  445. --Debree({Delay = 1.5,Variant = "",Location = ROOT.Position,Color = C3(1,1,1),Size = 1,Distance = 1,Material = "Slate",Scatter = 1,Amount = 1,DebreeCount = 1})
  446. function Debree(Table)
  447. local KindOf = (Table.Variant or "Ring")
  448. local Position = (Table.Location or ROOT.Position)
  449. local Coloration = (Table.Color or C3(1,1,1))
  450. local Texture = (Table.Material or "Slate")
  451. local Fling = (Table.Scatter or 1)
  452. local Number = (Table.Amount or 1)
  453. local Rocks = (Table.DebreeCount or 1)
  454. local Range = (Table.Distance or 1)
  455. local Scale = (Table.Size or 1)
  456. local Timer = (Table.Delay or 1.5)
  457. coroutine.resume(coroutine.create(function()
  458. local ScaleVector = VT(Scale,Scale,Scale)
  459. local Boulders = {}
  460. Position = CF(Position)
  461. if KindOf == "Ring" or KindOf == "Both" then
  462. for RockValue = 1, Number do
  463. local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale/4),math.ceil(Scale/4)),Range)
  464. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  465. BOULDER.CanCollide = true
  466. BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  467. BOULDER.Color = Coloration
  468. table.insert(Boulders,BOULDER)
  469. end
  470. end
  471. if KindOf == "Loose" or KindOf == "Both" then
  472. for RockValue = 1, Rocks do
  473. local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale-(Scale/2)),math.ceil(Scale-(Scale/2))),0.7)
  474. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, false)
  475. BOULDER.CanCollide = true
  476. BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  477. BOULDER.Velocity = CF(BOULDER.Position-VT(0,4,0),BOULDER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,5,0).p).lookVector*MRANDOM(Fling-(Fling/1.5),Fling+(Fling/1.5))
  478. BOULDER.Color = Coloration
  479. table.insert(Boulders,BOULDER)
  480. end
  481. end
  482. if KindOf == "Random" then
  483. for RockValue = 1, Number do
  484. local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale/4),math.ceil(Scale/4)),MRANDOM(0,Range))
  485. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  486. BOULDER.CanCollide = true
  487. BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  488. BOULDER.Color = Coloration
  489. table.insert(Boulders,BOULDER)
  490. end
  491. end
  492. wait(Timer)
  493. for E = 1, 45 do
  494. Swait()
  495. for A = 1, #Boulders do
  496. Boulders[A].Transparency = Boulders[A].Transparency + 1/45
  497. end
  498. end
  499. for A = 1, #Boulders do
  500. Boulders[A]:Destroy()
  501. end
  502. end))
  503. end
  504.  
  505.  
  506. --Converted with ttyyuu12345's model to script plugin v4
  507. function sandbox(var,func)
  508. local env = getfenv(func)
  509. local newenv = setmetatable({},{
  510. __index = function(self,k)
  511. if k=="script" then
  512. return var
  513. else
  514. return env[k]
  515. end
  516. end,
  517. })
  518. setfenv(func,newenv)
  519. return func
  520. end
  521. cors = {}
  522. mas = Instance.new("Model",game:GetService("Lighting"))
  523. PitchShiftSoundEffect0 = Instance.new("PitchShiftSoundEffect")
  524. ChorusSoundEffect1 = Instance.new("ChorusSoundEffect")
  525. ParticleEmitter2 = Instance.new("ParticleEmitter")
  526. PitchShiftSoundEffect0.Name = "Pitch"
  527. PitchShiftSoundEffect0.Parent = mas
  528. PitchShiftSoundEffect0.Octave = 0.92500001192093
  529. ChorusSoundEffect1.Parent = mas
  530. ChorusSoundEffect1.Depth = 0.070000000298023
  531. ChorusSoundEffect1.Mix = 0.20000000298023
  532. ParticleEmitter2.Name = "Voice"
  533. ParticleEmitter2.Parent = mas
  534. ParticleEmitter2.Speed = NumberRange.new(0, 0)
  535. ParticleEmitter2.Rotation = NumberRange.new(-180, 180)
  536. ParticleEmitter2.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  537. ParticleEmitter2.Enabled = false
  538. ParticleEmitter2.LightEmission = 1
  539. ParticleEmitter2.Texture = "rbxassetid://1084991215"
  540. ParticleEmitter2.Transparency = NumberSequence.new(0.5,1)
  541. ParticleEmitter2.ZOffset = 2
  542. ParticleEmitter2.Size = NumberSequence.new(0,10)
  543. ParticleEmitter2.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  544. ParticleEmitter2.Rate = 7
  545. for i,v in pairs(mas:GetChildren()) do
  546. v.Parent = script
  547. pcall(function() v:MakeJoints() end)
  548. end
  549. mas:Destroy()
  550. for i,v in pairs(cors) do
  551. spawn(function()
  552. pcall(v)
  553. end)
  554. end
  555.  
  556.  
  557. function Chatter(Text,Timer)
  558. local chat = coroutine.wrap(function()
  559. if CHARACTER:FindFirstChild("SpeechBoard")~= nil then
  560. CHARACTER:FindFirstChild("SpeechBoard"):destroy()
  561. end
  562. local naeeym2 = IT("BillboardGui",CHARACTER)
  563. naeeym2.Size = UD2(0,100,0,40)
  564. naeeym2.StudsOffset = Vector3.new(0,2,0)
  565. naeeym2.Adornee = HEAD
  566. naeeym2.Name = "SpeechBoard"
  567. naeeym2.AlwaysOnTop = true
  568. local tecks2 = IT("TextLabel",naeeym2)
  569. tecks2.BackgroundTransparency = 1
  570. tecks2.BorderSizePixel = 0
  571. tecks2.Text = ""
  572. tecks2.Font = "Legacy"
  573. tecks2.TextSize = 15
  574. tecks2.TextStrokeTransparency = 0
  575. tecks2.TextColor3 = Color3.new(1,1,1)
  576. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  577. tecks2.Size = UDim2.new(1,0,0.5,0)
  578. for i = 1,string.len(Text),1 do
  579. if naeeym2.Parent ~= CHARACTER then
  580. break
  581. end
  582. NewSound({ID = 418252437,PARENT = HEAD,VOLUME = 1,PITCH = MRANDOM(8,12)/10,LOOP = false,MAXDISTANCE = 75,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  583. tecks2.Text = string.sub(Text,1,i)
  584. wait(Timer)
  585. end
  586. wait(1)
  587. naeeym2:Destroy()
  588. end)
  589. chat()
  590. end
  591.  
  592. function SpawnPuddle(POSITION,IGNR,GOO)
  593. local HIT,POS,NOR = Raycast(POSITION, CFrame.new(POSITION,POSITION-Vector3.new(0,1,0)).lookVector, 12, {IGNR,CHARACTER})
  594. if HIT then
  595. coroutine.resume(coroutine.create(function()
  596. local GOREPART = CreatePart(3, Effects, "Slate", 0, 1, "Pearl", "Gore", VT(3,0,3), true)
  597. local SURFACE = script.PuddleSurface:Clone()
  598. SURFACE.Parent = GOREPART
  599. if GOO == true then
  600. SURFACE.Image.ImageColor3 = C3(0,0,0)
  601. end
  602. GOREPART.CFrame = CFrame.new(POS,POS+NOR)*CFrame.Angles(math.rad(-90),math.rad(math.random(0,360)),0)
  603. for i = 1, math.random(25,65) do
  604. Swait()
  605. GOREPART.Size = GOREPART.Size + Vector3.new(0.1,0,0.1)
  606. end
  607. wait(math.random(10,25)/50)
  608. for i = 1, 25 do
  609. Swait()
  610. SURFACE.Image.ImageTransparency = SURFACE.Image.ImageTransparency + 1/25
  611. end
  612. GOREPART:Remove()
  613. end))
  614. end
  615. end
  616.  
  617.  
  618. --Converted with ttyyuu12345's model to script plugin v4
  619. function sandbox(var,func)
  620. local env = getfenv(func)
  621. local newenv = setmetatable({},{
  622. __index = function(self,k)
  623. if k=="script" then
  624. return var
  625. else
  626. return env[k]
  627. end
  628. end,
  629. })
  630. setfenv(func,newenv)
  631. return func
  632. end
  633. cors = {}
  634. mas = Instance.new("Model",game:GetService("Lighting"))
  635. ParticleEmitter0 = Instance.new("ParticleEmitter")
  636. ParticleEmitter0.Name = "Blood"
  637. ParticleEmitter0.Parent = mas
  638. ParticleEmitter0.Speed = NumberRange.new(10, 35)
  639. ParticleEmitter0.Rotation = NumberRange.new(0, 360)
  640. ParticleEmitter0.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(0.490196, 0.0156863, 0.0156863))
  641. ParticleEmitter0.Enabled = false
  642. ParticleEmitter0.LightEmission = 0.5
  643. ParticleEmitter0.Texture = "rbxassetid://387288028"
  644. ParticleEmitter0.Transparency = NumberSequence.new(0.4375,0.74725270271301,0.86263734102249,0.94505494832993,1)
  645. ParticleEmitter0.Size = NumberSequence.new(0,1.1874997615814,1.3124996423721,1.4375001192093,2.2499995231628,3.125,4.625)
  646. ParticleEmitter0.Acceleration = Vector3.new(0, -35, 0)
  647. ParticleEmitter0.Drag = 5
  648. ParticleEmitter0.EmissionDirection = Enum.NormalId.Front
  649. ParticleEmitter0.Lifetime = NumberRange.new(1, 2)
  650. ParticleEmitter0.Rate = 999
  651. ParticleEmitter0.RotSpeed = NumberRange.new(-5, 5)
  652. ParticleEmitter0.SpreadAngle = Vector2.new(35, 35)
  653. ParticleEmitter0.VelocitySpread = 35
  654. for i,v in pairs(mas:GetChildren()) do
  655. v.Parent = script
  656. pcall(function() v:MakeJoints() end)
  657. end
  658. mas:Destroy()
  659. for i,v in pairs(cors) do
  660. spawn(function()
  661. pcall(v)
  662. end)
  663. end
  664.  
  665.  
  666. function recurse(root,callback,i)
  667. i= i or 0
  668. for _,v in pairs(root:GetChildren()) do
  669. i = i + 1
  670. callback(i,v)
  671.  
  672. if #v:GetChildren() > 0 then
  673. i = recurse(v,callback,i)
  674. end
  675. end
  676.  
  677. return i
  678. end
  679.  
  680. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  681. attachmentName = attachmentName.."RigAttachment"
  682. local constraint = Instance.new(className.."Constraint")
  683. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  684. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  685. constraint.Name = "RagdollConstraint"..part1.Name
  686.  
  687. for _,propertyData in next,properties or {} do
  688. constraint[propertyData[1]] = propertyData[2]
  689. end
  690.  
  691. constraint.Parent = character
  692. end
  693.  
  694. function getAttachment0(character, attachmentName)
  695. for _,child in next,character:GetChildren() do
  696. local attachment = child:FindFirstChild(attachmentName)
  697. if attachment then
  698. return attachment
  699. end
  700. end
  701. end
  702.  
  703. function ArtificialHitbox(Part)
  704. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  705. HITBOX.CanCollide = true
  706. HITBOX.CFrame = Part.CFrame
  707. weldBetween(Part,HITBOX)
  708. end
  709.  
  710. function Oof(Ch)
  711. if Ch.ClassName == "Model" then
  712. local D = Ch:GetDescendants()
  713. for i = 1,#D do
  714. local ee = D[i]
  715. if ee:IsA("Humanoid") then
  716. ee.BreakJointsOnDeath = false
  717. elseif ee:IsA("Motor6D") or ee:IsA("Motor") then
  718. local Old = ee.Parent
  719. ee.Parent = nil
  720. local R = Instance.new("Glue",Old)
  721. R.Name = ee.Name
  722. R.Part0 = ee.Part0
  723. R.Part1 = ee.Part1
  724. R.C0 = ee.C0
  725. R.C1 = ee.C1
  726. end
  727. end
  728. end
  729. end
  730.  
  731.  
  732. function R15Ragdoll(character,KeepArms)
  733. character:BreakJoints()
  734. coroutine.resume(coroutine.create(function()
  735. recurse(character, function(_,v)
  736. if v:IsA("Attachment") then
  737. v.Axis = Vector3.new(0, 1, 0)
  738. v.SecondaryAxis = Vector3.new(0, 0, 1)
  739. v.Rotation = Vector3.new(0, 0, 0)
  740. end
  741. end)
  742. for _,child in next,character:GetChildren() do
  743. if child:IsA("Accoutrement") then
  744. for _,part in next,child:GetChildren() do
  745. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  746. local attachment1 = part:FindFirstChildOfClass("Attachment")
  747. local attachment0 = getAttachment0(character,attachment1.Name)
  748. if attachment0 and attachment1 then
  749. local constraint = Instance.new("HingeConstraint")
  750. constraint.Attachment0 = attachment0
  751. constraint.Attachment1 = attachment1
  752. constraint.LimitsEnabled = true
  753. constraint.UpperAngle = 0
  754. constraint.LowerAngle = 0
  755. constraint.Parent = character
  756. end
  757. ArtificialHitbox(part)
  758. elseif part.Name == "HumanoidRootPart" then
  759. part:remove()
  760. end
  761. end
  762. end
  763. end
  764.  
  765. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  766. {"LimitsEnabled",true};
  767. {"UpperAngle",5};
  768. })
  769. if character:FindFirstChild("Head") then
  770. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  771. {"LimitsEnabled",true};
  772. {"UpperAngle",15};
  773. })
  774. end
  775.  
  776. local handProperties = {
  777. {"LimitsEnabled", true};
  778. {"UpperAngle",0};
  779. {"LowerAngle",0};
  780. }
  781. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  782. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  783.  
  784. local shinProperties = {
  785. {"LimitsEnabled", true};
  786. {"UpperAngle", 0};
  787. {"LowerAngle", -75};
  788. }
  789. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  790. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  791.  
  792. local footProperties = {
  793. {"LimitsEnabled", true};
  794. {"UpperAngle", 15};
  795. {"LowerAngle", -45};
  796. }
  797. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  798. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  799. if KeepArms == true then
  800. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  801. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  802. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  803. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  804. end
  805. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  806. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  807. Debris:AddItem(character,5)
  808. end))
  809. end
  810.  
  811. function Ragdoll(Character2,CharTorso,KeepArms)
  812. coroutine.resume(coroutine.create(function()
  813. Character2:BreakJoints()
  814. local hum = Character2:findFirstChild("Humanoid")
  815. hum:remove()
  816. local function Scan(ch)
  817. local e
  818. for e = 1,#ch do
  819. Scan(ch[e]:GetChildren())
  820. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  821. ch[e]:remove()
  822. end
  823. end
  824. end
  825. local NEWHUM = IT("Humanoid")
  826. NEWHUM.Name = "Corpse"
  827. NEWHUM.Health = 0
  828. NEWHUM.MaxHealth = 0
  829. NEWHUM.PlatformStand = true
  830. NEWHUM.Parent = Character2
  831. NEWHUM.DisplayDistanceType = "None"
  832.  
  833. local ch = Character2:GetChildren()
  834. local i
  835. for i = 1,#ch do
  836. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  837. ch[i]:remove()
  838. end
  839. end
  840.  
  841. local Torso2 = Character2.Torso
  842. local movevector = Vector3.new()
  843.  
  844. if Torso2 then
  845. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  846. local Head = Character2:FindFirstChild("Head")
  847. if Head then
  848. local Neck = Instance.new("Weld")
  849. Neck.Name = "Neck"
  850. Neck.Part0 = Torso2
  851. Neck.Part1 = Head
  852. Neck.C0 = CFrame.new(0, 1.5, 0)
  853. Neck.C1 = CFrame.new()
  854. Neck.Parent = Torso2
  855.  
  856. end
  857. local Limb = Character2:FindFirstChild("Right Arm")
  858. if Limb and KeepArms == true then
  859.  
  860. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  861. local Joint = Instance.new("Glue")
  862. Joint.Name = "RightShoulder"
  863. Joint.Part0 = Torso2
  864. Joint.Part1 = Limb
  865. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  866. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  867. Joint.Parent = Torso2
  868.  
  869. local B = Instance.new("Part")
  870. B.TopSurface = 0
  871. B.BottomSurface = 0
  872. B.formFactor = "Symmetric"
  873. B.Size = Vector3.new(1, 1, 1)
  874. B.Transparency = 1
  875. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  876. B.Parent = Character2
  877. local W = Instance.new("Weld")
  878. W.Part0 = Limb
  879. W.Part1 = B
  880. W.C0 = CFrame.new(0, -0.5, 0)
  881. W.Parent = Limb
  882.  
  883. end
  884. local Limb = Character2:FindFirstChild("Left Arm")
  885. if Limb and KeepArms == true then
  886.  
  887. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  888. local Joint = Instance.new("Glue")
  889. Joint.Name = "LeftShoulder"
  890. Joint.Part0 = Torso2
  891. Joint.Part1 = Limb
  892. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  893. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  894. Joint.Parent = Torso2
  895.  
  896. local B = Instance.new("Part")
  897. B.TopSurface = 0
  898. B.BottomSurface = 0
  899. B.formFactor = "Symmetric"
  900. B.Size = Vector3.new(1, 1, 1)
  901. B.Transparency = 1
  902. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  903. B.Parent = Character2
  904. local W = Instance.new("Weld")
  905. W.Part0 = Limb
  906. W.Part1 = B
  907. W.C0 = CFrame.new(0, -0.5, 0)
  908. W.Parent = Limb
  909.  
  910. end
  911. local Limb = Character2:FindFirstChild("Right Leg")
  912. if Limb then
  913.  
  914. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  915. local Joint = Instance.new("Glue")
  916. Joint.Name = "RightHip"
  917. Joint.Part0 = Torso2
  918. Joint.Part1 = Limb
  919. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  920. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  921. Joint.Parent = Torso2
  922.  
  923. local B = Instance.new("Part")
  924. B.TopSurface = 0
  925. B.BottomSurface = 0
  926. B.formFactor = "Symmetric"
  927. B.Size = Vector3.new(1, 1, 1)
  928. B.Transparency = 1
  929. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  930. B.Parent = Character2
  931. local W = Instance.new("Weld")
  932. W.Part0 = Limb
  933. W.Part1 = B
  934. W.C0 = CFrame.new(0, -0.5, 0)
  935. W.Parent = Limb
  936.  
  937. end
  938. local Limb = Character2:FindFirstChild("Left Leg")
  939. if Limb then
  940.  
  941. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  942. local Joint = Instance.new("Glue")
  943. Joint.Name = "LeftHip"
  944. Joint.Part0 = Torso2
  945. Joint.Part1 = Limb
  946. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  947. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  948. Joint.Parent = Torso2
  949.  
  950. local B = Instance.new("Part")
  951. B.TopSurface = 0
  952. B.BottomSurface = 0
  953. B.formFactor = "Symmetric"
  954. B.Size = Vector3.new(1, 1, 1)
  955. B.Transparency = 1
  956. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  957. B.Parent = Character2
  958. local W = Instance.new("Weld")
  959. W.Part0 = Limb
  960. W.Part1 = B
  961. W.C0 = CFrame.new(0, -0.5, 0)
  962. W.Parent = Limb
  963.  
  964. end
  965. --[
  966. local Bar = Instance.new("Part")
  967. Bar.TopSurface = 0
  968. Bar.BottomSurface = 0
  969. Bar.formFactor = "Symmetric"
  970. Bar.Size = Vector3.new(1, 1, 1)
  971. Bar.Transparency = 1
  972. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  973. Bar.Parent = Character2
  974. local Weld = Instance.new("Weld")
  975. Weld.Part0 = Torso2
  976. Weld.Part1 = Bar
  977. Weld.C0 = CFrame.new(0, 0.5, 0)
  978. Weld.Parent = Torso2
  979. --]]
  980. end
  981. Character2.Parent = workspace
  982. Debris:AddItem(Character2,5)
  983.  
  984. return Character2,Torso2
  985. end))
  986. end
  987.  
  988.  
  989. function Dismember2(MAN,DOWHAT)
  990. for index, CHILD in pairs(MAN:GetDescendants()) do
  991. if CHILD:IsA("Script") or CHILD:IsA("LocalScript") then
  992. CHILD:Destroy()
  993. end
  994. end
  995. if DOWHAT == "Ragdoll" then
  996. local HUM = MAN:FindFirstChildOfClass("Humanoid")
  997. if HUM then
  998. HUM.Health = 0
  999. end
  1000. if MAN:FindFirstChild("UpperTorso") then
  1001. --R15Ragdoll(HUM.Parent,true)
  1002. else
  1003. --Ragdoll(HUM.Parent,MAN:FindFirstChild("Torso"),true)
  1004. end
  1005. Oof(MAN)
  1006. else
  1007. local TORSO = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
  1008. local HED = MAN:FindFirstChild("Head")
  1009. if TORSO and HED then
  1010. if DOWHAT == "Head" then
  1011. if TORSO:FindFirstChild("TorsoA4") then
  1012. TORSO:FindFirstChild("TorsoA4"):Remove()
  1013. elseif MAN:FindFirstChild("RagdollConstraintHead") then
  1014. MAN:FindFirstChild("RagdollConstraintHead"):Remove()
  1015. end
  1016. HED:BreakJoints()
  1017. elseif DOWHAT == "RightArm" then
  1018. if TORSO:FindFirstChild("TorsoA3") then
  1019. TORSO:FindFirstChild("TorsoA3"):Remove()
  1020. elseif MAN:FindFirstChild("RagdollConstraintRightUpperArm") then
  1021. MAN:FindFirstChild("RagdollConstraintRightUpperArm"):Remove()
  1022. end
  1023. elseif DOWHAT == "LeftArm" then
  1024. if TORSO:FindFirstChild("TorsoA2") then
  1025. TORSO:FindFirstChild("TorsoA2"):Remove()
  1026. elseif MAN:FindFirstChild("RagdollConstraintLeftUpperArm") then
  1027. MAN:FindFirstChild("RagdollConstraintLeftUpperArm"):Remove()
  1028. end
  1029. elseif DOWHAT == "Legs" then
  1030. if TORSO.Name == "Torso" then
  1031. if TORSO:FindFirstChild("TorsoA") then
  1032. TORSO:FindFirstChild("TorsoA"):Remove()
  1033. end
  1034. if TORSO:FindFirstChild("TorsoA1") then
  1035. TORSO:FindFirstChild("TorsoA1"):Remove()
  1036. end
  1037. elseif MAN:FindFirstChild("RagdollConstraintUpperTorso") then
  1038. MAN:FindFirstChild("RagdollConstraintUpperTorso"):Remove()
  1039. end
  1040. end
  1041. end
  1042. end
  1043. end
  1044.  
  1045. function Dismember(MAN,DOWHAT)
  1046. local HUM = MAN:FindFirstChildOfClass("Humanoid")
  1047. if HUM then
  1048. HUM.Health = 0
  1049. HUM.PlatformStand = true
  1050. end
  1051. Oof(MAN)
  1052. end
  1053.  
  1054.  
  1055. function Speak(ID)
  1056. local S = NewSound({ID = ID,PARENT = HEAD,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 300,EMITTERSIZE = 35,PLAYING = false,PLAYONREMOVE = false,DOESDEBRIS = true})
  1057. script.ChorusSoundEffect:Clone().Parent = S
  1058. script.Pitch:Clone().Parent = S
  1059. S:Play()
  1060. Debris:AddItem(S,S.TimeLength+5)
  1061. end
  1062.  
  1063. --//====================================================\\--
  1064. --|| CHARACTER
  1065. --\\====================================================//--
  1066.  
  1067. local ARMOR = IT("Model",CHARACTER)
  1068. ARMOR.Name = "Goner"
  1069. HEAD:ClearAllChildren()
  1070. HEAD.Size = VT(1,1,1)
  1071. NECK.Parent = TORSO
  1072. local PARTS = {}
  1073.  
  1074.  
  1075. --Converted with ttyyuu12345's model to script plugin v4
  1076. function sandbox(var,func)
  1077. local env = getfenv(func)
  1078. local newenv = setmetatable({},{
  1079. __index = function(self,k)
  1080. if k=="script" then
  1081. return var
  1082. else
  1083. return env[k]
  1084. end
  1085. end,
  1086. })
  1087. setfenv(func,newenv)
  1088. return func
  1089. end
  1090. cors = {}
  1091. mas = Instance.new("Model",game:GetService("Lighting"))
  1092. Part0 = Instance.new("Part")
  1093. Part0.Name = "Sword"
  1094. SpecialMesh1 = Instance.new("SpecialMesh")
  1095. Part0.Parent = mas
  1096. Part0.CFrame = CFrame.new(71.8596878, 36.4158554, -206.858093, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1097. Part0.Position = Vector3.new(71.8596878, 36.4158554, -206.858093)
  1098. Part0.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1099. Part0.Size = Vector3.new(1.5, 5.75, 0.25)
  1100. Part0.Anchored = true
  1101. Part0.BottomSurface = Enum.SurfaceType.Smooth
  1102. Part0.BrickColor = BrickColor.new("Really black")
  1103. Part0.CanCollide = false
  1104. Part0.Material = Enum.Material.Slate
  1105. Part0.TopSurface = Enum.SurfaceType.Smooth
  1106. Part0.brickColor = BrickColor.new("Really black")
  1107. SpecialMesh1.Parent = Part0
  1108. SpecialMesh1.MeshId = "rbxassetid://500489601"
  1109. SpecialMesh1.Scale = Vector3.new(0.0149999997, 0.00850000046, 0.0199999996)
  1110. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  1111. for i,v in pairs(mas:GetChildren()) do
  1112. v.Parent = script
  1113. pcall(function() v:MakeJoints() end)
  1114. end
  1115. mas:Destroy()
  1116. for i,v in pairs(cors) do
  1117. spawn(function()
  1118. pcall(v)
  1119. end)
  1120. end
  1121.  
  1122.  
  1123. local SWORD = MODULE.Sword
  1124. SWORD.Parent = ARMOR
  1125. SWORD.Anchored = false
  1126. local GRIPC0 = CF(0,-0.9,0)*ANGLES(RAD(90),RAD(90),0)
  1127. local HOLD = IT("ManualWeld")
  1128. HOLD.Part0 = RIGHTARM
  1129. HOLD.Part1 = SWORD
  1130. HOLD.C0 = GRIPC0
  1131. HOLD.C1 = CF(0,-SWORD.Size.Y/3,0)
  1132. HOLD.Parent = RIGHTARM
  1133. HOLD.Name = "GripWeld"
  1134. --local TRAIL = SWORD.Trail
  1135. local SOUND_SNAP = 150315649
  1136. local SUBMERGED = false
  1137. table.insert(PARTS,SWORD)
  1138.  
  1139. --//====================================================\\--
  1140. --|| ABILITIES
  1141. --\\====================================================//--
  1142.  
  1143. function Slash()
  1144. ATTACKING = true
  1145. for i=0, 0.2, 0.1 / ANIM_SPEED do
  1146. Swait()
  1147. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.5 / ANIM_SPEED)
  1148. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1149. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 2 / ANIM_SPEED)
  1150. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)), 2 / ANIM_SPEED)
  1151. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1152. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1153. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1154. end
  1155. --TRAIL.Enabled = true
  1156. NewSound({ID = 211059653,PARENT = SWORD,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1157. for i=0, 0.1, 0.1 / ANIM_SPEED do
  1158. Swait()
  1159. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  1160. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED)
  1161. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.5, -0.85) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.65 / ANIM_SPEED)
  1162. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)), 0.75 / ANIM_SPEED)
  1163. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(-5), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1164. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1165. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1166. end
  1167. for index, CHILD in pairs(workspace:GetChildren()) do
  1168. if CHILD:FindFirstChildOfClass("Humanoid") and CHILD ~= CHARACTER then
  1169. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  1170. local ROOT2 = HUMAN.Torso
  1171. if ROOT2 and HUMAN.Health > 0 then
  1172. if (ROOT2.Position - ROOT.CFrame*CF(0,0,-2).p).Magnitude < 4.5 then
  1173. local HEAD = CHILD:FindFirstChild("Head")
  1174. if HEAD then
  1175. local FACE = HEAD:FindFirstChild("face")
  1176. if FACE then
  1177. FACE.Texture = "http://www.roblox.com/asset/?id=145854465"
  1178. FACE.Transparency = 0.5
  1179. end
  1180. end
  1181. Dismember(CHILD,"Ragdoll")
  1182. Dismember(CHILD,"Head")
  1183. NewSound({ID = 264486467,PARENT = ROOT2,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1184. NewSound({ID = SOUND_SNAP,PARENT = ROOT2,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1185. for i = 1, 7 do
  1186. OofOuchBlood(ROOT2.Position,CF(ROOT2.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,45)
  1187. end
  1188. coroutine.resume(coroutine.create(function()
  1189. for i = 1, 25 do
  1190. SpawnPuddle(ROOT2.Position,CHILD,false)
  1191. Swait()
  1192. end
  1193. end))
  1194. end
  1195. end
  1196. end
  1197. end
  1198. for i=0, 0.3, 0.1 / ANIM_SPEED do
  1199. Swait()
  1200. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  1201. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED)
  1202. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.5, -0.85) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.65 / ANIM_SPEED)
  1203. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)), 0.75 / ANIM_SPEED)
  1204. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(-5), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1205. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1206. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1207. end
  1208. --TRAIL.Enabled = false
  1209. ATTACKING = false
  1210. end
  1211.  
  1212.  
  1213. --Converted with ttyyuu12345's model to script plugin v4
  1214. function sandbox(var,func)
  1215. local env = getfenv(func)
  1216. local newenv = setmetatable({},{
  1217. __index = function(self,k)
  1218. if k=="script" then
  1219. return var
  1220. else
  1221. return env[k]
  1222. end
  1223. end,
  1224. })
  1225. setfenv(func,newenv)
  1226. return func
  1227. end
  1228. cors = {}
  1229. mas = Instance.new("Model",game:GetService("Lighting"))
  1230. ScreenGui0 = Instance.new("ScreenGui")
  1231. ImageLabel1 = Instance.new("ImageLabel")
  1232. LocalScript2 = Instance.new("LocalScript")
  1233. ScreenGui0.Name = "GonerStatic"
  1234. ScreenGui0.Parent = mas
  1235. ImageLabel1.Name = "Static"
  1236. ImageLabel1.Parent = ScreenGui0
  1237. ImageLabel1.Position = UDim2.new(-0.0799999982, 0, -0.150000006, 0)
  1238. ImageLabel1.Size = UDim2.new(1.20000005, 0, 1.29999995, 0)
  1239. ImageLabel1.BackgroundColor = BrickColor.new("Institutional white")
  1240. ImageLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
  1241. ImageLabel1.BackgroundTransparency = 1
  1242. ImageLabel1.Image = "rbxassetid://924320031"
  1243. ImageLabel1.ImageTransparency = 1
  1244. LocalScript2.Name = "Script"
  1245. LocalScript2.Parent = ScreenGui0
  1246. table.insert(cors,sandbox(LocalScript2,function()
  1247. local PLR = game.Players.LocalPlayer
  1248. local IMAGE = script.Parent.Static
  1249. local STATICS = {"479939522","426859113","446601018","477780809","2432665152"}
  1250. local SOUND = script:WaitForChild("Static")
  1251. SOUND:Play()
  1252. local OOFED = false
  1253. game:GetService("RunService").Heartbeat:connect(function()
  1254. IMAGE.ImageTransparency = math.random(50,85)/100
  1255. IMAGE.Image = "rbxassetid://"..STATICS[math.random(1,#STATICS)]
  1256. end)
  1257. end))
  1258. LocalScript2.Disabled = true
  1259. for i,v in pairs(mas:GetChildren()) do
  1260. v.Parent = script
  1261. pcall(function() v:MakeJoints() end)
  1262. end
  1263. mas:Destroy()
  1264. for i,v in pairs(cors) do
  1265. spawn(function()
  1266. pcall(v)
  1267. end)
  1268. end
  1269.  
  1270. function Execute(INPUT)
  1271. local TARGET = nil
  1272. local DIST = 6
  1273. for index, CHILD in pairs(workspace:GetChildren()) do
  1274. if CHILD:FindFirstChildOfClass("Humanoid") and CHILD ~= CHARACTER then
  1275. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  1276. local ROOT2 = HUMAN.Torso
  1277. if ROOT2 and HUMAN.Health > 0 then
  1278. if (ROOT2.Position - ROOT.Position).Magnitude < DIST then
  1279. TARGET = CHILD
  1280. DIST = (ROOT2.Position - ROOT.Position).Magnitude
  1281. end
  1282. end
  1283. end
  1284. end
  1285. if TARGET and (SUBMERGED == false or ((INPUT == "x" or INPUT == "z" or INPUT == "c") and SUBMERGED == true)) then
  1286. local DedFace = function()
  1287. local HEAD = TARGET:FindFirstChild("Head")
  1288. if HEAD then
  1289. local FACE = HEAD:FindFirstChild("face")
  1290. if FACE then
  1291. FACE.Texture = "http://www.roblox.com/asset/?id=145854465"
  1292. FACE.Transparency = 0.5
  1293. end
  1294. end
  1295. end
  1296. local TARGETSTATIC = nil
  1297. if game:GetService("Players"):GetPlayerFromCharacter(TARGET) then
  1298. TARGETSTATIC = script.GonerStatic:Clone()
  1299. TARGETSTATIC.Parent = game:GetService("Players"):GetPlayerFromCharacter(TARGET).PlayerGui
  1300. local SOUND = NewSound({ID = 2737898305,PARENT = TARGETSTATIC.Script,VOLUME = 3,PITCH = 1,LOOP = true,MAXDISTANCE = 125,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = false})
  1301. SOUND.Name = "Static"
  1302. Swait()
  1303. TARGETSTATIC.Script.Disabled = false
  1304. end
  1305. local STATIC = script.GonerStatic:Clone()
  1306. STATIC.Parent = PLAYER.PlayerGui
  1307. local SOUND = NewSound({ID = 2737898305,PARENT = STATIC.Script,VOLUME = 3,PITCH = 1,LOOP = true,MAXDISTANCE = 125,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = false})
  1308. SOUND.Name = "Static"
  1309. Swait()
  1310. STATIC.Script.Disabled = false
  1311. local TARGETTORSO = TARGET:FindFirstChild("Torso") or TARGET:FindFirstChild("UpperTorso")
  1312. local GRABA = IT("Attachment",LEFTARM)
  1313. GRABA.Position = VT(0,-1.5,0)
  1314. local GRABB = IT("Attachment",TARGETTORSO)
  1315. local GRAB = IT("BallSocketConstraint",GRABA)
  1316. GRAB.Attachment0 = GRABA
  1317. GRAB.Attachment1 = GRABB
  1318. local GYRO = IT("BodyGyro")
  1319. GYRO.D = 20
  1320. GYRO.P = 5000
  1321. GYRO.MaxTorque = VT(0,4000000,0)
  1322. GYRO.CFrame = CF(TARGETTORSO.Position,ROOT.Position)
  1323. GYRO.Parent = TARGETTORSO
  1324. ATTACKING = true
  1325. ROOT.Anchored = true
  1326. if INPUT == "z" then
  1327. for i=0, 1, 0.1 / ANIM_SPEED do
  1328. Swait()
  1329. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.5 / ANIM_SPEED)
  1330. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1331. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  1332. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)) * ANGLES(RAD(0),RAD(90),RAD(0)), 0.5 / ANIM_SPEED)
  1333. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(85), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1334. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1335. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1336. end
  1337. --TRAIL.Enabled = true
  1338. NewSound({ID = 211059653,PARENT = SWORD,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1339. for i=0, 0.1, 0.1 / ANIM_SPEED do
  1340. Swait()
  1341. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  1342. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED)
  1343. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.5, -0.85) * ANGLES(RAD(35), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1344. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)) * ANGLES(RAD(0),RAD(90),RAD(0)), 1.5 / ANIM_SPEED)
  1345. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(85), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1346. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1347. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1348. end
  1349. CameraShake(ROOT.Position,4.6,15,25)
  1350. Dismember(TARGET,"Ragdoll")
  1351. Dismember(TARGET,"Head")
  1352. DedFace()
  1353. GYRO:Remove()
  1354. NewSound({ID = 264486467,PARENT = TARGETTORSO,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1355. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1356. for i = 1, 7 do
  1357. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,45)
  1358. end
  1359. coroutine.resume(coroutine.create(function()
  1360. for i = 1, 25 do
  1361. SpawnPuddle(TARGETTORSO.Position,TARGET,false)
  1362. Swait()
  1363. end
  1364. end))
  1365. for i=0, 0.9, 0.1 / ANIM_SPEED do
  1366. Swait()
  1367. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  1368. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-1)), 1.5 / ANIM_SPEED)
  1369. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.5, -0.85) * ANGLES(RAD(35), RAD(0), RAD(-90)) * ANGLES(RAD(25), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1370. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)) * ANGLES(RAD(0),RAD(90),RAD(0)), 1.5 / ANIM_SPEED)
  1371. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(85), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1372. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1373. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1374. end
  1375. --TRAIL.Enabled = false
  1376. elseif INPUT == "x" then
  1377. for i=0, 1, 0.1 / ANIM_SPEED do
  1378. Swait()
  1379. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.5 / ANIM_SPEED)
  1380. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1381. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  1382. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)) * ANGLES(RAD(0),RAD(90),RAD(0)), 0.5 / ANIM_SPEED)
  1383. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1384. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1385. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1386. end
  1387. --TRAIL.Enabled = true
  1388. NewSound({ID = 536642316,PARENT = SWORD,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1389. for i=0, 0.1, 0.1 / ANIM_SPEED do
  1390. Swait()
  1391. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  1392. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED)
  1393. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.35, -0.85) * ANGLES(RAD(-25), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1394. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)) * ANGLES(RAD(0),RAD(90),RAD(0)), 1.5 / ANIM_SPEED)
  1395. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(125), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1396. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1397. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1398. end
  1399. CameraShake(ROOT.Position,4.6,15,25)
  1400. Dismember(TARGET,"Ragdoll")
  1401. Dismember(TARGET,"Legs")
  1402. DedFace()
  1403. GYRO:Remove()
  1404. NewSound({ID = 264486467,PARENT = TARGETTORSO,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1405. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1406. for i = 1, 7 do
  1407. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,45)
  1408. end
  1409. coroutine.resume(coroutine.create(function()
  1410. for i = 1, 25 do
  1411. SpawnPuddle(TARGETTORSO.Position,TARGET,false)
  1412. Swait()
  1413. end
  1414. end))
  1415. for i=0, 0.9, 0.1 / ANIM_SPEED do
  1416. Swait()
  1417. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  1418. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-1)), 1.5 / ANIM_SPEED)
  1419. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.35, -0.85) * ANGLES(RAD(-25), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1420. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)) * ANGLES(RAD(0),RAD(90),RAD(0)), 1.5 / ANIM_SPEED)
  1421. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(125), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1422. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1423. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1424. end
  1425. --TRAIL.Enabled = false
  1426. elseif INPUT == "c" then
  1427. if SUBMERGED == false then
  1428. GRABA:Remove()
  1429. GRABB:Remove()
  1430. TARGETTORSO.Anchored = true
  1431. local DEAD = false
  1432. Dismember(TARGET,"Ragdoll")
  1433. coroutine.resume(coroutine.create(function()
  1434. repeat
  1435. Swait()
  1436. TARGETTORSO.CFrame = Clerp(TARGETTORSO.CFrame,ROOT.CFrame*CF(0,-3,-1.5) * ANGLES(RAD(-90), RAD(0), RAD(0)),0.3)
  1437. until DEAD == true
  1438. coroutine.resume(coroutine.create(function()
  1439. for i = 1, 25 do
  1440. SpawnPuddle(TARGETTORSO.Position+VT(0,1,0),TARGET,false)
  1441. Swait()
  1442. end
  1443. end))
  1444. DedFace()
  1445. end))
  1446. for i=0, 1.5, 0.1 / ANIM_SPEED do
  1447. Swait()
  1448. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(30), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1449. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1450. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1451. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(70)), 1.5 / ANIM_SPEED)
  1452. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-5)) * CF(0,-0.75,0) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1453. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1454. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1.5 / ANIM_SPEED)
  1455. end
  1456. for i = 1, 7 do
  1457. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,15)
  1458. end
  1459. CameraShake(ROOT.Position,4.6,15,25)
  1460. Dismember(TARGET,"LeftArm")
  1461. local ARM = TARGET:FindFirstChild("Left Arm") or TARGET:FindFirstChild("LeftUpperArm")
  1462. if ARM then
  1463. local BV = IT("BodyVelocity")
  1464. BV.MaxForce = BV.MaxForce * 500
  1465. BV.Velocity = CF(ARM.Position,ROOT.Position+VT(0,2,0)).lookVector*65
  1466. BV.Parent = ARM
  1467. Debris:AddItem(BV,0.05)
  1468. end
  1469. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 6,PITCH = 1.1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1470. for i=0, 0.3, 0.1 / ANIM_SPEED do
  1471. Swait()
  1472. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(30), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1473. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1474. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1475. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(70)), 1.5 / ANIM_SPEED)
  1476. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 1) * ANGLES(RAD(90), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1477. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1478. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1.5 / ANIM_SPEED)
  1479. end
  1480. for i=0, 0.3, 0.1 / ANIM_SPEED do
  1481. Swait()
  1482. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(30), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1483. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1484. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1485. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(70)), 1.5 / ANIM_SPEED)
  1486. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(85)) * CF(0,-1.25,0) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1487. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1488. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1.5 / ANIM_SPEED)
  1489. end
  1490. for i = 1, 7 do
  1491. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,15)
  1492. end
  1493. CameraShake(ROOT.Position,4.6,15,25)
  1494. Dismember(TARGET,"RightArm")
  1495. local ARM = TARGET:FindFirstChild("Right Arm") or TARGET:FindFirstChild("RightUpperArm")
  1496. if ARM then
  1497. local BV = IT("BodyVelocity")
  1498. BV.MaxForce = BV.MaxForce * 500
  1499. BV.Velocity = CF(ARM.Position,ROOT.Position+VT(0,2,0)).lookVector*65
  1500. BV.Parent = ARM
  1501. Debris:AddItem(BV,0.05)
  1502. end
  1503. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 6,PITCH = 1.1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1504. DEAD = true
  1505. for i=0, 0.3, 0.1 / ANIM_SPEED do
  1506. Swait()
  1507. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(30), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1508. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1509. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1510. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(70)), 1.5 / ANIM_SPEED)
  1511. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 1) * ANGLES(RAD(90), RAD(0), RAD(85)) * CF(0,0.75,0) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1512. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1513. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1.5 / ANIM_SPEED)
  1514. end
  1515. else
  1516. TARGETTORSO.Anchored = true
  1517. local POS = ROOT.Position
  1518. Dismember(TARGET,"Ragdoll")
  1519. TARGET.Parent = Effects
  1520. for i = 1, 60 do
  1521. Swait()
  1522. SpawnPuddle(TARGETTORSO.Position,TARGET,true)
  1523. TARGETTORSO.CFrame = TARGETTORSO.CFrame*CF(0,-0.1,0)
  1524. end
  1525. for i = 1, 7 do
  1526. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,50,-1).p,3)
  1527. end
  1528. TARGET:Remove()
  1529. end
  1530. elseif INPUT == "v" then
  1531. GRABA:Remove()
  1532. GRABB:Remove()
  1533. TARGETTORSO.Anchored = true
  1534. local DEAD = false
  1535. coroutine.resume(coroutine.create(function()
  1536. repeat
  1537. Swait()
  1538. TARGETTORSO.CFrame = Clerp(TARGETTORSO.CFrame,ROOT.CFrame*CF(0,-3,-1.2) * ANGLES(RAD(-90), RAD(0), RAD(0)),0.3)
  1539. until DEAD == true
  1540. DedFace()
  1541. Dismember(TARGET,"Ragdoll")
  1542. coroutine.resume(coroutine.create(function()
  1543. for i = 1, 25 do
  1544. SpawnPuddle(TARGETTORSO.Position+VT(0,1,0),TARGET,false)
  1545. Swait()
  1546. end
  1547. end))
  1548. end))
  1549. for i=0, 0.5, 0.1 / ANIM_SPEED do
  1550. Swait()
  1551. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1552. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1553. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1554. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  1555. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1556. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, 0.3, -1) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1557. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(20)), 1.5 / ANIM_SPEED)
  1558. end
  1559. for i = 1, MRANDOM(6,12) do
  1560. for i=0, 0.5, 0.1 / ANIM_SPEED do
  1561. Swait()
  1562. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1563. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1564. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1565. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  1566. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1567. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, 0.3, -1) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1568. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(20)), 1.5 / ANIM_SPEED)
  1569. end
  1570. for i=0, 0.1, 0.1 / ANIM_SPEED do
  1571. Swait()
  1572. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1573. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1574. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1575. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  1576. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1577. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, -1) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1578. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 1.5 / ANIM_SPEED)
  1579. end
  1580. CameraShake(ROOT.Position,4.6,15,25)
  1581. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 1,PITCH = 1.25,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1582. for i = 1, 7 do
  1583. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,15)
  1584. end
  1585. for i=0, 0.2, 0.1 / ANIM_SPEED do
  1586. Swait()
  1587. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1588. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1589. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1590. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  1591. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1592. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, -1) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1593. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 1.5 / ANIM_SPEED)
  1594. end
  1595. end
  1596. DEAD = true
  1597. for i=0, 0.6, 0.1 / ANIM_SPEED do
  1598. Swait()
  1599. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1600. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1601. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1602. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  1603. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1604. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, -1) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1605. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 1.5 / ANIM_SPEED)
  1606. end
  1607. end
  1608. GYRO:Remove()
  1609. if (INPUT ~= "c" or SUBMERGED == false) then
  1610. Speak(2291326656)
  1611. end
  1612. STATIC:Remove()
  1613. if TARGETSTATIC then
  1614. TARGETSTATIC:Remove()
  1615. end
  1616. GRABA:Remove()
  1617. GRABB:Remove()
  1618. ROOT.Anchored = false
  1619. ATTACKING = false
  1620. end
  1621. end
  1622.  
  1623. function Shriek()
  1624. ROOT.Anchored = true
  1625. ATTACKING = true
  1626. for i=0, 0.15, 0.1 / ANIM_SPEED do
  1627. Swait()
  1628. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / ANIM_SPEED)
  1629. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(5), RAD(0)), 2 / ANIM_SPEED)
  1630. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.7, 0) * ANGLES(RAD(25), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 2 / ANIM_SPEED)
  1631. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 2 / ANIM_SPEED)
  1632. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(45), RAD(-10), RAD(25)) * LEFTSHOULDERC0, 2 / ANIM_SPEED)
  1633. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -0.8, -0.4) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / ANIM_SPEED)
  1634. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.8, -0.4) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(20)), 2 / ANIM_SPEED)
  1635. end
  1636. local FACE = IT("Attachment",HEAD)
  1637. local SPEAK = MODULE.Voice:Clone()
  1638. SPEAK.Size = NumberSequence.new(0,25)
  1639. SPEAK.Parent = FACE
  1640. SPEAK.Enabled = true
  1641. Speak(2466752906)
  1642. CameraShake(ROOT.Position,65,8,150)
  1643. for i=0, 1.75, 0.1 / ANIM_SPEED do
  1644. Swait()
  1645. for index, CHILD in pairs(workspace:GetChildren()) do
  1646. if CHILD:FindFirstChildOfClass("Humanoid") and CHILD ~= CHARACTER then
  1647. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  1648. local ROOT2 = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1649. if ROOT2 and HUMAN.Health > 0 and CHILD:FindFirstChild("Head") then
  1650. if (ROOT2.Position - ROOT.Position).Magnitude < 45 then
  1651. local HED = CHILD:FindFirstChild("Head")
  1652. Dismember(CHILD,"Ragdoll")
  1653. for i = 1, 7 do
  1654. OofOuchBlood(HED.Position,CF(HED.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,45)
  1655. end
  1656. NewSound({ID = 264486467,PARENT = ROOT2,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1657. NewSound({ID = SOUND_SNAP,PARENT = ROOT2,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1658. coroutine.resume(coroutine.create(function()
  1659. for i = 1, 8 do
  1660. SpawnPuddle(ROOT2.Position+VT(0,1,0),CHILD,false)
  1661. Swait()
  1662. end
  1663. end))
  1664. HED:Remove()
  1665. end
  1666. end
  1667. end
  1668. end
  1669. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.5 / ANIM_SPEED)
  1670. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(5+MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 0.5 / ANIM_SPEED)
  1671. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  1672. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 0.5 / ANIM_SPEED)
  1673. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(45+MRANDOM(-5,5)), RAD(-10+MRANDOM(-5,5)), RAD(-25+MRANDOM(-5,5))) * ANGLES(RAD(-75), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / ANIM_SPEED)
  1674. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  1675. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  1676. end
  1677. SPEAK.Enabled = false
  1678. Debris:AddItem(FACE,1)
  1679. ATTACKING = false
  1680. ROOT.Anchored = false
  1681. end
  1682.  
  1683. function Speech(INPUT)
  1684. ATTACKING = true
  1685. if INPUT == "t" then
  1686. Speak(2316600989)
  1687. elseif INPUT == "y" then
  1688. Speak(2290634374)
  1689. elseif INPUT == "u" then
  1690. Speak(2291325961)
  1691. end
  1692. ATTACKING = false
  1693. end
  1694.  
  1695. --//====================================================\\--
  1696. --|| WRAP
  1697. --\\====================================================//--
  1698.  
  1699. mouse = owner:GetMouse()
  1700.  
  1701. mouse.Button1Down:connect(function()
  1702. MOUSEHOLD = true
  1703. if SUBMERGED == false then
  1704. Slash()
  1705. end
  1706. end)
  1707.  
  1708. mouse.Button1Up:connect(function()
  1709. MOUSEHOLD = false
  1710. end)
  1711.  
  1712. mouse.KeyDown:connect(function(key)
  1713. key = key:lower()
  1714. V2 = key
  1715. KEYHOLD = true
  1716. if key == "e" then
  1717. if ROOT:FindFirstChild("BGM_MUSIC") then
  1718. ROOT:FindFirstChild("BGM_MUSIC"):Remove()
  1719. else
  1720. local M = NewSound({ID = 2598782592,PARENT = ROOT,VOLUME = 1.5,PITCH = 0.4,LOOP = true,MAXDISTANCE = 300,EMITTERSIZE = 300,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1721. M.Name = "BGM_MUSIC"
  1722. end
  1723. end
  1724. if V2 == "z" or V2 == "x" or V2 == "c" or V2 == "v" then
  1725. Execute(V2)
  1726. end
  1727. if V2 == "g" and SUBMERGED == false then
  1728. Shriek()
  1729. elseif V2 == "q" then
  1730. if SUBMERGED == false then
  1731. SUBMERGED = true
  1732. else
  1733. ROOT.Anchored = false
  1734. SUBMERGED = false
  1735. ROOT.CFrame = ROOT.CFrame*CF(0,3,0)
  1736. end
  1737. elseif V2 == "w" and SUBMERGED == true and ATTACKING == false then
  1738. repeat
  1739. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(0,0,-0.5)
  1740. Swait()
  1741. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1742. elseif V2 == "s" and SUBMERGED == true and ATTACKING == false then
  1743. repeat
  1744. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(0,0,0.25)
  1745. Swait()
  1746. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1747. elseif V2 == "a" and SUBMERGED == true and ATTACKING == false then
  1748. repeat
  1749. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(-0.1,0,0)
  1750. Swait()
  1751. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1752. elseif V2 == "d" and SUBMERGED == true and ATTACKING == false then
  1753. repeat
  1754. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(0.1,0,0)
  1755. Swait()
  1756. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1757. elseif V2 == "t" or V2 == "y" or V2 == "u" then
  1758. Speech(V2)
  1759. end
  1760. end)
  1761.  
  1762. mouse.KeyUp:connect(function(key)
  1763. KEYHOLD = false
  1764. end)
  1765.  
  1766. REMOTE.OnServerEvent:Connect(function(PLR,V1,V2)
  1767. if PLR == PLAYER and ANIM ~= "Sit" then
  1768. --if V1 == "MousePositionUpdate" then
  1769. --MOUSEPOS = V2
  1770. if V1 == "KeyUp" then
  1771. KEYHOLD = false
  1772. elseif V1 == "MouseUp" then
  1773. MOUSEHOLD = false
  1774. end
  1775. if ATTACKING == false then
  1776. if V1 == "MouseDown" and SUBMERGED == false then
  1777. MOUSEHOLD = true
  1778. Slash()
  1779. elseif V1 == "KeyDown" then
  1780. KEYHOLD = true
  1781. if V2 == "e" then
  1782. if ROOT:FindFirstChild("BGM_MUSIC") then
  1783. ROOT:FindFirstChild("BGM_MUSIC"):Remove()
  1784. else
  1785. local M = NewSound({ID = 2598782592,PARENT = ROOT,VOLUME = 1.5,PITCH = 0.4,LOOP = true,MAXDISTANCE = 300,EMITTERSIZE = 300,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1786. M.Name = "BGM_MUSIC"
  1787. end
  1788. elseif V2 == "z" or V2 == "x" or V2 == "c" or V2 == "v" then
  1789. Execute(V2)
  1790. elseif V2 == "g" and SUBMERGED == false then
  1791. Shriek()
  1792. elseif V2 == "q" then
  1793. if SUBMERGED == false then
  1794. SUBMERGED = true
  1795. else
  1796. ROOT.Anchored = false
  1797. SUBMERGED = false
  1798. ROOT.CFrame = ROOT.CFrame*CF(0,3,0)
  1799. end
  1800. elseif V2 == "w" and SUBMERGED == true and ATTACKING == false then
  1801. repeat
  1802. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(0,0,-0.5)
  1803. Swait()
  1804. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1805. elseif V2 == "s" and SUBMERGED == true and ATTACKING == false then
  1806. repeat
  1807. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(0,0,0.25)
  1808. Swait()
  1809. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1810. elseif V2 == "a" and SUBMERGED == true and ATTACKING == false then
  1811. repeat
  1812. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(-0.1,0,0)
  1813. Swait()
  1814. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1815. elseif V2 == "d" and SUBMERGED == true and ATTACKING == false then
  1816. repeat
  1817. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(0.1,0,0)
  1818. Swait()
  1819. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1820. elseif V2 == "t" or V2 == "y" or V2 == "u" then
  1821. Speech(V2)
  1822. end
  1823. end
  1824. end
  1825. end
  1826. end)
  1827. local M = NewSound({ID = 2598782592,PARENT = ROOT,VOLUME = 1.5,PITCH = 0.4,LOOP = true,MAXDISTANCE = 300,EMITTERSIZE = 300,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1828. M.Name = "BGM_MUSIC"
  1829.  
  1830. HUM.HealthChanged:Connect(function()
  1831. HUM.PlatformStand = false
  1832. HUM.MaxHealth = 3000
  1833. HUM.Health = 3000
  1834. HUM.Name = PLAYER.UserId
  1835. end)
  1836. HUM.PlatformStand = false
  1837. HUM.MaxHealth = 3000
  1838. HUM.Health = 3000
  1839. HUM.Name = PLAYER.UserId
  1840. script.Parent = PLAYER.Backpack
  1841. local TWITCH = 0
  1842. while true do
  1843. Swait()
  1844. SINE = SINE + CHANGE
  1845. if CHARACTER:FindFirstChild("Animate") then
  1846. CHARACTER:FindFirstChild("Animate"):Destroy()
  1847. end
  1848. if CHARACTER:FindFirstChild("Sound") then
  1849. CHARACTER:FindFirstChild("Sound"):Destroy()
  1850. end
  1851. for _,v in next, HUM:GetPlayingAnimationTracks() do
  1852. v:Stop();
  1853. end
  1854. local TORSOVELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude
  1855. local TORSOVERTICALVELOCITY = ROOT.Velocity.y
  1856. local HITFLOOR,HITPOS = Raycast(ROOT.Position, (CF(ROOT.Position, ROOT.Position + VT(0, -1, 0))).lookVector, 4+HUM.HipHeight, CHARACTER)
  1857. local WALKSPEEDVALUE = 10
  1858. local SITTING = HUM.Sit
  1859. if ANIM == "Walk" and TORSOVELOCITY > 1 and ATTACKING == false and SITTING == false then
  1860. ROOTJOINT.C1 = Clerp(ROOTJOINT.C1, ROOTC0 * CF(0, 0, -0.015 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (HUM.WalkSpeed / 16) / ANIM_SPEED)
  1861. NECK.C1 = Clerp(NECK.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - HEAD.RotVelocity.Y / 30), 0.2 * (HUM.WalkSpeed / 16) / ANIM_SPEED)
  1862. RIGHTHIP.C1 = Clerp(RIGHTHIP.C1, CF(0.5, 0.875 - 0.3 * SIN(SINE / WALKSPEEDVALUE), -0.5 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / ANIM_SPEED)
  1863. LEFTHIP.C1 = Clerp(LEFTHIP.C1, CF(-0.5, 0.875 + 0.3 * SIN(SINE / WALKSPEEDVALUE), 0.5 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / ANIM_SPEED)
  1864. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or ATTACKING == true or SITTING == true then
  1865. ROOTJOINT.C1 = Clerp(ROOTJOINT.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / ANIM_SPEED)
  1866. NECK.C1 = Clerp(NECK.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / ANIM_SPEED)
  1867. RIGHTHIP.C1 = Clerp(RIGHTHIP.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / ANIM_SPEED)
  1868. LEFTHIP.C1 = Clerp(LEFTHIP.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / ANIM_SPEED)
  1869. end
  1870. if SITTING == false then
  1871. if HITFLOOR then
  1872. if SUBMERGED == false then
  1873. HUM.JumpPower = 50
  1874. HUM.WalkSpeed = 8
  1875. if TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1876. ANIM = "Idle"
  1877. if MRANDOM(1,15) == 1 and ATTACKING == false then
  1878. SpawnPuddle(HITPOS+VT(0,0.5,0),CHARACTER,true)
  1879. end
  1880. if ATTACKING == false then
  1881. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.5 / ANIM_SPEED)
  1882. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 0.5 / ANIM_SPEED)
  1883. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  1884. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 0.5 / ANIM_SPEED)
  1885. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 0.5 / ANIM_SPEED)
  1886. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  1887. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  1888. end
  1889. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1890. ANIM = "Walk"
  1891. if MRANDOM(1,5) == 1 and ATTACKING == false then
  1892. SpawnPuddle(HITPOS+VT(0,0.5,0),CHARACTER,true)
  1893. end
  1894. if ATTACKING == false then
  1895. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.25 / ANIM_SPEED)
  1896. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.25 / ANIM_SPEED)
  1897. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5-0.015 * COS(SINE / (WALKSPEEDVALUE / 2)), 0) * ANGLES(RAD(25), RAD(20), RAD(5)) * RIGHTSHOULDERC0, 0.75 / ANIM_SPEED)
  1898. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(5)), 0.5 / ANIM_SPEED)
  1899. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.45, 0.5-0.015 * SIN(SINE / (WALKSPEEDVALUE / 2)), -0.5) * ANGLES(RAD(95), RAD(-5), RAD(-5)) * LEFTSHOULDERC0, 0.75 / ANIM_SPEED)
  1900. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(-15)), 2 / ANIM_SPEED)
  1901. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(15)), 2 / ANIM_SPEED)
  1902. end
  1903. end
  1904. elseif SUBMERGED == true then
  1905. HUM.JumpPower = 0
  1906. HUM.WalkSpeed = 0
  1907. if MRANDOM(1,2) == 1 then
  1908. SpawnPuddle(HITPOS+VT(0,0.5,0),CHARACTER,true)
  1909. end
  1910. ANIM = "Submerged"
  1911. ROOT.Anchored = true
  1912. if ATTACKING == false then
  1913. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.25 / ANIM_SPEED)
  1914. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.25 / ANIM_SPEED)
  1915. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / ANIM_SPEED)
  1916. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(90)), 0.5 / ANIM_SPEED)
  1917. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / ANIM_SPEED)
  1918. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  1919. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  1920. end
  1921. ROOT.CFrame = CF(HITPOS+VT(0,0.05,0))*ANGLES(0,RAD(ROOT.Orientation.Y),0)
  1922. end
  1923. else
  1924. SUBMERGED = false
  1925. ANIM = "Midair"
  1926. if ATTACKING == false then
  1927. ROOT.Anchored = false
  1928. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / ANIM_SPEED)
  1929. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / ANIM_SPEED)
  1930. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / ANIM_SPEED)
  1931. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 0.5 / ANIM_SPEED)
  1932. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / ANIM_SPEED)
  1933. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / ANIM_SPEED)
  1934. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / ANIM_SPEED)
  1935. end
  1936. end
  1937. else
  1938. SUBMERGED = false
  1939. ANIM = "Sit"
  1940. if ATTACKING == false then
  1941. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.25 / ANIM_SPEED)
  1942. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.25 / ANIM_SPEED)
  1943. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.65, 0) * ANGLES(RAD(50), RAD(10), RAD(-45))*CF(0,-0.25,0) * RIGHTSHOULDERC0, 1.25 / ANIM_SPEED)
  1944. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.65, 0) * ANGLES(RAD(50), RAD(-10), RAD(45))*CF(0,-0.25,0) * LEFTSHOULDERC0, 1.25 / ANIM_SPEED)
  1945. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -0.25, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.25 / ANIM_SPEED)
  1946. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.25, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.25 / ANIM_SPEED)
  1947. end
  1948. end
  1949. if TWITCH > 0 then
  1950. TWITCH = TWITCH - 1
  1951. NECK.C0 = NECK.C0 * ANGLES(RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5)))
  1952. else
  1953. if MRANDOM(1,25) == 1 then
  1954. TWITCH = MRANDOM(2,12)
  1955. end
  1956. end
  1957. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement