Advertisement
DarkScriptZEditors

Untitled

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