Advertisement
Penien23

OOF

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