Advertisement
HenloMyDude

for game

Jan 10th, 2020
588
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.63 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| BASIS
  3. --\\====================================================//--
  4.  
  5. local MODULE = script
  6. local CHARACTER = owner.Character
  7. local PLAYER = game:GetService("Players"):GetPlayerFromCharacter(CHARACTER)
  8. local HUM = CHARACTER.Humanoid
  9. local EE = Instance.new("RemoteEvent", MODULE)
  10. EE.Name = "Event"
  11. local REMOTE = MODULE.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. local FakeMouse = {}
  50. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  51. local RealPlayer = Player
  52. 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
  53. local pk={};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
  54.  
  55. --//====================================================\\--
  56. --|| BACKGROUND VALUES
  57. --\\====================================================//--
  58.  
  59. local ANIM_SPEED = 3
  60. local MOUSE = PLAYER:GetMouse()
  61. local FRAME_SPEED = 1 / 60 -- (1 / 30) OR (1 / 60)
  62. local CHANGE = 2 / ANIM_SPEED
  63. local DAMAGEMULTIPLIER = 1
  64. local ANIM = "Idle"
  65. local KEYHOLD = false
  66. local MOUSEHOLD = false
  67. local SINE = 0
  68. local ATTACKING = false
  69. local Debris = game:GetService("Debris")
  70. local Effects = IT("Folder",CHARACTER)
  71. Effects.Name = "FXFolder"
  72. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  73. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  74. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  75. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  76.  
  77. --//====================================================\\--
  78. --|| HEARTBEAT
  79. --\\====================================================//--
  80.  
  81. ArtificialHB = Instance.new("BindableEvent", script)
  82. ArtificialHB.Name = "ArtificialHB"
  83.  
  84. script:WaitForChild("ArtificialHB")
  85.  
  86. frame = FRAME_SPEED
  87. tf = 0
  88. allowframeloss = false
  89. tossremainder = false
  90. lastframe = tick()
  91. script.ArtificialHB:Fire()
  92.  
  93. game:GetService("RunService").Heartbeat:connect(function(s, p)
  94. tf = tf + s
  95. if tf >= frame then
  96. if allowframeloss then
  97. ArtificialHB:Fire()
  98. lastframe = tick()
  99. else
  100. for i = 1, math.floor(tf / frame) do
  101. ArtificialHB:Fire()
  102. end
  103. lastframe = tick()
  104. end
  105. if tossremainder then
  106. tf = 0
  107. else
  108. tf = tf - frame * math.floor(tf / frame)
  109. end
  110. end
  111. end)
  112.  
  113. function PositiveAngle(NUMBER)
  114. if NUMBER >= 0 then
  115. NUMBER = 0
  116. end
  117. return NUMBER
  118. end
  119.  
  120. function NegativeAngle(NUMBER)
  121. if NUMBER <= 0 then
  122. NUMBER = 0
  123. end
  124. return NUMBER
  125. end
  126.  
  127. function Swait(NUMBER)
  128. if NUMBER == 0 or NUMBER == nil then
  129. ArtificialHB.Event:wait()
  130. else
  131. for i = 1, NUMBER do
  132. ArtificialHB.Event:wait()
  133. end
  134. end
  135. end
  136.  
  137. --//====================================================\\--
  138. --|| CLERP
  139. --\\====================================================//--
  140.  
  141. function QuaternionFromCFrame(cf)
  142. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  143. local trace = m00 + m11 + m22
  144. if trace > 0 then
  145. local s = math.sqrt(1 + trace)
  146. local recip = 0.5 / s
  147. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  148. else
  149. local i = 0
  150. if m11 > m00 then
  151. i = 1
  152. end
  153. if m22 > (i == 0 and m00 or m11) then
  154. i = 2
  155. end
  156. if i == 0 then
  157. local s = math.sqrt(m00 - m11 - m22 + 1)
  158. local recip = 0.5 / s
  159. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  160. elseif i == 1 then
  161. local s = math.sqrt(m11 - m22 - m00 + 1)
  162. local recip = 0.5 / s
  163. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  164. elseif i == 2 then
  165. local s = math.sqrt(m22 - m00 - m11 + 1)
  166. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  167. end
  168. end
  169. end
  170.  
  171. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  172. local xs, ys, zs = x + x, y + y, z + z
  173. local wx, wy, wz = w * xs, w * ys, w * zs
  174. local xx = x * xs
  175. local xy = x * ys
  176. local xz = x * zs
  177. local yy = y * ys
  178. local yz = y * zs
  179. local zz = z * zs
  180. 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))
  181. end
  182.  
  183. function QuaternionSlerp(a, b, t)
  184. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  185. local startInterp, finishInterp;
  186. if cosTheta >= 0.0001 then
  187. if (1 - cosTheta) > 0.0001 then
  188. local theta = ACOS(cosTheta)
  189. local invSinTheta = 1 / SIN(theta)
  190. startInterp = SIN((1 - t) * theta) * invSinTheta
  191. finishInterp = SIN(t * theta) * invSinTheta
  192. else
  193. startInterp = 1 - t
  194. finishInterp = t
  195. end
  196. else
  197. if (1 + cosTheta) > 0.0001 then
  198. local theta = ACOS(-cosTheta)
  199. local invSinTheta = 1 / SIN(theta)
  200. startInterp = SIN((t - 1) * theta) * invSinTheta
  201. finishInterp = SIN(t * theta) * invSinTheta
  202. else
  203. startInterp = t - 1
  204. finishInterp = t
  205. end
  206. end
  207. 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
  208. end
  209.  
  210. function Clerp(a, b, t)
  211. local qa = {QuaternionFromCFrame(a)}
  212. local qb = {QuaternionFromCFrame(b)}
  213. local ax, ay, az = a.x, a.y, a.z
  214. local bx, by, bz = b.x, b.y, b.z
  215. local _t = 1 - t
  216. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  217. end
  218.  
  219. --//====================================================\\--
  220. --|| FUNCTIONS
  221. --\\====================================================//--
  222.  
  223. function WeldParts(A,B)
  224. local WLD = IT("ManualWeld")
  225. WLD.Part0 = A
  226. WLD.Part1 = B
  227. WLD.C1 = B.CFrame:inverse() * A.CFrame
  228. WLD.Parent = A
  229. return WLD
  230. end
  231.  
  232. --NewSound({ID = 0,PARENT = ROOT,VOLUME = 0.5,PITCH = 1,LOOP = false,MAXDISTANCE = 1000,EMITTERSIZE = 10,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  233. function NewSound(TABLE)
  234. local ID = "rbxassetid://"..(TABLE.ID or 0)
  235. local PARENT = (TABLE.PARENT or ROOT)
  236. local VOLUME = (TABLE.VOLUME or 0.5)
  237. local PITCH = (TABLE.PITCH or 1)
  238. local LOOP = (TABLE.LOOP or false)
  239. local MAXDISTANCE = (TABLE.MAXDISTANCE or 100)
  240. local EMITTERSIZE = (TABLE.EMITTERSIZE or 10)
  241. local PLAYING = (TABLE.PLAYING or true)
  242. local PLAYONREMOVE = (TABLE.PLAYONREMOVE or false)
  243. local DOESDEBRIS = (TABLE.DOESDEBRIS or true)
  244. if ID ~= "rbxassetid://0" then
  245. local SOUND = IT("Sound",PARENT)
  246. SOUND.SoundId = ID
  247. SOUND.Volume = VOLUME
  248. SOUND.Pitch = PITCH
  249. SOUND.Looped = LOOP
  250. SOUND.MaxDistance = MAXDISTANCE
  251. SOUND.EmitterSize = EMITTERSIZE
  252. SOUND.PlayOnRemove = PLAYONREMOVE
  253. if DOESDEBRIS == true and PLAYING == true and LOOP == false then
  254. Debris:AddItem(SOUND,SOUND.TimeLength+5)
  255. end
  256. if PLAYING == true then
  257. SOUND:Play()
  258. end
  259. return SOUND
  260. end
  261. end
  262.  
  263. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  264. local NEWMESH = IT(MESH)
  265. if MESH == "SpecialMesh" then
  266. NEWMESH.MeshType = MESHTYPE
  267. if MESHID ~= "nil" and MESHID ~= "" then
  268. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  269. end
  270. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  271. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  272. end
  273. end
  274. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  275. NEWMESH.Scale = SCALE
  276. NEWMESH.Parent = PARENT
  277. return NEWMESH
  278. end
  279.  
  280. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  281. local NEWPART = IT("Part")
  282. NEWPART.formFactor = FORMFACTOR
  283. NEWPART.Reflectance = REFLECTANCE
  284. NEWPART.Transparency = TRANSPARENCY
  285. NEWPART.CanCollide = false
  286. NEWPART.Locked = true
  287. NEWPART.Anchored = true
  288. if ANCHOR == false then
  289. NEWPART.Anchored = false
  290. end
  291. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  292. NEWPART.Name = NAME
  293. NEWPART.Size = SIZE
  294. NEWPART.Position = ROOT.Position
  295. NEWPART.Material = MATERIAL
  296. NEWPART:BreakJoints()
  297. NEWPART.Parent = PARENT
  298. return NEWPART
  299. end
  300.  
  301. function Raycast(POSITION, DIRECTION, RANGE, TABLE)
  302. local TABLE = ((type(TABLE) == "table" and TABLE) or {TABLE})
  303. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(POSITION, DIRECTION * RANGE), TABLE)
  304. end
  305.  
  306. function CameraShake(AREA,RANGE,SHAKE,TIMER)
  307. for index, CHILD in pairs(workspace:GetChildren()) do
  308. if CHILD:FindFirstChildOfClass("Humanoid") then
  309. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  310. local ROOT = HUMAN.Torso
  311. if ROOT and game.Players:GetPlayerFromCharacter(CHILD) then
  312. if (ROOT.Position - AREA).Magnitude <= RANGE then
  313. if CHILD:FindFirstChild("CamShake") then
  314. Debris:AddItem(CHILD:FindFirstChild("CamShake"),0.05)
  315. end
  316. local CAMSHAKE = script.CamShake:Clone()
  317. CAMSHAKE.Parent = CHILD
  318. local TIMER_V = IT("NumberValue",CAMSHAKE)
  319. TIMER_V.Name = "Timer"
  320. TIMER_V.Value = TIMER
  321. local SHAKE_V = IT("NumberValue",CAMSHAKE)
  322. SHAKE_V.Name = "Shake"
  323. SHAKE_V.Value = SHAKE
  324. CAMSHAKE.Disabled = false
  325. Debris:AddItem(CAMSHAKE,15)
  326. end
  327. end
  328. end
  329. end
  330. end
  331.  
  332. --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})
  333. function Debree(Table)
  334. local KindOf = (Table.Variant or "Ring")
  335. local Position = (Table.Location or ROOT.Position)
  336. local Coloration = (Table.Color or C3(1,1,1))
  337. local Texture = (Table.Material or "Slate")
  338. local Fling = (Table.Scatter or 1)
  339. local Number = (Table.Amount or 1)
  340. local Rocks = (Table.DebreeCount or 1)
  341. local Range = (Table.Distance or 1)
  342. local Scale = (Table.Size or 1)
  343. local Timer = (Table.Delay or 1.5)
  344. coroutine.resume(coroutine.create(function()
  345. local ScaleVector = VT(Scale,Scale,Scale)
  346. local Boulders = {}
  347. Position = CF(Position)
  348. if KindOf == "Ring" or KindOf == "Both" then
  349. for RockValue = 1, Number do
  350. local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale/4),math.ceil(Scale/4)),Range)
  351. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  352. BOULDER.CanCollide = true
  353. BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  354. BOULDER.Color = Coloration
  355. table.insert(Boulders,BOULDER)
  356. end
  357. end
  358. if KindOf == "Loose" or KindOf == "Both" then
  359. for RockValue = 1, Rocks do
  360. 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)
  361. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, false)
  362. BOULDER.CanCollide = true
  363. BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  364. 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))
  365. BOULDER.Color = Coloration
  366. table.insert(Boulders,BOULDER)
  367. end
  368. end
  369. if KindOf == "Random" then
  370. for RockValue = 1, Number do
  371. 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))
  372. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  373. BOULDER.CanCollide = true
  374. BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  375. BOULDER.Color = Coloration
  376. table.insert(Boulders,BOULDER)
  377. end
  378. end
  379. wait(Timer)
  380. for E = 1, 45 do
  381. Swait()
  382. for A = 1, #Boulders do
  383. Boulders[A].Transparency = Boulders[A].Transparency + 1/45
  384. end
  385. end
  386. for A = 1, #Boulders do
  387. Boulders[A]:Destroy()
  388. end
  389. end))
  390. end
  391.  
  392. function Chatter(Text,Timer)
  393. local chat = coroutine.wrap(function()
  394. if CHARACTER:FindFirstChild("SpeechBoard")~= nil then
  395. CHARACTER:FindFirstChild("SpeechBoard"):destroy()
  396. end
  397. local naeeym2 = IT("BillboardGui",CHARACTER)
  398. naeeym2.Size = UD2(0,100,0,40)
  399. naeeym2.StudsOffset = Vector3.new(0,2,0)
  400. naeeym2.Adornee = HEAD
  401. naeeym2.Name = "SpeechBoard"
  402. naeeym2.AlwaysOnTop = true
  403. local tecks2 = IT("TextLabel",naeeym2)
  404. tecks2.BackgroundTransparency = 1
  405. tecks2.BorderSizePixel = 0
  406. tecks2.Text = ""
  407. tecks2.Font = "Legacy"
  408. tecks2.TextSize = 15
  409. tecks2.TextStrokeTransparency = 0
  410. tecks2.TextColor3 = Color3.new(1,1,1)
  411. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  412. tecks2.Size = UDim2.new(1,0,0.5,0)
  413. for i = 1,string.len(Text),1 do
  414. if naeeym2.Parent ~= CHARACTER then
  415. break
  416. end
  417. NewSound({ID = 418252437,PARENT = HEAD,VOLUME = 1,PITCH = MRANDOM(8,12)/10,LOOP = false,MAXDISTANCE = 75,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  418. tecks2.Text = string.sub(Text,1,i)
  419. wait(Timer)
  420. end
  421. wait(1)
  422. naeeym2:Destroy()
  423. end)
  424. chat()
  425. end
  426.  
  427. function SpawnPuddle(POSITION,IGNR,GOO)
  428. local HIT,POS,NOR = Raycast(POSITION, CFrame.new(POSITION,POSITION-Vector3.new(0,1,0)).lookVector, 12, {IGNR,CHARACTER})
  429. if HIT then
  430. coroutine.resume(coroutine.create(function()
  431. local GOREPART = CreatePart(3, Effects, "Slate", 0, 1, "Pearl", "Gore", VT(3,0,3), true)
  432. local SURFACE = script.PuddleSurface:Clone()
  433. SURFACE.Parent = GOREPART
  434. if GOO == true then
  435. SURFACE.Image.ImageColor3 = C3(0,0,0)
  436. end
  437. GOREPART.CFrame = CFrame.new(POS,POS+NOR)*CFrame.Angles(math.rad(-90),math.rad(math.random(0,360)),0)
  438. for i = 1, math.random(25,65) do
  439. Swait()
  440. GOREPART.Size = GOREPART.Size + Vector3.new(0.1,0,0.1)
  441. end
  442. wait(math.random(10,25)/50)
  443. for i = 1, 25 do
  444. Swait()
  445. SURFACE.Image.ImageTransparency = SURFACE.Image.ImageTransparency + 1/25
  446. end
  447. GOREPART:Remove()
  448. end))
  449. end
  450. end
  451.  
  452. function Dismember(MAN,DOWHAT)
  453. for index, CHILD in pairs(MAN:GetDescendants()) do
  454. if CHILD:IsA("Script") or CHILD:IsA("LocalScript") then
  455. CHILD:Destroy()
  456. end
  457. end
  458. if DOWHAT == "Ragdoll" then
  459. local HUM = MAN:FindFirstChildOfClass("Humanoid")
  460. if HUM then
  461. HUM.Health = 0
  462. end
  463. MAN:BreakJoints()
  464. end
  465. end
  466.  
  467. function Speak(ID)
  468. local S = NewSound({ID = ID,PARENT = HEAD,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 300,EMITTERSIZE = 35,PLAYING = false,PLAYONREMOVE = false,DOESDEBRIS = true})
  469. script.ChorusSoundEffect:Clone().Parent = S
  470. script.Pitch:Clone().Parent = S
  471. S:Play()
  472. Debris:AddItem(S,S.TimeLength+5)
  473. end
  474.  
  475. --//====================================================\\--
  476. --|| CHARACTER
  477. --\\====================================================//--
  478.  
  479. local ARMOR = IT("Model",CHARACTER)
  480. ARMOR.Name = "Goner"
  481. HEAD:ClearAllChildren()
  482. HEAD.Size = VT(1,1,1)
  483. Bits = Instance.new("Model", MODULE)
  484. Bits.Name = "Bits"
  485. NECK.Parent = TORSO
  486. local PARTS = {}
  487. for index, CHILD in pairs(CHARACTER:GetChildren()) do
  488. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  489. CHILD.Transparency = 0
  490. local BITS = MODULE.Bits:Clone()
  491. BITS.Parent = CHILD
  492. --BITS.Enabled = true
  493. if MODULE:FindFirstChild(CHILD.Name) then
  494. local P = MODULE:FindFirstChild(CHILD.Name)
  495. P.Parent = CHARACTER
  496. P:SetPrimaryPartCFrame(CHILD.CFrame)
  497. for index, PART in pairs(P:GetChildren()) do
  498. if PART ~= P.PrimaryPart then
  499. PART.Anchored = false
  500. PART.CanCollide = false
  501. PART.Massless = true
  502. WeldParts(CHILD,PART)
  503. PART.Parent = ARMOR
  504. table.insert(PARTS,PART)
  505. end
  506. end
  507. P:Destroy()
  508. end
  509. else
  510. if CHILD:IsA("Accessory") then
  511. CHILD:Destroy()
  512. end
  513. end
  514. end
  515. Sword = Instance.new("MeshPart", MODULE)
  516. Sword.Name = "Sword"
  517. local SWORD = MODULE.Sword
  518. SWORD.Parent = ARMOR
  519. SWORD.Anchored = false
  520. local GRIPC0 = CF(0,-0.9,0)*ANGLES(RAD(90),RAD(90),0)
  521. local HOLD = IT("ManualWeld")
  522. HOLD.Part0 = RIGHTARM
  523. HOLD.Part1 = SWORD
  524. HOLD.C0 = GRIPC0
  525. HOLD.C1 = CF(0,-SWORD.Size.Y/3,0)
  526. HOLD.Parent = RIGHTARM
  527. HOLD.Name = "GripWeld"
  528. local trail = Instance.new("Trail", SWORD)
  529. trail.Name = "Trail"
  530. local TRAIL = SWORD.Trail
  531. local SOUND_SNAP = 150315649
  532. local SUBMERGED = false
  533. table.insert(PARTS,SWORD)
  534.  
  535. --//====================================================\\--
  536. --|| ABILITIES
  537. --\\====================================================//--
  538.  
  539. function Slash()
  540. ATTACKING = true
  541. for i=0, 0.4, 0.1 / ANIM_SPEED do
  542. Swait()
  543. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.5 / ANIM_SPEED)
  544. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  545. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 2 / ANIM_SPEED)
  546. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)), 2 / ANIM_SPEED)
  547. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  548. 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)
  549. 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)
  550. end
  551. TRAIL.Enabled = true
  552. NewSound({ID = 211059653,PARENT = SWORD,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  553. for i=0, 0.1, 0.1 / ANIM_SPEED do
  554. Swait()
  555. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  556. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED)
  557. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.5, -0.85) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.65 / ANIM_SPEED)
  558. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)), 0.75 / ANIM_SPEED)
  559. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(-5), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  560. 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)
  561. 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)
  562. end
  563. for index, CHILD in pairs(workspace:GetChildren()) do
  564. if CHILD:FindFirstChildOfClass("Humanoid") and CHILD ~= CHARACTER then
  565. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  566. local ROOT2 = HUMAN.Torso
  567. if ROOT2 and HUMAN.Health > 0 then
  568. if (ROOT2.Position - ROOT.CFrame*CF(0,0,-2).p).Magnitude < 4.5 then
  569. local HEAD = CHILD:FindFirstChild("Head")
  570. if HEAD then
  571. local FACE = HEAD:FindFirstChild("face")
  572. if FACE then
  573. FACE.Texture = "http://www.roblox.com/asset/?id=145854465"
  574. FACE.Transparency = 0.5
  575. end
  576. end
  577. Dismember(CHILD,"Ragdoll")
  578. Dismember(CHILD,"Head")
  579. NewSound({ID = 264486467,PARENT = ROOT2,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  580. NewSound({ID = SOUND_SNAP,PARENT = ROOT2,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  581. for i = 1, 7 do
  582. OofOuchBlood(ROOT2.Position,CF(ROOT2.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,45)
  583. end
  584. coroutine.resume(coroutine.create(function()
  585. for i = 1, 25 do
  586. SpawnPuddle(ROOT2.Position,CHILD,false)
  587. wait(2)
  588. end
  589. end))
  590. end
  591. end
  592. end
  593. end
  594. for i=0, 0.3, 0.1 / ANIM_SPEED do
  595. Swait()
  596. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  597. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED)
  598. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.5, -0.85) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.65 / ANIM_SPEED)
  599. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)), 0.75 / ANIM_SPEED)
  600. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(-5), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  601. 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)
  602. 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)
  603. end
  604. TRAIL.Enabled = false
  605. ATTACKING = false
  606. end
  607.  
  608. function Execute(INPUT)
  609. local TARGET = nil
  610. local DIST = 10
  611. for index, CHILD in pairs(workspace:GetChildren()) do
  612. if CHILD:FindFirstChildOfClass("Humanoid") and CHILD ~= CHARACTER then
  613. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  614. local ROOT2 = HUMAN.Torso
  615. if ROOT2 and HUMAN.Health > 0 then
  616. if (ROOT2.Position - ROOT.Position).Magnitude < DIST then
  617. TARGET = CHILD
  618. DIST = (ROOT2.Position - ROOT.Position).Magnitude
  619. end
  620. end
  621. end
  622. end
  623. if TARGET and (SUBMERGED == false or ((INPUT == "x" or INPUT == "z") and SUBMERGED == true)) then
  624. local DedFace = function()
  625. local HEAD = TARGET:FindFirstChild("Head")
  626. if HEAD then
  627. local FACE = HEAD:FindFirstChild("face")
  628. if FACE then
  629. FACE.Texture = "http://www.roblox.com/asset/?id=145854465"
  630. FACE.Transparency = 0.5
  631. end
  632. end
  633. end
  634. local TARGETSTATIC = nil
  635. if game:GetService("Players"):GetPlayerFromCharacter(TARGET) then
  636. TARGETSTATIC = script.GonerStatic:Clone()
  637. TARGETSTATIC.Parent = game:GetService("Players"):GetPlayerFromCharacter(TARGET).PlayerGui
  638. local SOUND = NewSound({ID = 2737898305,PARENT = TARGETSTATIC.Script,VOLUME = 3,PITCH = 1,LOOP = true,MAXDISTANCE = 125,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = false})
  639. SOUND.Name = "Static"
  640. Swait()
  641. TARGETSTATIC.Script.Disabled = false
  642. end
  643. local STATIC = script.GonerStatic:Clone()
  644. STATIC.Parent = PLAYER.PlayerGui
  645. local SOUND = NewSound({ID = 2737898305,PARENT = STATIC.Script,VOLUME = 3,PITCH = 1,LOOP = true,MAXDISTANCE = 125,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = false})
  646. SOUND.Name = "Static"
  647. Swait()
  648. STATIC.Script.Disabled = false
  649. local TARGETTORSO = TARGET:FindFirstChild("Torso") or TARGET:FindFirstChild("UpperTorso")
  650. local GRABA = IT("Attachment",LEFTARM)
  651. GRABA.Position = VT(0,-1.5,0)
  652. local GRABB = IT("Attachment",TARGETTORSO)
  653. local GRAB = IT("BallSocketConstraint",GRABA)
  654. GRAB.Attachment0 = GRABA
  655. GRAB.Attachment1 = GRABB
  656. local GYRO = IT("BodyGyro")
  657. GYRO.D = 20
  658. GYRO.P = 5000
  659. GYRO.MaxTorque = VT(0,4000000,0)
  660. GYRO.CFrame = CF(TARGETTORSO.Position,ROOT.Position)
  661. GYRO.Parent = TARGETTORSO
  662. ATTACKING = true
  663. ROOT.Anchored = true
  664. if INPUT == "z" then
  665. for i=0, 2, 0.1 / ANIM_SPEED do
  666. Swait()
  667. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.5 / ANIM_SPEED)
  668. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  669. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  670. 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)
  671. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(85), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  672. 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)
  673. 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)
  674. end
  675. TRAIL.Enabled = true
  676. NewSound({ID = 211059653,PARENT = SWORD,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  677. for i=0, 0.1, 0.1 / ANIM_SPEED do
  678. Swait()
  679. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  680. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED)
  681. 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)
  682. 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)
  683. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(85), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  684. 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)
  685. 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)
  686. end
  687. CameraShake(ROOT.Position,4.6,15,25)
  688. Dismember(TARGET,"Ragdoll")
  689. Dismember(TARGET,"Head")
  690. DedFace()
  691. GYRO:Remove()
  692. NewSound({ID = 264486467,PARENT = TARGETTORSO,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  693. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  694. for i = 1, 7 do
  695. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,45)
  696. coroutine.resume(coroutine.create(function()
  697. for i = 1, 25 do
  698. SpawnPuddle(TARGETTORSO.Position,TARGET,false)
  699. wait(2)
  700. end
  701. end))
  702. end
  703. for i=0, 0.9, 0.1 / ANIM_SPEED do
  704. Swait()
  705. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  706. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-1)), 1.5 / ANIM_SPEED)
  707. 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)
  708. 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)
  709. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(85), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  710. 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)
  711. 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)
  712. end
  713. TRAIL.Enabled = false
  714. elseif INPUT == "x" then
  715. for i=0, 2, 0.1 / ANIM_SPEED do
  716. Swait()
  717. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.5 / ANIM_SPEED)
  718. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  719. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  720. 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)
  721. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  722. 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)
  723. 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)
  724. end
  725. TRAIL.Enabled = true
  726. NewSound({ID = 536642316,PARENT = SWORD,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  727. for i=0, 0.1, 0.1 / ANIM_SPEED do
  728. Swait()
  729. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  730. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED)
  731. 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)
  732. 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)
  733. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(125), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  734. 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)
  735. 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)
  736. end
  737. CameraShake(ROOT.Position,4.6,15,25)
  738. Dismember(TARGET,"Ragdoll")
  739. Dismember(TARGET,"Legs")
  740. DedFace()
  741. GYRO:Remove()
  742. NewSound({ID = 264486467,PARENT = TARGETTORSO,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  743. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  744. for i = 1, 7 do
  745. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,45)
  746. coroutine.resume(coroutine.create(function()
  747. for i = 1, 25 do
  748. SpawnPuddle(TARGETTORSO.Position,TARGET,false)
  749. wait(2)
  750. end
  751. end))
  752. end
  753. for i=0, 0.9, 0.1 / ANIM_SPEED do
  754. Swait()
  755. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  756. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-1)), 1.5 / ANIM_SPEED)
  757. 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)
  758. 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)
  759. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(125), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  760. 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)
  761. 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)
  762. end
  763. TRAIL.Enabled = false
  764. elseif INPUT == "c" then
  765. GRABA:Remove()
  766. GRABB:Remove()
  767. TARGETTORSO.Anchored = true
  768. local DEAD = false
  769. Dismember(TARGET,"Ragdoll")
  770. coroutine.resume(coroutine.create(function()
  771. repeat
  772. Swait()
  773. TARGETTORSO.CFrame = Clerp(TARGETTORSO.CFrame,ROOT.CFrame*CF(0,-3,-1.5) * ANGLES(RAD(-90), RAD(0), RAD(0)),0.3)
  774. until DEAD == true
  775. coroutine.resume(coroutine.create(function()
  776. for i = 1, 25 do
  777. SpawnPuddle(TARGETTORSO.Position+VT(0,1,0),TARGET,false)
  778. wait(2)
  779. end
  780. end))
  781. DedFace()
  782. end))
  783. for i=0, 1.5, 0.1 / ANIM_SPEED do
  784. Swait()
  785. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(30), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  786. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  787. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  788. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(70)), 1.5 / ANIM_SPEED)
  789. 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)
  790. 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)
  791. 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)
  792. end
  793. for i = 1, 7 do
  794. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,15)
  795. end
  796. CameraShake(ROOT.Position,4.6,15,25)
  797. Dismember(TARGET,"LeftArm")
  798. local ARM = TARGET:FindFirstChild("Left Arm") or TARGET:FindFirstChild("LeftUpperArm")
  799. if ARM then
  800. local BV = IT("BodyVelocity")
  801. BV.MaxForce = BV.MaxForce * 500
  802. BV.Velocity = CF(ARM.Position,ROOT.Position+VT(0,2,0)).lookVector*65
  803. BV.Parent = ARM
  804. Debris:AddItem(BV,0.05)
  805. end
  806. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 6,PITCH = 1.1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  807. for i=0, 0.3, 0.1 / ANIM_SPEED do
  808. Swait()
  809. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(30), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  810. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  811. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  812. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(70)), 1.5 / ANIM_SPEED)
  813. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 1) * ANGLES(RAD(90), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  814. 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)
  815. 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)
  816. end
  817. for i=0, 0.3, 0.1 / ANIM_SPEED do
  818. Swait()
  819. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(30), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  820. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  821. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  822. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(70)), 1.5 / ANIM_SPEED)
  823. 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)
  824. 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)
  825. 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)
  826. end
  827. for i = 1, 7 do
  828. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,15)
  829. end
  830. CameraShake(ROOT.Position,4.6,15,25)
  831. Dismember(TARGET,"RightArm")
  832. local ARM = TARGET:FindFirstChild("Right Arm") or TARGET:FindFirstChild("RightUpperArm")
  833. if ARM then
  834. local BV = IT("BodyVelocity")
  835. BV.MaxForce = BV.MaxForce * 500
  836. BV.Velocity = CF(ARM.Position,ROOT.Position+VT(0,2,0)).lookVector*65
  837. BV.Parent = ARM
  838. Debris:AddItem(BV,0.05)
  839. end
  840. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 6,PITCH = 1.1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  841. DEAD = true
  842. for i=0, 0.3, 0.1 / ANIM_SPEED do
  843. Swait()
  844. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(30), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  845. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  846. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  847. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(70)), 1.5 / ANIM_SPEED)
  848. 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)
  849. 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)
  850. 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)
  851. end
  852. elseif INPUT == "v" then
  853. GRABA:Remove()
  854. GRABB:Remove()
  855. TARGETTORSO.Anchored = true
  856. local DEAD = false
  857. coroutine.resume(coroutine.create(function()
  858. repeat
  859. Swait()
  860. TARGETTORSO.CFrame = Clerp(TARGETTORSO.CFrame,ROOT.CFrame*CF(0,-3,-1.2) * ANGLES(RAD(-90), RAD(0), RAD(0)),0.3)
  861. until DEAD == true
  862. DedFace()
  863. Dismember(TARGET,"Ragdoll")
  864. coroutine.resume(coroutine.create(function()
  865. for i = 1, 25 do
  866. SpawnPuddle(TARGETTORSO.Position+VT(0,1,0),TARGET,false)
  867. wait(2)
  868. end
  869. end))
  870. end))
  871. for i=0, 0.5, 0.1 / ANIM_SPEED do
  872. Swait()
  873. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  874. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  875. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  876. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  877. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  878. 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)
  879. 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)
  880. end
  881. for i = 1, MRANDOM(6,12) do
  882. for i=0, 0.5, 0.1 / ANIM_SPEED do
  883. Swait()
  884. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  885. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  886. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  887. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  888. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  889. 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)
  890. 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)
  891. end
  892. for i=0, 0.1, 0.1 / ANIM_SPEED do
  893. Swait()
  894. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  895. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  896. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  897. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  898. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  899. 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)
  900. 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)
  901. end
  902. CameraShake(ROOT.Position,4.6,15,25)
  903. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 1,PITCH = 1.25,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  904. for i = 1, 7 do
  905. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,15)
  906. end
  907. for i=0, 0.2, 0.1 / ANIM_SPEED do
  908. Swait()
  909. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  910. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  911. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  912. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  913. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  914. 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)
  915. 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)
  916. end
  917. end
  918. DEAD = true
  919. for i=0, 0.6, 0.1 / ANIM_SPEED do
  920. Swait()
  921. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  922. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  923. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  924. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  925. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  926. 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)
  927. 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)
  928. end
  929. end
  930. GYRO:Remove()
  931. Speak(2291326656)
  932. STATIC:Remove()
  933. if TARGETSTATIC then
  934. TARGETSTATIC:Remove()
  935. end
  936. GRABA:Remove()
  937. GRABB:Remove()
  938. ROOT.Anchored = false
  939. ATTACKING = false
  940. end
  941. end
  942.  
  943. function Shriek()
  944. ROOT.Anchored = true
  945. ATTACKING = true
  946. for i=0, 0.15, 0.1 / ANIM_SPEED do
  947. Swait()
  948. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / ANIM_SPEED)
  949. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(5), RAD(0)), 2 / ANIM_SPEED)
  950. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.7, 0) * ANGLES(RAD(25), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 2 / ANIM_SPEED)
  951. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 2 / ANIM_SPEED)
  952. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(45), RAD(-10), RAD(25)) * LEFTSHOULDERC0, 2 / ANIM_SPEED)
  953. 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)
  954. 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)
  955. end
  956. local FACE = IT("Attachment",HEAD)
  957. local SPEAK = MODULE.Voice:Clone()
  958. SPEAK.Size = NumberSequence.new(0,25)
  959. SPEAK.Parent = FACE
  960. SPEAK.Enabled = true
  961. Speak(2466752906)
  962. CameraShake(ROOT.Position,65,8,150)
  963. for i=0, 1.75, 0.1 / ANIM_SPEED do
  964. Swait()
  965. for index, CHILD in pairs(workspace:GetChildren()) do
  966. if CHILD:FindFirstChildOfClass("Humanoid") and CHILD ~= CHARACTER then
  967. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  968. local ROOT2 = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  969. if ROOT2 and HUMAN.Health > 0 and CHILD:FindFirstChild("Head") then
  970. if (ROOT2.Position - ROOT.Position).Magnitude < 45 then
  971. local HED = CHILD:FindFirstChild("Head")
  972. Dismember(CHILD,"Ragdoll")
  973. for i = 1, 7 do
  974. OofOuchBlood(HED.Position,CF(HED.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,45)
  975. end
  976. NewSound({ID = 264486467,PARENT = ROOT2,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  977. NewSound({ID = SOUND_SNAP,PARENT = ROOT2,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  978. coroutine.resume(coroutine.create(function()
  979. for i = 1, 8 do
  980. SpawnPuddle(ROOT2.Position+VT(0,1,0),CHILD,false)
  981. wait(2)
  982. end
  983. end))
  984. HED:Remove()
  985. end
  986. end
  987. end
  988. end
  989. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.5 / ANIM_SPEED)
  990. 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)
  991. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  992. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 0.5 / ANIM_SPEED)
  993. 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)
  994. 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)
  995. 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)
  996. end
  997. SPEAK.Enabled = false
  998. Debris:AddItem(FACE,1)
  999. ATTACKING = false
  1000. ROOT.Anchored = false
  1001. end
  1002.  
  1003. function Speech(INPUT)
  1004. ATTACKING = true
  1005. if INPUT == "t" then
  1006. Speak(2316600989)
  1007. elseif INPUT == "y" then
  1008. Speak(2290634374)
  1009. elseif INPUT == "u" then
  1010. Speak(2291325961)
  1011. end
  1012. ATTACKING = false
  1013. end
  1014.  
  1015. --//====================================================\\--
  1016. --|| WRAP
  1017. --\\====================================================//--
  1018.  
  1019.  
  1020. mouse = owner:GetMouse()
  1021.  
  1022. mouse.Button1Down:connect(function()
  1023. MOUSEHOLD = true
  1024. if SUBMERGED == false then
  1025. Slash()
  1026. end
  1027. end)
  1028.  
  1029. mouse.Button1Up:connect(function()
  1030. MOUSEHOLD = false
  1031. end)
  1032.  
  1033. mouse.KeyDown:connect(function(key)
  1034. key = key:lower()
  1035. V2 = key
  1036. KEYHOLD = true
  1037. if key == "e" then
  1038. if ROOT:FindFirstChild("BGM_MUSIC") then
  1039. ROOT:FindFirstChild("BGM_MUSIC"):Remove()
  1040. else
  1041. 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})
  1042. M.Name = "BGM_MUSIC"
  1043. end
  1044. end
  1045. if V2 == "z" or V2 == "x" or V2 == "c" or V2 == "v" then
  1046. Execute(V2)
  1047. end
  1048. if V2 == "g" and SUBMERGED == false then
  1049. Shriek()
  1050. elseif V2 == "q" then
  1051. if SUBMERGED == false then
  1052. SUBMERGED = true
  1053. else
  1054. ROOT.Anchored = false
  1055. SUBMERGED = false
  1056. ROOT.CFrame = ROOT.CFrame*CF(0,3,0)
  1057. end
  1058. elseif V2 == "w" and SUBMERGED == true and ATTACKING == false then
  1059. repeat
  1060. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(0,0,-0.5)
  1061. Swait()
  1062. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1063. elseif V2 == "s" and SUBMERGED == true and ATTACKING == false then
  1064. repeat
  1065. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(0,0,0.25)
  1066. Swait()
  1067. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1068. elseif V2 == "a" and SUBMERGED == true and ATTACKING == false then
  1069. repeat
  1070. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(-0.1,0,0)
  1071. Swait()
  1072. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1073. elseif V2 == "d" and SUBMERGED == true and ATTACKING == false then
  1074. repeat
  1075. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(0.1,0,0)
  1076. Swait()
  1077. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1078. elseif V2 == "t" or V2 == "y" or V2 == "u" then
  1079. Speech(V2)
  1080. end
  1081. end)
  1082.  
  1083. mouse.KeyUp:connect(function(key)
  1084. KEYHOLD = false
  1085. end)
  1086.  
  1087. 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})
  1088. M.Name = "BGM_MUSIC"
  1089.  
  1090. HUM.HealthChanged:Connect(function()
  1091. HUM.PlatformStand = false
  1092. HUM.MaxHealth = 3000
  1093. HUM.Health = 3000
  1094. HUM.Name = PLAYER.UserId
  1095. end)
  1096. HUM.PlatformStand = false
  1097. HUM.MaxHealth = 3000
  1098. HUM.Health = 3000
  1099. HUM.Name = PLAYER.UserId
  1100. script.Parent = PLAYER.Backpack
  1101. local TWITCH = 0
  1102. while true do
  1103. Swait()
  1104. SINE = SINE + CHANGE
  1105. if CHARACTER:FindFirstChild("Animate") then
  1106. CHARACTER:FindFirstChild("Animate"):Destroy()
  1107. end
  1108. if CHARACTER:FindFirstChild("Sound") then
  1109. CHARACTER:FindFirstChild("Sound"):Destroy()
  1110. end
  1111. for _,v in next, HUM:GetPlayingAnimationTracks() do
  1112. v:Stop();
  1113. end
  1114. local TORSOVELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude
  1115. local TORSOVERTICALVELOCITY = ROOT.Velocity.y
  1116. local HITFLOOR,HITPOS = Raycast(ROOT.Position, (CF(ROOT.Position, ROOT.Position + VT(0, -1, 0))).lookVector, 4+HUM.HipHeight, CHARACTER)
  1117. local WALKSPEEDVALUE = 10
  1118. local SITTING = HUM.Sit
  1119. if ANIM == "Walk" and TORSOVELOCITY > 1 and ATTACKING == false and SITTING == false then
  1120. 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)
  1121. 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)
  1122. 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)
  1123. 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)
  1124. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or ATTACKING == true or SITTING == true then
  1125. ROOTJOINT.C1 = Clerp(ROOTJOINT.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / ANIM_SPEED)
  1126. 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)
  1127. 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)
  1128. 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)
  1129. end
  1130. if SITTING == false then
  1131. if HITFLOOR then
  1132. if SUBMERGED == false then
  1133. HUM.JumpPower = 50
  1134. HUM.WalkSpeed = 8
  1135. if TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1136. ANIM = "Idle"
  1137. if MRANDOM(1,15) == 1 and ATTACKING == false then
  1138. SpawnPuddle(HITPOS+VT(0,0.5,0),CHARACTER,true)
  1139. end
  1140. if ATTACKING == false then
  1141. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.5 / ANIM_SPEED)
  1142. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 0.5 / ANIM_SPEED)
  1143. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  1144. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 0.5 / ANIM_SPEED)
  1145. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 0.5 / ANIM_SPEED)
  1146. 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)
  1147. 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)
  1148. end
  1149. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1150. ANIM = "Walk"
  1151. if MRANDOM(1,5) == 1 and ATTACKING == false then
  1152. SpawnPuddle(HITPOS+VT(0,0.5,0),CHARACTER,true)
  1153. end
  1154. if ATTACKING == false then
  1155. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.25 / ANIM_SPEED)
  1156. 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)
  1157. 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)
  1158. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(5)), 0.5 / ANIM_SPEED)
  1159. 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)
  1160. 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)
  1161. 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)
  1162. end
  1163. end
  1164. elseif SUBMERGED == true then
  1165. HUM.JumpPower = 0
  1166. HUM.WalkSpeed = 0
  1167. if MRANDOM(1,2) == 1 and ATTACKING == false then
  1168. SpawnPuddle(HITPOS+VT(0,0.5,0),CHARACTER,true)
  1169. end
  1170. ANIM = "Submerged"
  1171. ROOT.Anchored = true
  1172. if ATTACKING == false then
  1173. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.25 / ANIM_SPEED)
  1174. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.25 / ANIM_SPEED)
  1175. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / ANIM_SPEED)
  1176. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(90)), 0.5 / ANIM_SPEED)
  1177. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / ANIM_SPEED)
  1178. 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)
  1179. 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)
  1180. end
  1181. ROOT.CFrame = CF(HITPOS+VT(0,0.01,0))*ANGLES(0,RAD(ROOT.Orientation.Y),0)
  1182. end
  1183. else
  1184. SUBMERGED = false
  1185. ANIM = "Midair"
  1186. if ATTACKING == false then
  1187. ROOT.Anchored = false
  1188. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / ANIM_SPEED)
  1189. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / ANIM_SPEED)
  1190. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / ANIM_SPEED)
  1191. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 0.5 / ANIM_SPEED)
  1192. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / ANIM_SPEED)
  1193. 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)
  1194. 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)
  1195. end
  1196. end
  1197. else
  1198. SUBMERGED = false
  1199. ANIM = "Sit"
  1200. if ATTACKING == false then
  1201. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.25 / ANIM_SPEED)
  1202. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.25 / ANIM_SPEED)
  1203. 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)
  1204. 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)
  1205. 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)
  1206. 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)
  1207. end
  1208. end
  1209. if TWITCH > 0 then
  1210. TWITCH = TWITCH - 1
  1211. NECK.C0 = NECK.C0 * ANGLES(RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5)))
  1212. else
  1213. if MRANDOM(1,25) == 1 then
  1214. TWITCH = MRANDOM(2,12)
  1215. end
  1216. end
  1217. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement