Advertisement
cubanmixed2

Creep

Nov 5th, 2018
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use r/ and not rl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126.  
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. wait(0.2)
  146.  
  147.  
  148.  
  149. Player = game:GetService("Players").LocalPlayer
  150. PlayerGui = Player.PlayerGui
  151. Cam = workspace.CurrentCamera
  152. Backpack = Player.Backpack
  153. Character = Player.Character
  154. Humanoid = Character.Humanoid
  155. Mouse = Player:GetMouse()
  156. RootPart = Character["HumanoidRootPart"]
  157. Torso = Character["Torso"]
  158. Head = Character["Head"]
  159. RightArm = Character["Right Arm"]
  160. LeftArm = Character["Left Arm"]
  161. RightLeg = Character["Right Leg"]
  162. LeftLeg = Character["Left Leg"]
  163. RootJoint = RootPart["RootJoint"]
  164. Neck = Torso["Neck"]
  165. RightShoulder = Torso["Right Shoulder"]
  166. LeftShoulder = Torso["Left Shoulder"]
  167. RightHip = Torso["Right Hip"]
  168. LeftHip = Torso["Left Hip"]
  169. local sick = Instance.new("Sound",Character)
  170. sick.SoundId = "rbxassetid://815335430"
  171. sick.Looped = true
  172. sick.Pitch = 1
  173. sick.Volume = 2
  174. sick:Play()
  175. Humanoid.DisplayDistanceType = "None"
  176. script.Name = "CREEP"
  177.  
  178. IT = Instance.new
  179. CF = CFrame.new
  180. VT = Vector3.new
  181. RAD = math.rad
  182. C3 = Color3.new
  183. UD2 = UDim2.new
  184. BRICKC = BrickColor.new
  185. ANGLES = CFrame.Angles
  186. EULER = CFrame.fromEulerAnglesXYZ
  187. COS = math.cos
  188. ACOS = math.acos
  189. SIN = math.sin
  190. ASIN = math.asin
  191. ABS = math.abs
  192. MRANDOM = math.random
  193. FLOOR = math.floor
  194.  
  195. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  196. local NEWMESH = IT(MESH)
  197. if MESH == "SpecialMesh" then
  198. NEWMESH.MeshType = MESHTYPE
  199. if MESHID ~= "nil" and MESHID ~= "" then
  200. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  201. end
  202. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  203. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  204. end
  205. end
  206. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  207. NEWMESH.Scale = SCALE
  208. NEWMESH.Parent = PARENT
  209. return NEWMESH
  210. end
  211.  
  212. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  213. local NEWPART = IT("Part")
  214. NEWPART.formFactor = FORMFACTOR
  215. NEWPART.Reflectance = REFLECTANCE
  216. NEWPART.Transparency = TRANSPARENCY
  217. NEWPART.CanCollide = false
  218. NEWPART.Locked = true
  219. NEWPART.Anchored = true
  220. if ANCHOR == false then
  221. NEWPART.Anchored = false
  222. end
  223. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  224. NEWPART.Name = NAME
  225. NEWPART.Size = SIZE
  226. NEWPART.Position = Torso.Position
  227. NEWPART.Material = MATERIAL
  228. NEWPART:BreakJoints()
  229. NEWPART.Parent = PARENT
  230. return NEWPART
  231. end
  232.  
  233. --//=================================\\
  234. --|| CUSTOMIZATION
  235. --\\=================================//
  236.  
  237. Player_Size = 2 --Size of the player.
  238. Animation_Speed = 3
  239. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  240.  
  241. local Speed = 16
  242. local Effects2 = {}
  243.  
  244. --//=================================\\
  245. --|| END OF CUSTOMIZATION
  246. --\\=================================//
  247.  
  248. local function weldBetween(a, b)
  249. local weldd = Instance.new("ManualWeld")
  250. weldd.Part0 = a
  251. weldd.Part1 = b
  252. weldd.C0 = CFrame.new()
  253. weldd.C1 = b.CFrame:inverse() * a.CFrame
  254. weldd.Parent = a
  255. return weldd
  256. end
  257.  
  258. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  259. if TYPE == "Gem" then
  260. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  261. acs.Anchored = false
  262. acs.CanCollide = false
  263. acs.CFrame = PART.CFrame
  264. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  265. weldBetween(PART,acs)
  266. elseif TYPE == "Skull" then
  267. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  268. acs.Anchored = false
  269. acs.CanCollide = false
  270. acs.CFrame = PART.CFrame
  271. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  272. weldBetween(PART,acs)
  273. elseif TYPE == "Eye" then
  274. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  275. acs.Anchored = false
  276. acs.CanCollide = false
  277. acs.CFrame = PART.CFrame
  278. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  279. weldBetween(PART,acs)
  280. end
  281. end
  282.  
  283. --//=================================\\
  284. --|| USEFUL VALUES
  285. --\\=================================//
  286.  
  287. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  288. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  289. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  290. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  291. local CHANGEDEFENSE = 0
  292. local CHANGEDAMAGE = 0
  293. local CHANGEMOVEMENT = 0
  294. local ANIM = "Idle"
  295. local ATTACK = false
  296. local EQUIPPED = false
  297. local HOLD = false
  298. local COMBO = 1
  299. local Rooted = false
  300. local SINE = 0
  301. local KEYHOLD = false
  302. local CHANGE = 2 / Animation_Speed
  303. local WALKINGANIM = false
  304. local WALK = 0
  305. local VALUE1 = false
  306. local VALUE2 = false
  307. local ROBLOXIDLEANIMATION = IT("Animation")
  308. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  309. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  310. --ROBLOXIDLEANIMATION.Parent = Humanoid
  311. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  312. WEAPONGUI.Name = "Weapon GUI"
  313. local Weapon = IT("Model")
  314. Weapon.Name = "Adds"
  315. local Effects = IT("Folder", Weapon)
  316. Effects.Name = "Effects"
  317. local ANIMATOR = Humanoid.Animator
  318. local ANIMATE = Character.Animate
  319. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  320. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  321. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  322. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  323. local UNANCHOR = true
  324. local TAUNTS = {"368794227","368794903","368794985"}
  325.  
  326. local SKILLTEXTCOLOR = C3(0,0,0)
  327.  
  328. --//=================================\\
  329. --\\=================================//
  330.  
  331.  
  332. --//=================================\\
  333. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  334. --\\=================================//
  335.  
  336. ArtificialHB = Instance.new("BindableEvent", script)
  337. ArtificialHB.Name = "ArtificialHB"
  338.  
  339. script:WaitForChild("ArtificialHB")
  340.  
  341. frame = Frame_Speed
  342. tf = 0
  343. allowframeloss = false
  344. tossremainder = false
  345. lastframe = tick()
  346. script.ArtificialHB:Fire()
  347.  
  348. game:GetService("RunService").Heartbeat:connect(function(s, p)
  349. tf = tf + s
  350. if tf >= frame then
  351. if allowframeloss then
  352. script.ArtificialHB:Fire()
  353. lastframe = tick()
  354. else
  355. for i = 1, math.floor(tf / frame) do
  356. script.ArtificialHB:Fire()
  357. end
  358. lastframe = tick()
  359. end
  360. if tossremainder then
  361. tf = 0
  362. else
  363. tf = tf - frame * math.floor(tf / frame)
  364. end
  365. end
  366. end)
  367.  
  368. --//=================================\\
  369. --\\=================================//
  370.  
  371.  
  372.  
  373.  
  374.  
  375. --//=================================\\
  376. --|| SOME FUNCTIONS
  377. --\\=================================//
  378.  
  379. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  380. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  381. end
  382.  
  383. function PositiveAngle(NUMBER)
  384. if NUMBER >= 0 then
  385. NUMBER = 0
  386. end
  387. return NUMBER
  388. end
  389.  
  390. function NegativeAngle(NUMBER)
  391. if NUMBER <= 0 then
  392. NUMBER = 0
  393. end
  394. return NUMBER
  395. end
  396.  
  397. function Swait(NUMBER)
  398. if NUMBER == 0 or NUMBER == nil then
  399. ArtificialHB.Event:wait()
  400. else
  401. for i = 1, NUMBER do
  402. ArtificialHB.Event:wait()
  403. end
  404. end
  405. end
  406.  
  407. function QuaternionFromCFrame(cf)
  408. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  409. local trace = m00 + m11 + m22
  410. if trace > 0 then
  411. local s = math.sqrt(1 + trace)
  412. local recip = 0.5 / s
  413. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  414. else
  415. local i = 0
  416. if m11 > m00 then
  417. i = 1
  418. end
  419. if m22 > (i == 0 and m00 or m11) then
  420. i = 2
  421. end
  422. if i == 0 then
  423. local s = math.sqrt(m00 - m11 - m22 + 1)
  424. local recip = 0.5 / s
  425. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  426. elseif i == 1 then
  427. local s = math.sqrt(m11 - m22 - m00 + 1)
  428. local recip = 0.5 / s
  429. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  430. elseif i == 2 then
  431. local s = math.sqrt(m22 - m00 - m11 + 1)
  432. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  433. end
  434. end
  435. end
  436.  
  437. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  438. local xs, ys, zs = x + x, y + y, z + z
  439. local wx, wy, wz = w * xs, w * ys, w * zs
  440. local xx = x * xs
  441. local xy = x * ys
  442. local xz = x * zs
  443. local yy = y * ys
  444. local yz = y * zs
  445. local zz = z * zs
  446. 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))
  447. end
  448.  
  449. function QuaternionSlerp(a, b, t)
  450. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  451. local startInterp, finishInterp;
  452. if cosTheta >= 0.0001 then
  453. if (1 - cosTheta) > 0.0001 then
  454. local theta = ACOS(cosTheta)
  455. local invSinTheta = 1 / SIN(theta)
  456. startInterp = SIN((1 - t) * theta) * invSinTheta
  457. finishInterp = SIN(t * theta) * invSinTheta
  458. else
  459. startInterp = 1 - t
  460. finishInterp = t
  461. end
  462. else
  463. if (1 + cosTheta) > 0.0001 then
  464. local theta = ACOS(-cosTheta)
  465. local invSinTheta = 1 / SIN(theta)
  466. startInterp = SIN((t - 1) * theta) * invSinTheta
  467. finishInterp = SIN(t * theta) * invSinTheta
  468. else
  469. startInterp = t - 1
  470. finishInterp = t
  471. end
  472. end
  473. 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
  474. end
  475.  
  476. function Clerp(a, b, t)
  477. local qa = {QuaternionFromCFrame(a)}
  478. local qb = {QuaternionFromCFrame(b)}
  479. local ax, ay, az = a.x, a.y, a.z
  480. local bx, by, bz = b.x, b.y, b.z
  481. local _t = 1 - t
  482. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  483. end
  484.  
  485. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  486. local frame = IT("Frame")
  487. frame.BackgroundTransparency = TRANSPARENCY
  488. frame.BorderSizePixel = BORDERSIZEPIXEL
  489. frame.Position = POSITION
  490. frame.Size = SIZE
  491. frame.BackgroundColor3 = COLOR
  492. frame.BorderColor3 = BORDERCOLOR
  493. frame.Name = NAME
  494. frame.Parent = PARENT
  495. return frame
  496. end
  497.  
  498. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  499. local label = IT("TextLabel")
  500. label.BackgroundTransparency = 1
  501. label.Size = UD2(1, 0, 1, 0)
  502. label.Position = UD2(0, 0, 0, 0)
  503. label.TextColor3 = TEXTCOLOR
  504. label.TextStrokeTransparency = STROKETRANSPARENCY
  505. label.TextTransparency = TRANSPARENCY
  506. label.FontSize = TEXTFONTSIZE
  507. label.Font = TEXTFONT
  508. label.BorderSizePixel = BORDERSIZEPIXEL
  509. label.TextScaled = false
  510. label.Text = TEXT
  511. label.Name = NAME
  512. label.Parent = PARENT
  513. return label
  514. end
  515.  
  516. function NoOutlines(PART)
  517. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  518. end
  519.  
  520.  
  521. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  522. local NEWWELD = IT(TYPE)
  523. NEWWELD.Part0 = PART0
  524. NEWWELD.Part1 = PART1
  525. NEWWELD.C0 = C0
  526. NEWWELD.C1 = C1
  527. NEWWELD.Parent = PARENT
  528. return NEWWELD
  529. end
  530.  
  531. function CreateSound(ID, PARENT, VOLUME, PITCH)
  532. local NEWSOUND = nil
  533. coroutine.resume(coroutine.create(function()
  534. NEWSOUND = IT("Sound", PARENT)
  535. NEWSOUND.Volume = VOLUME
  536. NEWSOUND.Pitch = PITCH
  537. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  538. Swait()
  539. NEWSOUND:play()
  540. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  541. end))
  542. return NEWSOUND
  543. end
  544.  
  545. function CFrameFromTopBack(at, top, back)
  546. local right = top:Cross(back)
  547. 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)
  548. end
  549.  
  550. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  551. local wave = CreatePart(3, Effects, "Neon", 0, 0.9, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  552. local mesh = IT("SpecialMesh",wave)
  553. mesh.MeshType = "Sphere"
  554. mesh.Scale = SIZE
  555. mesh.Offset = VT(0,0,0)
  556. wave.CFrame = CFRAME
  557. coroutine.resume(coroutine.create(function(PART)
  558. for i = 1, WAIT do
  559. Swait()
  560. mesh.Scale = mesh.Scale + GROW
  561. wave.Transparency = wave.Transparency + (0.1/WAIT)
  562. if wave.Transparency > 0.99 then
  563. wave:remove()
  564. end
  565. end
  566. end))
  567. end
  568.  
  569. function MakeForm(PART,TYPE)
  570. if TYPE == "Cyl" then
  571. local MSH = IT("CylinderMesh",PART)
  572. elseif TYPE == "Ball" then
  573. local MSH = IT("SpecialMesh",PART)
  574. MSH.MeshType = "Sphere"
  575. elseif TYPE == "Wedge" then
  576. local MSH = IT("SpecialMesh",PART)
  577. MSH.MeshType = "Wedge"
  578. end
  579. end
  580.  
  581. function CheckTableForString(Table, String)
  582. for i, v in pairs(Table) do
  583. if string.find(string.lower(String), string.lower(v)) then
  584. return true
  585. end
  586. end
  587. return false
  588. end
  589.  
  590. function CheckIntangible(Hit)
  591. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  592. if Hit and Hit.Parent then
  593. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  594. return true
  595. end
  596. end
  597. return false
  598. end
  599.  
  600. Debris = game:GetService("Debris")
  601.  
  602. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  603. local Direction = CFrame.new(StartPos, Vec).lookVector
  604. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  605. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  606. if RayHit and CheckIntangible(RayHit) then
  607. if DelayIfHit then
  608. wait()
  609. end
  610. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  611. end
  612. return RayHit, RayPos, RayNormal
  613. end
  614.  
  615. function turnto(position)
  616. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  617. end
  618.  
  619. --//=================================\\
  620. --|| SPEECH
  621. --\\=================================//
  622.  
  623. function chatfunc(text,waitt)
  624. local chat = coroutine.wrap(function()
  625. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  626. Character:FindFirstChild("TalkingBillBoard"):destroy()
  627. end
  628. local naeeym2 = Instance.new("BillboardGui",Character)
  629. naeeym2.Size = UDim2.new(0,100,0,40)
  630. naeeym2.StudsOffset = Vector3.new(0,5,0)
  631. naeeym2.Adornee = Character.Head
  632. naeeym2.Name = "TalkingBillBoard"
  633. naeeym2.AlwaysOnTop = true
  634. local tecks2 = Instance.new("TextLabel",naeeym2)
  635. tecks2.BackgroundTransparency = 1
  636. tecks2.BorderSizePixel = 0
  637. tecks2.Text = ""
  638. tecks2.Font = "SciFi"
  639. tecks2.TextSize = 30
  640. tecks2.TextStrokeTransparency = 1
  641. tecks2.TextColor3 = SKILLTEXTCOLOR
  642. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  643. tecks2.Size = UDim2.new(1,0,0.5,0)
  644. for i = 1,string.len(text),1 do
  645. tecks2.Text = string.sub(text,1,i)
  646. Swait()
  647. end
  648. wait(waitt)
  649. coroutine.resume(coroutine.create(function()
  650. for i = 1, 10 do
  651. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  652. Swait()
  653. end
  654. naeeym2:Destroy()
  655. end))
  656. end)
  657. chat()
  658. end
  659.  
  660. --//=================================\\
  661. --|| WEAPON CREATION
  662. --\\=================================//
  663.  
  664. if Player_Size ~= 1 then
  665. RootPart.Size = RootPart.Size * Player_Size
  666. Torso.Size = Torso.Size * Player_Size
  667. Head.Size = Head.Size * Player_Size
  668. RightArm.Size = RightArm.Size * Player_Size
  669. LeftArm.Size = LeftArm.Size * Player_Size
  670. RightLeg.Size = RightLeg.Size * Player_Size
  671. LeftLeg.Size = LeftLeg.Size * Player_Size
  672. RootJoint.Parent = RootPart
  673. Neck.Parent = Torso
  674. RightShoulder.Parent = Torso
  675. LeftShoulder.Parent = Torso
  676. RightHip.Parent = Torso
  677. LeftHip.Parent = Torso
  678.  
  679. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  680. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  681. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  682. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  683. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  684. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  685. --if Disable_Moving_Arms == false then
  686. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  687. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  688. --else
  689. --RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  690. --LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  691. --end
  692. 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))
  693. 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))
  694. 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))
  695. 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))
  696. end
  697.  
  698. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  699. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.7,-2,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  700. MakeForm(part,"Ball")
  701. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  702. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.7,-2,0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  703. MakeForm(part,"Ball")
  704. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  705. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.7,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  706. MakeForm(part,"Ball")
  707. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  708. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.44,-3.2,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  709. MakeForm(part,"Ball")
  710. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  711. 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))
  712. MakeForm(part,"Ball")
  713. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  714. 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))
  715. MakeForm(part,"Ball")
  716. local CLAW1 = part
  717. CLAW1.CanCollide = true
  718. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  719. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(-0.50,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  720. MakeForm(part,"Ball")
  721.  
  722. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  723. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.7,-2,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  724. MakeForm(part,"Ball")
  725. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  726. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.7,-2,0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  727. MakeForm(part,"Ball")
  728. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  729. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.7,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  730. MakeForm(part,"Ball")
  731. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  732. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.44,-3.2,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  733. MakeForm(part,"Ball")
  734. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  735. 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))
  736. MakeForm(part,"Ball")
  737. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
  738. 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))
  739. MakeForm(part,"Ball")
  740. local CLAW2 = part
  741. CLAW2.CanCollide = true
  742. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
  743. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.50,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  744. MakeForm(part,"Ball")
  745.  
  746. for _, c in pairs(Weapon:GetChildren()) do
  747. if c.ClassName == "Part" then
  748. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  749. end
  750. end
  751.  
  752. Weapon.Parent = Character
  753.  
  754. Humanoid.Died:connect(function()
  755. ATTACK = true
  756. end)
  757.  
  758. 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")
  759. 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")
  760. 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")
  761.  
  762. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Shriek", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 1")
  763. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Devour", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
  764. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Neck snap", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
  765.  
  766. --//=================================\\
  767. --|| DAMAGE FUNCTIONS
  768. --\\=================================//
  769.  
  770. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  771. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  772. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  773. local BODYGYRO = IT("BodyGyro", STATPART)
  774. local BODYPOSITION = IT("BodyPosition", STATPART)
  775. BODYPOSITION.P = 2000
  776. BODYPOSITION.D = 100
  777. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  778. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  779. game:GetService("Debris"):AddItem(STATPART ,5)
  780. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  781. BILLBOARDGUI.Adornee = STATPART
  782. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  783. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  784. BILLBOARDGUI.AlwaysOnTop = false
  785. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  786. TEXTLABEL.BackgroundTransparency = 1
  787. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  788. TEXTLABEL.Text = TEXT
  789. TEXTLABEL.Font = "SciFi"
  790. TEXTLABEL.FontSize="Size42"
  791. TEXTLABEL.TextColor3 = COLOR
  792. TEXTLABEL.TextStrokeTransparency = 1
  793. TEXTLABEL.TextScaled = true
  794. TEXTLABEL.TextWrapped = true
  795. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  796. if LABELTYPE == "Normal" then
  797. for i = 1, 30 do
  798. Swait()
  799. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  800. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  801. end
  802. elseif LABELTYPE == "Debuff" then
  803. for i = 1, 30 do
  804. Swait()
  805. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  806. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  807. end
  808. elseif LABELTYPE == "Shock" then
  809. local ORIGIN = STATPART.Position
  810. for i = 1, 30 do
  811. Swait()
  812. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  813. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  814. end
  815. end
  816. THEPART.Parent = nil
  817. end),STATPART, BODYPOSITION, TEXTLABEL)
  818. end
  819.  
  820. --//=================================\\
  821. --|| DAMAGING
  822. --\\=================================//
  823.  
  824. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  825. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  826. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  827. local dmg = math.random(min,max)
  828. if humanoid.Health > 0 then
  829. if beserk == true then
  830. humanoid.Health = 0
  831. else
  832. CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], hit, 3, MRANDOM(7, 12) / 10)
  833. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  834. if math.random(1,100) < critrate+1 then
  835. humanoid.Health = humanoid.Health - dmg*critmultiplier
  836. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  837. else
  838. humanoid.Health = humanoid.Health - dmg
  839. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  840. end
  841. local defence = Instance.new("BoolValue",hit.Parent)
  842. defence.Name = ("HitBy"..Player.Name)
  843. game:GetService("Debris"):AddItem(defence, 0.5)
  844. end
  845. end
  846. end
  847. end
  848.  
  849. function AoEStun(POS,RANGE,LAST)
  850. for i,v in ipairs(workspace:GetChildren()) do
  851. if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  852. local body = v:GetChildren()
  853. for part = 1, #body do
  854. if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  855. if(body[part].Position - POS).Magnitude < RANGE then
  856. if v.ClassName == "Model" then
  857. if v:FindFirstChild("Humanoid") then
  858. if v.Humanoid.Health ~= 0 then
  859. Stun(v.Humanoid,LAST)
  860. local defence = Instance.new("BoolValue",v)
  861. defence.Name = ("StunnedBy"..Player.Name)
  862. game:GetService("Debris"):AddItem(defence, 0.1)
  863. end
  864. end
  865. end
  866. end
  867. end
  868. end
  869. end
  870. end
  871. end
  872.  
  873. function Stun(HUMANOID,LAST)
  874. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  875. HUMANOID.PlatformStand = true
  876. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  877. defence.Name = ("StunnedBy"..Player.Name)
  878. game:GetService("Debris"):AddItem(defence, LAST)
  879. if HUMANOID.Parent:FindFirstChild("Head") then
  880. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  881. end
  882. coroutine.resume(coroutine.create(function()
  883. Swait(LAST*50)
  884. HUMANOID.PlatformStand = false
  885. end))
  886. end
  887. end
  888.  
  889. --//=================================\\
  890. --|| ATTACK FUNCTIONS AND STUFF
  891. --\\=================================//
  892.  
  893. function AttackTemplate()
  894. ATTACK = true
  895. Rooted = false
  896. for i=0, 1, 0.1 / Animation_Speed do
  897. Swait()
  898. 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)
  899. 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)
  900. 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)
  901. 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)
  902. 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)
  903. 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)
  904. end
  905. ATTACK = false
  906. Rooted = false
  907. end
  908.  
  909. function Strike()
  910. ATTACK = true
  911. Rooted = false
  912. CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Head, 3, 2)
  913. for i=0, 0.5, 0.1 / Animation_Speed do
  914. Swait()
  915. 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)
  916. 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)
  917. 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)
  918. 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)
  919. 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)
  920. 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)
  921. end
  922. local HIT1 = CLAW1.Touched:Connect(function(hit)
  923. dealdamage(hit,25,65,6,false,5,2)
  924. end)
  925. local HIT2 = CLAW2.Touched:Connect(function(hit)
  926. dealdamage(hit,25,65,6,false,5,2)
  927. end)
  928. for i=0, 0.5, 0.1 / Animation_Speed do
  929. Swait()
  930. 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)
  931. 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)
  932. 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)
  933. 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)
  934. 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)
  935. 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)
  936. end
  937. HIT1:disconnect()
  938. HIT2:disconnect()
  939. ATTACK = false
  940. Rooted = false
  941. end
  942.  
  943. function Shriek()
  944. ATTACK = true
  945. Rooted = false
  946. for i=0, 2.5, 0.1 / Animation_Speed do
  947. Swait()
  948. 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)
  949. 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)
  950. 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)
  951. 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)
  952. 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)
  953. 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)
  954. end
  955. Rooted = true
  956. CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Effects, 10, 1)
  957. for i=0, 4, 0.1 / Animation_Speed do
  958. Swait()
  959. AoEStun(Head.Position,40,12)
  960. MagicSphere(VT(0,0,0),5,Head.CFrame,"Pearl",VT(15,15,15))
  961. 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)
  962. 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)
  963. 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)
  964. 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)
  965. 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)
  966. 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)
  967. end
  968. ATTACK = false
  969. Rooted = false
  970. end
  971.  
  972. local asd = Instance.new("ParticleEmitter")
  973. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  974. asd.LightEmission = .1
  975. asd.Size = NumberSequence.new(0.2)
  976. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  977. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  978. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  979. asd.Transparency = bbb
  980. asd.Size = aaa
  981. asd.ZOffset = .9
  982. asd.Acceleration = Vector3.new(0, -15, 0)
  983. asd.LockedToPart = false
  984. asd.EmissionDirection = "Back"
  985. asd.Lifetime = NumberRange.new(1, 2)
  986. asd.Rotation = NumberRange.new(-100, 100)
  987. asd.RotSpeed = NumberRange.new(-100, 100)
  988. asd.Speed = NumberRange.new(2,6)
  989. asd.Enabled = false
  990. asd.VelocitySpread = 5
  991.  
  992. function getbloody(victim,amount)
  993. local PART = IT("Part",Effects)
  994. PART.Transparency = 1
  995. PART.Size = victim.Size
  996. PART.Anchored = true
  997. PART.CanCollide = false
  998. PART.CFrame = CF(victim.Position,victim.CFrame*CF(0,1,0).p)
  999. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1000. Debris:AddItem(PART,5)
  1001. local prtcl = asd:Clone()
  1002. prtcl.Parent = PART
  1003. prtcl:Emit(amount*10)
  1004. end
  1005.  
  1006. function Devour()
  1007. ATTACK = true
  1008. Rooted = false
  1009. local TORS = nil
  1010. local WELD = nil
  1011. local HIT1 = CLAW1.Touched:Connect(function(hit)
  1012. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  1013. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1014. if TORS ~= nil then
  1015. UNANCHOR = false
  1016. Rooted = true
  1017. RootPart.Anchored = true
  1018. WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-2.5,-0.5) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
  1019. end
  1020. end
  1021. end)
  1022. for i=1, 45 do
  1023. Swait()
  1024. if TORS ~= nil then
  1025. break
  1026. end
  1027. 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)
  1028. 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)
  1029. 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)
  1030. 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)
  1031. 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)
  1032. 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)
  1033. end
  1034. HIT1:disconnect()
  1035. if TORS ~= nil then
  1036. for i=0, 2, 0.1 / Animation_Speed do
  1037. Swait()
  1038. 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)
  1039. 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)
  1040. 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)
  1041. 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)
  1042. 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)
  1043. 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)
  1044. end
  1045. for i=0, 0.3, 0.1 / Animation_Speed do
  1046. Swait()
  1047. 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)
  1048. 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)
  1049. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, -1, -1.5) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1050. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*2, -1, -1.2) * ANGLES(RAD(160), RAD(0), RAD(30)) * LEFTSHOULDERC0, 1.15 / Animation_Speed)
  1051. 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)
  1052. 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)
  1053. end
  1054. local HITPLAYERSOUNDS2 = {"356551938","264486467"}
  1055. if TORS ~= nil then
  1056. if TORS.Parent:FindFirstChild("Head") then
  1057. CreateSound(HITPLAYERSOUNDS2[MRANDOM(1, #HITPLAYERSOUNDS2)], Head, 1, (math.random(8,12)/10))
  1058. CreateSound("230346233", Head, 10, (math.random(5,7)/10))
  1059. getbloody(TORS,4)
  1060. TORS.Parent.Head:remove()
  1061. TORS.Parent:remove()
  1062. for i=0, 1, 0.1 / Animation_Speed do
  1063. Swait()
  1064. 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)
  1065. 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)
  1066. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, -1, -1.2) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1067. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*2, -1, -1.2) * ANGLES(RAD(160), RAD(0), RAD(30)) * LEFTSHOULDERC0, 1.15 / Animation_Speed)
  1068. 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)
  1069. 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)
  1070. end
  1071. end
  1072. end
  1073. UNANCHOR = true
  1074. end
  1075. ATTACK = false
  1076. Rooted = false
  1077. end
  1078.  
  1079. function Snap()
  1080. ATTACK = true
  1081. Rooted = false
  1082. local TORS = nil
  1083. local WELD = nil
  1084. local HIT1 = CLAW1.Touched:Connect(function(hit)
  1085. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Parent ~= Effects then
  1086. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1087. if TORS ~= nil then
  1088. UNANCHOR = false
  1089. Rooted = true
  1090. RootPart.Anchored = true
  1091. WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-2.5,-0.5) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
  1092. end
  1093. end
  1094. end)
  1095. for i=1, 45 do
  1096. Swait()
  1097. if TORS ~= nil then
  1098. break
  1099. end
  1100. 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)
  1101. 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)
  1102. 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)
  1103. 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)
  1104. 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)
  1105. 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)
  1106. end
  1107. HIT1:disconnect()
  1108. if TORS ~= nil then
  1109. local CLONE = IT("Model",Weapon)
  1110. CLONE.Name = "Corpse"
  1111. for i=0, 2, 0.1 / Animation_Speed do
  1112. Swait()
  1113. 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)
  1114. 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)
  1115. 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)
  1116. 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)
  1117. 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)
  1118. 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)
  1119. end
  1120. for i=0, 2, 0.1 / Animation_Speed do
  1121. Swait()
  1122. 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)
  1123. 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)
  1124. 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)
  1125. 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)
  1126. 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)
  1127. 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)
  1128. end
  1129. for i=0, 3, 0.1 / Animation_Speed do
  1130. Swait()
  1131. 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)
  1132. 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)
  1133. 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)
  1134. 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)
  1135. 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)
  1136. 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)
  1137. end
  1138. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1139. local DummyHead = nil
  1140. local q = TORS.Parent:GetChildren()
  1141. for i = 1,#q do
  1142. 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
  1143. q[i].Parent = CLONE
  1144. if q[i].ClassName == "Humanoid" then
  1145. q[i].PlatformStand = true
  1146. end
  1147. if q[i].Name == "Head" then
  1148. DummyHead = CLONE.Head:Clone()
  1149. q[i]:ClearAllChildren()
  1150. q[i].Transparency = 1
  1151. end
  1152. else
  1153. q[i]:remove()
  1154. end
  1155. end
  1156. local TORS2 = CLONE:FindFirstChild("Torso") or CLONE:FindFirstChild("UpperTorso")
  1157. DummyHead.Parent = Effects
  1158. local WELD1 = CreateWeldOrSnapOrMotor("Weld", DummyHead, LeftArm, DummyHead, CF(0,-2.5,0) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
  1159. local WELD2 = CreateWeldOrSnapOrMotor("Weld", TORS2, RightArm, TORS2, CF(0,-2.5,-0.5) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
  1160. local HITPLAYERSOUNDS2 = {"356551938","264486467"}
  1161. CreateSound(HITPLAYERSOUNDS2[MRANDOM(1, #HITPLAYERSOUNDS2)], TORS2, 1, (math.random(8,12)/10))
  1162. getbloody(DummyHead,5)
  1163. for i=0, 3, 0.1 / Animation_Speed do
  1164. Swait()
  1165. 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)
  1166. 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)
  1167. 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)
  1168. 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)
  1169. 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)
  1170. 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)
  1171. end
  1172. for i=0, 1, 0.1 / Animation_Speed do
  1173. Swait()
  1174. 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)
  1175. 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)
  1176. 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)
  1177. 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)
  1178. 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)
  1179. 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)
  1180. end
  1181. WELD1:remove()
  1182. for i=0, 0.5, 0.1 / Animation_Speed do
  1183. Swait()
  1184. 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)
  1185. 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)
  1186. 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)
  1187. 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)
  1188. 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)
  1189. 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)
  1190. end
  1191. local GROWLS = {"368795088","368795352","368795492","368795580"}
  1192. CreateSound(GROWLS[MRANDOM(1, #GROWLS)], Head, 4, (math.random(15,20)/10))
  1193. repeat
  1194. Swait()
  1195. turnto(Mouse.Hit.p)
  1196. 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)
  1197. 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)
  1198. 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)
  1199. 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)
  1200. 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)
  1201. 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)
  1202. until HOLD == true
  1203. WELD2:remove()
  1204. local bv = Instance.new("BodyVelocity")
  1205. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1206. bv.velocity = CF(TORS2.Position,Mouse.Hit.p).lookVector*300
  1207. bv.Parent = TORS2
  1208. bv.Name = "MOVE"
  1209. coroutine.resume(coroutine.create(function()
  1210. local HIT1 = TORS2.Touched:Connect(function(hit)
  1211. dealdamage(hit,25,65,3,false,5,2)
  1212. end)
  1213. Swait(2)
  1214. HIT1:disconnect()
  1215. end))
  1216. Debris:AddItem(bv,0.2)
  1217. TORS2.Velocity = CF(TORS2.Position,Mouse.Hit.p).lookVector*300
  1218. for i=0, 1, 0.1 / Animation_Speed do
  1219. Swait()
  1220. 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)
  1221. 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)
  1222. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, 0) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1)
  1223. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1)
  1224. 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)
  1225. 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)
  1226. end
  1227. end
  1228. UNANCHOR = true
  1229. ATTACK = false
  1230. Rooted = false
  1231. end
  1232.  
  1233. --//=================================\\
  1234. --|| ASSIGN THINGS TO KEYS
  1235. --\\=================================//
  1236.  
  1237. function MouseDown(Mouse)
  1238. HOLD = true
  1239. if ATTACK == false then
  1240. Strike()
  1241. end
  1242. end
  1243.  
  1244. function MouseUp(Mouse)
  1245. HOLD = false
  1246. end
  1247.  
  1248. function KeyDown(Key)
  1249. KEYHOLD = true
  1250. if Key == "z" and ATTACK == false then
  1251. Shriek()
  1252. end
  1253.  
  1254. if Key == "b" and ATTACK == false then
  1255. Devour()
  1256. end
  1257.  
  1258. if Key == "c" and ATTACK == false then
  1259. Snap()
  1260. end
  1261.  
  1262. if Key == "q" and ATTACK == false then
  1263. if VALUE1 == false then
  1264. VALUE1 = true
  1265. Speed = 75
  1266. CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Effects, 10, 2)
  1267. elseif VALUE1 == true then
  1268. VALUE1 = false
  1269. Speed = 20
  1270. local GROWLS = {"368795088","368795352","368795492","368795580"}
  1271. CreateSound(GROWLS[MRANDOM(1, #GROWLS)], Head, 4, (math.random(15,20)/10))
  1272. end
  1273. end
  1274.  
  1275. if Key == "t" and ATTACK == false then
  1276. local GROWLS = {"368795088","368795352","368795492","368795580"}
  1277. CreateSound(GROWLS[MRANDOM(1, #GROWLS)], Head, 4, (math.random(15,20)/10))
  1278. end
  1279. end
  1280.  
  1281. function KeyUp(Key)
  1282. KEYHOLD = false
  1283. end
  1284.  
  1285. Mouse.Button1Down:connect(function(NEWKEY)
  1286. MouseDown(NEWKEY)
  1287. end)
  1288. Mouse.Button1Up:connect(function(NEWKEY)
  1289. MouseUp(NEWKEY)
  1290. end)
  1291. Mouse.KeyDown:connect(function(NEWKEY)
  1292. KeyDown(NEWKEY)
  1293. end)
  1294. Mouse.KeyUp:connect(function(NEWKEY)
  1295. KeyUp(NEWKEY)
  1296. end)
  1297.  
  1298. --//=================================\\
  1299. --\\=================================//
  1300.  
  1301.  
  1302. function unanchor()
  1303. if UNANCHOR == true then
  1304. g = Character:GetChildren()
  1305. for i = 1, #g do
  1306. if g[i].ClassName == "Part" then
  1307. g[i].Anchored = false
  1308. end
  1309. end
  1310. end
  1311. end
  1312.  
  1313.  
  1314. --//=================================\\
  1315. --|| WRAP THE WHOLE SCRIPT UP
  1316. --\\=================================//
  1317.  
  1318. Humanoid.Changed:connect(function(Jump)
  1319. if Jump == "Jump" and (Disable_Jump == true) then
  1320. Humanoid.Jump = false
  1321. end
  1322. end)
  1323.  
  1324. createbodypart("Eye","Really red",Head,VT(0, 0.6, -1.2),VT(12,10,4))
  1325. createbodypart("Eye","Really black",Head,VT(0, 0.6, -1.2),VT(7,9,5))
  1326.  
  1327. Speed = 20
  1328.  
  1329. while true do
  1330. Swait()
  1331. ANIMATE.Parent = nil
  1332. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1333. IDLEANIMATION:Play()
  1334. SINE = SINE + CHANGE
  1335. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1336. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1337. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1338. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1339. local WALKSPEEDVALUE = 5
  1340. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1341. 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)
  1342. 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)
  1343. 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)
  1344. 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)
  1345. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1346. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1347. 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)
  1348. 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)
  1349. 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)
  1350. end
  1351. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1352. ANIM = "Jump"
  1353. if ATTACK == false then
  1354. 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)
  1355. 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)
  1356. 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)
  1357. 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)
  1358. 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)
  1359. 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)
  1360. end
  1361. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil and ATTACK == false then
  1362. ANIM = "Fall"
  1363. if ATTACK == false then
  1364. 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)
  1365. 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)
  1366. 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)
  1367. 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)
  1368. 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)
  1369. 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)
  1370. end
  1371. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1372. ANIM = "Idle"
  1373. if ATTACK == false then
  1374. 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)
  1375. 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)
  1376. 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)
  1377. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1378. 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)
  1379. 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)
  1380. if MRANDOM(1,35) == 1 then
  1381. 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)
  1382. end
  1383. end
  1384. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1385. ANIM = "Walk"
  1386. WALK = WALK + 1 / Animation_Speed
  1387. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1388. WALK = 0
  1389. if WALKINGANIM == true then
  1390. WALKINGANIM = false
  1391. elseif WALKINGANIM == false then
  1392. WALKINGANIM = true
  1393. end
  1394. end
  1395. --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)
  1396. --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)
  1397. if ATTACK == false then
  1398. if VALUE1 == false then
  1399. 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)
  1400. 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)
  1401. 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)
  1402. 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)
  1403. 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)
  1404. 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)
  1405. elseif VALUE1 == true then
  1406. 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)
  1407. 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)
  1408. 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)
  1409. 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)
  1410. 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)
  1411. 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)
  1412. end
  1413. end
  1414. end
  1415. if #Effects2>0 then
  1416. for e=1,#Effects2 do
  1417. if Effects2[e]~=nil then
  1418. local Thing=Effects2[e]
  1419. if Thing~=nil then
  1420. local Part=Thing[1]
  1421. local Mode=Thing[2]
  1422. local Delay=Thing[3]
  1423. local IncX=Thing[4]
  1424. local IncY=Thing[5]
  1425. local IncZ=Thing[6]
  1426. local Part2=Thing[8]
  1427. if Thing[1].Transparency<=1 then
  1428. if Thing[2]=="Block1" then
  1429. Thing[1].CFrame=Thing[1].CFrame
  1430. Mesh=Thing[1].Mesh
  1431. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1432. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1433. elseif Thing[2]=="Cylinder" then
  1434. Mesh=Thing[1].Mesh
  1435. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1436. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1437. elseif Thing[2]=="Blood" then
  1438. Mesh=Thing[7]
  1439. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1440. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1441. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1442. elseif Thing[2]=="Elec" then
  1443. Mesh=Thing[1].Mesh
  1444. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1445. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1446. elseif Thing[2]=="Disappear" then
  1447. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1448. end
  1449. else
  1450. Part.Parent=nil
  1451. table.remove(Effects2,e)
  1452. end
  1453. end
  1454. end
  1455. end
  1456. end
  1457. unanchor()
  1458. Humanoid.MaxHealth = "inf"
  1459. Humanoid.Health = "inf"
  1460. if Rooted == false then
  1461. Disable_Jump = false
  1462. Humanoid.WalkSpeed = Speed
  1463. elseif Rooted == true then
  1464. Disable_Jump = true
  1465. Humanoid.WalkSpeed = 0
  1466. end
  1467. q = Character:GetChildren()
  1468. for u = 1, #q do
  1469. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1470. q[u]:remove()
  1471. elseif q[u].ClassName == "Shirt" then
  1472. q[u]:Destroy()
  1473. elseif q[u].ClassName == "Pants" then
  1474. q[u]:Destroy()
  1475. elseif q[u].ClassName == "CharacterMesh" then
  1476. q[u]:remove()
  1477. elseif q[u].ClassName == "ShirtGraphic" then
  1478. q[u]:remove()
  1479. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1480. q[u].Color = Color3.new(0,0,0)
  1481. end
  1482. end
  1483. if Head:FindFirstChild("face") then
  1484. Head.face:remove()
  1485. end
  1486. Humanoid.Name = "REEE"
  1487. end
  1488.  
  1489. --//=================================\\
  1490. --\\=================================//
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496. --//====================================================\\--
  1497. --|| END OF SCRIPT
  1498. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement