Advertisement
zXzGamePROzXz

Creep and preech

Jan 14th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 128.70 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. --//====================================================\\--
  6. --|| CREATED BY SHACKLUSTER
  7. --\\====================================================//--
  8.  
  9. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  10. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  11. local RealPlayer = Player
  12. 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
  13.  
  14. wait(0.2)
  15.  
  16.  
  17.  
  18. Player = game:GetService("Players").LocalPlayer
  19. PlayerGui = Player.PlayerGui
  20. Cam = workspace.CurrentCamera
  21. Backpack = Player.Backpack
  22. Character = Player.Character
  23. Humanoid = Character.Humanoid
  24. Mouse = Player:GetMouse()
  25. RootPart = Character["HumanoidRootPart"]
  26. Torso = Character["Torso"]
  27. Head = Character["Head"]
  28. RightArm = Character["Right Arm"]
  29. LeftArm = Character["Left Arm"]
  30. RightLeg = Character["Right Leg"]
  31. LeftLeg = Character["Left Leg"]
  32. RootJoint = RootPart["RootJoint"]
  33. Neck = Torso["Neck"]
  34. RightShoulder = Torso["Right Shoulder"]
  35. LeftShoulder = Torso["Left Shoulder"]
  36. RightHip = Torso["Right Hip"]
  37. LeftHip = Torso["Left Hip"]
  38. local sick = Instance.new("Sound",Character)
  39. sick.SoundId = "rbxassetid://815335430"
  40. sick.Looped = true
  41. sick.Pitch = 1
  42. sick.Volume = 2
  43. sick:Play()
  44. Humanoid.DisplayDistanceType = "None"
  45. script.Name = "CREEP"
  46.  
  47. IT = Instance.new
  48. CF = CFrame.new
  49. VT = Vector3.new
  50. RAD = math.rad
  51. C3 = Color3.new
  52. UD2 = UDim2.new
  53. BRICKC = BrickColor.new
  54. ANGLES = CFrame.Angles
  55. EULER = CFrame.fromEulerAnglesXYZ
  56. COS = math.cos
  57. ACOS = math.acos
  58. SIN = math.sin
  59. ASIN = math.asin
  60. ABS = math.abs
  61. MRANDOM = math.random
  62. FLOOR = math.floor
  63.  
  64. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  65. local NEWMESH = IT(MESH)
  66. if MESH == "SpecialMesh" then
  67. NEWMESH.MeshType = MESHTYPE
  68. if MESHID ~= "nil" and MESHID ~= "" then
  69. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  70. end
  71. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  72. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  73. end
  74. end
  75. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  76. NEWMESH.Scale = SCALE
  77. NEWMESH.Parent = PARENT
  78. return NEWMESH
  79. end
  80.  
  81. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  82. local NEWPART = IT("Part")
  83. NEWPART.formFactor = FORMFACTOR
  84. NEWPART.Reflectance = REFLECTANCE
  85. NEWPART.Transparency = TRANSPARENCY
  86. NEWPART.CanCollide = false
  87. NEWPART.Locked = true
  88. NEWPART.Anchored = true
  89. if ANCHOR == false then
  90. NEWPART.Anchored = false
  91. end
  92. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  93. NEWPART.Name = NAME
  94. NEWPART.Size = SIZE
  95. NEWPART.Position = Torso.Position
  96. NEWPART.Material = MATERIAL
  97. NEWPART:BreakJoints()
  98. NEWPART.Parent = PARENT
  99. return NEWPART
  100. end
  101.  
  102. --//=================================\\
  103. --|| CUSTOMIZATION
  104. --\\=================================//
  105.  
  106. Player_Size = 2 --Size of the player.
  107. Animation_Speed = 3
  108. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  109.  
  110. local Speed = 16
  111. local Effects2 = {}
  112.  
  113. --//=================================\\
  114. --|| END OF CUSTOMIZATION
  115. --\\=================================//
  116.  
  117. local function weldBetween(a, b)
  118. local weldd = Instance.new("ManualWeld")
  119. weldd.Part0 = a
  120. weldd.Part1 = b
  121. weldd.C0 = CFrame.new()
  122. weldd.C1 = b.CFrame:inverse() * a.CFrame
  123. weldd.Parent = a
  124. return weldd
  125. end
  126.  
  127. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  128. if TYPE == "Gem" then
  129. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  130. acs.Anchored = false
  131. acs.CanCollide = false
  132. acs.CFrame = PART.CFrame
  133. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  134. weldBetween(PART,acs)
  135. elseif TYPE == "Skull" then
  136. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  137. acs.Anchored = false
  138. acs.CanCollide = false
  139. acs.CFrame = PART.CFrame
  140. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  141. weldBetween(PART,acs)
  142. elseif TYPE == "Eye" then
  143. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  144. acs.Anchored = false
  145. acs.CanCollide = false
  146. acs.CFrame = PART.CFrame
  147. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  148. weldBetween(PART,acs)
  149. end
  150. end
  151.  
  152. --//=================================\\
  153. --|| USEFUL VALUES
  154. --\\=================================//
  155.  
  156. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  157. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  158. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  159. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  160. local CHANGEDEFENSE = 0
  161. local CHANGEDAMAGE = 0
  162. local CHANGEMOVEMENT = 0
  163. local ANIM = "Idle"
  164. local ATTACK = false
  165. local EQUIPPED = false
  166. local HOLD = false
  167. local COMBO = 1
  168. local Rooted = false
  169. local SINE = 0
  170. local KEYHOLD = false
  171. local CHANGE = 2 / Animation_Speed
  172. local WALKINGANIM = false
  173. local WALK = 0
  174. local VALUE1 = false
  175. local VALUE2 = false
  176. local ROBLOXIDLEANIMATION = IT("Animation")
  177. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  178. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  179. --ROBLOXIDLEANIMATION.Parent = Humanoid
  180. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  181. WEAPONGUI.Name = "Weapon GUI"
  182. local Weapon = IT("Model")
  183. Weapon.Name = "Adds"
  184. local Effects = IT("Folder", Weapon)
  185. Effects.Name = "Effects"
  186. local ANIMATOR = Humanoid.Animator
  187. local ANIMATE = Character.Animate
  188. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  189. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  190. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  191. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  192. local UNANCHOR = true
  193. local TAUNTS = {"368794227","368794903","368794985"}
  194.  
  195. local SKILLTEXTCOLOR = C3(0,0,0)
  196.  
  197. --//=================================\\
  198. --\\=================================//
  199.  
  200.  
  201. --//=================================\\
  202. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  203. --\\=================================//
  204.  
  205. ArtificialHB = Instance.new("BindableEvent", script)
  206. ArtificialHB.Name = "ArtificialHB"
  207.  
  208. script:WaitForChild("ArtificialHB")
  209.  
  210. frame = Frame_Speed
  211. tf = 0
  212. allowframeloss = false
  213. tossremainder = false
  214. lastframe = tick()
  215. script.ArtificialHB:Fire()
  216.  
  217. game:GetService("RunService").Heartbeat:connect(function(s, p)
  218. tf = tf + s
  219. if tf >= frame then
  220. if allowframeloss then
  221. script.ArtificialHB:Fire()
  222. lastframe = tick()
  223. else
  224. for i = 1, math.floor(tf / frame) do
  225. script.ArtificialHB:Fire()
  226. end
  227. lastframe = tick()
  228. end
  229. if tossremainder then
  230. tf = 0
  231. else
  232. tf = tf - frame * math.floor(tf / frame)
  233. end
  234. end
  235. end)
  236.  
  237. --//=================================\\
  238. --\\=================================//
  239.  
  240.  
  241.  
  242.  
  243.  
  244. --//=================================\\
  245. --|| SOME FUNCTIONS
  246. --\\=================================//
  247.  
  248. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  249. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  250. end
  251.  
  252. function PositiveAngle(NUMBER)
  253. if NUMBER >= 0 then
  254. NUMBER = 0
  255. end
  256. return NUMBER
  257. end
  258.  
  259. function NegativeAngle(NUMBER)
  260. if NUMBER <= 0 then
  261. NUMBER = 0
  262. end
  263. return NUMBER
  264. end
  265.  
  266. function Swait(NUMBER)
  267. if NUMBER == 0 or NUMBER == nil then
  268. ArtificialHB.Event:wait()
  269. else
  270. for i = 1, NUMBER do
  271. ArtificialHB.Event:wait()
  272. end
  273. end
  274. end
  275.  
  276. function QuaternionFromCFrame(cf)
  277. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  278. local trace = m00 + m11 + m22
  279. if trace > 0 then
  280. local s = math.sqrt(1 + trace)
  281. local recip = 0.5 / s
  282. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  283. else
  284. local i = 0
  285. if m11 > m00 then
  286. i = 1
  287. end
  288. if m22 > (i == 0 and m00 or m11) then
  289. i = 2
  290. end
  291. if i == 0 then
  292. local s = math.sqrt(m00 - m11 - m22 + 1)
  293. local recip = 0.5 / s
  294. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  295. elseif i == 1 then
  296. local s = math.sqrt(m11 - m22 - m00 + 1)
  297. local recip = 0.5 / s
  298. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  299. elseif i == 2 then
  300. local s = math.sqrt(m22 - m00 - m11 + 1)
  301. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  302. end
  303. end
  304. end
  305.  
  306. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  307. local xs, ys, zs = x + x, y + y, z + z
  308. local wx, wy, wz = w * xs, w * ys, w * zs
  309. local xx = x * xs
  310. local xy = x * ys
  311. local xz = x * zs
  312. local yy = y * ys
  313. local yz = y * zs
  314. local zz = z * zs
  315. 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))
  316. end
  317.  
  318. function QuaternionSlerp(a, b, t)
  319. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  320. local startInterp, finishInterp;
  321. if cosTheta >= 0.0001 then
  322. if (1 - cosTheta) > 0.0001 then
  323. local theta = ACOS(cosTheta)
  324. local invSinTheta = 1 / SIN(theta)
  325. startInterp = SIN((1 - t) * theta) * invSinTheta
  326. finishInterp = SIN(t * theta) * invSinTheta
  327. else
  328. startInterp = 1 - t
  329. finishInterp = t
  330. end
  331. else
  332. if (1 + cosTheta) > 0.0001 then
  333. local theta = ACOS(-cosTheta)
  334. local invSinTheta = 1 / SIN(theta)
  335. startInterp = SIN((t - 1) * theta) * invSinTheta
  336. finishInterp = SIN(t * theta) * invSinTheta
  337. else
  338. startInterp = t - 1
  339. finishInterp = t
  340. end
  341. end
  342. 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
  343. end
  344.  
  345. function Clerp(a, b, t)
  346. local qa = {QuaternionFromCFrame(a)}
  347. local qb = {QuaternionFromCFrame(b)}
  348. local ax, ay, az = a.x, a.y, a.z
  349. local bx, by, bz = b.x, b.y, b.z
  350. local _t = 1 - t
  351. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  352. end
  353.  
  354. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  355. local frame = IT("Frame")
  356. frame.BackgroundTransparency = TRANSPARENCY
  357. frame.BorderSizePixel = BORDERSIZEPIXEL
  358. frame.Position = POSITION
  359. frame.Size = SIZE
  360. frame.BackgroundColor3 = COLOR
  361. frame.BorderColor3 = BORDERCOLOR
  362. frame.Name = NAME
  363. frame.Parent = PARENT
  364. return frame
  365. end
  366.  
  367. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  368. local label = IT("TextLabel")
  369. label.BackgroundTransparency = 1
  370. label.Size = UD2(1, 0, 1, 0)
  371. label.Position = UD2(0, 0, 0, 0)
  372. label.TextColor3 = TEXTCOLOR
  373. label.TextStrokeTransparency = STROKETRANSPARENCY
  374. label.TextTransparency = TRANSPARENCY
  375. label.FontSize = TEXTFONTSIZE
  376. label.Font = TEXTFONT
  377. label.BorderSizePixel = BORDERSIZEPIXEL
  378. label.TextScaled = false
  379. label.Text = TEXT
  380. label.Name = NAME
  381. label.Parent = PARENT
  382. return label
  383. end
  384.  
  385. function NoOutlines(PART)
  386. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  387. end
  388.  
  389.  
  390. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  391. local NEWWELD = IT(TYPE)
  392. NEWWELD.Part0 = PART0
  393. NEWWELD.Part1 = PART1
  394. NEWWELD.C0 = C0
  395. NEWWELD.C1 = C1
  396. NEWWELD.Parent = PARENT
  397. return NEWWELD
  398. end
  399.  
  400. function CreateSound(ID, PARENT, VOLUME, PITCH)
  401. local NEWSOUND = nil
  402. coroutine.resume(coroutine.create(function()
  403. NEWSOUND = IT("Sound", PARENT)
  404. NEWSOUND.Volume = VOLUME
  405. NEWSOUND.Pitch = PITCH
  406. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  407. Swait()
  408. NEWSOUND:play()
  409. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  410. end))
  411. return NEWSOUND
  412. end
  413.  
  414. function CFrameFromTopBack(at, top, back)
  415. local right = top:Cross(back)
  416. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  417. end
  418.  
  419. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  420. local wave = CreatePart(3, Effects, "Neon", 0, 0.9, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  421. local mesh = IT("SpecialMesh",wave)
  422. mesh.MeshType = "Sphere"
  423. mesh.Scale = SIZE
  424. mesh.Offset = VT(0,0,0)
  425. wave.CFrame = CFRAME
  426. coroutine.resume(coroutine.create(function(PART)
  427. for i = 1, WAIT do
  428. Swait()
  429. mesh.Scale = mesh.Scale + GROW
  430. wave.Transparency = wave.Transparency + (0.1/WAIT)
  431. if wave.Transparency > 0.99 then
  432. wave:remove()
  433. end
  434. end
  435. end))
  436. end
  437.  
  438. function MakeForm(PART,TYPE)
  439. if TYPE == "Cyl" then
  440. local MSH = IT("CylinderMesh",PART)
  441. elseif TYPE == "Ball" then
  442. local MSH = IT("SpecialMesh",PART)
  443. MSH.MeshType = "Sphere"
  444. elseif TYPE == "Wedge" then
  445. local MSH = IT("SpecialMesh",PART)
  446. MSH.MeshType = "Wedge"
  447. end
  448. end
  449.  
  450. function CheckTableForString(Table, String)
  451. for i, v in pairs(Table) do
  452. if string.find(string.lower(String), string.lower(v)) then
  453. return true
  454. end
  455. end
  456. return false
  457. end
  458.  
  459. function CheckIntangible(Hit)
  460. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  461. if Hit and Hit.Parent then
  462. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  463. return true
  464. end
  465. end
  466. return false
  467. end
  468.  
  469. Debris = game:GetService("Debris")
  470.  
  471. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  472. local Direction = CFrame.new(StartPos, Vec).lookVector
  473. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  474. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  475. if RayHit and CheckIntangible(RayHit) then
  476. if DelayIfHit then
  477. wait()
  478. end
  479. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  480. end
  481. return RayHit, RayPos, RayNormal
  482. end
  483.  
  484. function turnto(position)
  485. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  486. end
  487.  
  488. --//=================================\\
  489. --|| SPEECH
  490. --\\=================================//
  491.  
  492. function chatfunc(text,waitt)
  493. local chat = coroutine.wrap(function()
  494. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  495. Character:FindFirstChild("TalkingBillBoard"):destroy()
  496. end
  497. local naeeym2 = Instance.new("BillboardGui",Character)
  498. naeeym2.Size = UDim2.new(0,100,0,40)
  499. naeeym2.StudsOffset = Vector3.new(0,5,0)
  500. naeeym2.Adornee = Character.Head
  501. naeeym2.Name = "TalkingBillBoard"
  502. naeeym2.AlwaysOnTop = true
  503. local tecks2 = Instance.new("TextLabel",naeeym2)
  504. tecks2.BackgroundTransparency = 1
  505. tecks2.BorderSizePixel = 0
  506. tecks2.Text = ""
  507. tecks2.Font = "SciFi"
  508. tecks2.TextSize = 30
  509. tecks2.TextStrokeTransparency = 1
  510. tecks2.TextColor3 = SKILLTEXTCOLOR
  511. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  512. tecks2.Size = UDim2.new(1,0,0.5,0)
  513. for i = 1,string.len(text),1 do
  514. tecks2.Text = string.sub(text,1,i)
  515. Swait()
  516. end
  517. wait(waitt)
  518. coroutine.resume(coroutine.create(function()
  519. for i = 1, 10 do
  520. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  521. Swait()
  522. end
  523. naeeym2:Destroy()
  524. end))
  525. end)
  526. chat()
  527. end
  528.  
  529. --//=================================\\
  530. --|| WEAPON CREATION
  531. --\\=================================//
  532.  
  533. if Player_Size ~= 1 then
  534. RootPart.Size = RootPart.Size * Player_Size
  535. Torso.Size = Torso.Size * Player_Size
  536. Head.Size = Head.Size * Player_Size
  537. RightArm.Size = RightArm.Size * Player_Size
  538. LeftArm.Size = LeftArm.Size * Player_Size
  539. RightLeg.Size = RightLeg.Size * Player_Size
  540. LeftLeg.Size = LeftLeg.Size * Player_Size
  541. RootJoint.Parent = RootPart
  542. Neck.Parent = Torso
  543. RightShoulder.Parent = Torso
  544. LeftShoulder.Parent = Torso
  545. RightHip.Parent = Torso
  546. LeftHip.Parent = Torso
  547.  
  548. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  549. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  550. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  551. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  552. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  553. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  554. --if Disable_Moving_Arms == false then
  555. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  556. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  557. --else
  558. --RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  559. --LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  560. --end
  561. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  562. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  563. RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  564. LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  565. end
  566.  
  567. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  568. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.7,-2,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  569. MakeForm(part,"Ball")
  570. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  571. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.7,-2,0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  572. MakeForm(part,"Ball")
  573. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  574. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.7,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  575. MakeForm(part,"Ball")
  576. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  577. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.44,-3.2,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  578. MakeForm(part,"Ball")
  579. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  580. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.44,-3.2,0.6) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  581. MakeForm(part,"Ball")
  582. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  583. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.44,-3.2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  584. MakeForm(part,"Ball")
  585. local CLAW1 = part
  586. CLAW1.CanCollide = true
  587. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  588. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(-0.50,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  589. MakeForm(part,"Ball")
  590.  
  591. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  592. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.7,-2,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  593. MakeForm(part,"Ball")
  594. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  595. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.7,-2,0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  596. MakeForm(part,"Ball")
  597. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  598. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.7,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  599. MakeForm(part,"Ball")
  600. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  601. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.44,-3.2,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  602. MakeForm(part,"Ball")
  603. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  604. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.44,-3.2,0.6) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  605. MakeForm(part,"Ball")
  606. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  607. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.44,-3.2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  608. MakeForm(part,"Ball")
  609. local CLAW2 = part
  610. CLAW2.CanCollide = true
  611. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  612. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.50,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  613. MakeForm(part,"Ball")
  614.  
  615. for _, c in pairs(Weapon:GetChildren()) do
  616. if c.ClassName == "Part" then
  617. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  618. end
  619. end
  620.  
  621. Weapon.Parent = Character
  622.  
  623. Humanoid.Died:connect(function()
  624. ATTACK = true
  625. end)
  626.  
  627. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  628. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  629. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  630.  
  631. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Shriek", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 1")
  632. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Devour", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
  633. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Neck snap", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
  634.  
  635. --//=================================\\
  636. --|| DAMAGE FUNCTIONS
  637. --\\=================================//
  638.  
  639. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  640. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  641. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  642. local BODYGYRO = IT("BodyGyro", STATPART)
  643. local BODYPOSITION = IT("BodyPosition", STATPART)
  644. BODYPOSITION.P = 2000
  645. BODYPOSITION.D = 100
  646. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  647. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  648. game:GetService("Debris"):AddItem(STATPART ,5)
  649. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  650. BILLBOARDGUI.Adornee = STATPART
  651. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  652. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  653. BILLBOARDGUI.AlwaysOnTop = false
  654. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  655. TEXTLABEL.BackgroundTransparency = 1
  656. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  657. TEXTLABEL.Text = TEXT
  658. TEXTLABEL.Font = "SciFi"
  659. TEXTLABEL.FontSize="Size42"
  660. TEXTLABEL.TextColor3 = COLOR
  661. TEXTLABEL.TextStrokeTransparency = 1
  662. TEXTLABEL.TextScaled = true
  663. TEXTLABEL.TextWrapped = true
  664. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  665. if LABELTYPE == "Normal" then
  666. for i = 1, 30 do
  667. Swait()
  668. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  669. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  670. end
  671. elseif LABELTYPE == "Debuff" then
  672. for i = 1, 30 do
  673. Swait()
  674. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  675. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  676. end
  677. elseif LABELTYPE == "Shock" then
  678. local ORIGIN = STATPART.Position
  679. for i = 1, 30 do
  680. Swait()
  681. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  682. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  683. end
  684. end
  685. THEPART.Parent = nil
  686. end),STATPART, BODYPOSITION, TEXTLABEL)
  687. end
  688.  
  689. --//=================================\\
  690. --|| DAMAGING
  691. --\\=================================//
  692.  
  693. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  694. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  695. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  696. local dmg = math.random(min,max)
  697. if humanoid.Health > 0 then
  698. if beserk == true then
  699. humanoid.Health = 0
  700. else
  701. CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], hit, 3, MRANDOM(7, 12) / 10)
  702. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  703. if math.random(1,100) < critrate+1 then
  704. humanoid.Health = humanoid.Health - dmg*critmultiplier
  705. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  706. else
  707. humanoid.Health = humanoid.Health - dmg
  708. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  709. end
  710. local defence = Instance.new("BoolValue",hit.Parent)
  711. defence.Name = ("HitBy"..Player.Name)
  712. game:GetService("Debris"):AddItem(defence, 0.5)
  713. end
  714. end
  715. end
  716. end
  717.  
  718. function AoEStun(POS,RANGE,LAST)
  719. for i,v in ipairs(workspace:GetChildren()) do
  720. if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  721. local body = v:GetChildren()
  722. for part = 1, #body do
  723. if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  724. if(body[part].Position - POS).Magnitude < RANGE then
  725. if v.ClassName == "Model" then
  726. if v:FindFirstChild("Humanoid") then
  727. if v.Humanoid.Health ~= 0 then
  728. Stun(v.Humanoid,LAST)
  729. local defence = Instance.new("BoolValue",v)
  730. defence.Name = ("StunnedBy"..Player.Name)
  731. game:GetService("Debris"):AddItem(defence, 0.1)
  732. end
  733. end
  734. end
  735. end
  736. end
  737. end
  738. end
  739. end
  740. end
  741.  
  742. function Stun(HUMANOID,LAST)
  743. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  744. HUMANOID.PlatformStand = true
  745. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  746. defence.Name = ("StunnedBy"..Player.Name)
  747. game:GetService("Debris"):AddItem(defence, LAST)
  748. if HUMANOID.Parent:FindFirstChild("Head") then
  749. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  750. end
  751. coroutine.resume(coroutine.create(function()
  752. Swait(LAST*50)
  753. HUMANOID.PlatformStand = false
  754. end))
  755. end
  756. end
  757.  
  758. --//=================================\\
  759. --|| ATTACK FUNCTIONS AND STUFF
  760. --\\=================================//
  761.  
  762. function AttackTemplate()
  763. ATTACK = true
  764. Rooted = false
  765. for i=0, 1, 0.1 / Animation_Speed do
  766. Swait()
  767. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  768. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  769. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  770. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  771. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  772. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  773. end
  774. ATTACK = false
  775. Rooted = false
  776. end
  777.  
  778. function Strike()
  779. ATTACK = true
  780. Rooted = false
  781. CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Head, 3, 2)
  782. for i=0, 0.5, 0.1 / Animation_Speed do
  783. Swait()
  784. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  785. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  786. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  787. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  788. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12*2), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.5 / Animation_Speed)
  789. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12*2), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.5 / Animation_Speed)
  790. end
  791. local HIT1 = CLAW1.Touched:Connect(function(hit)
  792. dealdamage(hit,25,65,6,false,5,2)
  793. end)
  794. local HIT2 = CLAW2.Touched:Connect(function(hit)
  795. dealdamage(hit,25,65,6,false,5,2)
  796. end)
  797. for i=0, 0.5, 0.1 / Animation_Speed do
  798. Swait()
  799. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  800. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  801. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*2, 0.5*2, -1) * ANGLES(RAD(55), RAD(75), RAD(-22)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  802. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*2, 0.5*2, -1) * ANGLES(RAD(55), RAD(-75), RAD(22)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  803. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12*2), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-5)), 0.75 / Animation_Speed)
  804. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12*2), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-25)), 0.75 / Animation_Speed)
  805. end
  806. HIT1:disconnect()
  807. HIT2:disconnect()
  808. ATTACK = false
  809. Rooted = false
  810. end
  811.  
  812. function Shriek()
  813. ATTACK = true
  814. Rooted = false
  815. for i=0, 2.5, 0.1 / Animation_Speed do
  816. Swait()
  817. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  818. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  819. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  820. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  821. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  822. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  823. end
  824. Rooted = true
  825. CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Effects, 10, 1)
  826. for i=0, 4, 0.1 / Animation_Speed do
  827. Swait()
  828. AoEStun(Head.Position,40,12)
  829. MagicSphere(VT(0,0,0),5,Head.CFrame,"Pearl",VT(15,15,15))
  830. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4*2, -0.65*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(55), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  831. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-35+MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,1))), 1)
  832. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(-15), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  833. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(-15), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  834. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(15)), 0.75 / Animation_Speed)
  835. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-55)), 0.75 / Animation_Speed)
  836. end
  837. ATTACK = false
  838. Rooted = false
  839. end
  840.  
  841. local asd = Instance.new("ParticleEmitter")
  842. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  843. asd.LightEmission = .1
  844. asd.Size = NumberSequence.new(0.2)
  845. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  846. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  847. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  848. asd.Transparency = bbb
  849. asd.Size = aaa
  850. asd.ZOffset = .9
  851. asd.Acceleration = Vector3.new(0, -15, 0)
  852. asd.LockedToPart = false
  853. asd.EmissionDirection = "Back"
  854. asd.Lifetime = NumberRange.new(1, 2)
  855. asd.Rotation = NumberRange.new(-100, 100)
  856. asd.RotSpeed = NumberRange.new(-100, 100)
  857. asd.Speed = NumberRange.new(2,6)
  858. asd.Enabled = false
  859. asd.VelocitySpread = 5
  860.  
  861. function getbloody(victim,amount)
  862. local PART = IT("Part",Effects)
  863. PART.Transparency = 1
  864. PART.Size = victim.Size
  865. PART.Anchored = true
  866. PART.CanCollide = false
  867. PART.CFrame = CF(victim.Position,victim.CFrame*CF(0,1,0).p)
  868. local HITPLAYERSOUNDS = {"356551938","264486467"}
  869. Debris:AddItem(PART,5)
  870. local prtcl = asd:Clone()
  871. prtcl.Parent = PART
  872. prtcl:Emit(amount*10)
  873. end
  874.  
  875. function Devour()
  876. ATTACK = true
  877. Rooted = false
  878. local TORS = nil
  879. local WELD = nil
  880. local HIT1 = CLAW1.Touched:Connect(function(hit)
  881. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  882. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  883. if TORS ~= nil then
  884. UNANCHOR = false
  885. Rooted = true
  886. RootPart.Anchored = true
  887. WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-2.5,-0.5) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
  888. end
  889. end
  890. end)
  891. for i=1, 45 do
  892. Swait()
  893. if TORS ~= nil then
  894. break
  895. end
  896. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  897. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  898. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  899. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  900. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  901. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  902. end
  903. HIT1:disconnect()
  904. if TORS ~= nil then
  905. for i=0, 2, 0.1 / Animation_Speed do
  906. Swait()
  907. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  908. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  909. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  910. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  911. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  912. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  913. end
  914. for i=0, 0.3, 0.1 / Animation_Speed do
  915. Swait()
  916. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1.5 / Animation_Speed)
  917. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1.15 / Animation_Speed)
  918. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, -1, -1.5) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  919. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*2, -1, -1.2) * ANGLES(RAD(160), RAD(0), RAD(30)) * LEFTSHOULDERC0, 1.15 / Animation_Speed)
  920. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 1.15 / Animation_Speed)
  921. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 1.15 / Animation_Speed)
  922. end
  923. local HITPLAYERSOUNDS2 = {"356551938","264486467"}
  924. if TORS ~= nil then
  925. if TORS.Parent:FindFirstChild("Head") then
  926. CreateSound(HITPLAYERSOUNDS2[MRANDOM(1, #HITPLAYERSOUNDS2)], Head, 1, (math.random(8,12)/10))
  927. CreateSound("230346233", Head, 10, (math.random(5,7)/10))
  928. getbloody(TORS,4)
  929. TORS.Parent.Head:remove()
  930. TORS.Parent:remove()
  931. for i=0, 1, 0.1 / Animation_Speed do
  932. Swait()
  933. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1.5 / Animation_Speed)
  934. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1.15 / Animation_Speed)
  935. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, -1, -1.2) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  936. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*2, -1, -1.2) * ANGLES(RAD(160), RAD(0), RAD(30)) * LEFTSHOULDERC0, 1.15 / Animation_Speed)
  937. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 1.15 / Animation_Speed)
  938. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 1.15 / Animation_Speed)
  939. end
  940. end
  941. end
  942. UNANCHOR = true
  943. end
  944. ATTACK = false
  945. Rooted = false
  946. end
  947.  
  948. function Snap()
  949. ATTACK = true
  950. Rooted = false
  951. local TORS = nil
  952. local WELD = nil
  953. local HIT1 = CLAW1.Touched:Connect(function(hit)
  954. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Parent ~= Effects then
  955. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  956. if TORS ~= nil then
  957. UNANCHOR = false
  958. Rooted = true
  959. RootPart.Anchored = true
  960. WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-2.5,-0.5) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
  961. end
  962. end
  963. end)
  964. for i=1, 45 do
  965. Swait()
  966. if TORS ~= nil then
  967. break
  968. end
  969. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  970. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  971. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  972. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  973. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  974. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  975. end
  976. HIT1:disconnect()
  977. if TORS ~= nil then
  978. local CLONE = IT("Model",Weapon)
  979. CLONE.Name = "Corpse"
  980. for i=0, 2, 0.1 / Animation_Speed do
  981. Swait()
  982. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  983. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  984. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  985. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  986. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  987. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  988. end
  989. for i=0, 2, 0.1 / Animation_Speed do
  990. Swait()
  991. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  992. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  993. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  994. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.5) * ANGLES(RAD(80), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  995. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  996. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  997. end
  998. for i=0, 3, 0.1 / Animation_Speed do
  999. Swait()
  1000. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1001. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  1002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1003. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(70), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1004. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  1005. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  1006. end
  1007. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1008. local DummyHead = nil
  1009. local q = TORS.Parent:GetChildren()
  1010. for i = 1,#q do
  1011. if q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Accessory" and q[i].ClassName ~= "Hat" and q[i].ClassName ~= "Gear" then
  1012. q[i].Parent = CLONE
  1013. if q[i].ClassName == "Humanoid" then
  1014. q[i].PlatformStand = true
  1015. end
  1016. if q[i].Name == "Head" then
  1017. DummyHead = CLONE.Head:Clone()
  1018. q[i]:ClearAllChildren()
  1019. q[i].Transparency = 1
  1020. end
  1021. else
  1022. q[i]:remove()
  1023. end
  1024. end
  1025. local TORS2 = CLONE:FindFirstChild("Torso") or CLONE:FindFirstChild("UpperTorso")
  1026. DummyHead.Parent = Effects
  1027. local WELD1 = CreateWeldOrSnapOrMotor("Weld", DummyHead, LeftArm, DummyHead, CF(0,-2.5,0) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
  1028. local WELD2 = CreateWeldOrSnapOrMotor("Weld", TORS2, RightArm, TORS2, CF(0,-2.5,-0.5) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
  1029. local HITPLAYERSOUNDS2 = {"356551938","264486467"}
  1030. CreateSound(HITPLAYERSOUNDS2[MRANDOM(1, #HITPLAYERSOUNDS2)], TORS2, 1, (math.random(8,12)/10))
  1031. getbloody(DummyHead,5)
  1032. for i=0, 3, 0.1 / Animation_Speed do
  1033. Swait()
  1034. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1035. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(20 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1036. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1037. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(120), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1038. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  1039. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  1040. end
  1041. for i=0, 1, 0.1 / Animation_Speed do
  1042. Swait()
  1043. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1044. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(20 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1045. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1046. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(35), RAD(0), RAD(-75)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1047. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  1048. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  1049. end
  1050. WELD1:remove()
  1051. for i=0, 0.5, 0.1 / Animation_Speed do
  1052. Swait()
  1053. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1054. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(20 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1055. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1056. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(35), RAD(0), RAD(-75)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1057. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  1058. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  1059. end
  1060. local GROWLS = {"368795088","368795352","368795492","368795580"}
  1061. CreateSound(GROWLS[MRANDOM(1, #GROWLS)], Head, 4, (math.random(15,20)/10))
  1062. repeat
  1063. Swait()
  1064. turnto(Mouse.Hit.p)
  1065. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1066. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1067. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1068. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1069. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  1070. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  1071. until HOLD == true
  1072. WELD2:remove()
  1073. local bv = Instance.new("BodyVelocity")
  1074. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1075. bv.velocity = CF(TORS2.Position,Mouse.Hit.p).lookVector*300
  1076. bv.Parent = TORS2
  1077. bv.Name = "MOVE"
  1078. coroutine.resume(coroutine.create(function()
  1079. local HIT1 = TORS2.Touched:Connect(function(hit)
  1080. dealdamage(hit,25,65,3,false,5,2)
  1081. end)
  1082. Swait(2)
  1083. HIT1:disconnect()
  1084. end))
  1085. Debris:AddItem(bv,0.2)
  1086. TORS2.Velocity = CF(TORS2.Position,Mouse.Hit.p).lookVector*300
  1087. for i=0, 1, 0.1 / Animation_Speed do
  1088. Swait()
  1089. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1)
  1090. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1)
  1091. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, 0) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1)
  1092. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1)
  1093. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 1)
  1094. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 1)
  1095. end
  1096. end
  1097. UNANCHOR = true
  1098. ATTACK = false
  1099. Rooted = false
  1100. end
  1101.  
  1102. --//=================================\\
  1103. --|| ASSIGN THINGS TO KEYS
  1104. --\\=================================//
  1105.  
  1106. function MouseDown(Mouse)
  1107. HOLD = true
  1108. if ATTACK == false then
  1109. Strike()
  1110. end
  1111. end
  1112.  
  1113. function MouseUp(Mouse)
  1114. HOLD = false
  1115. end
  1116.  
  1117. function KeyDown(Key)
  1118. KEYHOLD = true
  1119. if Key == "z" and ATTACK == false then
  1120. Shriek()
  1121. end
  1122.  
  1123. if Key == "b" and ATTACK == false then
  1124. Devour()
  1125. end
  1126.  
  1127. if Key == "c" and ATTACK == false then
  1128. Snap()
  1129. end
  1130.  
  1131. if Key == "q" and ATTACK == false then
  1132. if VALUE1 == false then
  1133. VALUE1 = true
  1134. Speed = 75
  1135. CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Effects, 10, 2)
  1136. elseif VALUE1 == true then
  1137. VALUE1 = false
  1138. Speed = 20
  1139. local GROWLS = {"368795088","368795352","368795492","368795580"}
  1140. CreateSound(GROWLS[MRANDOM(1, #GROWLS)], Head, 4, (math.random(15,20)/10))
  1141. end
  1142. end
  1143.  
  1144. if Key == "t" and ATTACK == false then
  1145. local GROWLS = {"368795088","368795352","368795492","368795580"}
  1146. CreateSound(GROWLS[MRANDOM(1, #GROWLS)], Head, 4, (math.random(15,20)/10))
  1147. end
  1148. end
  1149.  
  1150. function KeyUp(Key)
  1151. KEYHOLD = false
  1152. end
  1153.  
  1154. Mouse.Button1Down:connect(function(NEWKEY)
  1155. MouseDown(NEWKEY)
  1156. end)
  1157. Mouse.Button1Up:connect(function(NEWKEY)
  1158. MouseUp(NEWKEY)
  1159. end)
  1160. Mouse.KeyDown:connect(function(NEWKEY)
  1161. KeyDown(NEWKEY)
  1162. end)
  1163. Mouse.KeyUp:connect(function(NEWKEY)
  1164. KeyUp(NEWKEY)
  1165. end)
  1166.  
  1167. --//=================================\\
  1168. --\\=================================//
  1169.  
  1170.  
  1171. function unanchor()
  1172. if UNANCHOR == true then
  1173. g = Character:GetChildren()
  1174. for i = 1, #g do
  1175. if g[i].ClassName == "Part" then
  1176. g[i].Anchored = false
  1177. end
  1178. end
  1179. end
  1180. end
  1181.  
  1182.  
  1183. --//=================================\\
  1184. --|| WRAP THE WHOLE SCRIPT UP
  1185. --\\=================================//
  1186.  
  1187. Humanoid.Changed:connect(function(Jump)
  1188. if Jump == "Jump" and (Disable_Jump == true) then
  1189. Humanoid.Jump = false
  1190. end
  1191. end)
  1192.  
  1193. createbodypart("Eye","Really red",Head,VT(0, 0.6, -1.2),VT(12,10,4))
  1194. createbodypart("Eye","Really black",Head,VT(0, 0.6, -1.2),VT(7,9,5))
  1195.  
  1196. Speed = 20
  1197.  
  1198. while true do
  1199. Swait()
  1200. ANIMATE.Parent = nil
  1201. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1202. IDLEANIMATION:Play()
  1203. SINE = SINE + CHANGE
  1204. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1205. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1206. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1207. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1208. local WALKSPEEDVALUE = 5
  1209. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1210. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1211. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1212. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1213. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1214. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1215. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1216. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1217. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1218. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1219. end
  1220. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1221. ANIM = "Jump"
  1222. if ATTACK == false then
  1223. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1224. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1225. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(130), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  1226. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(130), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1227. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1228. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1229. end
  1230. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil and ATTACK == false then
  1231. ANIM = "Fall"
  1232. if ATTACK == false then
  1233. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1234. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1235. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  1236. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1237. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1238. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1239. end
  1240. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1241. ANIM = "Idle"
  1242. if ATTACK == false then
  1243. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1244. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1245. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1246. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1247. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  1248. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  1249. if MRANDOM(1,35) == 1 then
  1250. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1)
  1251. end
  1252. end
  1253. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1254. ANIM = "Walk"
  1255. WALK = WALK + 1 / Animation_Speed
  1256. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1257. WALK = 0
  1258. if WALKINGANIM == true then
  1259. WALKINGANIM = false
  1260. elseif WALKINGANIM == false then
  1261. WALKINGANIM = true
  1262. end
  1263. end
  1264. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1265. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1266. if ATTACK == false then
  1267. if VALUE1 == false then
  1268. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1269. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1270. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(15+60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1271. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1272. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-3), RAD(-15), RAD(25)), 0.15 / Animation_Speed)
  1273. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-3), RAD(15), RAD(-25)), 0.15 / Animation_Speed)
  1274. elseif VALUE1 == true then
  1275. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1276. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-55 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1277. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(35), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1278. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1279. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-3), RAD(-15), RAD(65)), 0.15 / Animation_Speed)
  1280. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-3), RAD(15), RAD(-65)), 0.15 / Animation_Speed)
  1281. end
  1282. end
  1283. end
  1284. if #Effects2>0 then
  1285. for e=1,#Effects2 do
  1286. if Effects2[e]~=nil then
  1287. local Thing=Effects2[e]
  1288. if Thing~=nil then
  1289. local Part=Thing[1]
  1290. local Mode=Thing[2]
  1291. local Delay=Thing[3]
  1292. local IncX=Thing[4]
  1293. local IncY=Thing[5]
  1294. local IncZ=Thing[6]
  1295. local Part2=Thing[8]
  1296. if Thing[1].Transparency<=1 then
  1297. if Thing[2]=="Block1" then
  1298. Thing[1].CFrame=Thing[1].CFrame
  1299. Mesh=Thing[1].Mesh
  1300. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1301. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1302. elseif Thing[2]=="Cylinder" then
  1303. Mesh=Thing[1].Mesh
  1304. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1305. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1306. elseif Thing[2]=="Blood" then
  1307. Mesh=Thing[7]
  1308. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1309. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1310. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1311. elseif Thing[2]=="Elec" then
  1312. Mesh=Thing[1].Mesh
  1313. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1314. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1315. elseif Thing[2]=="Disappear" then
  1316. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1317. end
  1318. else
  1319. Part.Parent=nil
  1320. table.remove(Effects2,e)
  1321. end
  1322. end
  1323. end
  1324. end
  1325. end
  1326. unanchor()
  1327. Humanoid.MaxHealth = "inf"
  1328. Humanoid.Health = "inf"
  1329. if Rooted == false then
  1330. Disable_Jump = false
  1331. Humanoid.WalkSpeed = Speed
  1332. elseif Rooted == true then
  1333. Disable_Jump = true
  1334. Humanoid.WalkSpeed = 0
  1335. end
  1336. q = Character:GetChildren()
  1337. for u = 1, #q do
  1338. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1339. q[u]:remove()
  1340. elseif q[u].ClassName == "Shirt" then
  1341. q[u]:Destroy()
  1342. elseif q[u].ClassName == "Pants" then
  1343. q[u]:Destroy()
  1344. elseif q[u].ClassName == "CharacterMesh" then
  1345. q[u]:remove()
  1346. elseif q[u].ClassName == "ShirtGraphic" then
  1347. q[u]:remove()
  1348. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1349. q[u].Color = Color3.new(0,0,0)
  1350. end
  1351. end
  1352. if Head:FindFirstChild("face") then
  1353. Head.face:remove()
  1354. end
  1355. Humanoid.Name = "REEE"
  1356. end
  1357.  
  1358. --//=================================\\
  1359. --\\=================================//
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365. --//====================================================\\--
  1366. --|| END OF SCRIPT
  1367. --\\====================================================//--
  1368.  
  1369. wait(0.2)
  1370.  
  1371.  
  1372.  
  1373. Player = game:GetService("Players").LocalPlayer
  1374. PlayerGui = Player.PlayerGui
  1375. Cam = workspace.CurrentCamera
  1376. Backpack = Player.Backpack
  1377. Character = Player.Character
  1378. Humanoid = Character.Humanoid
  1379. Mouse = Player:GetMouse()
  1380. RootPart = Character["HumanoidRootPart"]
  1381. Torso = Character["Torso"]
  1382. Head = Character["Head"]
  1383. RightArm = Character["Right Arm"]
  1384. LeftArm = Character["Left Arm"]
  1385. RightLeg = Character["Right Leg"]
  1386. LeftLeg = Character["Left Leg"]
  1387. RootJoint = RootPart["RootJoint"]
  1388. Neck = Torso["Neck"]
  1389. RightShoulder = Torso["Right Shoulder"]
  1390. LeftShoulder = Torso["Left Shoulder"]
  1391. RightHip = Torso["Right Hip"]
  1392. LeftHip = Torso["Left Hip"]
  1393. local sick = Instance.new("Sound",Character)
  1394. sick.SoundId = "rbxassetid://815335430"
  1395. sick.Looped = true
  1396. sick.Pitch = 1
  1397. sick.Volume = 2
  1398. sick:Play()
  1399. Humanoid.DisplayDistanceType = "None"
  1400. script.Name = "CREEP"
  1401.  
  1402. IT = Instance.new
  1403. CF = CFrame.new
  1404. VT = Vector3.new
  1405. RAD = math.rad
  1406. C3 = Color3.new
  1407. UD2 = UDim2.new
  1408. BRICKC = BrickColor.new
  1409. ANGLES = CFrame.Angles
  1410. EULER = CFrame.fromEulerAnglesXYZ
  1411. COS = math.cos
  1412. ACOS = math.acos
  1413. SIN = math.sin
  1414. ASIN = math.asin
  1415. ABS = math.abs
  1416. MRANDOM = math.random
  1417. FLOOR = math.floor
  1418.  
  1419. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1420. local NEWMESH = IT(MESH)
  1421. if MESH == "SpecialMesh" then
  1422. NEWMESH.MeshType = MESHTYPE
  1423. if MESHID ~= "nil" and MESHID ~= "" then
  1424. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1425. end
  1426. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1427. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1428. end
  1429. end
  1430. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1431. NEWMESH.Scale = SCALE
  1432. NEWMESH.Parent = PARENT
  1433. return NEWMESH
  1434. end
  1435.  
  1436. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1437. local NEWPART = IT("Part")
  1438. NEWPART.formFactor = FORMFACTOR
  1439. NEWPART.Reflectance = REFLECTANCE
  1440. NEWPART.Transparency = TRANSPARENCY
  1441. NEWPART.CanCollide = false
  1442. NEWPART.Locked = true
  1443. NEWPART.Anchored = true
  1444. if ANCHOR == false then
  1445. NEWPART.Anchored = false
  1446. end
  1447. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1448. NEWPART.Name = NAME
  1449. NEWPART.Size = SIZE
  1450. NEWPART.Position = Torso.Position
  1451. NEWPART.Material = MATERIAL
  1452. NEWPART:BreakJoints()
  1453. NEWPART.Parent = PARENT
  1454. return NEWPART
  1455. end
  1456.  
  1457. --//=================================\\
  1458. --|| CUSTOMIZATION
  1459. --\\=================================//
  1460.  
  1461. Player_Size = 2 --Size of the player.
  1462. Animation_Speed = 3
  1463. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1464.  
  1465. local Speed = 16
  1466. local Effects2 = {}
  1467.  
  1468. --//=================================\\
  1469. --|| END OF CUSTOMIZATION
  1470. --\\=================================//
  1471.  
  1472. local function weldBetween(a, b)
  1473. local weldd = Instance.new("ManualWeld")
  1474. weldd.Part0 = a
  1475. weldd.Part1 = b
  1476. weldd.C0 = CFrame.new()
  1477. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1478. weldd.Parent = a
  1479. return weldd
  1480. end
  1481.  
  1482. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1483. if TYPE == "Gem" then
  1484. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  1485. acs.Anchored = false
  1486. acs.CanCollide = false
  1487. acs.CFrame = PART.CFrame
  1488. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1489. weldBetween(PART,acs)
  1490. elseif TYPE == "Skull" then
  1491. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  1492. acs.Anchored = false
  1493. acs.CanCollide = false
  1494. acs.CFrame = PART.CFrame
  1495. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1496. weldBetween(PART,acs)
  1497. elseif TYPE == "Eye" then
  1498. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  1499. acs.Anchored = false
  1500. acs.CanCollide = false
  1501. acs.CFrame = PART.CFrame
  1502. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1503. weldBetween(PART,acs)
  1504. end
  1505. end
  1506.  
  1507. --//=================================\\
  1508. --|| USEFUL VALUES
  1509. --\\=================================//
  1510.  
  1511. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1512. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1513. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1514. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1515. local CHANGEDEFENSE = 0
  1516. local CHANGEDAMAGE = 0
  1517. local CHANGEMOVEMENT = 0
  1518. local ANIM = "Idle"
  1519. local ATTACK = false
  1520. local EQUIPPED = false
  1521. local HOLD = false
  1522. local COMBO = 1
  1523. local Rooted = false
  1524. local SINE = 0
  1525. local KEYHOLD = false
  1526. local CHANGE = 2 / Animation_Speed
  1527. local WALKINGANIM = false
  1528. local WALK = 0
  1529. local VALUE1 = false
  1530. local VALUE2 = false
  1531. local ROBLOXIDLEANIMATION = IT("Animation")
  1532. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1533. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1534. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1535. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1536. WEAPONGUI.Name = "Weapon GUI"
  1537. local Weapon = IT("Model")
  1538. Weapon.Name = "Adds"
  1539. local Effects = IT("Folder", Weapon)
  1540. Effects.Name = "Effects"
  1541. local ANIMATOR = Humanoid.Animator
  1542. local ANIMATE = Character.Animate
  1543. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  1544. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  1545. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  1546. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  1547. local UNANCHOR = true
  1548. local TAUNTS = {"368794227","368794903","368794985"}
  1549.  
  1550. local SKILLTEXTCOLOR = C3(0,0,0)
  1551.  
  1552. --//=================================\\
  1553. --\\=================================//
  1554.  
  1555.  
  1556. --//=================================\\
  1557. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1558. --\\=================================//
  1559.  
  1560. ArtificialHB = Instance.new("BindableEvent", script)
  1561. ArtificialHB.Name = "ArtificialHB"
  1562.  
  1563. script:WaitForChild("ArtificialHB")
  1564.  
  1565. frame = Frame_Speed
  1566. tf = 0
  1567. allowframeloss = false
  1568. tossremainder = false
  1569. lastframe = tick()
  1570. script.ArtificialHB:Fire()
  1571.  
  1572. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1573. tf = tf + s
  1574. if tf >= frame then
  1575. if allowframeloss then
  1576. script.ArtificialHB:Fire()
  1577. lastframe = tick()
  1578. else
  1579. for i = 1, math.floor(tf / frame) do
  1580. script.ArtificialHB:Fire()
  1581. end
  1582. lastframe = tick()
  1583. end
  1584. if tossremainder then
  1585. tf = 0
  1586. else
  1587. tf = tf - frame * math.floor(tf / frame)
  1588. end
  1589. end
  1590. end)
  1591.  
  1592. --//=================================\\
  1593. --\\=================================//
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599. --//=================================\\
  1600. --|| SOME FUNCTIONS
  1601. --\\=================================//
  1602.  
  1603. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1604. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1605. end
  1606.  
  1607. function PositiveAngle(NUMBER)
  1608. if NUMBER >= 0 then
  1609. NUMBER = 0
  1610. end
  1611. return NUMBER
  1612. end
  1613.  
  1614. function NegativeAngle(NUMBER)
  1615. if NUMBER <= 0 then
  1616. NUMBER = 0
  1617. end
  1618. return NUMBER
  1619. end
  1620.  
  1621. function Swait(NUMBER)
  1622. if NUMBER == 0 or NUMBER == nil then
  1623. ArtificialHB.Event:wait()
  1624. else
  1625. for i = 1, NUMBER do
  1626. ArtificialHB.Event:wait()
  1627. end
  1628. end
  1629. end
  1630.  
  1631. function QuaternionFromCFrame(cf)
  1632. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1633. local trace = m00 + m11 + m22
  1634. if trace > 0 then
  1635. local s = math.sqrt(1 + trace)
  1636. local recip = 0.5 / s
  1637. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1638. else
  1639. local i = 0
  1640. if m11 > m00 then
  1641. i = 1
  1642. end
  1643. if m22 > (i == 0 and m00 or m11) then
  1644. i = 2
  1645. end
  1646. if i == 0 then
  1647. local s = math.sqrt(m00 - m11 - m22 + 1)
  1648. local recip = 0.5 / s
  1649. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1650. elseif i == 1 then
  1651. local s = math.sqrt(m11 - m22 - m00 + 1)
  1652. local recip = 0.5 / s
  1653. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1654. elseif i == 2 then
  1655. local s = math.sqrt(m22 - m00 - m11 + 1)
  1656. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1657. end
  1658. end
  1659. end
  1660.  
  1661. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1662. local xs, ys, zs = x + x, y + y, z + z
  1663. local wx, wy, wz = w * xs, w * ys, w * zs
  1664. local xx = x * xs
  1665. local xy = x * ys
  1666. local xz = x * zs
  1667. local yy = y * ys
  1668. local yz = y * zs
  1669. local zz = z * zs
  1670. 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))
  1671. end
  1672.  
  1673. function QuaternionSlerp(a, b, t)
  1674. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1675. local startInterp, finishInterp;
  1676. if cosTheta >= 0.0001 then
  1677. if (1 - cosTheta) > 0.0001 then
  1678. local theta = ACOS(cosTheta)
  1679. local invSinTheta = 1 / SIN(theta)
  1680. startInterp = SIN((1 - t) * theta) * invSinTheta
  1681. finishInterp = SIN(t * theta) * invSinTheta
  1682. else
  1683. startInterp = 1 - t
  1684. finishInterp = t
  1685. end
  1686. else
  1687. if (1 + cosTheta) > 0.0001 then
  1688. local theta = ACOS(-cosTheta)
  1689. local invSinTheta = 1 / SIN(theta)
  1690. startInterp = SIN((t - 1) * theta) * invSinTheta
  1691. finishInterp = SIN(t * theta) * invSinTheta
  1692. else
  1693. startInterp = t - 1
  1694. finishInterp = t
  1695. end
  1696. end
  1697. 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
  1698. end
  1699.  
  1700. function Clerp(a, b, t)
  1701. local qa = {QuaternionFromCFrame(a)}
  1702. local qb = {QuaternionFromCFrame(b)}
  1703. local ax, ay, az = a.x, a.y, a.z
  1704. local bx, by, bz = b.x, b.y, b.z
  1705. local _t = 1 - t
  1706. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1707. end
  1708.  
  1709. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1710. local frame = IT("Frame")
  1711. frame.BackgroundTransparency = TRANSPARENCY
  1712. frame.BorderSizePixel = BORDERSIZEPIXEL
  1713. frame.Position = POSITION
  1714. frame.Size = SIZE
  1715. frame.BackgroundColor3 = COLOR
  1716. frame.BorderColor3 = BORDERCOLOR
  1717. frame.Name = NAME
  1718. frame.Parent = PARENT
  1719. return frame
  1720. end
  1721.  
  1722. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1723. local label = IT("TextLabel")
  1724. label.BackgroundTransparency = 1
  1725. label.Size = UD2(1, 0, 1, 0)
  1726. label.Position = UD2(0, 0, 0, 0)
  1727. label.TextColor3 = TEXTCOLOR
  1728. label.TextStrokeTransparency = STROKETRANSPARENCY
  1729. label.TextTransparency = TRANSPARENCY
  1730. label.FontSize = TEXTFONTSIZE
  1731. label.Font = TEXTFONT
  1732. label.BorderSizePixel = BORDERSIZEPIXEL
  1733. label.TextScaled = false
  1734. label.Text = TEXT
  1735. label.Name = NAME
  1736. label.Parent = PARENT
  1737. return label
  1738. end
  1739.  
  1740. function NoOutlines(PART)
  1741. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1742. end
  1743.  
  1744.  
  1745. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1746. local NEWWELD = IT(TYPE)
  1747. NEWWELD.Part0 = PART0
  1748. NEWWELD.Part1 = PART1
  1749. NEWWELD.C0 = C0
  1750. NEWWELD.C1 = C1
  1751. NEWWELD.Parent = PARENT
  1752. return NEWWELD
  1753. end
  1754.  
  1755. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1756. local NEWSOUND = nil
  1757. coroutine.resume(coroutine.create(function()
  1758. NEWSOUND = IT("Sound", PARENT)
  1759. NEWSOUND.Volume = VOLUME
  1760. NEWSOUND.Pitch = PITCH
  1761. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1762. Swait()
  1763. NEWSOUND:play()
  1764. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1765. end))
  1766. return NEWSOUND
  1767. end
  1768.  
  1769. function CFrameFromTopBack(at, top, back)
  1770. local right = top:Cross(back)
  1771. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1772. end
  1773.  
  1774. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1775. local wave = CreatePart(3, Effects, "Neon", 0, 0.9, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1776. local mesh = IT("SpecialMesh",wave)
  1777. mesh.MeshType = "Sphere"
  1778. mesh.Scale = SIZE
  1779. mesh.Offset = VT(0,0,0)
  1780. wave.CFrame = CFRAME
  1781. coroutine.resume(coroutine.create(function(PART)
  1782. for i = 1, WAIT do
  1783. Swait()
  1784. mesh.Scale = mesh.Scale + GROW
  1785. wave.Transparency = wave.Transparency + (0.1/WAIT)
  1786. if wave.Transparency > 0.99 then
  1787. wave:remove()
  1788. end
  1789. end
  1790. end))
  1791. end
  1792.  
  1793. function MakeForm(PART,TYPE)
  1794. if TYPE == "Cyl" then
  1795. local MSH = IT("CylinderMesh",PART)
  1796. elseif TYPE == "Ball" then
  1797. local MSH = IT("SpecialMesh",PART)
  1798. MSH.MeshType = "Sphere"
  1799. elseif TYPE == "Wedge" then
  1800. local MSH = IT("SpecialMesh",PART)
  1801. MSH.MeshType = "Wedge"
  1802. end
  1803. end
  1804.  
  1805. function CheckTableForString(Table, String)
  1806. for i, v in pairs(Table) do
  1807. if string.find(string.lower(String), string.lower(v)) then
  1808. return true
  1809. end
  1810. end
  1811. return false
  1812. end
  1813.  
  1814. function CheckIntangible(Hit)
  1815. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1816. if Hit and Hit.Parent then
  1817. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1818. return true
  1819. end
  1820. end
  1821. return false
  1822. end
  1823.  
  1824. Debris = game:GetService("Debris")
  1825.  
  1826. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1827. local Direction = CFrame.new(StartPos, Vec).lookVector
  1828. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1829. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1830. if RayHit and CheckIntangible(RayHit) then
  1831. if DelayIfHit then
  1832. wait()
  1833. end
  1834. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1835. end
  1836. return RayHit, RayPos, RayNormal
  1837. end
  1838.  
  1839. function turnto(position)
  1840. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1841. end
  1842.  
  1843. --//=================================\\
  1844. --|| SPEECH
  1845. --\\=================================//
  1846.  
  1847. function chatfunc(text,waitt)
  1848. local chat = coroutine.wrap(function()
  1849. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1850. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1851. end
  1852. local naeeym2 = Instance.new("BillboardGui",Character)
  1853. naeeym2.Size = UDim2.new(0,100,0,40)
  1854. naeeym2.StudsOffset = Vector3.new(0,5,0)
  1855. naeeym2.Adornee = Character.Head
  1856. naeeym2.Name = "TalkingBillBoard"
  1857. naeeym2.AlwaysOnTop = true
  1858. local tecks2 = Instance.new("TextLabel",naeeym2)
  1859. tecks2.BackgroundTransparency = 1
  1860. tecks2.BorderSizePixel = 0
  1861. tecks2.Text = ""
  1862. tecks2.Font = "SciFi"
  1863. tecks2.TextSize = 30
  1864. tecks2.TextStrokeTransparency = 1
  1865. tecks2.TextColor3 = SKILLTEXTCOLOR
  1866. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1867. tecks2.Size = UDim2.new(1,0,0.5,0)
  1868. for i = 1,string.len(text),1 do
  1869. tecks2.Text = string.sub(text,1,i)
  1870. Swait()
  1871. end
  1872. wait(waitt)
  1873. coroutine.resume(coroutine.create(function()
  1874. for i = 1, 10 do
  1875. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  1876. Swait()
  1877. end
  1878. naeeym2:Destroy()
  1879. end))
  1880. end)
  1881. chat()
  1882. end
  1883.  
  1884. --//=================================\\
  1885. --|| WEAPON CREATION
  1886. --\\=================================//
  1887.  
  1888. if Player_Size ~= 1 then
  1889. RootPart.Size = RootPart.Size * Player_Size
  1890. Torso.Size = Torso.Size * Player_Size
  1891. Head.Size = Head.Size * Player_Size
  1892. RightArm.Size = RightArm.Size * Player_Size
  1893. LeftArm.Size = LeftArm.Size * Player_Size
  1894. RightLeg.Size = RightLeg.Size * Player_Size
  1895. LeftLeg.Size = LeftLeg.Size * Player_Size
  1896. RootJoint.Parent = RootPart
  1897. Neck.Parent = Torso
  1898. RightShoulder.Parent = Torso
  1899. LeftShoulder.Parent = Torso
  1900. RightHip.Parent = Torso
  1901. LeftHip.Parent = Torso
  1902.  
  1903. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1904. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1905. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1906. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1907. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  1908. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  1909. --if Disable_Moving_Arms == false then
  1910. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1911. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1912. --else
  1913. --RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1914. --LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1915. --end
  1916. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1917. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1918. RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1919. LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1920. end
  1921.  
  1922. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  1923. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.7,-2,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1924. MakeForm(part,"Ball")
  1925. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  1926. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.7,-2,0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1927. MakeForm(part,"Ball")
  1928. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  1929. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.7,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1930. MakeForm(part,"Ball")
  1931. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  1932. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.44,-3.2,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1933. MakeForm(part,"Ball")
  1934. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  1935. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.44,-3.2,0.6) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1936. MakeForm(part,"Ball")
  1937. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  1938. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.44,-3.2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1939. MakeForm(part,"Ball")
  1940. local CLAW1 = part
  1941. CLAW1.CanCollide = true
  1942. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  1943. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(-0.50,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1944. MakeForm(part,"Ball")
  1945.  
  1946. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  1947. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.7,-2,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1948. MakeForm(part,"Ball")
  1949. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  1950. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.7,-2,0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1951. MakeForm(part,"Ball")
  1952. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  1953. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.7,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1954. MakeForm(part,"Ball")
  1955. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  1956. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.44,-3.2,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1957. MakeForm(part,"Ball")
  1958. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  1959. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.44,-3.2,0.6) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1960. MakeForm(part,"Ball")
  1961. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  1962. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.44,-3.2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1963. MakeForm(part,"Ball")
  1964. local CLAW2 = part
  1965. CLAW2.CanCollide = true
  1966. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  1967. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.50,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1968. MakeForm(part,"Ball")
  1969.  
  1970. for _, c in pairs(Weapon:GetChildren()) do
  1971. if c.ClassName == "Part" then
  1972. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1973. end
  1974. end
  1975.  
  1976. Weapon.Parent = Character
  1977.  
  1978. Humanoid.Died:connect(function()
  1979. ATTACK = true
  1980. end)
  1981.  
  1982. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1983. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1984. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1985.  
  1986. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Shriek", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 1")
  1987. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Devour", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
  1988. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Neck snap", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
  1989.  
  1990. --//=================================\\
  1991. --|| DAMAGE FUNCTIONS
  1992. --\\=================================//
  1993.  
  1994. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1995. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1996. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1997. local BODYGYRO = IT("BodyGyro", STATPART)
  1998. local BODYPOSITION = IT("BodyPosition", STATPART)
  1999. BODYPOSITION.P = 2000
  2000. BODYPOSITION.D = 100
  2001. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  2002. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  2003. game:GetService("Debris"):AddItem(STATPART ,5)
  2004. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  2005. BILLBOARDGUI.Adornee = STATPART
  2006. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  2007. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  2008. BILLBOARDGUI.AlwaysOnTop = false
  2009. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  2010. TEXTLABEL.BackgroundTransparency = 1
  2011. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  2012. TEXTLABEL.Text = TEXT
  2013. TEXTLABEL.Font = "SciFi"
  2014. TEXTLABEL.FontSize="Size42"
  2015. TEXTLABEL.TextColor3 = COLOR
  2016. TEXTLABEL.TextStrokeTransparency = 1
  2017. TEXTLABEL.TextScaled = true
  2018. TEXTLABEL.TextWrapped = true
  2019. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  2020. if LABELTYPE == "Normal" then
  2021. for i = 1, 30 do
  2022. Swait()
  2023. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  2024. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2025. end
  2026. elseif LABELTYPE == "Debuff" then
  2027. for i = 1, 30 do
  2028. Swait()
  2029. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  2030. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2031. end
  2032. elseif LABELTYPE == "Shock" then
  2033. local ORIGIN = STATPART.Position
  2034. for i = 1, 30 do
  2035. Swait()
  2036. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  2037. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2038. end
  2039. end
  2040. THEPART.Parent = nil
  2041. end),STATPART, BODYPOSITION, TEXTLABEL)
  2042. end
  2043.  
  2044. --//=================================\\
  2045. --|| DAMAGING
  2046. --\\=================================//
  2047.  
  2048. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  2049. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  2050. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2051. local dmg = math.random(min,max)
  2052. if humanoid.Health > 0 then
  2053. if beserk == true then
  2054. humanoid.Health = 0
  2055. else
  2056. CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], hit, 3, MRANDOM(7, 12) / 10)
  2057. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  2058. if math.random(1,100) < critrate+1 then
  2059. humanoid.Health = humanoid.Health - dmg*critmultiplier
  2060. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  2061. else
  2062. humanoid.Health = humanoid.Health - dmg
  2063. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  2064. end
  2065. local defence = Instance.new("BoolValue",hit.Parent)
  2066. defence.Name = ("HitBy"..Player.Name)
  2067. game:GetService("Debris"):AddItem(defence, 0.5)
  2068. end
  2069. end
  2070. end
  2071. end
  2072.  
  2073. function AoEStun(POS,RANGE,LAST)
  2074. for i,v in ipairs(workspace:GetChildren()) do
  2075. if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  2076. local body = v:GetChildren()
  2077. for part = 1, #body do
  2078. if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2079. if(body[part].Position - POS).Magnitude < RANGE then
  2080. if v.ClassName == "Model" then
  2081. if v:FindFirstChild("Humanoid") then
  2082. if v.Humanoid.Health ~= 0 then
  2083. Stun(v.Humanoid,LAST)
  2084. local defence = Instance.new("BoolValue",v)
  2085. defence.Name = ("StunnedBy"..Player.Name)
  2086. game:GetService("Debris"):AddItem(defence, 0.1)
  2087. end
  2088. end
  2089. end
  2090. end
  2091. end
  2092. end
  2093. end
  2094. end
  2095. end
  2096.  
  2097. function Stun(HUMANOID,LAST)
  2098. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  2099. HUMANOID.PlatformStand = true
  2100. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  2101. defence.Name = ("StunnedBy"..Player.Name)
  2102. game:GetService("Debris"):AddItem(defence, LAST)
  2103. if HUMANOID.Parent:FindFirstChild("Head") then
  2104. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  2105. end
  2106. coroutine.resume(coroutine.create(function()
  2107. Swait(LAST*50)
  2108. HUMANOID.PlatformStand = false
  2109. end))
  2110. end
  2111. end
  2112.  
  2113. --//=================================\\
  2114. --|| ATTACK FUNCTIONS AND STUFF
  2115. --\\=================================//
  2116.  
  2117. function AttackTemplate()
  2118. ATTACK = true
  2119. Rooted = false
  2120. for i=0, 1, 0.1 / Animation_Speed do
  2121. Swait()
  2122. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2123. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2124. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2125. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2126. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2127. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2128. end
  2129. ATTACK = false
  2130. Rooted = false
  2131. end
  2132.  
  2133. function Strike()
  2134. ATTACK = true
  2135. Rooted = false
  2136. CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Head, 3, 2)
  2137. for i=0, 0.5, 0.1 / Animation_Speed do
  2138. Swait()
  2139. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2140. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2141. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2142. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2143. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12*2), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.5 / Animation_Speed)
  2144. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12*2), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.5 / Animation_Speed)
  2145. end
  2146. local HIT1 = CLAW1.Touched:Connect(function(hit)
  2147. dealdamage(hit,25,65,6,false,5,2)
  2148. end)
  2149. local HIT2 = CLAW2.Touched:Connect(function(hit)
  2150. dealdamage(hit,25,65,6,false,5,2)
  2151. end)
  2152. for i=0, 0.5, 0.1 / Animation_Speed do
  2153. Swait()
  2154. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2155. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2156. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*2, 0.5*2, -1) * ANGLES(RAD(55), RAD(75), RAD(-22)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2157. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*2, 0.5*2, -1) * ANGLES(RAD(55), RAD(-75), RAD(22)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  2158. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12*2), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-5)), 0.75 / Animation_Speed)
  2159. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12*2), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-25)), 0.75 / Animation_Speed)
  2160. end
  2161. HIT1:disconnect()
  2162. HIT2:disconnect()
  2163. ATTACK = false
  2164. Rooted = false
  2165. end
  2166.  
  2167. function Shriek()
  2168. ATTACK = true
  2169. Rooted = false
  2170. for i=0, 2.5, 0.1 / Animation_Speed do
  2171. Swait()
  2172. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2173. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2174. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2175. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2176. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2177. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2178. end
  2179. Rooted = true
  2180. CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Effects, 10, 1)
  2181. for i=0, 4, 0.1 / Animation_Speed do
  2182. Swait()
  2183. AoEStun(Head.Position,40,12)
  2184. MagicSphere(VT(0,0,0),5,Head.CFrame,"Pearl",VT(15,15,15))
  2185. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4*2, -0.65*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(55), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  2186. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-35+MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,1))), 1)
  2187. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(-15), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2188. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(-15), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  2189. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(15)), 0.75 / Animation_Speed)
  2190. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-55)), 0.75 / Animation_Speed)
  2191. end
  2192. ATTACK = false
  2193. Rooted = false
  2194. end
  2195.  
  2196. local asd = Instance.new("ParticleEmitter")
  2197. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  2198. asd.LightEmission = .1
  2199. asd.Size = NumberSequence.new(0.2)
  2200. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  2201. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  2202. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2203. asd.Transparency = bbb
  2204. asd.Size = aaa
  2205. asd.ZOffset = .9
  2206. asd.Acceleration = Vector3.new(0, -15, 0)
  2207. asd.LockedToPart = false
  2208. asd.EmissionDirection = "Back"
  2209. asd.Lifetime = NumberRange.new(1, 2)
  2210. asd.Rotation = NumberRange.new(-100, 100)
  2211. asd.RotSpeed = NumberRange.new(-100, 100)
  2212. asd.Speed = NumberRange.new(2,6)
  2213. asd.Enabled = false
  2214. asd.VelocitySpread = 5
  2215.  
  2216. function getbloody(victim,amount)
  2217. local PART = IT("Part",Effects)
  2218. PART.Transparency = 1
  2219. PART.Size = victim.Size
  2220. PART.Anchored = true
  2221. PART.CanCollide = false
  2222. PART.CFrame = CF(victim.Position,victim.CFrame*CF(0,1,0).p)
  2223. local HITPLAYERSOUNDS = {"356551938","264486467"}
  2224. Debris:AddItem(PART,5)
  2225. local prtcl = asd:Clone()
  2226. prtcl.Parent = PART
  2227. prtcl:Emit(amount*10)
  2228. end
  2229.  
  2230. function Devour()
  2231. ATTACK = true
  2232. Rooted = false
  2233. local TORS = nil
  2234. local WELD = nil
  2235. local HIT1 = CLAW1.Touched:Connect(function(hit)
  2236. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  2237. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2238. if TORS ~= nil then
  2239. UNANCHOR = false
  2240. Rooted = true
  2241. RootPart.Anchored = true
  2242. WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-2.5,-0.5) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
  2243. end
  2244. end
  2245. end)
  2246. for i=1, 45 do
  2247. Swait()
  2248. if TORS ~= nil then
  2249. break
  2250. end
  2251. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2252. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2253. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2254. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2255. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2256. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2257. end
  2258. HIT1:disconnect()
  2259. if TORS ~= nil then
  2260. for i=0, 2, 0.1 / Animation_Speed do
  2261. Swait()
  2262. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2263. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2265. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2266. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2267. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2268. end
  2269. for i=0, 0.3, 0.1 / Animation_Speed do
  2270. Swait()
  2271. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1.5 / Animation_Speed)
  2272. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1.15 / Animation_Speed)
  2273. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, -1, -1.5) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2274. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*2, -1, -1.2) * ANGLES(RAD(160), RAD(0), RAD(30)) * LEFTSHOULDERC0, 1.15 / Animation_Speed)
  2275. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 1.15 / Animation_Speed)
  2276. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 1.15 / Animation_Speed)
  2277. end
  2278. local HITPLAYERSOUNDS2 = {"356551938","264486467"}
  2279. if TORS ~= nil then
  2280. if TORS.Parent:FindFirstChild("Head") then
  2281. CreateSound(HITPLAYERSOUNDS2[MRANDOM(1, #HITPLAYERSOUNDS2)], Head, 1, (math.random(8,12)/10))
  2282. CreateSound("230346233", Head, 10, (math.random(5,7)/10))
  2283. getbloody(TORS,4)
  2284. TORS.Parent.Head:remove()
  2285. TORS.Parent:remove()
  2286. for i=0, 1, 0.1 / Animation_Speed do
  2287. Swait()
  2288. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1.5 / Animation_Speed)
  2289. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1.15 / Animation_Speed)
  2290. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, -1, -1.2) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2291. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*2, -1, -1.2) * ANGLES(RAD(160), RAD(0), RAD(30)) * LEFTSHOULDERC0, 1.15 / Animation_Speed)
  2292. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 1.15 / Animation_Speed)
  2293. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 1.15 / Animation_Speed)
  2294. end
  2295. end
  2296. end
  2297. UNANCHOR = true
  2298. end
  2299. ATTACK = false
  2300. Rooted = false
  2301. end
  2302.  
  2303. function Snap()
  2304. ATTACK = true
  2305. Rooted = false
  2306. local TORS = nil
  2307. local WELD = nil
  2308. local HIT1 = CLAW1.Touched:Connect(function(hit)
  2309. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Parent ~= Effects then
  2310. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2311. if TORS ~= nil then
  2312. UNANCHOR = false
  2313. Rooted = true
  2314. RootPart.Anchored = true
  2315. WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-2.5,-0.5) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
  2316. end
  2317. end
  2318. end)
  2319. for i=1, 45 do
  2320. Swait()
  2321. if TORS ~= nil then
  2322. break
  2323. end
  2324. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2325. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2326. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2327. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2328. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2329. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2330. end
  2331. HIT1:disconnect()
  2332. if TORS ~= nil then
  2333. local CLONE = IT("Model",Weapon)
  2334. CLONE.Name = "Corpse"
  2335. for i=0, 2, 0.1 / Animation_Speed do
  2336. Swait()
  2337. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2338. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2339. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2340. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2341. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2342. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2343. end
  2344. for i=0, 2, 0.1 / Animation_Speed do
  2345. Swait()
  2346. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2347. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  2348. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2349. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.5) * ANGLES(RAD(80), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2350. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2351. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2352. end
  2353. for i=0, 3, 0.1 / Animation_Speed do
  2354. Swait()
  2355. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2356. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  2357. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2358. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(70), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2359. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2360. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2361. end
  2362. local HITPLAYERSOUNDS = {"356551938","264486467"}
  2363. local DummyHead = nil
  2364. local q = TORS.Parent:GetChildren()
  2365. for i = 1,#q do
  2366. if q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Accessory" and q[i].ClassName ~= "Hat" and q[i].ClassName ~= "Gear" then
  2367. q[i].Parent = CLONE
  2368. if q[i].ClassName == "Humanoid" then
  2369. q[i].PlatformStand = true
  2370. end
  2371. if q[i].Name == "Head" then
  2372. DummyHead = CLONE.Head:Clone()
  2373. q[i]:ClearAllChildren()
  2374. q[i].Transparency = 1
  2375. end
  2376. else
  2377. q[i]:remove()
  2378. end
  2379. end
  2380. local TORS2 = CLONE:FindFirstChild("Torso") or CLONE:FindFirstChild("UpperTorso")
  2381. DummyHead.Parent = Effects
  2382. local WELD1 = CreateWeldOrSnapOrMotor("Weld", DummyHead, LeftArm, DummyHead, CF(0,-2.5,0) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
  2383. local WELD2 = CreateWeldOrSnapOrMotor("Weld", TORS2, RightArm, TORS2, CF(0,-2.5,-0.5) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
  2384. local HITPLAYERSOUNDS2 = {"356551938","264486467"}
  2385. CreateSound(HITPLAYERSOUNDS2[MRANDOM(1, #HITPLAYERSOUNDS2)], TORS2, 1, (math.random(8,12)/10))
  2386. getbloody(DummyHead,5)
  2387. for i=0, 3, 0.1 / Animation_Speed do
  2388. Swait()
  2389. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2390. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(20 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  2391. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2392. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(120), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2393. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2394. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2395. end
  2396. for i=0, 1, 0.1 / Animation_Speed do
  2397. Swait()
  2398. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2399. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(20 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2400. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2401. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(35), RAD(0), RAD(-75)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2402. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2403. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2404. end
  2405. WELD1:remove()
  2406. for i=0, 0.5, 0.1 / Animation_Speed do
  2407. Swait()
  2408. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2409. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(20 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2410. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2411. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(35), RAD(0), RAD(-75)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2412. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2413. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2414. end
  2415. local GROWLS = {"368795088","368795352","368795492","368795580"}
  2416. CreateSound(GROWLS[MRANDOM(1, #GROWLS)], Head, 4, (math.random(15,20)/10))
  2417. repeat
  2418. Swait()
  2419. turnto(Mouse.Hit.p)
  2420. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2421. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2422. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2423. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2424. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2425. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2426. until HOLD == true
  2427. WELD2:remove()
  2428. local bv = Instance.new("BodyVelocity")
  2429. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2430. bv.velocity = CF(TORS2.Position,Mouse.Hit.p).lookVector*300
  2431. bv.Parent = TORS2
  2432. bv.Name = "MOVE"
  2433. coroutine.resume(coroutine.create(function()
  2434. local HIT1 = TORS2.Touched:Connect(function(hit)
  2435. dealdamage(hit,25,65,3,false,5,2)
  2436. end)
  2437. Swait(2)
  2438. HIT1:disconnect()
  2439. end))
  2440. Debris:AddItem(bv,0.2)
  2441. TORS2.Velocity = CF(TORS2.Position,Mouse.Hit.p).lookVector*300
  2442. for i=0, 1, 0.1 / Animation_Speed do
  2443. Swait()
  2444. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1)
  2445. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1)
  2446. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, 0) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1)
  2447. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1)
  2448. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 1)
  2449. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 1)
  2450. end
  2451. end
  2452. UNANCHOR = true
  2453. ATTACK = false
  2454. Rooted = false
  2455. end
  2456.  
  2457. --//=================================\\
  2458. --|| ASSIGN THINGS TO KEYS
  2459. --\\=================================//
  2460.  
  2461. function MouseDown(Mouse)
  2462. HOLD = true
  2463. if ATTACK == false then
  2464. Strike()
  2465. end
  2466. end
  2467.  
  2468. function MouseUp(Mouse)
  2469. HOLD = false
  2470. end
  2471.  
  2472. function KeyDown(Key)
  2473. KEYHOLD = true
  2474. if Key == "z" and ATTACK == false then
  2475. Shriek()
  2476. end
  2477.  
  2478. if Key == "b" and ATTACK == false then
  2479. Devour()
  2480. end
  2481.  
  2482. if Key == "c" and ATTACK == false then
  2483. Snap()
  2484. end
  2485.  
  2486. if Key == "q" and ATTACK == false then
  2487. if VALUE1 == false then
  2488. VALUE1 = true
  2489. Speed = 75
  2490. CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Effects, 10, 2)
  2491. elseif VALUE1 == true then
  2492. VALUE1 = false
  2493. Speed = 20
  2494. local GROWLS = {"368795088","368795352","368795492","368795580"}
  2495. CreateSound(GROWLS[MRANDOM(1, #GROWLS)], Head, 4, (math.random(15,20)/10))
  2496. end
  2497. end
  2498.  
  2499. if Key == "t" and ATTACK == false then
  2500. local GROWLS = {"368795088","368795352","368795492","368795580"}
  2501. CreateSound(GROWLS[MRANDOM(1, #GROWLS)], Head, 4, (math.random(15,20)/10))
  2502. end
  2503. end
  2504.  
  2505. function KeyUp(Key)
  2506. KEYHOLD = false
  2507. end
  2508.  
  2509. Mouse.Button1Down:connect(function(NEWKEY)
  2510. MouseDown(NEWKEY)
  2511. end)
  2512. Mouse.Button1Up:connect(function(NEWKEY)
  2513. MouseUp(NEWKEY)
  2514. end)
  2515. Mouse.KeyDown:connect(function(NEWKEY)
  2516. KeyDown(NEWKEY)
  2517. end)
  2518. Mouse.KeyUp:connect(function(NEWKEY)
  2519. KeyUp(NEWKEY)
  2520. end)
  2521.  
  2522. --//=================================\\
  2523. --\\=================================//
  2524.  
  2525.  
  2526. function unanchor()
  2527. if UNANCHOR == true then
  2528. g = Character:GetChildren()
  2529. for i = 1, #g do
  2530. if g[i].ClassName == "Part" then
  2531. g[i].Anchored = false
  2532. end
  2533. end
  2534. end
  2535. end
  2536.  
  2537.  
  2538. --//=================================\\
  2539. --|| WRAP THE WHOLE SCRIPT UP
  2540. --\\=================================//
  2541.  
  2542. Humanoid.Changed:connect(function(Jump)
  2543. if Jump == "Jump" and (Disable_Jump == true) then
  2544. Humanoid.Jump = false
  2545. end
  2546. end)
  2547.  
  2548. createbodypart("Eye","Really red",Head,VT(0, 0.6, -1.2),VT(12,10,4))
  2549. createbodypart("Eye","Really black",Head,VT(0, 0.6, -1.2),VT(7,9,5))
  2550.  
  2551. Speed = 20
  2552.  
  2553. while true do
  2554. Swait()
  2555. ANIMATE.Parent = nil
  2556. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2557. IDLEANIMATION:Play()
  2558. SINE = SINE + CHANGE
  2559. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2560. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2561. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2562. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2563. local WALKSPEEDVALUE = 5
  2564. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2565. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2566. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2567. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2568. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2569. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2570. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2571. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2572. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2573. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2574. end
  2575. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2576. ANIM = "Jump"
  2577. if ATTACK == false then
  2578. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2579. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2580. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(130), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  2581. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(130), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2582. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2583. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2584. end
  2585. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil and ATTACK == false then
  2586. ANIM = "Fall"
  2587. if ATTACK == false then
  2588. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2589. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2590. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  2591. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2592. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2593. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2594. end
  2595. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2596. ANIM = "Idle"
  2597. if ATTACK == false then
  2598. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2599. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2600. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2601. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2602. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  2603. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  2604. if MRANDOM(1,35) == 1 then
  2605. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1)
  2606. end
  2607. end
  2608. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2609. ANIM = "Walk"
  2610. WALK = WALK + 1 / Animation_Speed
  2611. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2612. WALK = 0
  2613. if WALKINGANIM == true then
  2614. WALKINGANIM = false
  2615. elseif WALKINGANIM == false then
  2616. WALKINGANIM = true
  2617. end
  2618. end
  2619. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2620. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2621. if ATTACK == false then
  2622. if VALUE1 == false then
  2623. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2624. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2625. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(15+60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2626. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2627. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-3), RAD(-15), RAD(25)), 0.15 / Animation_Speed)
  2628. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-3), RAD(15), RAD(-25)), 0.15 / Animation_Speed)
  2629. elseif VALUE1 == true then
  2630. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2631. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-55 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2632. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(35), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2633. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2634. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-3), RAD(-15), RAD(65)), 0.15 / Animation_Speed)
  2635. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-3), RAD(15), RAD(-65)), 0.15 / Animation_Speed)
  2636. end
  2637. end
  2638. end
  2639. if #Effects2>0 then
  2640. for e=1,#Effects2 do
  2641. if Effects2[e]~=nil then
  2642. local Thing=Effects2[e]
  2643. if Thing~=nil then
  2644. local Part=Thing[1]
  2645. local Mode=Thing[2]
  2646. local Delay=Thing[3]
  2647. local IncX=Thing[4]
  2648. local IncY=Thing[5]
  2649. local IncZ=Thing[6]
  2650. local Part2=Thing[8]
  2651. if Thing[1].Transparency<=1 then
  2652. if Thing[2]=="Block1" then
  2653. Thing[1].CFrame=Thing[1].CFrame
  2654. Mesh=Thing[1].Mesh
  2655. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2656. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2657. elseif Thing[2]=="Cylinder" then
  2658. Mesh=Thing[1].Mesh
  2659. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2660. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2661. elseif Thing[2]=="Blood" then
  2662. Mesh=Thing[7]
  2663. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  2664. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2665. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2666. elseif Thing[2]=="Elec" then
  2667. Mesh=Thing[1].Mesh
  2668. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  2669. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2670. elseif Thing[2]=="Disappear" then
  2671. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2672. end
  2673. else
  2674. Part.Parent=nil
  2675. table.remove(Effects2,e)
  2676. end
  2677. end
  2678. end
  2679. end
  2680. end
  2681. unanchor()
  2682. Humanoid.MaxHealth = "inf"
  2683. Humanoid.Health = "inf"
  2684. if Rooted == false then
  2685. Disable_Jump = false
  2686. Humanoid.WalkSpeed = Speed
  2687. elseif Rooted == true then
  2688. Disable_Jump = true
  2689. Humanoid.WalkSpeed = 0
  2690. end
  2691. q = Character:GetChildren()
  2692. for u = 1, #q do
  2693. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  2694. q[u]:remove()
  2695. elseif q[u].ClassName == "Shirt" then
  2696. q[u]:Destroy()
  2697. elseif q[u].ClassName == "Pants" then
  2698. q[u]:Destroy()
  2699. elseif q[u].ClassName == "CharacterMesh" then
  2700. q[u]:remove()
  2701. elseif q[u].ClassName == "ShirtGraphic" then
  2702. q[u]:remove()
  2703. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  2704. q[u].Color = Color3.new(0,0,0)
  2705. end
  2706. end
  2707. if Head:FindFirstChild("face") then
  2708. Head.face:remove()
  2709. end
  2710. Humanoid.Name = "REEE"
  2711. end
  2712.  
  2713. --//=================================\\
  2714. --\\=================================//
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720. --//====================================================\\--
  2721. --|| END OF SCRIPT
  2722. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement