Advertisement
AOM-GU-PRO

EYE

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