Advertisement
Oscar55555

Untitled

Feb 26th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 85.77 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152. --//====================================================\\--
  153. --|| CREATED BY SHACKLUSTER
  154. --\\====================================================//--
  155.  
  156. wait(0.2)
  157.  
  158. Player = game:GetService("Players").LocalPlayer
  159. PlayerGui = Player.PlayerGui
  160. Cam = workspace.CurrentCamera
  161. Backpack = Player.Backpack
  162. Character = Player.Character
  163. Humanoid = Character.Humanoid
  164. Mouse = Player:GetMouse()
  165. RootPart = Character["HumanoidRootPart"]
  166. Torso = Character["Torso"]
  167. Head = Character["Head"]
  168. RightArm = Character["Right Arm"]
  169. LeftArm = Character["Left Arm"]
  170. RightLeg = Character["Right Leg"]
  171. LeftLeg = Character["Left Leg"]
  172. RootJoint = RootPart["RootJoint"]
  173. Neck = Torso["Neck"]
  174. RightShoulder = Torso["Right Shoulder"]
  175. LeftShoulder = Torso["Left Shoulder"]
  176. RightHip = Torso["Right Hip"]
  177. LeftHip = Torso["Left Hip"]
  178. local sick = Instance.new("Sound",Torso)
  179. sick.SoundId = "rbxassetid://848439234"
  180. sick.Looped = true
  181. sick.Pitch = 1
  182. sick.Volume = 3
  183. sick:Play()
  184.  
  185. IT = Instance.new
  186. CF = CFrame.new
  187. VT = Vector3.new
  188. RAD = math.rad
  189. C3 = Color3.new
  190. UD2 = UDim2.new
  191. BRICKC = BrickColor.new
  192. ANGLES = CFrame.Angles
  193. EULER = CFrame.fromEulerAnglesXYZ
  194. COS = math.cos
  195. ACOS = math.acos
  196. SIN = math.sin
  197. ASIN = math.asin
  198. ABS = math.abs
  199. MRANDOM = math.random
  200. FLOOR = math.floor
  201.  
  202. --//=================================\\
  203. --|| USEFUL VALUES
  204. --\\=================================//
  205.  
  206. Animation_Speed = 3
  207. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  208. local Speed = 35
  209. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  210. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  211. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  212. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  213. local DAMAGEMULTIPLIER = 1
  214. local ANIM = "Idle"
  215. local ATTACK = false
  216. local EQUIPPED = false
  217. local HOLD = false
  218. local COMBO = 1
  219. local Rooted = false
  220. local SINE = 0
  221. local KEYHOLD = false
  222. local CHANGE = 2 / Animation_Speed
  223. local WALKINGANIM = false
  224. local VALUE1 = false
  225. local VALUE2 = false
  226. local ROBLOXIDLEANIMATION = IT("Animation")
  227. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  228. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  229. --ROBLOXIDLEANIMATION.Parent = Humanoid
  230. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  231. WEAPONGUI.Name = "Weapon GUI"
  232. local Effects = IT("Folder", Character)
  233. Effects.Name = "Effects"
  234. local ANIMATOR = Humanoid.Animator
  235. local ANIMATE = Character.Animate
  236. local UNANCHOR = true
  237. local LAUGHS = {834001699,834001752,834001797,834001828}
  238. local SONGS = {534861083,530959353,1534958855,0}
  239. local CHOICE = MRANDOM(1,4)
  240.  
  241. --//=================================\\
  242. --\\=================================//
  243.  
  244.  
  245. --//=================================\\
  246. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  247. --\\=================================//
  248.  
  249. ArtificialHB = Instance.new("BindableEvent", script)
  250. ArtificialHB.Name = "ArtificialHB"
  251.  
  252. script:WaitForChild("ArtificialHB")
  253.  
  254. frame = Frame_Speed
  255. tf = 0
  256. allowframeloss = false
  257. tossremainder = false
  258. lastframe = tick()
  259. script.ArtificialHB:Fire()
  260.  
  261. game:GetService("RunService").Heartbeat:connect(function(s, p)
  262. tf = tf + s
  263. if tf >= frame then
  264. if allowframeloss then
  265. script.ArtificialHB:Fire()
  266. lastframe = tick()
  267. else
  268. for i = 1, math.floor(tf / frame) do
  269. script.ArtificialHB:Fire()
  270. end
  271. lastframe = tick()
  272. end
  273. if tossremainder then
  274. tf = 0
  275. else
  276. tf = tf - frame * math.floor(tf / frame)
  277. end
  278. end
  279. end)
  280.  
  281. --//=================================\\
  282. --\\=================================//
  283.  
  284. --//=================================\\
  285. --|| SOME FUNCTIONS
  286. --\\=================================//
  287.  
  288. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  289. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  290. end
  291.  
  292. function PositiveAngle(NUMBER)
  293. if NUMBER >= 0 then
  294. NUMBER = 0
  295. end
  296. return NUMBER
  297. end
  298.  
  299. function NegativeAngle(NUMBER)
  300. if NUMBER <= 0 then
  301. NUMBER = 0
  302. end
  303. return NUMBER
  304. end
  305.  
  306. function Swait(NUMBER)
  307. if NUMBER == 0 or NUMBER == nil then
  308. ArtificialHB.Event:wait()
  309. else
  310. for i = 1, NUMBER do
  311. ArtificialHB.Event:wait()
  312. end
  313. end
  314. end
  315.  
  316. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  317. local NEWMESH = IT(MESH)
  318. if MESH == "SpecialMesh" then
  319. NEWMESH.MeshType = MESHTYPE
  320. if MESHID ~= "nil" and MESHID ~= "" then
  321. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  322. end
  323. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  324. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  325. end
  326. end
  327. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  328. NEWMESH.Scale = SCALE
  329. NEWMESH.Parent = PARENT
  330. return NEWMESH
  331. end
  332.  
  333. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  334. local NEWPART = IT("Part")
  335. NEWPART.formFactor = FORMFACTOR
  336. NEWPART.Reflectance = REFLECTANCE
  337. NEWPART.Transparency = TRANSPARENCY
  338. NEWPART.CanCollide = false
  339. NEWPART.Locked = true
  340. NEWPART.Anchored = true
  341. if ANCHOR == false then
  342. NEWPART.Anchored = false
  343. end
  344. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  345. NEWPART.Name = NAME
  346. NEWPART.Size = SIZE
  347. NEWPART.Position = Torso.Position
  348. NEWPART.Material = MATERIAL
  349. NEWPART:BreakJoints()
  350. NEWPART.Parent = PARENT
  351. return NEWPART
  352. end
  353.  
  354. local function weldBetween(a, b)
  355. local weldd = IT("Weld")
  356. weldd.Part0 = a
  357. weldd.Part1 = b
  358. weldd.C0 = CF()
  359. weldd.C1 = b.CFrame:inverse() * a.CFrame
  360. weldd.Parent = a
  361. return weldd
  362. end
  363.  
  364.  
  365. function QuaternionFromCFrame(cf)
  366. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  367. local trace = m00 + m11 + m22
  368. if trace > 0 then
  369. local s = math.sqrt(1 + trace)
  370. local recip = 0.5 / s
  371. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  372. else
  373. local i = 0
  374. if m11 > m00 then
  375. i = 1
  376. end
  377. if m22 > (i == 0 and m00 or m11) then
  378. i = 2
  379. end
  380. if i == 0 then
  381. local s = math.sqrt(m00 - m11 - m22 + 1)
  382. local recip = 0.5 / s
  383. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  384. elseif i == 1 then
  385. local s = math.sqrt(m11 - m22 - m00 + 1)
  386. local recip = 0.5 / s
  387. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  388. elseif i == 2 then
  389. local s = math.sqrt(m22 - m00 - m11 + 1)
  390. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  391. end
  392. end
  393. end
  394.  
  395. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  396. local xs, ys, zs = x + x, y + y, z + z
  397. local wx, wy, wz = w * xs, w * ys, w * zs
  398. local xx = x * xs
  399. local xy = x * ys
  400. local xz = x * zs
  401. local yy = y * ys
  402. local yz = y * zs
  403. local zz = z * zs
  404. 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))
  405. end
  406.  
  407. function QuaternionSlerp(a, b, t)
  408. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  409. local startInterp, finishInterp;
  410. if cosTheta >= 0.0001 then
  411. if (1 - cosTheta) > 0.0001 then
  412. local theta = ACOS(cosTheta)
  413. local invSinTheta = 1 / SIN(theta)
  414. startInterp = SIN((1 - t) * theta) * invSinTheta
  415. finishInterp = SIN(t * theta) * invSinTheta
  416. else
  417. startInterp = 1 - t
  418. finishInterp = t
  419. end
  420. else
  421. if (1 + cosTheta) > 0.0001 then
  422. local theta = ACOS(-cosTheta)
  423. local invSinTheta = 1 / SIN(theta)
  424. startInterp = SIN((t - 1) * theta) * invSinTheta
  425. finishInterp = SIN(t * theta) * invSinTheta
  426. else
  427. startInterp = t - 1
  428. finishInterp = t
  429. end
  430. end
  431. 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
  432. end
  433.  
  434. function Clerp(a, b, t)
  435. local qa = {QuaternionFromCFrame(a)}
  436. local qb = {QuaternionFromCFrame(b)}
  437. local ax, ay, az = a.x, a.y, a.z
  438. local bx, by, bz = b.x, b.y, b.z
  439. local _t = 1 - t
  440. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  441. end
  442.  
  443. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  444. local frame = IT("Frame")
  445. frame.BackgroundTransparency = TRANSPARENCY
  446. frame.BorderSizePixel = BORDERSIZEPIXEL
  447. frame.Position = POSITION
  448. frame.Size = SIZE
  449. frame.BackgroundColor3 = COLOR
  450. frame.BorderColor3 = BORDERCOLOR
  451. frame.Name = NAME
  452. frame.Parent = PARENT
  453. return frame
  454. end
  455.  
  456. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  457. local label = IT("TextLabel")
  458. label.BackgroundTransparency = 1
  459. label.Size = UD2(1, 0, 1, 0)
  460. label.Position = UD2(0, 0, 0, 0)
  461. label.TextColor3 = TEXTCOLOR
  462. label.TextStrokeTransparency = STROKETRANSPARENCY
  463. label.TextTransparency = TRANSPARENCY
  464. label.FontSize = TEXTFONTSIZE
  465. label.Font = TEXTFONT
  466. label.BorderSizePixel = BORDERSIZEPIXEL
  467. label.TextScaled = false
  468. label.Text = TEXT
  469. label.Name = NAME
  470. label.Parent = PARENT
  471. return label
  472. end
  473.  
  474. function NoOutlines(PART)
  475. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  476. end
  477.  
  478. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  479. local NEWWELD = IT(TYPE)
  480. NEWWELD.Part0 = PART0
  481. NEWWELD.Part1 = PART1
  482. NEWWELD.C0 = C0
  483. NEWWELD.C1 = C1
  484. NEWWELD.Parent = PARENT
  485. return NEWWELD
  486. end
  487.  
  488. local S = IT("Sound")
  489. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  490. local NEWSOUND = nil
  491. coroutine.resume(coroutine.create(function()
  492. NEWSOUND = S:Clone()
  493. NEWSOUND.Parent = PARENT
  494. NEWSOUND.Volume = VOLUME
  495. NEWSOUND.Pitch = PITCH
  496. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  497. NEWSOUND:play()
  498. if DOESLOOP == true then
  499. NEWSOUND.Looped = true
  500. else
  501. repeat wait(1) until NEWSOUND.Playing == false
  502. NEWSOUND:remove()
  503. end
  504. end))
  505. return NEWSOUND
  506. end
  507.  
  508. function CFrameFromTopBack(at, top, back)
  509. local right = top:Cross(back)
  510. 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)
  511. end
  512.  
  513. --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})
  514. function WACKYEFFECT(Table)
  515. local TYPE = (Table.EffectType or "Sphere")
  516. local SIZE = (Table.Size or VT(1,1,1))
  517. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  518. local TRANSPARENCY = (Table.Transparency or 0)
  519. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  520. local CFRAME = (Table.CFrame or Torso.CFrame)
  521. local MOVEDIRECTION = (Table.MoveToPos or nil)
  522. local ROTATION1 = (Table.RotationX or 0)
  523. local ROTATION2 = (Table.RotationY or 0)
  524. local ROTATION3 = (Table.RotationZ or 0)
  525. local MATERIAL = (Table.Material or "Neon")
  526. local COLOR = (Table.Color or C3(1,1,1))
  527. local TIME = (Table.Time or 45)
  528. local SOUNDID = (Table.SoundID or nil)
  529. local SOUNDPITCH = (Table.SoundPitch or nil)
  530. local SOUNDVOLUME = (Table.SoundVolume or nil)
  531. coroutine.resume(coroutine.create(function()
  532. local PLAYSSOUND = false
  533. local SOUND = nil
  534. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  535. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  536. PLAYSSOUND = true
  537. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  538. end
  539. EFFECT.Color = COLOR
  540. local MSH = nil
  541. if TYPE == "Sphere" then
  542. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  543. elseif TYPE == "Block" then
  544. MSH = IT("BlockMesh",EFFECT)
  545. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  546. elseif TYPE == "Wave" then
  547. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  548. elseif TYPE == "Ring" then
  549. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  550. elseif TYPE == "Slash" then
  551. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  552. elseif TYPE == "Round Slash" then
  553. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  554. elseif TYPE == "Swirl" then
  555. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  556. elseif TYPE == "Skull" then
  557. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  558. elseif TYPE == "Crystal" then
  559. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  560. end
  561. if MSH ~= nil then
  562. local MOVESPEED = nil
  563. if MOVEDIRECTION ~= nil then
  564. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  565. end
  566. local GROWTH = SIZE - ENDSIZE
  567. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  568. if TYPE == "Block" then
  569. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  570. else
  571. EFFECT.CFrame = CFRAME
  572. end
  573. for LOOP = 1, TIME+1 do
  574. Swait()
  575. MSH.Scale = MSH.Scale - GROWTH/TIME
  576. if TYPE == "Wave" then
  577. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  578. end
  579. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  580. if TYPE == "Block" then
  581. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  582. else
  583. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  584. end
  585. if MOVEDIRECTION ~= nil then
  586. local ORI = EFFECT.Orientation
  587. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  588. EFFECT.Orientation = ORI
  589. end
  590. end
  591. if PLAYSSOUND == false then
  592. EFFECT:remove()
  593. else
  594. SOUND.Stopped:Connect(function()
  595. EFFECT:remove()
  596. end)
  597. end
  598. else
  599. if PLAYSSOUND == false then
  600. EFFECT:remove()
  601. else
  602. repeat Swait() until SOUND.Playing == false
  603. EFFECT:remove()
  604. end
  605. end
  606. end))
  607. end
  608.  
  609. function MakeForm(PART,TYPE)
  610. if TYPE == "Cyl" then
  611. local MSH = IT("CylinderMesh",PART)
  612. elseif TYPE == "Ball" then
  613. local MSH = IT("SpecialMesh",PART)
  614. MSH.MeshType = "Sphere"
  615. elseif TYPE == "Wedge" then
  616. local MSH = IT("SpecialMesh",PART)
  617. MSH.MeshType = "Wedge"
  618. end
  619. end
  620.  
  621. Debris = game:GetService("Debris")
  622.  
  623. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  624. local DIRECTION = CF(StartPos,EndPos).lookVector
  625. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  626. end
  627.  
  628. function turnto(position)
  629. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  630. end
  631.  
  632. function SpawnTrail(FROM,TO,BIG)
  633. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  634. MakeForm(TRAIL,"Cyl")
  635. local DIST = (FROM - TO).Magnitude
  636. if BIG == true then
  637. TRAIL.Size = VT(0.5,DIST,0.5)
  638. else
  639. TRAIL.Size = VT(0.25,DIST,0.25)
  640. end
  641. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  642. coroutine.resume(coroutine.create(function()
  643. for i = 1, 5 do
  644. Swait()
  645. TRAIL.Transparency = TRAIL.Transparency + 0.1
  646. end
  647. TRAIL:remove()
  648. end))
  649. end
  650.  
  651. local asd = Instance.new("ParticleEmitter")
  652. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  653. asd.LightEmission = .1
  654. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  655. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  656. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  657. asd.Transparency = bbb
  658. asd.Size = aaa
  659. asd.ZOffset = .9
  660. asd.Acceleration = Vector3.new(0, -15, 0)
  661. asd.LockedToPart = false
  662. asd.EmissionDirection = "Back"
  663. asd.Lifetime = NumberRange.new(1, 2)
  664. asd.Rotation = NumberRange.new(-100, 100)
  665. asd.RotSpeed = NumberRange.new(-100, 100)
  666. asd.Speed = NumberRange.new(10)
  667. asd.Enabled = false
  668. asd.VelocitySpread = 999
  669.  
  670. function getbloody(victim,amount)
  671. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  672. PART.CFrame = victim.CFrame
  673. local HITPLAYERSOUNDS = {"356551938","264486467"}
  674. Debris:AddItem(PART,5)
  675. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  676. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  677. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  678. local prtcl = asd:Clone()
  679. prtcl.Parent = PART
  680. prtcl:Emit(amount*10)
  681. end
  682.  
  683. local Particle = IT("ParticleEmitter",nil)
  684. Particle.Enabled = false
  685. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  686. Particle.LightEmission = 0.5
  687. Particle.Rate = 150
  688. Particle.ZOffset = 1
  689. Particle.Rotation = NumberRange.new(-180, 180)
  690. Particle.RotSpeed = NumberRange.new(-180, 180)
  691. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  692. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  693.  
  694. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  695. function ParticleEmitter(Table)
  696. local PRTCL = Particle:Clone()
  697. local Speed = Table.Speed or 5
  698. local Drag = Table.Drag or 0
  699. local Size1 = Table.Size1 or 1
  700. local Size2 = Table.Size2 or 5
  701. local Lifetime1 = Table.Lifetime1 or 1
  702. local Lifetime2 = Table.Lifetime2 or 1.5
  703. local Parent = Table.Parent or Torso
  704. local Emit = Table.Emit or 100
  705. local Offset = Table.Offset or 360
  706. local Acel = Table.Acel or VT(0,0,0)
  707. local Enabled = Table.Enabled or false
  708. PRTCL.Parent = Parent
  709. PRTCL.Size = NumberSequence.new(Size1,Size2)
  710. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  711. PRTCL.Speed = NumberRange.new(Speed)
  712. PRTCL.VelocitySpread = Offset
  713. PRTCL.Drag = Drag
  714. PRTCL.Acceleration = Acel
  715. if Enabled == false then
  716. PRTCL:Emit(Emit)
  717. Debris:AddItem(PRTCL,Lifetime2)
  718. else
  719. PRTCL.Enabled = true
  720. end
  721. return PRTCL
  722. end
  723.  
  724. --//=================================\\
  725. --|| WEAPON CREATION
  726. --\\=================================//
  727.  
  728. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
  729. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  730. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
  731. MakeForm(Part,"Wedge")
  732. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  733. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
  734. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  735. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),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. for i = 1, 8 do
  739. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  740. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  741. end
  742. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  743. MakeForm(Part,"Wedge")
  744. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  745. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
  746. MakeForm(Part,"Cyl")
  747. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  748. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  749. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  750. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
  751. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  752. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
  753. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  754. local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
  755. MakeForm(RightBarrel,"Cyl")
  756. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  757. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
  758. MakeForm(Part,"Wedge")
  759. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  760. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  761. MakeForm(RightHole,"Cyl")
  762. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
  763. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
  764. local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  765. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
  766. MakeForm(Part,"Wedge")
  767. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  768. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
  769. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  770. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),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. for i = 1, 8 do
  774. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  775. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  776. end
  777. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  778. MakeForm(Part,"Wedge")
  779. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  780. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
  781. MakeForm(Part,"Cyl")
  782. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  783. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  784. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  785. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
  786. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  787. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
  788. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  789. local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
  790. MakeForm(LeftBarrel,"Cyl")
  791. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  792. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
  793. MakeForm(Part,"Wedge")
  794. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  795. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  796. MakeForm(LeftHole,"Cyl")
  797. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  798. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  799. MakeForm(Eye,"Ball")
  800. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  801. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  802. MakeForm(Eye,"Ball")
  803. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  804. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  805. MakeForm(Eye,"Ball")
  806. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  807. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  808. MakeForm(Eye,"Ball")
  809. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  810. local A = IT("Attachment",Torso)
  811. A.Position = VT(1,1.3,0)
  812. A.Orientation = VT(-0.098, -89.999, 0.227)
  813. local B = IT("Attachment",Torso)
  814. B.Position = VT(-1.3,-0.6,0)
  815. B.Orientation = VT(-88.911, -68.808, 158.782)
  816. local ChainLink = IT("Beam",Torso)
  817. ChainLink.Texture = "rbxassetid://73042633"
  818. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  819. ChainLink.TextureSpeed = 1
  820. ChainLink.FaceCamera = true
  821. ChainLink.Width0 = 1
  822. ChainLink.Width1 = 1
  823. ChainLink.TextureLength = 3
  824. ChainLink.Attachment0 = A
  825. ChainLink.Attachment1 = B
  826. ChainLink.CurveSize0 = 1.6
  827. ChainLink.CurveSize1 = 1.6
  828. ChainLink.FaceCamera = true
  829. ChainLink.Transparency = NumberSequence.new(0)
  830. local ChainLink = IT("Beam",Torso)
  831. ChainLink.Texture = "rbxassetid://73042633"
  832. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  833. ChainLink.TextureSpeed = 1
  834. ChainLink.FaceCamera = true
  835. ChainLink.Width0 = 1
  836. ChainLink.Width1 = 1
  837. ChainLink.TextureLength = 3
  838. ChainLink.Attachment0 = B
  839. ChainLink.Attachment1 = A
  840. ChainLink.CurveSize0 = 1.6
  841. ChainLink.CurveSize1 = 1.6
  842. ChainLink.FaceCamera = true
  843. ChainLink.Transparency = NumberSequence.new(0)
  844. local A = IT("Attachment",Torso)
  845. A.Position = VT(1.3,-0.85,0)
  846. A.Orientation = VT(-0.098, -89.999, 0.227)
  847. local B = IT("Attachment",Torso)
  848. B.Position = VT(-1,2,0)
  849. B.Orientation = VT(-88.911, -68.808, 158.782)
  850. local ChainLink = IT("Beam",Torso)
  851. ChainLink.Texture = "rbxassetid://73042633"
  852. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  853. ChainLink.TextureSpeed = 1
  854. ChainLink.FaceCamera = true
  855. ChainLink.Width0 = 1
  856. ChainLink.Width1 = 1
  857. ChainLink.TextureLength = 3
  858. ChainLink.Attachment0 = A
  859. ChainLink.Attachment1 = B
  860. ChainLink.CurveSize0 = 1.3
  861. ChainLink.CurveSize1 = 1.3
  862. ChainLink.FaceCamera = true
  863. ChainLink.Transparency = NumberSequence.new(0)
  864. local ChainLink = IT("Beam",Torso)
  865. ChainLink.Texture = "rbxassetid://73042633"
  866. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  867. ChainLink.TextureSpeed = 1
  868. ChainLink.FaceCamera = true
  869. ChainLink.Width0 = 1
  870. ChainLink.Width1 = 1
  871. ChainLink.TextureLength = 3
  872. ChainLink.Attachment0 = B
  873. ChainLink.Attachment1 = A
  874. ChainLink.CurveSize0 = 1.3
  875. ChainLink.CurveSize1 = 1.3
  876. ChainLink.FaceCamera = true
  877. ChainLink.Transparency = NumberSequence.new(0)
  878.  
  879. local A = IT("Attachment",RightBarrel)
  880. A.Position = VT(0,-2.5,0)
  881. local B = IT("Attachment",RightBarrel)
  882. B.Position = VT(0,2.5,0)
  883. local Trail = IT("Trail",RightBarrel)
  884. Trail.Attachment0 = A
  885. Trail.Attachment1 = B
  886. Trail.Lifetime = 0.2
  887. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  888. Trail.Transparency = NumberSequence.new(0, 1)
  889. Trail.Enabled = false
  890.  
  891. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  892. PRT.LockedToPart = true
  893. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  894. PRT.LockedToPart = true
  895. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  896. PRT.LockedToPart = true
  897. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  898. PRT.LockedToPart = true
  899. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  900. PRT.LockedToPart = true
  901. for _, c in pairs(Character:GetDescendants()) do
  902. if c and c.Parent then
  903. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  904. local ACCESSORY = c.Parent
  905. c.Parent = Character
  906. if c then
  907. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  908. weldBetween(Head,c)
  909. else
  910. weldBetween(Torso,c)
  911. end
  912. end
  913. ACCESSORY:remove()
  914. elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  915. c.Material = "Neon"
  916. c.Color = C3(0,0,0)
  917. if c:FindFirstChildOfClass("SpecialMesh") then
  918. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  919. end
  920. if c == Head then
  921. if c:FindFirstChild("face") then
  922. c.face:remove()
  923. end
  924. end
  925. elseif c.ClassName == "Part" and c.Name == "Eye" then
  926. c.Color = C3(1,0,0)
  927. c.Material = "Neon"
  928. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  929. c:remove()
  930. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  931. c:remove()
  932. end
  933. end
  934. end
  935. local BODY = {}
  936. for _, c in pairs(Character:GetDescendants()) do
  937. if c:IsA("BasePart") and c.Name ~= "Handle" then
  938. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  939. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  940. end
  941. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  942. elseif c:IsA("JointInstance") then
  943. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  944. end
  945. end
  946. function refit()
  947. Character.Parent = workspace
  948. for e = 1, #BODY do
  949. if BODY[e] ~= nil then
  950. local STUFF = BODY[e]
  951. local PART = STUFF[1]
  952. local PARENT = STUFF[2]
  953. local MATERIAL = STUFF[3]
  954. local COLOR = STUFF[4]
  955. local TRANSPARENCY = STUFF[5]
  956. --local SIZE = STUFF[6]
  957. local NAME = STUFF[7]
  958. if PART.ClassName == "Part" and PART ~= RootPart then
  959. PART.Material = MATERIAL
  960. PART.Transparency = TRANSPARENCY
  961. PART.Name = NAME
  962. end
  963. if PART.Parent ~= PARENT then
  964. Humanoid:remove()
  965. PART.Parent = PARENT
  966. Humanoid = IT("Humanoid",Character)
  967. end
  968. end
  969. end
  970. end
  971.  
  972. local SKILLTEXTCOLOR = C3(1,0,0)
  973. local SKILLFONT = "Fantasy"
  974. local SKILLTEXTSIZE = 6
  975.  
  976. Humanoid.Died:connect(function()
  977. refit()
  978. end)
  979.  
  980. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  981. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  982. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  983. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  984. 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")
  985. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  986. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  987.  
  988. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Fire", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
  989. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Lift", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2")
  990. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Cleave", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  991. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Lock n' load", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  992. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Morning Star", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
  993. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Deathbound", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  994. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[CLICK] Execute", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  995.  
  996. --//=================================\\
  997. --|| DAMAGE FUNCTIONS
  998. --\\=================================//
  999.  
  1000. function StatLabel(CFRAME, TEXT, COLOR)
  1001. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1002. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1003. local BODYGYRO = IT("BodyGyro", STATPART)
  1004. game:GetService("Debris"):AddItem(STATPART ,5)
  1005. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1006. BILLBOARDGUI.Adornee = STATPART
  1007. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1008. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1009. BILLBOARDGUI.AlwaysOnTop = false
  1010. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1011. TEXTLABEL.BackgroundTransparency = 1
  1012. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1013. TEXTLABEL.Text = TEXT
  1014. TEXTLABEL.Font = SKILLFONT
  1015. TEXTLABEL.FontSize="Size42"
  1016. TEXTLABEL.TextColor3 = COLOR
  1017. TEXTLABEL.TextStrokeTransparency = 0
  1018. TEXTLABEL.TextScaled = true
  1019. TEXTLABEL.TextWrapped = true
  1020. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1021. for i = 1, 50 do
  1022. Swait()
  1023. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1024. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  1025. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1026. end
  1027. THEPART.Parent = nil
  1028. end),STATPART, TEXTLABEL)
  1029. end
  1030.  
  1031. --//=================================\\
  1032. --|| DAMAGING
  1033. --\\=================================//
  1034.  
  1035. function Kill(Char)
  1036. local NewCharacter = IT("Model",Effects)
  1037. NewCharacter.Name = "Ow im ded ;-;"
  1038. for _, c in pairs(Char:GetDescendants()) do
  1039. if c:IsA("BasePart") and c.Transparency == 0 then
  1040. if c.Parent == Char then
  1041. getbloody(c,5)
  1042. end
  1043. c:BreakJoints()
  1044. c.Material = "Glass"
  1045. c.Color = C3(0.5,0,0)
  1046. c.CanCollide = true
  1047. c.Transparency = 0.3
  1048. if c:FindFirstChildOfClass("SpecialMesh") then
  1049. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1050. end
  1051. if c.Name == "Head" then
  1052. c:ClearAllChildren()
  1053. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1054. end
  1055. if c.ClassName == "MeshPart" then
  1056. c.TextureID = ""
  1057. end
  1058. if c:FindFirstChildOfClass("BodyPosition") then
  1059. c:FindFirstChildOfClass("BodyPosition"):remove()
  1060. end
  1061. if c:FindFirstChildOfClass("ParticleEmitter") then
  1062. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1063. end
  1064. c.Parent = NewCharacter
  1065. c.Name = "DeadPart"
  1066. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1067. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1068. end
  1069. end
  1070. Char:remove()
  1071. Debris:AddItem(NewCharacter,5)
  1072. end
  1073.  
  1074. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1075. local CHILDREN = workspace:GetDescendants()
  1076. for index, CHILD in pairs(CHILDREN) do
  1077. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1078. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1079. if HUM then
  1080. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1081. if TORSO then
  1082. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1083. if BRUTAL == true then
  1084. Kill(CHILD)
  1085. else
  1086. CHILD:BreakJoints()
  1087. end
  1088. end
  1089. end
  1090. end
  1091. end
  1092. end
  1093. end
  1094.  
  1095. function BulletDetection(FROM,TO,BRUTAL)
  1096. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1097. coroutine.resume(coroutine.create(function()
  1098. if AIMHIT ~= nil then
  1099. if AIMHIT.Parent ~= Character then
  1100. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1101. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1102. if BRUTAL == true then
  1103. Kill(AIMHIT.Parent)
  1104. else
  1105. getbloody(AIMHIT,15)
  1106. AIMHIT.Parent:BreakJoints()
  1107. if AIMHIT.Name == "Head" then
  1108. AIMHIT.Name = "HEADSHOT"
  1109. AIMHIT:remove()
  1110. end
  1111. end
  1112. else
  1113. if BRUTAL == true then
  1114. Kill(AIMHIT.Parent.Parent)
  1115. else
  1116. AIMHIT.Parent.Parent:BreakJoints()
  1117. end
  1118. end
  1119. end
  1120. end
  1121. end
  1122. end))
  1123. SpawnTrail(FROM,AIMPOS)
  1124. return AIMHIT,AIMPOS,NORMAL
  1125. end
  1126.  
  1127. --//=================================\\
  1128. --|| ATTACK FUNCTIONS AND STUFF
  1129. --\\=================================//
  1130.  
  1131. function Unload()
  1132. ATTACK = true
  1133. Rooted = false
  1134. repeat
  1135. local GYRO = IT("BodyGyro",RootPart)
  1136. GYRO.D = 175
  1137. GYRO.P = 20000
  1138. GYRO.MaxTorque = VT(0,40000,0)
  1139. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1140. if COMBO == 1 then
  1141. COMBO = 2
  1142. for i=0, 0.6, 0.1 / Animation_Speed do
  1143. Swait()
  1144. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1145. 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)
  1146. 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)
  1147. 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)
  1148. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1149. 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)
  1150. 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)
  1151. end
  1152. 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})
  1153. 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})
  1154. CreateSound(145080998, LeftHole, 7, 1, false)
  1155. BulletDetection(LeftHole.Position,Mouse.Hit.p,false)
  1156. for i=0, 0.2, 0.1 / Animation_Speed do
  1157. Swait()
  1158. 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)
  1159. 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)
  1160. 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)
  1161. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1162. 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)
  1163. 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)
  1164. end
  1165. elseif COMBO == 2 then
  1166. COMBO = 1
  1167. for i=0, 0.6, 0.1 / Animation_Speed do
  1168. Swait()
  1169. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1170. 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)
  1171. 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)
  1172. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1173. 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)
  1174. 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)
  1175. 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)
  1176. end
  1177. 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})
  1178. 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})
  1179. CreateSound(145080998, RightHole, 7, 1, false)
  1180. BulletDetection(RightHole.Position,Mouse.Hit.p,false)
  1181. for i=0, 0.2, 0.1 / Animation_Speed do
  1182. Swait()
  1183. 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)
  1184. 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)
  1185. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1186. 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)
  1187. 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)
  1188. 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)
  1189. end
  1190. end
  1191. GYRO:remove()
  1192. until KEYHOLD == false
  1193. ATTACK = false
  1194. Rooted = false
  1195. end
  1196. function Psyo()
  1197. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1198. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1199. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1200. if TORSO and HUM.Health > 0 then
  1201. ATTACK = true
  1202. Rooted = false
  1203. local GYRO = IT("BodyGyro",RootPart)
  1204. GYRO.D = 275
  1205. GYRO.P = 20000
  1206. GYRO.MaxTorque = VT(0,40000,0)
  1207. for i=0, 0.8, 0.1 / Animation_Speed do
  1208. Swait()
  1209. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1210. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1211. 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)
  1212. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1213. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1214. 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)
  1215. 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)
  1216. end
  1217. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  1218. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1219. local grav = Instance.new("BodyPosition",TORSO)
  1220. grav.D = 1500
  1221. grav.P = 20000
  1222. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1223. grav.position = TORSO.Position+VT(0,15,0)
  1224. Debris:AddItem(grav,10)
  1225. Debris:AddItem(MAGIC,10)
  1226. CreateSound(429459101, Torso, 7, 1, false)
  1227. CreateSound(429459101, TORSO, 7, 1, false)
  1228. for i=0, 1, 0.1 / Animation_Speed do
  1229. Swait()
  1230. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1231. 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)
  1232. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1233. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1234. 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)
  1235. 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)
  1236. end
  1237. GYRO:remove()
  1238. ATTACK = false
  1239. Rooted = false
  1240. end
  1241. end
  1242. end
  1243. function Cleave()
  1244. ATTACK = true
  1245. Rooted = false
  1246. local TARGET = nil
  1247. local TORS = nil
  1248. local GYRO = IT("BodyGyro",RootPart)
  1249. GYRO.D = 175
  1250. GYRO.P = 20000
  1251. GYRO.MaxTorque = VT(0,40000,0)
  1252. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1253. local RANGE = 5
  1254. CreateSound(541909867, Torso, 7, 1, false)
  1255. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1256. for i=0, 1, 0.1 / Animation_Speed do
  1257. Swait()
  1258. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
  1259. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1260. local CHILDREN = workspace:GetDescendants()
  1261. for index, CHILD in pairs(CHILDREN) do
  1262. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1263. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1264. if HUM then
  1265. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1266. if TORSO then
  1267. if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
  1268. RANGE = (TORSO.Position - LeftHole.Position).Magnitude
  1269. TARGET = HUM
  1270. TORS = TORSO
  1271. end
  1272. end
  1273. end
  1274. end
  1275. end
  1276. if TARGET then
  1277. break
  1278. end
  1279. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  1280. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(80)), 1 / Animation_Speed)
  1281. 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)
  1282. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1283. 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)
  1284. 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)
  1285. end
  1286. GYRO:remove()
  1287. if TORS and TARGET then
  1288. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1289. Rooted = true
  1290. local BODYPOSITION = IT("BodyPosition", TORS)
  1291. BODYPOSITION.P = 2000
  1292. BODYPOSITION.D = 100
  1293. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1294. for i=0, 1, 0.1 / Animation_Speed do
  1295. Swait()
  1296. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1297. BODYPOSITION.Position = TORS.Position
  1298. 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)
  1299. 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)
  1300. 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)
  1301. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1302. 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)
  1303. 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)
  1304. end
  1305. for i=0, 0.4, 0.1 / Animation_Speed do
  1306. Swait()
  1307. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1308. BODYPOSITION.Position = TORS.Position
  1309. 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)
  1310. 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)
  1311. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1312. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1313. 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)
  1314. 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)
  1315. end
  1316. local LOOP = 0
  1317. local LOOP2 = 0
  1318. for i=0, 5, 0.1 / Animation_Speed do
  1319. Swait()
  1320. LOOP = LOOP + 1
  1321. TORS.Anchored = true
  1322. LOOP2 = LOOP2 + 1
  1323. if LOOP2 >= 5 then
  1324. 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})
  1325. 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})
  1326. CreateSound(145080998, RightHole, 7, 1, false)
  1327. SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p)
  1328. LOOP2 = 0
  1329. getbloody(TORS,1)
  1330. end
  1331. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1332. BODYPOSITION.Position = TORS.Position
  1333. 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)
  1334. 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)
  1335. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145 + 2 * SIN(LOOP / 12)), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1336. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1337. 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)
  1338. 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)
  1339. end
  1340. BODYPOSITION:remove()
  1341. if TORS then
  1342. TORS.Anchored = false
  1343. Kill(TORS.Parent)
  1344. end
  1345. end
  1346. ATTACK = false
  1347. Rooted = false
  1348. end
  1349. function Lock_n_Load()
  1350. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1351. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1352. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1353. if TORSO and HUM.Health > 0 then
  1354. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1355. ATTACK = true
  1356. Rooted = true
  1357. local GYRO = IT("BodyGyro",RootPart)
  1358. GYRO.D = 175
  1359. GYRO.P = 20000
  1360. GYRO.MaxTorque = VT(0,40000,0)
  1361. if COMBO == 1 then
  1362. COMBO = 2
  1363. for i=0, 1, 0.1 / Animation_Speed do
  1364. Swait()
  1365. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1366. 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)
  1367. 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)
  1368. 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)
  1369. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1370. 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)
  1371. 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)
  1372. end
  1373. 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})
  1374. 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})
  1375. CreateSound(145080998, LeftHole, 7, 1, false)
  1376. BulletDetection(LeftHole.Position,TORSO.Position,false)
  1377. for i=0, 0.4, 0.1 / Animation_Speed do
  1378. Swait()
  1379. 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)
  1380. 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)
  1381. 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)
  1382. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1383. 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)
  1384. 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)
  1385. end
  1386. elseif COMBO == 2 then
  1387. COMBO = 1
  1388. for i=0, 1, 0.1 / Animation_Speed do
  1389. Swait()
  1390. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1391. 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)
  1392. 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)
  1393. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1394. 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)
  1395. 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)
  1396. 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)
  1397. end
  1398. 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})
  1399. 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})
  1400. CreateSound(145080998, RightHole, 7, 1, false)
  1401. BulletDetection(RightHole.Position,TORSO.Position,false)
  1402. for i=0, 0.4, 0.1 / Animation_Speed do
  1403. Swait()
  1404. 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)
  1405. 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)
  1406. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1407. 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)
  1408. 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)
  1409. 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)
  1410. end
  1411. end
  1412. GYRO:remove()
  1413. ATTACK = false
  1414. Rooted = false
  1415. end
  1416. end
  1417. end
  1418. function Morning_Star()
  1419. ATTACK = true
  1420. Rooted = true
  1421. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1422. for i=0, 1, 0.1 / Animation_Speed do
  1423. Swait()
  1424. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1425. 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)
  1426. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1427. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1428. 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)
  1429. 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)
  1430. end
  1431. coroutine.resume(coroutine.create(function()
  1432. local POS = Mouse.Hit.p
  1433. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
  1434. MakeForm(RAY,"Cyl")
  1435. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
  1436. MakeForm(SPHERE,"Ball")
  1437. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  1438. MakeForm(SHIELD,"Ball")
  1439. SHIELD.CFrame = CF(POS)
  1440. RAY.CFrame = CF(POS)
  1441. SPHERE.CFrame = CF(POS)
  1442. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1443. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1444. for i = 1, 200 do
  1445. Swait()
  1446. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1447. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1448. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1449. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1450. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1451. end
  1452. for i = 1, 45 do
  1453. Swait()
  1454. RAY.Transparency = RAY.Transparency + 1/45
  1455. SPHERE.Transparency = RAY.Transparency
  1456. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1457. end
  1458. RAY:remove()
  1459. SHIELD:remove()
  1460. SPHERE:remove()
  1461. end))
  1462. for i=0, 1, 0.1 / Animation_Speed do
  1463. Swait()
  1464. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1465. 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)
  1466. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1467. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1468. 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)
  1469. 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)
  1470. end
  1471. ATTACK = false
  1472. Rooted = false
  1473. end
  1474. function Deathbound()
  1475. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1476. ATTACK = true
  1477. Rooted = true
  1478. for i=0, 1, 0.1 / Animation_Speed do
  1479. Swait()
  1480. 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)
  1481. 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)
  1482. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1483. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1484. 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)
  1485. 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)
  1486. end
  1487. local DONE = false
  1488. local GATE = nil
  1489. local GATESPIN = true
  1490. coroutine.resume(coroutine.create(function()
  1491. repeat
  1492. Swait()
  1493. if GATE ~= nil then
  1494. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1495. end
  1496. until GATESPIN == false
  1497. end))
  1498. coroutine.resume(coroutine.create(function()
  1499. repeat
  1500. Swait()
  1501. 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)
  1502. 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)
  1503. 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)
  1504. 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)
  1505. 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)
  1506. 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)
  1507. until DONE == true
  1508. Swait(50)
  1509. for i = 1, 35 do
  1510. Swait(4)
  1511. local FIRED = false
  1512. local CHILDREN = workspace:GetDescendants()
  1513. for index, CHILD in pairs(CHILDREN) do
  1514. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1515. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1516. if HUM then
  1517. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1518. if TORSO then
  1519. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1520. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1521. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1522. 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(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1523. 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1524. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1525. Kill(CHILD)
  1526. FIRED = true
  1527. break
  1528. end
  1529. end
  1530. end
  1531. end
  1532. end
  1533. if FIRED == false then
  1534. 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)))
  1535. 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(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1536. 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1537. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1538. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1539. if HITBOD ~= nil then
  1540. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1541. Kill(HITBOD.Parent)
  1542. end
  1543. end
  1544. end
  1545. end
  1546. for i = 1, 45 do
  1547. Swait()
  1548. GATE.Size = GATE.Size - VT(3,0,3)
  1549. end
  1550. GATESPIN = false
  1551. GATE:remove()
  1552. end))
  1553. Swait(15)
  1554. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1555. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
  1556. local DECAL = IT("Decal",GATE)
  1557. DECAL.Texture = "http://www.roblox.com/asset/?id=1526406096"
  1558. DECAL.Face = "Top"
  1559. GATE.CFrame = CF(HITPOS)
  1560. CreateSound(160772554, GATE, 7, 1.3, false)
  1561. for i = 1, 45 do
  1562. Swait()
  1563. GATE.Size = GATE.Size + VT(3,0,3)
  1564. end
  1565. CreateSound(145080998, RightHole, 7, 1, false)
  1566. CreateSound(145080998, LeftHole, 7, 1, false)
  1567. 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1568. 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1569. ATTACK = false
  1570. Rooted = false
  1571. DONE = true
  1572. end
  1573. function Execute()
  1574. ATTACK = true
  1575. Rooted = false
  1576. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  1577. Part.Color = C3(0,0,0)
  1578. MakeForm(Part,"Wedge")
  1579. Part.CanCollide = true
  1580. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
  1581. for i=0, 1, 0.1 / Animation_Speed do
  1582. Swait()
  1583. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1584. 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)
  1585. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1586. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1587. 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)
  1588. 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)
  1589. end
  1590. Trail.Enabled = true
  1591. CreateSound(541909867, RightBarrel, 7, 1, false)
  1592. local TOCH = Part.Touched:Connect(function(hit)
  1593. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1594. Kill(hit.Parent)
  1595. end
  1596. end)
  1597. for i=0, 0.35, 0.1 / Animation_Speed do
  1598. Swait()
  1599. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1600. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1601. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1602. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1603. 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)
  1604. 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)
  1605. end
  1606. TOCH:disconnect()
  1607. Trail.Enabled = false
  1608. for i=0, 0.35, 0.1 / Animation_Speed do
  1609. Swait()
  1610. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  1611. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
  1612. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1613. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1614. 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)
  1615. 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)
  1616. end
  1617. Part:remove()
  1618. ATTACK = false
  1619. Rooted = false
  1620. end
  1621.  
  1622. --//=================================\\
  1623. --|| ASSIGN THINGS TO KEYS
  1624. --\\=================================//
  1625.  
  1626. function MouseDown(Mouse)
  1627. if ATTACK == false then
  1628. Execute()
  1629. end
  1630. end
  1631.  
  1632. function MouseUp(Mouse)
  1633. HOLD = false
  1634. end
  1635.  
  1636. function KeyDown(Key)
  1637. KEYHOLD = true
  1638. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1639. if Key == "z" and ATTACK == false then
  1640. Unload()
  1641.  
  1642. elseif Key == "b" and ATTACK == false then
  1643. Psyo()
  1644.  
  1645. elseif Key == "c" and ATTACK == false then
  1646. Cleave()
  1647.  
  1648. elseif Key == "v" and ATTACK == false then
  1649. Lock_n_Load()
  1650.  
  1651. elseif Key == "g" and ATTACK == false then
  1652. Deathbound()
  1653.  
  1654. elseif Key == "x" and ATTACK == false then
  1655. Morning_Star()
  1656.  
  1657. elseif Key == "t" then
  1658. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1659. elseif Key == "1" and ATTACK == false then
  1660. if CHOICE ~= 1 then
  1661. CHOICE = 1
  1662. sick:Play()
  1663. end
  1664. elseif Key == "2" and ATTACK == false then
  1665. if CHOICE ~= 2 then
  1666. CHOICE = 2
  1667. sick:Play()
  1668. end
  1669. elseif Key == "3" and ATTACK == false then
  1670. if CHOICE ~= 3 then
  1671. CHOICE = 3
  1672. sick:Play()
  1673. end
  1674. elseif Key == "4" and ATTACK == false then
  1675. if CHOICE ~= 4 then
  1676. CHOICE = 4
  1677. sick:Play()
  1678. end
  1679. end
  1680. end
  1681. end
  1682.  
  1683. function KeyUp(Key)
  1684. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1685. KEYHOLD = false
  1686. end
  1687. end
  1688.  
  1689. Mouse.Button1Down:connect(function(NEWKEY)
  1690. MouseDown(NEWKEY)
  1691. end)
  1692. Mouse.Button1Up:connect(function(NEWKEY)
  1693. MouseUp(NEWKEY)
  1694. end)
  1695. Mouse.KeyDown:connect(function(NEWKEY)
  1696. KeyDown(NEWKEY)
  1697. end)
  1698. Mouse.KeyUp:connect(function(NEWKEY)
  1699. KeyUp(NEWKEY)
  1700. end)
  1701.  
  1702. --//=================================\\
  1703. --\\=================================//
  1704.  
  1705.  
  1706. function unanchor()
  1707. if UNANCHOR == true then
  1708. g = Character:GetChildren()
  1709. for i = 1, #g do
  1710. if g[i].ClassName == "Part" then
  1711. g[i].Anchored = false
  1712. end
  1713. end
  1714. end
  1715. end
  1716.  
  1717.  
  1718. --//=================================\\
  1719. --|| WRAP THE WHOLE SCRIPT UP
  1720. --\\=================================//
  1721.  
  1722. Humanoid.Changed:connect(function(Jump)
  1723. if Jump == "Jump" and (Disable_Jump == true) then
  1724. Humanoid.Jump = false
  1725. end
  1726. end)
  1727.  
  1728. while true do
  1729. Swait()
  1730. Humanoid.HipHeight = 1.5
  1731. script.Parent = WEAPONGUI
  1732. ANIMATE.Parent = nil
  1733. if Humanoid then
  1734. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1735. IDLEANIMATION:Play()
  1736. end
  1737. SINE = SINE + CHANGE
  1738. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1739. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1740. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1741. if ATTACK == false then
  1742. if TORSOVELOCITY < 1 then
  1743. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1744. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1745. 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)
  1746. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1747. 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)
  1748. 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)
  1749. elseif TORSOVELOCITY > 1 then
  1750. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1751. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1752. 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)
  1753. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1754. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1755. 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)
  1756. end
  1757. end
  1758. RightArmGrasp.C0 = Clerp(RightArmGrasp.C0, CF(0, -0.815+0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(90-4.5 * SIN(SINE / 12)), RAD(-1.5 * SIN(SINE / 12)), RAD(0)), 1 / Animation_Speed)
  1759. LeftArmGraps.C0 = Clerp(LeftArmGraps.C0, CF(0, -0.815+0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(90-4.5 * SIN(SINE / 12)), RAD(1.5 * SIN(SINE / 12)), RAD(0)), 1 / Animation_Speed)
  1760. unanchor()
  1761. Humanoid.MaxHealth = "inf"
  1762. Humanoid.Health = "inf"
  1763. if Rooted == false then
  1764. Disable_Jump = false
  1765. Humanoid.WalkSpeed = Speed
  1766. elseif Rooted == true then
  1767. Disable_Jump = true
  1768. Humanoid.WalkSpeed = 0
  1769. end
  1770. for _, c in pairs(Character:GetDescendants()) do
  1771. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1772. c.Material = "Neon"
  1773. c.Color = C3(0,0,0)
  1774. if c:FindFirstChildOfClass("SpecialMesh") then
  1775. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1776. end
  1777. if c == Head then
  1778. if c:FindFirstChild("face") then
  1779. c.face:remove()
  1780. end
  1781. end
  1782. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1783. c.Color = C3(1,0,0)
  1784. c.Material = "Neon"
  1785. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1786. c:remove()
  1787. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1788. c:remove()
  1789. end
  1790. end
  1791. refit()
  1792. Humanoid.Name = "Deadeyes"
  1793. sick.Parent = Torso
  1794. sick:resume()
  1795. sick.Volume = 5
  1796. sick.Pitch = 1
  1797. sick.SoundId = "rbxassetid://"..SONGS[CHOICE]
  1798. if Head:FindFirstChildOfClass("Sound") then
  1799. Head:FindFirstChildOfClass("Sound"):remove()
  1800. end
  1801. end
  1802.  
  1803. --//=================================\\
  1804. --\\=================================//
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810. --//====================================================\\--
  1811. --|| END OF SCRIPT
  1812. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement