Advertisement
Silver_cole

rogue

Sep 23rd, 2019
2,979
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86. local h,t
  87. --Give the server mouse data every second frame, but only if the values changed
  88. --If player is not moving their mouse, client won't fire events
  89. local HB = game:GetService("RunService").Heartbeat
  90. while true do
  91. if h~=Mouse.Hit or t~=Mouse.Target then
  92. h,t=Mouse.Hit,Mouse.Target
  93. Event:FireServer({isMouse=true,Target=t,Hit=h})
  94. end
  95. --Wait 2 frames
  96. for i=1,2 do
  97. HB:Wait()
  98. end
  99. end]==],script)
  100.  
  101. ----Sandboxed game object that allows the usage of client-side methods and services
  102. --Real game object
  103. local RealGame = game
  104.  
  105. --Metatable for fake service
  106. local FakeService_Metatable = {
  107. __index = function(self,k)
  108. local s = rawget(self,"_RealService")
  109. if s then
  110. return typeof(s[k])=="function"
  111. and function(_,...)return s[k](s,...)end or s[k]
  112. end
  113. end,
  114. __newindex = function(self,k,v)
  115. local s = rawget(self,"_RealService")
  116. if s then s[k]=v end
  117. end
  118. }
  119. local function FakeService(t,RealService)
  120. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  121. return setmetatable(t,FakeService_Metatable)
  122. end
  123.  
  124. --Fake game object
  125. local FakeGame = {
  126. GetService = function(self,s)
  127. return rawget(self,s) or RealGame:GetService(s)
  128. end,
  129. Players = FakeService({
  130. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  131. },"Players"),
  132. UserInputService = FakeService(UIS,"UserInputService"),
  133. ContextActionService = FakeService(CAS,"ContextActionService"),
  134. RunService = FakeService({
  135. _btrs = {},
  136. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  137. BindToRenderStep = function(self,name,_,fun)
  138. self._btrs[name] = self.Heartbeat:Connect(fun)
  139. end,
  140. UnbindFromRenderStep = function(self,name)
  141. self._btrs[name]:Disconnect()
  142. end,
  143. },"RunService")
  144. }
  145. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  146. FakeGame.service = FakeGame.GetService
  147. FakeService(FakeGame,game)
  148. --Changing owner to fake player object to support owner:GetMouse()
  149. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  150. end
  151.  
  152. --[[
  153. @Name: Rogue
  154. @Author: iKrypto
  155. @Date: 7/4/16
  156. @Engine: Lua 5.1
  157. ]]
  158.  
  159. wait(0.003)
  160. --print'starting script...'
  161.  
  162. -- Primary Development ended on 7/13/2016
  163. -- Revamp began on 7/17/2016 due to data loss
  164. -- Old script found in modules on 7/19/2016 and revamp updated, development over again.
  165.  
  166. local startLoad = tick()
  167. script.Name = "Assassination"
  168. local plrs = game:GetService('Players')
  169. local plr = plrs.LocalPlayer
  170. local char = plr.Character
  171. local bp = plr.Backpack
  172. local hum = char.Humanoid
  173. local T = char.Torso
  174. local Character = char
  175. local Humanoid = hum
  176. local torso = char.Torso
  177. local Agility,Haste,damage = 6,.16,0
  178. local stats,Parts,Cooldowns,Damage,recountData,parts,Damaged,Ally,Buffs = {},{},{},{},{},{},{},{},{}
  179. local Ctrl,Cam,lastclick,btimer,Stealthed,beaming = false,game.Workspace:FindFirstChild('currentCamera'),tick(),0,false,false
  180. local lastdps,OrbModel,currentTarget,candamage
  181. local shielding = false
  182. local dot = {}
  183. local combocounter,PGui,channeling,Mode = 0,plr.PlayerGui,false,''
  184. local new = Instance.new
  185. -- if leaked, don't edit this value
  186. -- it lets other scripts know this is
  187. -- a linked script so that you can do
  188. -- extra features such as slowing, stunning
  189. -- buffing, healing etc. Thanks.
  190. local iAmDarkusScript = Instance.new('Model')
  191. iAmDarkusScript.Parent = hum
  192. iAmDarkusScript.Name = 'Property of Darkus_Theory'
  193. head = char.Head
  194. local ohp = hum.Health
  195. local otheranims = false
  196. mouse = plr:GetMouse()
  197. count = 0
  198. Mode = 'Idling'
  199. Bin = Instance.new('Folder')
  200. Bin.Name='suit'
  201. Bin.Parent=char
  202. Colors={['Primary']='Dark indigo',['Secondary']='Royal purple',['Tertiary']='Bright violet',}
  203. Body={["HUM"]=char:FindFirstChild('Humanoid'),["H"]=char:FindFirstChild('Head'),["T"]=char:FindFirstChild('Torso'),["LA"]=char:FindFirstChild('Left Arm'),["RA"]=char:FindFirstChild('Right Arm'),["LL"]=char:FindFirstChild('Left Leg'),["RL"]=char:FindFirstChild('Right Leg'),};
  204. local tMesh,asset = "rbxasset://fonts/torso.mesh","rbxassetid://"
  205. local meshes,sounds = {blast = 20329976,ring = 3270017,spike = 1033714,cone = 1082802,crown = 20329976,cloud = 1095708,diamond = 9756362},{laser = 166196553;gun = 131070686;falling = 138206037;hit = 146163493;twirl = 46299547;explosion = 142070127}
  206. prmColor = 'Really black'
  207. secColor = 'Toothpaste'
  208. humanoid = char:findFirstChild("Humanoid")
  209. torso = char:findFirstChild("Torso")
  210. head = char.Head
  211. prmColor = 'ReEnemy black'
  212. secColor = 'Toothpaste'
  213. humanoid = char:findFirstChild("Humanoid")
  214. torso = char:findFirstChild("Torso")
  215. head = char.Head
  216. ra = char:findFirstChild("Right Arm")
  217. la = char:findFirstChild("Left Arm")
  218. rl = char:findFirstChild("Right Leg")
  219. ll = char:findFirstChild("Left Leg")
  220. rs = torso:findFirstChild("Right Shoulder")
  221. ls = torso:findFirstChild("Left Shoulder")
  222. rh = torso:findFirstChild("Right Hip")
  223. lh = torso:findFirstChild("Left Hip")
  224. neck = torso:findFirstChild("Neck")
  225. rootpart = char:findFirstChild("HumanoidRootPart")
  226. rj = rootpart:findFirstChild("RootJoint")
  227. anim = char:findFirstChild("Animate")
  228. camera = workspace.CurrentCamera
  229. plr.CameraMaxZoomDistance = math.huge
  230. for i,v in next, char:children'' do if v:isA'Accessory' then v:Destroy() end end
  231. pcall(function()anim:Destroy()end)
  232. pcall(function()char["Health"]:Destroy() end)
  233. pcall(function()humanoid.Animator:Destroy()end)
  234. local rm = Instance.new("Weld", torso)
  235. rm.C0 = CFrame.new(1.5, 0.5, 0)
  236. rm.C1 = CFrame.new(0, 0.5, 0)
  237. rm.Part0 = torso
  238. rm.Part1 = ra
  239. local lm = Instance.new("Weld", torso)
  240. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  241. lm.C1 = CFrame.new(0, 0.5, 0)
  242. lm.Part0 = torso
  243. lm.Part1 = la
  244. local rlegm = Instance.new("Weld", torso)
  245. rlegm.C0 = CFrame.new(0.5, -1, 0)
  246. rlegm.C1 = CFrame.new(0, 1, 0)
  247. rlegm.Part0 = torso
  248. rlegm.Part1 = rl
  249. local llegm = Instance.new("Weld", torso)
  250. llegm.C0 = CFrame.new(-0.5, -1, 0)
  251. llegm.C1 = CFrame.new(0, 1, 0)
  252. llegm.Part0 = torso
  253. llegm.Part1 = ll
  254. neckc0 = neck.C0
  255. rsc0 = rm.C0
  256. lsc0 = lm.C0
  257. llc0 = llegm.C0
  258. rlc0 = rlegm.C0
  259. rootc0 = rj.C0
  260. rootc1 = rj.C1
  261. wait()
  262. local s = Instance.new('Shirt', char)
  263. s.Name = 'Wild Gladiator\'s Felweave Raiment'
  264. s.ShirtTemplate = 'http://www.roblox.com/asset/?id=166273878'
  265. local p = Instance.new('Pants', char)
  266. p.Name = 'Wild Gladiator\'s Felweave Trousers'
  267. p.PantsTemplate = 'http://www.roblox.com/asset/?id=166273938'
  268. local h = Instance.new('Part', char)
  269. h.Name = 'DK Hood'
  270. h.TopSurface,h.BottomSurface = 0,0
  271. h.Size = Vector3.new(2.3, 2.3, 2.3)
  272. h.CFrame = torso.CFrame
  273. h.CanCollide = false
  274. h.BrickColor = BrickColor.new('Really black')
  275. h:BreakJoints()
  276. local m = Instance.new('SpecialMesh', h)
  277. m.Name = "Wild Gladiator's Felweave Cowl"
  278. m.MeshType = 'FileMesh'
  279. m.Scale = Vector3.new(1, 1, 1)
  280. m.MeshId = 'http://www.roblox.com/asset/?id=16952952'
  281. m.VertexColor = Vector3.new(1,1,1)
  282. local Weld = Instance.new("Weld")
  283. Weld.Part0 = char.Head
  284. Weld.Part1 = h
  285. Weld.Parent = char.Head
  286. Weld.C0 = CFrame.new(0, .3, 0)
  287.  
  288. local Dagger = Instance.new('Part')
  289. Dagger.Name = 'Dagger'
  290. Dagger.BrickColor = BrickColor.new('Really black')
  291. Dagger.Locked = true
  292. Dagger.Shape = 'Block'
  293. Dagger.Size = Vector3.new(1, 3.8, 1)
  294. Dagger.Parent = char
  295. Dagger.CanCollide = false
  296. local DaggerMesh = Instance.new('SpecialMesh',Dagger)
  297. DaggerMesh.Name = 'DaggerMesh'
  298. DaggerMesh.MeshType = 'FileMesh'
  299. DaggerMesh.MeshId = "http://www.roblox.com/asset/?id=432556696"
  300. DaggerMesh.TextureId = "http://www.roblox.com/asset/?id=22769571"
  301. DaggerMesh.Scale = Vector3.new(.14, .14, .14)
  302. DaggerMesh.VertexColor = Vector3.new(0, 0, 0)
  303. local DaggerWeld = Instance.new('Weld',Dagger)
  304. DaggerWeld.Name = 'DaggerWeld'
  305. DaggerWeld.C0 = CFrame.new(0,-.7, -1.2) * CFrame.Angles(-math.rad(180), -math.rad(90), -math.rad(90))
  306. DaggerWeld.Part0 = ra
  307. DaggerWeld.Part1 = Dagger
  308.  
  309. local Katana = Instance.new('Part')
  310. Katana.Name = 'Katana'
  311. Katana.BrickColor = BrickColor.new('Really black')
  312. Katana.Locked = true
  313. Katana.Shape = 'Block'
  314. Katana.Size = Vector3.new(1, 0.8, 4)
  315. Katana.Parent = char
  316. Katana.CanCollide = false
  317. local KatanaMesh = Instance.new('SpecialMesh',Katana)
  318. KatanaMesh.Name = 'KatanaMesh'
  319. KatanaMesh.MeshType = 'FileMesh'
  320. KatanaMesh.MeshId = "http://www.roblox.com/asset/?id=22769578"
  321. KatanaMesh.TextureId = "http://www.roblox.com/asset/?id=22769571"
  322. KatanaMesh.Scale = Vector3.new(.23, .23, .23)
  323. KatanaMesh.VertexColor = Vector3.new(0, 0, 0)
  324. local KatanaWeld = Instance.new('Weld',Katana)
  325. KatanaWeld.C0 = CFrame.new(0,-1.05, 1) * CFrame.Angles(0, 0, math.rad(90))
  326. KatanaWeld.Part0 = la
  327. KatanaWeld.Part1 = Katana
  328.  
  329. wepdps = function(obj)
  330. local slow
  331. if not candamage then return end
  332. if obj:IsDescendantOf(char) then return end
  333. if not obj.Parent:findFirstChild('Humanoid',true) then return end
  334. local Hum = obj.Parent:findFirstChild('Humanoid',true)
  335. if Damaged[Hum] and tick()-Damaged[Hum] < (.2+stats['Haste']) then return end
  336. local dist = (obj.Position-torso.Position).magnitude
  337. if dist > 5 then return end
  338. local calculation = getDPS()
  339. local cftos = Hum.Parent.HumanoidRootPart.CFrame:pointToObjectSpace(torso.Position)
  340. if cftos.Z > 0 then calculation = calculation * 1.3 end
  341. if Hum:FindFirstChild('MarkOfDeath') then
  342. calculation = calculation * 1.5
  343. end
  344. local function randomSlashSound()
  345. local ids = {220833967,220833976,220834019}
  346.  
  347. quickSound(ids[math.random(1,#ids)], head, .8)
  348. end
  349. if Stealthed and not cheating then Stealth() slow=true calculation = calculation * 1.4 end
  350. damageHuman(Hum, math.floor(calculation*.6), obj)
  351. coroutine.wrap(randomSlashSound)()
  352. logDamage('Autoattack', calculation)
  353. Damaged[Hum] = tick()
  354. if slow then slowPoison(Hum) slow=false end
  355. stats['Focus'] = stats['Focus'] + 6
  356. if math.random(1,10) > 7 then stats['Combo Points'] = stats['Combo Points'] + 1 end
  357. end
  358.  
  359. recuperate = function(obj)
  360. if obj:IsDescendantOf(char) then return end
  361. if not obj.Parent:findFirstChild('Humanoid',true) then return end
  362. local Hum = obj.Parent:findFirstChild('Humanoid',true)
  363. if Damaged[Hum] and tick()-Damaged[Hum] < 3 then return end
  364. if checkCooldown('Recuperate') then return end
  365. if not useFocus(40) then return end
  366. setCooldown('Recuperate', 45)
  367. local numcp = stats['Combo Points']
  368. stats['Combo Points'] = 0
  369. local calculation = getDPS()+(stats['Combo Points']*2)
  370. local cftos = Hum.Parent.Torso.CFrame:pointToObjectSpace(torso.Position)
  371. if cftos.Z > 0 then calculation = calculation * 1.5 end
  372. if Stealthed and not cheating then Stealth() end
  373. damageHuman(Hum, calculation/2, obj)
  374. logDamage('Recuperate', calculation)
  375. Damaged[Hum] = tick()
  376. local healcalc = ((calculation/2)*(numcp > 0 and numcp or 1))*.6
  377. ypcall(function()
  378. for i = healcalc/10,0,-(healcalc/100) do
  379. hum.Health = hum.Health+(healcalc)
  380. Title("+"..math.floor(healcalc), head, Color3.new(0,200/255,0),true,false)
  381. wait(.75)
  382. end
  383. end)
  384. end
  385.  
  386. dfa = function(obj)
  387. if obj:IsDescendantOf(char) then return end
  388. if not obj.Parent:findFirstChild('Humanoid',true) then return end
  389. local Hum = obj.Parent:findFirstChild('Humanoid',true)
  390. local ex
  391. if (Hum.Health<(Hum.MaxHealth*.35)) then ex = true end
  392. if Damage[Hum] and tick()-Damage[Hum] < 3 then return end
  393. if not useFocus(25) then return end
  394. local calculation = (ex and (getDPS()*5) or getDPS()*2)
  395. local cftos = Hum.Parent.Torso.CFrame:pointToObjectSpace(torso.Position)
  396. Damage[Hum] = tick()
  397. if cftos.Z > 0 then calculation = calculation * 1.5 end
  398. if Stealthed and not cheating then Stealth() end
  399. damageHuman(Hum, calculation, obj)
  400. logDamage('Death From Above', calculation)
  401. quickSound(444667824, head, .8)
  402. end
  403.  
  404. envenom = function(obj)
  405. if obj:IsDescendantOf(char) then return end
  406. if not obj.Parent:findFirstChild('Humanoid',true) then return end
  407. local Hum = obj.Parent:findFirstChild('Humanoid',true)
  408. local ex
  409. if (Hum.Health<(Hum.MaxHealth*.15)) then ex = true end
  410. if Damage[Hum] and tick()-Damage[Hum] < 3 then return end
  411. if checkCooldown('Envenom') then return end
  412. if not useFocus(10) then return end
  413. setCooldown('Envenom', 10)
  414. local calculation = (ex and (hum.MaxHealth+math.random(1,100)) or getDPS()*4)
  415. local cftos = Hum.Parent.Torso.CFrame:pointToObjectSpace(torso.Position)
  416. Damage[Hum] = tick()
  417. if cftos.Z > 0 then calculation = calculation * 1.5 end
  418. if Stealthed and not cheating then Stealth() end
  419. damageHuman(Hum, calculation, obj)
  420. logDamage('Envenom', calculation)
  421. quickSound(220834000, head)
  422. end
  423.  
  424.  
  425. Dagger.Touched:connect(wepdps)
  426. Katana.Touched:connect(wepdps)
  427.  
  428. pcall(function()
  429. char["Body Colors"].HeadColor = BrickColor.new("Medium stone grey")
  430. char["Body Colors"].TorsoColor = BrickColor.new("Really black")
  431. char["Body Colors"].LeftArmColor = BrickColor.new("Medium stone grey")
  432. char["Body Colors"].RightArmColor = BrickColor.new("Medium stone grey")
  433. char["Body Colors"].LeftLegColor = BrickColor.new("Really blackReally black")
  434. char["Body Colors"].RightLegColor = BrickColor.new("Really black")
  435. end)
  436.  
  437. local aa1 = {}
  438.  
  439. local WorldUp = Vector3.new(0,1,0)
  440. function look2(Vec1,Vec2)
  441. local Orig = Vec1
  442. Vec1 = Vec1+Vector3.new(0,1,0)
  443. Vec2 = Vec2+Vector3.new(0,1,0)
  444. local Forward = (Vec2-Vec1).unit
  445. local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
  446. local Right = Up:Cross(Forward).unit
  447. Forward = -Forward
  448. Right = -Right
  449. return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  450. end
  451.  
  452. function look(CFr,Vec2)
  453. local A = Vector3.new(0,0,0)
  454. local B = CFr:inverse()*Vec2
  455. local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
  456. if B.Z > 0 then
  457. CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
  458. elseif B.Z == 0 then
  459. if B.Y > 0 then
  460. CF = CFr*CFrame.Angles(math.pi/2,0,0)
  461. elseif B.Y < 0 then
  462. CF = CFr*CFrame.Angles(-math.pi/2,0,0)
  463. else
  464. CF = CFr
  465. end
  466. end
  467. local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
  468. local Up = Vector3.new(X,Y,Z)
  469. local Forward = (Vec2-CFr.p).unit
  470. local Right = Up:Cross(Forward)
  471. Forward = -Forward
  472. Right = -Right
  473. return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  474. end
  475.  
  476. function simulate(j,d,m,r,t)
  477. local joint = j
  478. for i,v in ipairs(t) do
  479. if v[1]:FindFirstChild("Weld") then
  480. local stiff = m.CFrame.lookVector*0.03
  481. if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
  482. local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit
  483. local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude
  484. local pos = joint.p+(dir*(d*0.5))
  485. --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
  486. local inv = v[1].Weld.Part0.CFrame
  487. local rel1 = inv:inverse()*pos
  488. local rel2 = inv:inverse()*(pos-(dir*dis))
  489. local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
  490. v[1].Weld.C0 = cf
  491. v[2] = inv*cf
  492. --v[1].CFrame = cf
  493. end
  494. end
  495. end
  496.  
  497. for i=1,6 do
  498. local p = Instance.new("Part",char)
  499. p.Anchored = false
  500. p.BrickColor = BrickColor.new("Really black")
  501. p.CanCollide = false
  502. p.FormFactor="Custom"
  503. p.Material = "SmoothPlastic"
  504. p.TopSurface = "SmoothNoOutlines"
  505. p.BottomSurface = "SmoothNoOutlines"
  506. p.RightSurface = "SmoothNoOutlines"
  507. p.LeftSurface = "SmoothNoOutlines"
  508. p.FrontSurface = "SmoothNoOutlines"
  509. p.BackSurface = "SmoothNoOutlines"
  510.  
  511. p.Size=Vector3.new(2+(i*.15),.15,0.15)
  512. p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
  513. mesh = Instance.new("BlockMesh",p)
  514. mesh.Scale = Vector3.new(1,1,4)
  515. local w = Instance.new("Motor6D",p)
  516. w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
  517. w.Part1 = p
  518. w.Name = "Weld"
  519. --table.insert(aa1,p)
  520. aa1[i] = {p,p.CFrame}
  521.  
  522. end
  523.  
  524. game:service"RunService".Stepped:connect(function()
  525. simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1)
  526. end)
  527.  
  528. cn,ca,bc,v3,r = CFrame.new,CFrame.Angles,BrickColor.new,Vector3.new,function(a)return (math.random()-.5)*2*(a or 1) end
  529. deg,nf,c3,ins,ma,pi,mr = math.deg,math.floor,Color3.new,Instance.new,math.abs,math.pi,math.rad
  530. local part = function(prnt,cfr,siz,col,anc,canc,tra,mat,typ)
  531. local p = ins(typ or "Part")
  532. p.FormFactor = "Custom"
  533. p.Material = mat
  534. p.Transparency = tra
  535. p.CanCollide = canc
  536. p.Anchored = anc
  537. p.BrickColor = bc(col)
  538. p.Size = siz
  539. p.CFrame = cfr
  540. p.Parent = prnt
  541. p.Locked = true
  542. p.TopSurface,p.BottomSurface = 0,0
  543. p:BreakJoints()
  544. return p
  545. end
  546. local mesh = function(typ,prnt,scal,mtyp,mid,mtx)
  547. local m = ins(typ or "SpecialMesh")
  548. if mtyp then m.MeshType = mtyp end
  549. if mid then m.MeshId = mid end
  550. if mtx then m.TextureId = mtx end
  551. if scal then m.Scale = scal end
  552. m.Parent = prnt
  553. return m
  554. end
  555. local weldy = function(prt1,prt2,c0,c1)
  556. local w = ins("Weld",prt1)
  557. w.Part0 = prt1
  558. w.Part1 = prt2
  559. w.C0,w.C1 = c0 or cn(),c1 or cn()
  560. return w
  561. end
  562. function crownExplode(cf,col,scl)
  563. local p = part(char,cf,v3(1,1,1),col,true,false,.1,"SmoothPlastic")
  564. local pm = mesh("FileMesh",p,nil,nil,asset..meshes.crown)
  565. Spawn(function()
  566. for i=.1,1.1,.025 do
  567. p.Transparency = i
  568. pm.Scale = pm.Scale + v3(scl,scl,scl)
  569. wait()
  570. end
  571. p:Destroy()
  572. end)
  573. end
  574. function crater(cf,dist,siz,col,mat)
  575. local num = math.random(7,13)
  576. for i=1,num do
  577. game:service("Debris"):AddItem(part(char,cf*ca(0,pi*2/num*i,0)*cn(0,0,dist)*ca(r(2),r(2),r(2)),v3(ma(r(siz)),ma(r(siz)),ma(r(siz))),col,true,true,0,mat),7)
  578. end
  579. end
  580. function quickSound(id,par,pi)
  581. local s = Instance.new("Sound")
  582. s.Pitch = pi or 1
  583. s.SoundId = asset..id
  584. s.Parent = par
  585. wait()
  586. s:Play()
  587. return s
  588. end
  589. function newSound(id,par,pi)
  590. local s = Instance.new("Sound",par)
  591. s.Pitch = pi or 1
  592. s.Volume = .3
  593. s.SoundId = asset..id
  594. s:Play()
  595. return s
  596. end
  597.  
  598. function cylinderOpen(cf,col,col2)
  599. local p = part(char,cf,v3(0,1000,0),col,true,false,.1,"SmoothPlastic")
  600. local pm = mesh("CylinderMesh",p)
  601. local p2 = part(char,cf,v3(0,1000,0),col2,true,false,.1,"SmoothPlastic")
  602. local p2m = mesh("CylinderMesh",p2)
  603. Spawn(function()
  604. for i=.1,1.1,.0125 do
  605. p.Transparency = i
  606. p2.Transparency = i
  607. pm.Scale = pm.Scale + v3(.8,0,.8)
  608. p2m.Scale = p2m.Scale + v3(.5,0,.5)
  609. wait()
  610. end
  611. p:Destroy()
  612. p2:Destroy()
  613. end)
  614. end
  615. function cylinderOpen2(cf,col,col2)
  616. local p = part(workspace,cf,v3(0,1000,0),col,true,false,.1,"SmoothPlastic")
  617. local pm = mesh("CylinderMesh",p)
  618. local p2 = part(workspace,cf,v3(0,1000,0),col2,true,false,.1,"SmoothPlastic")
  619. local p2m = mesh("CylinderMesh",p2)
  620. Spawn(function()
  621. for i=.1,1.1,.05 do
  622. p.Transparency = i
  623. p2.Transparency = i
  624. pm.Scale = pm.Scale + v3(.7,0,.7)
  625. p2m.Scale = p2m.Scale + v3(.6,0,.6)
  626. wait()
  627. end
  628. wait(10)
  629. p:Destroy()
  630. p2:Destroy()
  631. end)
  632. end
  633.  
  634. function Effect(Pos,x1,y1,z1,x2,y2,z2,color,ref)
  635. local S = Instance.new("Part",Character)
  636. S.FormFactor = 0
  637. S.Size = Vector3.new(1,1,1)
  638. S.BrickColor = color
  639. S.Reflectance = ref or 0
  640. S.TopSurface = 0
  641. S.BottomSurface = 0
  642. S.Transparency = 0.5
  643. S.Anchored = true
  644. S.CanCollide = false
  645. S.CFrame = CFrame.new(Pos)* CFrame.new(x2,y2,z2)* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  646. local msh2 = Instance.new("BlockMesh",S)
  647. msh2.Scale = Vector3.new(x1,y1,z1)
  648. coroutine.wrap(function()
  649. for i = 1,9 do
  650. msh2.Scale = msh2.Scale + Vector3.new(0.1,0.1,0.1)
  651. S.CFrame = S.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  652. S.Transparency = i *0.1
  653. Wait()
  654. end
  655. S:Destroy()
  656. end)()end
  657. function Effect2(part,x1,y1,z1,x2,y2,z2,color,ref)
  658. if part:IsDescendantOf(Workspace)then
  659. local S = Instance.new("Part",Character)
  660. S.FormFactor = 0
  661. S.Size = Vector3.new(1,1,1)
  662. S.BrickColor = color
  663. S.Reflectance = ref or 0
  664. S.TopSurface = 0
  665. S.BottomSurface = 0
  666. S.Transparency = 0.5
  667. S.Anchored = true
  668. S.CanCollide = false
  669. S.CFrame = part.CFrame * CFrame.new(x2,y2,z2)* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  670. local msh2 = Instance.new("BlockMesh",S)
  671. msh2.Scale = Vector3.new(x1,y1,z1)
  672. coroutine.wrap(function()
  673. for i = 1,9 do
  674. msh2.Scale = msh2.Scale + Vector3.new(0.1,0.1,0.1)
  675. S.CFrame = S.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  676. S.Transparency = i *0.1
  677. Wait()
  678. end
  679. S:Destroy()
  680. end)()end end
  681. local function EmberWave(CF,Color)
  682. local p = Instance.new("Part",Character)
  683. p.Anchored = true
  684. p.Locked = true
  685. p.CanCollide = false
  686. p.CFrame = CF
  687. p.Transparency = 1
  688. coroutine.wrap(function()
  689. local x = CFrame.new(math.random(-6,6),math.abs(math.random(-6,6)),math.random(-6,6))
  690. for i = 1,30 do
  691. p.CFrame = p.CFrame *x
  692. x = CFrame.new(math.random(-6,6),math.abs(math.random(-6,6)),math.random(-6,6))
  693. Effect2(p,2.6,2.6,2.6,0,0,0,Color,0.3)
  694. Wait(0.1)
  695. end
  696. p:Destroy()
  697. end)()end
  698.  
  699. function MediumParticleEmit(Object,Color)
  700. coroutine.wrap(function()
  701. while Wait(1.1)do
  702. if not Object then break end
  703. local p = Instance.new("Part",Object.Parent)
  704. p.Name = "Trail"
  705. p.TopSurface = 0
  706. p.BottomSurface = 0
  707. p.Anchored = true
  708. p.CanCollide = false
  709. p.FormFactor = "Custom"
  710. p.Size = Vector3.new(0.01,0.01,0.01)
  711. p.BrickColor = type(Color)== 'userdata' and Color or BrickColor.new(Color)
  712. p.CFrame = Object.CFrame * CFrame.new(math.random(-1,1),math.random(-1,1)-3,math.random(-1,1))
  713. local m = Instance.new("BlockMesh",p)
  714. m.Scale = Vector3.new(2,2,2)
  715. coroutine.wrap(function()
  716. for i = 1,15 do
  717. p.Transparency = i/15
  718. m.Scale = m.Scale + Vector3.new(0.1,0.1,0.1)
  719. p.CFrame = CFrame.new(p.Position + Vector3.new(math.random(-5,5)/20,0.5,math.random(-5,5)/20))* CFrame.fromEulerAnglesXYZ(math.random(-10,10)/i,math.random(-10,10)/i,0.5)
  720. Wait()
  721. end
  722. p:Destroy()
  723. end)()
  724. end
  725. end)()
  726. end
  727.  
  728. coroutine.wrap(function()
  729. for i = 1,4 do
  730. MediumParticleEmit(head,'Dark indigo')
  731. end
  732. end)()
  733.  
  734. if head:FindFirstChild('Mesh') then
  735. if head:FindFirstChild('Mesh'):IsA('BlockMesh') then
  736. head:FindFirstChild('Mesh'):remove()
  737. wait()
  738. local nm = Instance.new('SpecialMesh', head)
  739. nm.MeshType = 'Head'
  740. nm.Scale = Vector3.new(1.25,1.25,1.25)
  741. end
  742. end
  743. if head:FindFirstChild('face') then
  744. head:FindFirstChild('face'):Destroy()--.Texture = 'http://www.roblox.com/asset/?id=128963883'
  745. end
  746.  
  747. function newStat(stat, type, value)
  748. if stats[stat] then return end
  749. stats[stat] = value
  750. return stats[stat]
  751. end
  752.  
  753. local function Implode(CF,Color)
  754. local cf = CF
  755. local f = Instance.new("Part",Character)
  756. f.BrickColor = Color
  757. f.Size = Vector3.new(1,1,1)
  758. f.Anchored = true
  759. f.Locked = true
  760. f.CanCollide = false
  761. f.TopSurface = 0
  762. f.Transparency = 1
  763. f.BottomSurface = 0
  764. f.CFrame = cf
  765. local sm = Instance.new("SpecialMesh",f)
  766. sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  767. sm.Scale = Vector3.new(30,30,30)
  768. coroutine.wrap(function()
  769. for i = 1,10 do
  770. f.Transparency = f.Transparency -0.1
  771. sm.Scale = sm.Scale - Vector3.new(3,3,3)
  772. Wait()
  773. end
  774. f:Destroy()
  775. end)()
  776. local ax = Instance.new("Part",Character)
  777. ax.Size = Vector3.new(30,30,30)
  778. ax.TopSurface = 0
  779. ax.BottomSurface = 0
  780. ax.Transparency = 0
  781. ax.Locked = true
  782. ax.BrickColor = Color
  783. ax.Shape = "Ball"
  784. ax.CanCollide = false
  785. ax.CFrame = cf
  786. ax.Anchored = true
  787. ax.Transparency = 1
  788. coroutine.wrap(function()
  789. for i = 1,10 do
  790. ax.Size = ax.Size - Vector3.new(math.random(1,3)+1,math.random(1,3)+1,math.random(1,3)+1)
  791. ax.Transparency = ax.Transparency -0.1
  792. ax.CFrame = cf
  793. Wait()
  794. end
  795. ax:Destroy()
  796. end)()
  797. end
  798. local function Explode(CF,Color,SMM,BBoom)
  799. local cf = CF
  800. local f = Instance.new("Part",Character)
  801. f.BrickColor = Color
  802. f.Size = Vector3.new(5,1,5)
  803. f.Anchored = true
  804. f.Locked = true
  805. f.CanCollide = false
  806. f.TopSurface = 0
  807. f.BottomSurface = 0
  808. f.CFrame = cf
  809. local sm = Instance.new("SpecialMesh",f)
  810. sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  811. sm.Scale = Vector3.new(5,5,5)
  812. coroutine.wrap(function()
  813. for i = 1,20 do
  814. f.Transparency = f.Transparency +0.05
  815. sm.Scale = sm.Scale + Vector3.new(10,10,10)
  816. Wait()
  817. end
  818. f:Destroy()
  819. end)()
  820. if BBoom then do
  821. local zs = BBoom
  822. local ax = Instance.new("Part",Character)
  823. ax.Size = Vector3.new(1,1,1)
  824. ax.TopSurface = 0
  825. ax.BottomSurface = 0
  826. ax.Transparency = 0
  827. ax.Locked = true
  828. ax.BrickColor = Color
  829. ax.Shape = "Ball"
  830. ax.CanCollide = false
  831. ax.CFrame = zs
  832. ax.Anchored = true
  833. local SMMx = Instance.new("SpecialMesh",ax)
  834. SMMx.MeshId = "http://www.roblox.com/asset/?id=1323306"
  835. SMMx.Scale = Vector3.new(1,1,1)
  836. coroutine.wrap(function()
  837. for i = 1,20 do
  838. SMMx.Scale = SMMx.Scale + Vector3.new(math.random(1,3)+1,math.random(1,3)+1,math.random(1,3)+1)
  839. ax.Transparency = ax.Transparency +0.05
  840. ax.CFrame = zs
  841. Wait()
  842. end
  843. ax:Destroy()
  844. end)()
  845. end
  846. end
  847. local ax = Instance.new("Part",Character)
  848. ax.Size = Vector3.new(1,1,1)
  849. ax.TopSurface = 0
  850. ax.BottomSurface = 0
  851. ax.Transparency = 0
  852. ax.Locked = true
  853. ax.BrickColor = Color
  854. ax.Shape = "Ball"
  855. ax.CanCollide = false
  856. ax.CFrame = cf
  857. ax.Anchored = true
  858. local SMMx do if SMM then
  859. SMMx = Instance.new("SpecialMesh",ax)
  860. SMMx.MeshId = SMM
  861. SMMx.Scale = Vector3.new(1,1,1)
  862. end
  863. end
  864. coroutine.wrap(function()
  865. for i = 1,20 do
  866. if SMM then
  867. SMMx.Scale = SMMx.Scale + Vector3.new(math.random(1,3)+2,math.random(1,3)+2,math.random(1,3)+2)
  868. else
  869. ax.Size = ax.Size + Vector3.new(math.random(1,3)+1,math.random(1,3)+1,math.random(1,3)+1)
  870. end
  871. ax.Transparency = ax.Transparency +0.05
  872. ax.CFrame = cf
  873. Wait()
  874. end
  875. ax:Destroy()
  876. end)()
  877. end
  878. function ParticleEmit(Object,Color,Duration)
  879. local Counter = 0
  880. coroutine.wrap(function()
  881. while Wait(0.3)do
  882. if Counter == Duration then break end
  883. local p = Instance.new("Part",Object.Parent)
  884. p.Name = "Trail"
  885. p.TopSurface = 0
  886. p.BottomSurface = 0
  887. p.Anchored = true
  888. p.CanCollide = false
  889. p.FormFactor = "Custom"
  890. p.Size = Vector3.new(0.01,0.01,0.01)
  891. p.BrickColor = Color and(type(Color)== 'userdata' and Color or BrickColor.new(Color))
  892. p.CFrame = Object.CFrame * CFrame.new(math.random(-1,1),math.random(-1,1)-3,math.random(-1,1))
  893. local m = Instance.new("BlockMesh",p)
  894. m.Scale = Vector3.new(2,2,2)
  895. coroutine.wrap(function()
  896. for i = 1,15 do
  897. p.Transparency = i/15
  898. m.Scale = m.Scale + Vector3.new(0.1,0.1,0.1)
  899. p.CFrame = CFrame.new(p.Position + Vector3.new(math.random(-5,5)/20,0.5,math.random(-5,5)/20))* CFrame.fromEulerAnglesXYZ(math.random(-10,10)/i,math.random(-10,10)/i,0.5)
  900. Wait()
  901. end
  902. p:Destroy()
  903. end)()
  904. end
  905. end)()
  906. if Duration == math.huge then return end
  907. coroutine.wrap(function()
  908. while Wait(1)do
  909. Counter = Counter +1
  910. if Counter == Duration then
  911. break
  912. end
  913. end
  914. end)()
  915. end
  916. function SlowParticleEmit(Object)
  917. coroutine.wrap(function()
  918. while Wait(3.2)do
  919. if not Object then break end
  920. local p = Instance.new("Part",Object.Parent)
  921. p.Name = "Trail"
  922. p.TopSurface = 0
  923. p.BottomSurface = 0
  924. p.Anchored = true
  925. p.CanCollide = false
  926. p.FormFactor = "Custom"
  927. p.Size = Vector3.new(0.01,0.01,0.01)
  928. p.BrickColor = (BrickColor.new("Toothpaste"))
  929. p.CFrame = Object.CFrame * CFrame.new(math.random(-1,1),math.random(-1,1)-3,math.random(-1,1))
  930. local m = Instance.new("BlockMesh",p)
  931. m.Scale = Vector3.new(2,2,2)
  932. coroutine.wrap(function()
  933. for i = 1,15 do
  934. p.Transparency = i/15
  935. m.Scale = m.Scale + Vector3.new(0.1,0.1,0.1)
  936. p.CFrame = CFrame.new(p.Position + Vector3.new(math.random(-5,5)/20,0.5,math.random(-5,5)/20))* CFrame.fromEulerAnglesXYZ(math.random(-10,10)/i,math.random(-10,10)/i,0.5)
  937. Wait()
  938. end
  939. p:Destroy()
  940. end)()
  941. end
  942. end)()
  943. end
  944.  
  945. function slowPoison(Humanoid)
  946. local hps
  947. local hp
  948. if Humanoid == hum then return end
  949. hps = Humanoid.Parent:FindFirstChild('Health',true)
  950. if hps then hp = true end
  951. ypcall(function()
  952. for i = 10,0,-2 do
  953. if not Humanoid.Parent then break end
  954. if hp then hps.Disabled = true end
  955. if Humanoid.WalkSpeed > 5 then
  956. if Humanoid.Health <= 0 then break end
  957. if Humanoid:findFirstChild'Property of Darkus_Theory' and not bypassin then
  958. Humanoid.WalkSpeed = 6
  959. Humanoid.JumpPower = 0
  960. end
  961. --Humanoid.JumpPower = 0
  962. end
  963. local c = getDPS()*.4
  964. damageHuman(Humanoid, c, Humanoid.Parent.Head)
  965. logDamage('Poison', c)
  966. local p = part(Humanoid.Parent,Humanoid.Parent.HumanoidRootPart.CFrame*cn(r(2),r(2),r(2)),v3(.1,0,.1),"Bright green",false,true,0,"SmoothPlastic")
  967. wait(.5+stats['Haste']*3)
  968. end
  969. if Humanoid.WalkSpeed > 5 then
  970. if Humanoid:findFirstChild'Property of Darkus_Theory' and not bypassin then
  971. Humanoid.JumpPower = 50
  972. Humanoid.WalkSpeed = 16
  973. end
  974. end
  975. ypcall(function()
  976. wait(4)
  977. if hps then hps.Disabled = false end
  978. end)
  979. end)
  980. end
  981.  
  982. function expandDong()
  983. local Orbi = Instance.new('Part')
  984. Orbi.Size = Vector3.new(3,3,3)
  985. Orbi.CanCollide = false
  986. Orbi.Locked = true
  987. Orbi.Shape = 'Ball'
  988. Orbi.Anchored = true
  989. Orbi.Parent = char
  990. Orbi.Transparency = .4
  991. Orbi.TopSurface,Orbi.BottomSurface = 0,0
  992. Orbi.Name = 'Expand Dong'
  993. Orbi.BrickColor = BrickColor.new('Dark indigo')
  994. coroutine.wrap(function()
  995. for i,v in pairs(IsNear(torso.Position, 25, nil, true)) do
  996. if v:findFirstChild'Humanoid' then
  997. if Damaged[v:FindFirstChild('Humanoid')] and tick()-Damaged[v:FindFirstChild('Humanoid')] < 1 then return end
  998. local calc = getDPS()*1.4
  999. damageHuman(v:FindFirstChild('Humanoid'), calc, v:findFirstChild'HumanoidRootPart')
  1000. logDamage('Transformation', calc)
  1001. Damaged[v:FindFirstChild('Humanoid')] = tick()
  1002. end
  1003. end
  1004. end)()
  1005. local OrbiMesh = Instance.new('SpecialMesh',Orbi)
  1006. OrbiMesh.Name = 'Dxpand Eong'
  1007. OrbiMesh.Scale = Vector3.new(2, 2, 2)
  1008. OrbiMesh.MeshType = 'Sphere'
  1009. ypcall(function()
  1010. for i = 3,0,-1 do wait(.05)
  1011. OrbiMesh.Scale = OrbiMesh.Scale + Vector3.new(1.5, 1.5, 1.5)
  1012. Orbi.CFrame = torso.CFrame
  1013. end
  1014. for i = .4,1,.05 do
  1015. wait(0.04)
  1016. Orbi.Transparency = i
  1017. end
  1018. Orbi:Destroy()
  1019. end)
  1020. end
  1021.  
  1022. function MarkOfDeath(humreset)
  1023. if not currentTarget then return end
  1024. if checkCooldown('MarkOfDeath') then return end
  1025. setCooldown('MarkOfDeath', 15)
  1026. stats['Focus'] = stats['Focus'] + 30
  1027. local MarkOfDeath = Instance.new('Model')
  1028. MarkOfDeath.Name = 'MarkOfDeath'
  1029. MarkOfDeath.Parent = currentTarget
  1030. ypcall(function()
  1031. for i = 10,0,-1 do
  1032. wait(1)
  1033. end
  1034. if MarkOfDeath.Parent then MarkOfDeath:Destroy() end
  1035. end)
  1036.  
  1037. end
  1038.  
  1039. function useFocus(amount)
  1040. local precalc = stats['Focus']-amount
  1041.  
  1042. if stats['Focus'] < 0 then return false end
  1043. if precalc < 0 then return false end
  1044.  
  1045. stats['Focus'] = precalc
  1046.  
  1047. return true
  1048. end
  1049.  
  1050. function recount()
  1051.  
  1052. local totl = {}
  1053.  
  1054. local function addUp(tbl)
  1055. local total = 0
  1056. for i,v in next,tbl do
  1057. total = total + v
  1058. end
  1059. return total
  1060. end
  1061.  
  1062. local function avg(tbl)
  1063.  
  1064. local num = #tbl
  1065. local nom = addUp(tbl)
  1066.  
  1067. return (nom/num)
  1068. end
  1069.  
  1070. warn('RECOUNT - All Data')
  1071. for i,v in pairs(recountData) do
  1072. local qq = addUp(v)
  1073. print(i..': '..qq..' ('..math.floor(avg(v))..')')
  1074. table.insert(totl, qq)
  1075. end
  1076.  
  1077. warn('TOTAL: '..addUp(totl))
  1078.  
  1079. end
  1080.  
  1081. function logDamage(skill, damage)
  1082.  
  1083. if not recountData[skill] then recountData[skill] = {} end
  1084.  
  1085. local tbl = recountData[skill]
  1086. table.insert(tbl, damage)
  1087.  
  1088. end
  1089. function getDPS(override)
  1090. local crit = math.random(1,15)
  1091. local DPS = ((stats.Agility) * (crit > 11 and stats.CriticalStrikeBonus or 1.2))
  1092. DPS = math.ceil(DPS)
  1093. lastdps = tick()
  1094. if berserk then DPS = DPS * 1.8 end
  1095. if cheating then DPS = DPS * 1.5 end
  1096. return DPS,((crit > 13) and true or false)
  1097. end
  1098.  
  1099. function Berserk()
  1100.  
  1101. if checkCooldown('Berserk') then return end
  1102. if not berserk then if not useFocus(70) then return end end
  1103. stats['Combo Points'] = 0
  1104. if Stealthed then Stealth() end
  1105. changing = true
  1106. hum.WalkSpeed = 0
  1107. transforming = true
  1108. berserk = not berserk
  1109. createSuit()
  1110. stats['Haste'] = (berserk and .02 or hst)
  1111. script.Name = (not berserk and 'Assassination' or 'Berserker')
  1112. cylinderOpen(head.CFrame, 'Black', 'Dark indigo')
  1113. otheranims = true
  1114. Mode = (berserk and 'Roaring' or 'StealthIdling')
  1115. wait(.6)
  1116. if berserk then
  1117. Dagger.Size = Vector3.new(1, 5, 1)
  1118. DaggerMesh.MeshId = "http://www.roblox.com/asset/?id=31758253"
  1119. DaggerMesh.Scale = Vector3.new(0.3, 0.33, 0.3)
  1120. DaggerWeld = Instance.new('Weld',Dagger)
  1121. DaggerWeld.Name = 'DaggerWeld'
  1122. DaggerWeld.C0 = CFrame.new(0,-.95, -1.8) * CFrame.Angles(math.rad(90), 0, math.rad(180))
  1123. DaggerWeld.Part0 = ra
  1124. DaggerWeld.Part1 = Dagger
  1125.  
  1126. Katana.Size = Vector3.new(1, 1, 5)
  1127. KatanaMesh.MeshId = "http://www.roblox.com/asset/?id=103978363"
  1128. KatanaMesh.Scale = Vector3.new(0.6, 0.33, 0.8)
  1129. KatanaWeld = Instance.new('Weld',Katana)
  1130. KatanaWeld.C0 = CFrame.new(0,-.95, -1.8) * CFrame.Angles(math.rad(180), 0, math.rad(90))
  1131. KatanaWeld.Part0 = la
  1132. KatanaWeld.Part1 = Katana
  1133. hum.MaxHealth = 650
  1134. hum:TakeDamage(-100)
  1135. coroutine.wrap(function()
  1136. btimer = 35
  1137. while btimer > 0 do
  1138. wait(1)
  1139. btimer = btimer - 1
  1140. setCooldown('Berserk', 30)
  1141. end
  1142. stats['Focus'] = 80
  1143. setCooldown('Berserk', 0)
  1144. btimer = nil
  1145. Berserk()
  1146. wait()
  1147. setCooldown('Berserk', 30)
  1148. end)()
  1149. --burn()
  1150. else
  1151. Dagger.Size = Vector3.new(1, 3.8, 1)
  1152. DaggerMesh.MeshId = "http://www.roblox.com/asset/?id=432556696"
  1153. DaggerMesh.Scale = Vector3.new(.14, .14, .14)
  1154. DaggerWeld = Instance.new('Weld',Dagger)
  1155. DaggerWeld.Name = 'DaggerWeld'
  1156. DaggerWeld.C0 = CFrame.new(0,-.7, -1.2) * CFrame.Angles(-math.rad(180), -math.rad(90), -math.rad(90))
  1157. DaggerWeld.Part0 = ra
  1158. DaggerWeld.Part1 = Dagger
  1159.  
  1160. Katana.Size = Vector3.new(1, 0.8, 5)
  1161. KatanaMesh.MeshId = "http://www.roblox.com/asset/?id=22769578"
  1162. KatanaMesh.Scale = Vector3.new(.23, .23, .23)
  1163. KatanaWeld = Instance.new('Weld',Katana)
  1164. KatanaWeld.C0 = CFrame.new(0,-1.05, 1) * CFrame.Angles(0, 0, math.rad(90))
  1165. KatanaWeld.Part0 = la
  1166. KatanaWeld.Part1 = Katana
  1167. hum.MaxHealth = 500
  1168. if hum.Health-hum.MaxHealth > 0 then
  1169. hum.Health = hum.MaxHealth
  1170. end
  1171.  
  1172. quickSound(216782105, head, 1.3).Volume = .4
  1173. end
  1174. --crater(head.CFrame * CFrame.new(0, -2, 0) ,20,10,'Dark indigo','Plastic')
  1175. wait(.3)
  1176. expandDong()
  1177. wait(.2)
  1178. changing = false
  1179. hum.WalkSpeed = 20
  1180. otheranims = false
  1181. transforming = false
  1182. end
  1183.  
  1184. function damageHuman(hum,d,hit)
  1185. if hum.Health <= 0 then return end
  1186. if hum == Humanoid then return end
  1187. if not hum.Health then return end
  1188. if hum:findFirstChild('Shielding') then return end
  1189. if Ally[hum] then return end
  1190. Title("-"..math.floor(d), ((hit.Parent and hit.Parent~='Workspace') and (hit.Parent:findFirstChild'Head' or Instance.new('Model'))), Color3.new(255/255,0/255,0/255),true,false)
  1191. if hum:FindFirstChild'Property of Darkus_Theory' then
  1192. hum:TakeDamage(math.floor(d))
  1193. else
  1194. hum.Health = hum.Health - math.floor(d)
  1195. end
  1196. if hum.Health <= 0 then logDamage('Kills', 1) Alert('You killed '..hum.Parent.Name..'!', 'Yellow') if (btimer and btimer > 0) then btimer=btimer+10 end end
  1197. end
  1198.  
  1199. function Tag(Humanoid)
  1200. local c = Instance.new("ObjectValue",Humanoid)
  1201. c.Value = plr
  1202. c.Name = "creator"
  1203. end
  1204.  
  1205. function CloneCharacter()
  1206. Character.Archivable = true
  1207. local Clone = Character:Clone()
  1208. for i,v in pairs(Clone:GetChildren())do
  1209. if v:IsA("BasePart") then
  1210. v.Transparency = .1
  1211. v.Reflectance = .1
  1212. end
  1213. end
  1214. Character.Archivable = false
  1215. Clone.Parent = game:service('Workspace')
  1216. Clone.Archivable = false
  1217. game:service('Debris'):AddItem(Clone,9)
  1218. return Clone
  1219. end
  1220. function searchForHumanoid(thing)
  1221. for _,v in pairs(thing:children()) do
  1222. if v:IsA('Humanoid') then
  1223. return v
  1224. end
  1225. end
  1226. return false
  1227. end
  1228. function CreateUI(Player)
  1229. --//Created by Opligitory
  1230. local this = {
  1231. Debounces = {
  1232. HelpOpen = false;
  1233. CoolDownOpen = false;
  1234. NameShowing = true;
  1235. };
  1236. }
  1237. local function Create(ty)
  1238. return function(data)
  1239. local obj = Instance.new(ty)
  1240. for k,v in pairs(data)do
  1241. if type(k) == 'number' then
  1242. v.Parent = obj
  1243. else
  1244. obj[k] = v
  1245. end
  1246. end
  1247. return obj
  1248. end
  1249. end
  1250.  
  1251. local function Thread(f)
  1252. assert(type(f) == 'function',"bad argument #1 'function' expected got "..type(f))
  1253. return coroutine.resume(coroutine.create(f))
  1254. end
  1255.  
  1256. local Rogue = Create("ScreenGui"){
  1257. Parent = Player.PlayerGui;
  1258. Name = "Rogue";
  1259. Archivable = true;
  1260. }
  1261. local Background = Create("Frame"){
  1262. Visible = true;
  1263. Active = false;
  1264. Parent = Rogue;
  1265. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1266. Archivable = true;
  1267. Size = UDim2.new(0, 305, 0, 300);
  1268. Draggable = false;
  1269. ClipsDescendants = false;
  1270. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1271. Style = Enum.FrameStyle.DropShadow;
  1272. BackgroundTransparency = 0;
  1273. Position = UDim2.new(1, -305, 0.5, -50);
  1274. BorderSizePixel = 1;
  1275. Name = "Background";
  1276. BackgroundColor3 = Color3.new(1, 1, 1);
  1277. }
  1278. local mTitle = Create("TextLabel"){
  1279. Visible = true;
  1280. FontSize = Enum.FontSize.Size28;
  1281. Active = false;
  1282. Parent = Background;
  1283. BorderSizePixel = 1;
  1284. TextStrokeTransparency = 1;
  1285. TextXAlignment = Enum.TextXAlignment.Center;
  1286. TextWrapped = false;
  1287. TextWrap = false;
  1288. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1289. TextTransparency = 0;
  1290. Archivable = true;
  1291. Size = UDim2.new(1, 0, 0, 20);
  1292. Draggable = false;
  1293. TextStrokeColor3 = Color3.new(0, 0, 0);
  1294. ClipsDescendants = false;
  1295. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1296. Text = "";
  1297. TextColor3 = Color3.new(1, 1, 1);
  1298. Font = Enum.Font.SourceSans;
  1299. BackgroundTransparency = 1;
  1300. Position = UDim2.new(0, 0, 0, 0);
  1301. Name = "Title";
  1302. TextYAlignment = Enum.TextYAlignment.Center;
  1303. TextScaled = false;
  1304. BackgroundColor3 = Color3.new(1, 1, 1);
  1305. }
  1306. local BreakLine = Create("Frame"){
  1307. Visible = true;
  1308. Active = false;
  1309. Parent = mTitle;
  1310. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1311. Archivable = true;
  1312. Size = UDim2.new(1, 0, 0, 1);
  1313. Draggable = false;
  1314. ClipsDescendants = false;
  1315. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1316. Style = Enum.FrameStyle.Custom;
  1317. BackgroundTransparency = 0;
  1318. Position = UDim2.new(0, 0, 1, 6);
  1319. BorderSizePixel = 0;
  1320. Name = "BreakLine";
  1321. BackgroundColor3 = Color3.new(1, 1, 1);
  1322. }
  1323. local Stats = Create("Frame"){
  1324. Visible = true;
  1325. Active = false;
  1326. Parent = Background;
  1327. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1328. Archivable = true;
  1329. Size = UDim2.new(1, 0, 1, -30);
  1330. Draggable = false;
  1331. ClipsDescendants = false;
  1332. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1333. Style = Enum.FrameStyle.Custom;
  1334. BackgroundTransparency = 1;
  1335. Position = UDim2.new(0, 0, 1, -250);
  1336. BorderSizePixel = 1;
  1337. Name = "Stats";
  1338. BackgroundColor3 = Color3.new(1, 1, 1);
  1339. }
  1340. local Health = Create("Frame"){
  1341. Visible = true;
  1342. Active = false;
  1343. Parent = Stats;
  1344. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1345. Archivable = true;
  1346. Size = UDim2.new(1, 0, 0, 30);
  1347. Draggable = false;
  1348. ClipsDescendants = false;
  1349. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1350. Style = Enum.FrameStyle.Custom;
  1351. BackgroundTransparency = 0;
  1352. Position = UDim2.new(0, 0, 0, 0);
  1353. BorderSizePixel = 0;
  1354. Name = "Health";
  1355. BackgroundColor3 = Color3.new(0.447059, 0.447059, 0.447059);
  1356. }
  1357. local hText = Create("TextLabel"){
  1358. Visible = true;
  1359. FontSize = Enum.FontSize.Size28;
  1360. Active = false;
  1361. Parent = Health;
  1362. BorderSizePixel = 0;
  1363. TextStrokeTransparency = 0.69999998807907;
  1364. TextXAlignment = Enum.TextXAlignment.Center;
  1365. TextWrapped = false;
  1366. TextWrap = false;
  1367. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1368. TextTransparency = 0;
  1369. Archivable = true;
  1370. Size = UDim2.new(1, -8, 1, -8);
  1371. Draggable = false;
  1372. TextStrokeColor3 = Color3.new(0, 0, 0);
  1373. ClipsDescendants = false;
  1374. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1375. Text = "Health: 100/100";
  1376. TextColor3 = Color3.new(1, 1, 1);
  1377. Font = Enum.Font.SourceSans;
  1378. BackgroundTransparency = 1;
  1379. Position = UDim2.new(0, 4, 0, 4);
  1380. Name = "hText";
  1381. TextYAlignment = Enum.TextYAlignment.Center;
  1382. TextScaled = false;
  1383. BackgroundColor3 = Color3.new(1, 0.207843, 0.211765);
  1384. ZIndex = 2;
  1385. }
  1386. local hStatus = Create("TextLabel"){
  1387. Visible = true;
  1388. FontSize = Enum.FontSize.Size28;
  1389. Active = false;
  1390. Parent = Health;
  1391. BorderSizePixel = 0;
  1392. TextStrokeTransparency = 0.69999998807907;
  1393. TextXAlignment = Enum.TextXAlignment.Center;
  1394. TextWrapped = false;
  1395. TextWrap = false;
  1396. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1397. TextTransparency = 0;
  1398. Archivable = true;
  1399. Size = UDim2.new(1, -8, 1, -8);
  1400. Draggable = false;
  1401. TextStrokeColor3 = Color3.new(0, 0, 0);
  1402. ClipsDescendants = false;
  1403. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1404. Text = "";
  1405. TextColor3 = Color3.new(1, 1, 1);
  1406. Font = Enum.Font.SourceSans;
  1407. BackgroundTransparency = 0;
  1408. Position = UDim2.new(0, 4, 0, 4);
  1409. Name = "hStatus";
  1410. TextYAlignment = Enum.TextYAlignment.Center;
  1411. TextScaled = false;
  1412. BackgroundColor3 = Color3.new(1, 0.207843, 0.211765);
  1413.  
  1414. }
  1415. local Focus = Create("Frame"){
  1416. Visible = true;
  1417. Active = false;
  1418. Parent = Stats;
  1419. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1420. Archivable = true;
  1421. Size = UDim2.new(1, 0, 0, 30);
  1422. Draggable = false;
  1423. ClipsDescendants = false;
  1424. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1425. Style = Enum.FrameStyle.Custom;
  1426. BackgroundTransparency = 0;
  1427. Position = UDim2.new(0, 0, 0, 35);
  1428. BorderSizePixel = 0;
  1429. Name = "Focus";
  1430. BackgroundColor3 = Color3.new(0.447059, 0.447059, 0.447059);
  1431. }
  1432. local fText = Create("TextLabel"){
  1433. Visible = true;
  1434. FontSize = Enum.FontSize.Size28;
  1435. Active = false;
  1436. Parent = Focus;
  1437. BorderSizePixel = 0;
  1438. TextStrokeTransparency = 0.69999998807907;
  1439. TextXAlignment = Enum.TextXAlignment.Center;
  1440. TextWrapped = false;
  1441. TextWrap = false;
  1442. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1443. TextTransparency = 0;
  1444. Archivable = true;
  1445. Size = UDim2.new(1, -8, 1, -8);
  1446. Draggable = false;
  1447. TextStrokeColor3 = Color3.new(0, 0, 0);
  1448. ClipsDescendants = false;
  1449. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1450. Text = "Focus: 100/100";
  1451. TextColor3 = Color3.new(1, 1, 1);
  1452. Font = Enum.Font.SourceSans;
  1453. BackgroundTransparency = 1;
  1454. Position = UDim2.new(0, 4, 0, 4);
  1455. Name = "fText";
  1456. TextYAlignment = Enum.TextYAlignment.Center;
  1457. TextScaled = false;
  1458. BackgroundColor3 = Color3.new(1, 0.976471, 0.278431);
  1459. ZIndex = 2;
  1460. }
  1461. local fStatus = Create("TextLabel"){
  1462. Visible = true;
  1463. FontSize = Enum.FontSize.Size28;
  1464. Active = false;
  1465. Parent = Focus;
  1466. BorderSizePixel = 0;
  1467. TextStrokeTransparency = 0.69999998807907;
  1468. TextXAlignment = Enum.TextXAlignment.Center;
  1469. TextWrapped = false;
  1470. TextWrap = false;
  1471. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1472. TextTransparency = 0;
  1473. Archivable = true;
  1474. Size = UDim2.new(1, -8, 1, -8);
  1475. Draggable = false;
  1476. TextStrokeColor3 = Color3.new(0, 0, 0);
  1477. ClipsDescendants = false;
  1478. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1479. Text = "";
  1480. TextColor3 = Color3.new(1, 1, 1);
  1481. Font = Enum.Font.SourceSans;
  1482. BackgroundTransparency = 0;
  1483. Position = UDim2.new(0, 4, 0, 4);
  1484. Name = "fStatus";
  1485. TextYAlignment = Enum.TextYAlignment.Center;
  1486. TextScaled = false;
  1487. BackgroundColor3 = Color3.new(1, 0.976471, 0.278431);
  1488. }
  1489. local CP = Create("Frame"){
  1490. Visible = true;
  1491. Active = false;
  1492. Parent = Stats;
  1493. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1494. Archivable = true;
  1495. Size = UDim2.new(1, 0, 0, 30);
  1496. Draggable = false;
  1497. ClipsDescendants = false;
  1498. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1499. Style = Enum.FrameStyle.Custom;
  1500. BackgroundTransparency = 0;
  1501. Position = UDim2.new(0, 0, 0, 70);
  1502. BorderSizePixel = 0;
  1503. Name = "CP";
  1504. BackgroundColor3 = Color3.new(0.447059, 0.447059, 0.447059);
  1505. }
  1506. local cText = Create("TextLabel"){
  1507. Visible = true;
  1508. FontSize = Enum.FontSize.Size28;
  1509. Active = false;
  1510. Parent = CP;
  1511. BorderSizePixel = 0;
  1512. TextStrokeTransparency = 0.69999998807907;
  1513. TextXAlignment = Enum.TextXAlignment.Center;
  1514. TextWrapped = false;
  1515. TextWrap = false;
  1516. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1517. TextTransparency = 0;
  1518. Archivable = true;
  1519. Size = UDim2.new(1, -8, 1, -8);
  1520. Draggable = false;
  1521. TextStrokeColor3 = Color3.new(0, 0, 0);
  1522. ClipsDescendants = false;
  1523. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1524. Text = "Combo Points: 6/6";
  1525. TextColor3 = Color3.new(1, 1, 1);
  1526. Font = Enum.Font.SourceSans;
  1527. BackgroundTransparency = 1;
  1528. Position = UDim2.new(0, 4, 0, 4);
  1529. Name = "cText";
  1530. TextYAlignment = Enum.TextYAlignment.Center;
  1531. TextScaled = false;
  1532. BackgroundColor3 = Color3.new(0.298039, 1, 0.25098);
  1533. ZIndex = 2;
  1534. }
  1535. local cStatus = Create("TextLabel"){
  1536. Visible = true;
  1537. FontSize = Enum.FontSize.Size28;
  1538. Active = false;
  1539. Parent = CP;
  1540. BorderSizePixel = 0;
  1541. TextStrokeTransparency = 0.69999998807907;
  1542. TextXAlignment = Enum.TextXAlignment.Center;
  1543. TextWrapped = false;
  1544. TextWrap = false;
  1545. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1546. TextTransparency = 0;
  1547. Archivable = true;
  1548. Size = UDim2.new(1, -8, 1, -8);
  1549. Draggable = false;
  1550. TextStrokeColor3 = Color3.new(0, 0, 0);
  1551. ClipsDescendants = false;
  1552. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1553. Text = "";
  1554. TextColor3 = Color3.new(1, 1, 1);
  1555. Font = Enum.Font.SourceSans;
  1556. BackgroundTransparency = 0;
  1557. Position = UDim2.new(0, 4, 0, 4);
  1558. Name = "cStatus";
  1559. TextYAlignment = Enum.TextYAlignment.Center;
  1560. TextScaled = false;
  1561. BackgroundColor3 = Color3.new(0.298039, 1, 0.25098);
  1562. }
  1563. local Target = Create("TextLabel"){
  1564. Visible = true;
  1565. FontSize = Enum.FontSize.Size28;
  1566. Active = false;
  1567. Parent = Stats;
  1568. BorderSizePixel = 1;
  1569. TextStrokeTransparency = 0.69999998807907;
  1570. TextXAlignment = Enum.TextXAlignment.Center;
  1571. TextWrapped = true;
  1572. TextWrap = true;
  1573. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1574. TextTransparency = 0;
  1575. Archivable = true;
  1576. Size = UDim2.new(1, 0, 0, 30);
  1577. Draggable = false;
  1578. TextStrokeColor3 = Color3.new(0, 0, 0);
  1579. ClipsDescendants = false;
  1580. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1581. Text = "Target: Darkus_Theory";
  1582. TextColor3 = Color3.new(1, 1, 1);
  1583. Font = Enum.Font.SourceSans;
  1584. BackgroundTransparency = 1;
  1585. Position = UDim2.new(0, 0, 0, 105);
  1586. Name = "Target";
  1587. TextYAlignment = Enum.TextYAlignment.Center;
  1588. TextScaled = false;
  1589. BackgroundColor3 = Color3.new(1, 1, 1);
  1590. }
  1591. local TargetHp = Create("Frame"){
  1592. Visible = true;
  1593. Active = false;
  1594. Parent = Stats;
  1595. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1596. Archivable = true;
  1597. Size = UDim2.new(1, 0, 0, 30);
  1598. Draggable = false;
  1599. ClipsDescendants = false;
  1600. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1601. Style = Enum.FrameStyle.Custom;
  1602. BackgroundTransparency = 0;
  1603. Position = UDim2.new(0, 0, 0, 140);
  1604. BorderSizePixel = 0;
  1605. Name = "TargetHp";
  1606. BackgroundColor3 = Color3.new(0.447059, 0.447059, 0.447059);
  1607. }
  1608. local tText = Create("TextLabel"){
  1609. Visible = true;
  1610. FontSize = Enum.FontSize.Size28;
  1611. Active = false;
  1612. Parent = TargetHp;
  1613. BorderSizePixel = 0;
  1614. TextStrokeTransparency = 0.69999998807907;
  1615. TextXAlignment = Enum.TextXAlignment.Center;
  1616. TextWrapped = false;
  1617. TextWrap = false;
  1618. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1619. TextTransparency = 0;
  1620. Archivable = true;
  1621. Size = UDim2.new(1, -8, 1, -8);
  1622. Draggable = false;
  1623. TextStrokeColor3 = Color3.new(0, 0, 0);
  1624. ClipsDescendants = false;
  1625. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1626. Text = "Target Health: 100/100";
  1627. TextColor3 = Color3.new(1, 1, 1);
  1628. Font = Enum.Font.SourceSans;
  1629. BackgroundTransparency = 1;
  1630. Position = UDim2.new(0, 4, 0, 4);
  1631. Name = "tText";
  1632. TextYAlignment = Enum.TextYAlignment.Center;
  1633. TextScaled = false;
  1634. BackgroundColor3 = Color3.new(1, 0.207843, 0.211765);
  1635. ZIndex = 2;
  1636. }
  1637. local tStatus = Create("TextLabel"){
  1638. Visible = true;
  1639. FontSize = Enum.FontSize.Size28;
  1640. Active = false;
  1641. Parent = TargetHp;
  1642. BorderSizePixel = 0;
  1643. TextStrokeTransparency = 0.69999998807907;
  1644. TextXAlignment = Enum.TextXAlignment.Center;
  1645. TextWrapped = false;
  1646. TextWrap = false;
  1647. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1648. TextTransparency = 0;
  1649. Archivable = true;
  1650. Size = UDim2.new(1, -8, 1, -8);
  1651. Draggable = false;
  1652. TextStrokeColor3 = Color3.new(0, 0, 0);
  1653. ClipsDescendants = false;
  1654. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1655. Text = "";
  1656. TextColor3 = Color3.new(1, 1, 1);
  1657. Font = Enum.Font.SourceSans;
  1658. BackgroundTransparency = 0;
  1659. Position = UDim2.new(0, 4, 0, 4);
  1660. Name = "tStatus";
  1661. TextYAlignment = Enum.TextYAlignment.Center;
  1662. TextScaled = false;
  1663. BackgroundColor3 = Color3.new(1, 0.207843, 0.211765);
  1664. }
  1665. local Anim = Create("TextLabel"){
  1666. Visible = true;
  1667. FontSize = Enum.FontSize.Size24;
  1668. Active = false;
  1669. Parent = Stats;
  1670. BorderSizePixel = 1;
  1671. TextStrokeTransparency = 0.69999998807907;
  1672. TextXAlignment = Enum.TextXAlignment.Center;
  1673. TextWrapped = false;
  1674. TextWrap = false;
  1675. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1676. TextTransparency = 0;
  1677. Archivable = true;
  1678. Size = UDim2.new(1, 0, 0, 20);
  1679. Draggable = false;
  1680. TextStrokeColor3 = Color3.new(0, 0, 0);
  1681. ClipsDescendants = false;
  1682. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1683. Text = "Animation: Idle";
  1684. TextColor3 = Color3.new(1, 1, 1);
  1685. Font = Enum.Font.SourceSans;
  1686. BackgroundTransparency = 1;
  1687. Position = UDim2.new(0, 0, 0, 175);
  1688. Name = "Anim";
  1689. TextYAlignment = Enum.TextYAlignment.Center;
  1690. TextScaled = false;
  1691. BackgroundColor3 = Color3.new(1, 1, 1);
  1692. }
  1693. local Buttons = Create("Frame"){
  1694. Visible = true;
  1695. Active = false;
  1696. Parent = Stats;
  1697. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1698. Archivable = true;
  1699. Size = UDim2.new(1, 0, 0, 60);
  1700. Draggable = false;
  1701. ClipsDescendants = false;
  1702. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1703. Style = Enum.FrameStyle.Custom;
  1704. BackgroundTransparency = 1;
  1705. Position = UDim2.new(0, 0, 1, -60);
  1706. BorderSizePixel = 1;
  1707. Name = "Buttons";
  1708. BackgroundColor3 = Color3.new(1, 1, 1);
  1709. }
  1710. local HideName = Create("TextButton"){
  1711. Visible = true;
  1712. TextWrapped = false;
  1713. Active = true;
  1714. TextStrokeTransparency = 1;
  1715. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1716. BorderSizePixel = 1;
  1717. Draggable = false;
  1718. Modal = false;
  1719. AutoButtonColor = true;
  1720. TextYAlignment = Enum.TextYAlignment.Center;
  1721. TextScaled = false;
  1722. BackgroundColor3 = Color3.new(1, 1, 1);
  1723. TextStrokeColor3 = Color3.new(0, 0, 0);
  1724. Selected = false;
  1725. Archivable = true;
  1726. Size = UDim2.new(0, 90, 0, 30);
  1727. TextXAlignment = Enum.TextXAlignment.Center;
  1728. FontSize = Enum.FontSize.Size18;
  1729. Parent = Buttons;
  1730. ClipsDescendants = false;
  1731. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1732. Text = "Hide Name";
  1733. TextWrap = false;
  1734. TextTransparency = 0;
  1735. Font = Enum.Font.SourceSans;
  1736. BackgroundTransparency = 0;
  1737. Position = UDim2.new(0, 4, 1, -35);
  1738. TextColor3 = Color3.new(1, 1, 1);
  1739. Style = Enum.ButtonStyle.RobloxRoundDefaultButton;
  1740. Name = "HideName";
  1741. }
  1742. local Controls = Create("TextButton"){
  1743. Visible = true;
  1744. TextWrapped = false;
  1745. Active = true;
  1746. TextStrokeTransparency = 1;
  1747. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1748. BorderSizePixel = 1;
  1749. Draggable = false;
  1750. Modal = false;
  1751. AutoButtonColor = true;
  1752. TextYAlignment = Enum.TextYAlignment.Center;
  1753. TextScaled = false;
  1754. BackgroundColor3 = Color3.new(1, 1, 1);
  1755. TextStrokeColor3 = Color3.new(0, 0, 0);
  1756. Selected = false;
  1757. Archivable = true;
  1758. Size = UDim2.new(0, 90, 0, 30);
  1759. TextXAlignment = Enum.TextXAlignment.Center;
  1760. FontSize = Enum.FontSize.Size18;
  1761. Parent = Buttons;
  1762. ClipsDescendants = false;
  1763. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1764. Text = "Controls";
  1765. TextWrap = false;
  1766. TextTransparency = 0;
  1767. Font = Enum.Font.SourceSans;
  1768. BackgroundTransparency = 0;
  1769. Position = UDim2.new(1, -94, 1, -35);
  1770. TextColor3 = Color3.new(1, 1, 1);
  1771. Style = Enum.ButtonStyle.RobloxRoundDefaultButton;
  1772. Name = "Controls";
  1773. }
  1774. local CoolDownsButton = Create("TextButton"){
  1775. Visible = true;
  1776. TextWrapped = false;
  1777. Active = true;
  1778. TextStrokeTransparency = 1;
  1779. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1780. BorderSizePixel = 1;
  1781. Draggable = false;
  1782. Modal = false;
  1783. AutoButtonColor = true;
  1784. TextYAlignment = Enum.TextYAlignment.Center;
  1785. TextScaled = false;
  1786. BackgroundColor3 = Color3.new(1, 1, 1);
  1787. TextStrokeColor3 = Color3.new(0, 0, 0);
  1788. Selected = false;
  1789. Archivable = true;
  1790. Size = UDim2.new(0, 90, 0, 30);
  1791. TextXAlignment = Enum.TextXAlignment.Center;
  1792. FontSize = Enum.FontSize.Size18;
  1793. Parent = Buttons;
  1794. ClipsDescendants = false;
  1795. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1796. Text = "Cooldowns";
  1797. TextWrap = false;
  1798. TextTransparency = 0;
  1799. Font = Enum.Font.SourceSans;
  1800. BackgroundTransparency = 0;
  1801. Position = UDim2.new(0, 99, 1, -35);
  1802. TextColor3 = Color3.new(1, 1, 1);
  1803. Style = Enum.ButtonStyle.RobloxRoundDefaultButton;
  1804. Name = "CoolDowns";
  1805. }
  1806. local Status = Create("TextLabel"){
  1807. Visible = true;
  1808. FontSize = Enum.FontSize.Size24;
  1809. Active = false;
  1810. Parent = Stats;
  1811. BorderSizePixel = 1;
  1812. TextStrokeTransparency = 0.69999998807907;
  1813. TextXAlignment = Enum.TextXAlignment.Center;
  1814. TextWrapped = false;
  1815. TextWrap = false;
  1816. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1817. TextTransparency = 0;
  1818. Archivable = true;
  1819. Size = UDim2.new(1, 0, 0, 20);
  1820. Draggable = false;
  1821. TextStrokeColor3 = Color3.new(0, 0, 0);
  1822. ClipsDescendants = false;
  1823. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1824. Text = "Status: Normal";
  1825. TextColor3 = Color3.new(1, 1, 1);
  1826. Font = Enum.Font.SourceSans;
  1827. BackgroundTransparency = 1;
  1828. Position = UDim2.new(0, 0, 0, 195);
  1829. Name = "Status";
  1830. TextYAlignment = Enum.TextYAlignment.Center;
  1831. TextScaled = false;
  1832. BackgroundColor3 = Color3.new(1, 1, 1);
  1833. }
  1834. local CoolDowns = Create("Frame"){
  1835. Visible = true;
  1836. Active = false;
  1837. Parent = Background;
  1838. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1839. Archivable = true;
  1840. Size = UDim2.new(1, 20, 0, 100);
  1841. Draggable = false;
  1842. ClipsDescendants = false;
  1843. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1844. Style = Enum.FrameStyle.DropShadow;
  1845. BackgroundTransparency = 0;
  1846. Position = UDim2.new(1, 10, 0, -105);
  1847. BorderSizePixel = 1;
  1848. Name = "CoolDowns";
  1849. BackgroundColor3 = Color3.new(1, 1, 1);
  1850. }
  1851. local Envenom = Create("TextLabel"){
  1852. Visible = true;
  1853. FontSize = Enum.FontSize.Size14;
  1854. Active = false;
  1855. Parent = CoolDowns;
  1856. BorderSizePixel = 0;
  1857. TextStrokeTransparency = 0.69999998807907;
  1858. TextXAlignment = Enum.TextXAlignment.Center;
  1859. TextWrapped = false;
  1860. TextWrap = false;
  1861. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1862. TextTransparency = 0;
  1863. Archivable = true;
  1864. Size = UDim2.new(0, 90, 0, 35);
  1865. Draggable = false;
  1866. TextStrokeColor3 = Color3.new(0, 0, 0);
  1867. ClipsDescendants = false;
  1868. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1869. Text = "Envenom";
  1870. TextColor3 = Color3.new(1, 1, 1);
  1871. Font = Enum.Font.SourceSans;
  1872. BackgroundTransparency = 0;
  1873. Position = UDim2.new(0, 0, 0, 0);
  1874. Name = "Envenom";
  1875. TextYAlignment = Enum.TextYAlignment.Center;
  1876. TextScaled = false;
  1877. BackgroundColor3 = Color3.new(1, 0.376471, 0.439216);
  1878. }
  1879. local Recuperate = Create("TextLabel"){
  1880. Visible = true;
  1881. FontSize = Enum.FontSize.Size14;
  1882. Active = false;
  1883. Parent = CoolDowns;
  1884. BorderSizePixel = 0;
  1885. TextStrokeTransparency = 0.69999998807907;
  1886. TextXAlignment = Enum.TextXAlignment.Center;
  1887. TextWrapped = false;
  1888. TextWrap = false;
  1889. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1890. TextTransparency = 0;
  1891. Archivable = true;
  1892. Size = UDim2.new(0, 90, 0, 35);
  1893. Draggable = false;
  1894. TextStrokeColor3 = Color3.new(0, 0, 0);
  1895. ClipsDescendants = false;
  1896. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1897. Text = "Recuperate";
  1898. TextColor3 = Color3.new(1, 1, 1);
  1899. Font = Enum.Font.SourceSans;
  1900. BackgroundTransparency = 0;
  1901. Position = UDim2.new(0, 100, 0, 0);
  1902. Name = "Recuperate";
  1903. TextYAlignment = Enum.TextYAlignment.Center;
  1904. TextScaled = false;
  1905. BackgroundColor3 = Color3.new(0.329412, 0.898039, 0.282353);
  1906. }
  1907. local Preparation = Create("TextLabel"){
  1908. Visible = true;
  1909. FontSize = Enum.FontSize.Size14;
  1910. Active = false;
  1911. Parent = CoolDowns;
  1912. BorderSizePixel = 0;
  1913. TextStrokeTransparency = 0.69999998807907;
  1914. TextXAlignment = Enum.TextXAlignment.Center;
  1915. TextWrapped = false;
  1916. TextWrap = false;
  1917. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1918. TextTransparency = 0;
  1919. Archivable = true;
  1920. Size = UDim2.new(0, 90, 0, 35);
  1921. Draggable = false;
  1922. TextStrokeColor3 = Color3.new(0, 0, 0);
  1923. ClipsDescendants = false;
  1924. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1925. Text = "Preparation";
  1926. TextColor3 = Color3.new(1, 1, 1);
  1927. Font = Enum.Font.SourceSans;
  1928. BackgroundTransparency = 0;
  1929. Position = UDim2.new(1, -90, 0, 0);
  1930. Name = "Preparation";
  1931. TextYAlignment = Enum.TextYAlignment.Center;
  1932. TextScaled = false;
  1933. BackgroundColor3 = Color3.new(0.270588, 0.85098, 1);
  1934. }
  1935. local DeathFromAbove = Create("TextLabel"){
  1936. Visible = true;
  1937. FontSize = Enum.FontSize.Size14;
  1938. Active = false;
  1939. Parent = CoolDowns;
  1940. BorderSizePixel = 0;
  1941. TextStrokeTransparency = 0.69999998807907;
  1942. TextXAlignment = Enum.TextXAlignment.Center;
  1943. TextWrapped = false;
  1944. TextWrap = false;
  1945. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1946. TextTransparency = 0;
  1947. Archivable = true;
  1948. Size = UDim2.new(0, 110, 0, 35);
  1949. Draggable = false;
  1950. TextStrokeColor3 = Color3.new(0, 0, 0);
  1951. ClipsDescendants = false;
  1952. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1953. Text = "DeathFromAbove";
  1954. TextColor3 = Color3.new(1, 1, 1);
  1955. Font = Enum.Font.SourceSans;
  1956. BackgroundTransparency = 0;
  1957. Position = UDim2.new(0, 0, 0, 45);
  1958. Name = "DeathFromAbove";
  1959. TextYAlignment = Enum.TextYAlignment.Center;
  1960. TextScaled = false;
  1961. BackgroundColor3 = Color3.new(0.694118, 0.298039, 0.701961);
  1962. }
  1963. local Stealth = Create("TextLabel"){
  1964. Visible = true;
  1965. FontSize = Enum.FontSize.Size14;
  1966. Active = false;
  1967. Parent = CoolDowns;
  1968. BorderSizePixel = 0;
  1969. TextStrokeTransparency = 0.69999998807907;
  1970. TextXAlignment = Enum.TextXAlignment.Center;
  1971. TextWrapped = false;
  1972. TextWrap = false;
  1973. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  1974. TextTransparency = 0;
  1975. Archivable = true;
  1976. Size = UDim2.new(0, 70, 0, 35);
  1977. Draggable = false;
  1978. TextStrokeColor3 = Color3.new(0, 0, 0);
  1979. ClipsDescendants = false;
  1980. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  1981. Text = "Stealth";
  1982. TextColor3 = Color3.new(1, 1, 1);
  1983. Font = Enum.Font.SourceSans;
  1984. BackgroundTransparency = 0;
  1985. Position = UDim2.new(0, 120, 0, 45);
  1986. Name = "Stealth";
  1987. TextYAlignment = Enum.TextYAlignment.Center;
  1988. TextScaled = false;
  1989. BackgroundColor3 = Color3.new(0.839216, 0.854902, 0.32549);
  1990. }
  1991. local MarkOfDeath = Create("TextLabel"){
  1992. Visible = true;
  1993. FontSize = Enum.FontSize.Size14;
  1994. Active = false;
  1995. Parent = CoolDowns;
  1996. BorderSizePixel = 0;
  1997. TextStrokeTransparency = 0.69999998807907;
  1998. TextXAlignment = Enum.TextXAlignment.Center;
  1999. TextWrapped = false;
  2000. TextWrap = false;
  2001. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2002. TextTransparency = 0;
  2003. Archivable = true;
  2004. Size = UDim2.new(0, 90, 0, 35);
  2005. Draggable = false;
  2006. TextStrokeColor3 = Color3.new(0, 0, 0);
  2007. ClipsDescendants = false;
  2008. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2009. Text = "MarkOfDeath";
  2010. TextColor3 = Color3.new(1, 1, 1);
  2011. Font = Enum.Font.SourceSans;
  2012. BackgroundTransparency = 0;
  2013. Position = UDim2.new(1, -90, 0, 45);
  2014. Name = "MarkOfDeath";
  2015. TextYAlignment = Enum.TextYAlignment.Center;
  2016. TextScaled = false;
  2017. BackgroundColor3 = Color3.new(0.466667, 0.466667, 0.466667);
  2018. }
  2019. local Help = Create("Frame"){
  2020. Visible = true;
  2021. Active = false;
  2022. Parent = Rogue;
  2023. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2024. Archivable = true;
  2025. Size = UDim2.new(0, 500, 0, 300);
  2026. Draggable = false;
  2027. ClipsDescendants = false;
  2028. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2029. Style = Enum.FrameStyle.DropShadow;
  2030. BackgroundTransparency = 0;
  2031. Position = UDim2.new(1,0,.5,-150);
  2032. BorderSizePixel = 1;
  2033. Name = "Help";
  2034. BackgroundColor3 = Color3.new(1, 1, 1);
  2035. }
  2036. local Title = Create("TextLabel"){
  2037. Visible = true;
  2038. FontSize = Enum.FontSize.Size24;
  2039. Active = false;
  2040. Parent = Help;
  2041. BorderSizePixel = 1;
  2042. TextStrokeTransparency = 1;
  2043. TextXAlignment = Enum.TextXAlignment.Center;
  2044. TextWrapped = false;
  2045. TextWrap = false;
  2046. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2047. TextTransparency = 0;
  2048. Archivable = true;
  2049. Size = UDim2.new(1, 0, 0, 30);
  2050. Draggable = false;
  2051. TextStrokeColor3 = Color3.new(0, 0, 0);
  2052. ClipsDescendants = false;
  2053. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2054. Text = "Rogue Controls";
  2055. TextColor3 = Color3.new(1, 1, 1);
  2056. Font = Enum.Font.SourceSans;
  2057. BackgroundTransparency = 1;
  2058. Position = UDim2.new(0, 0, 0, 0);
  2059. Name = "Title";
  2060. TextYAlignment = Enum.TextYAlignment.Center;
  2061. TextScaled = false;
  2062. BackgroundColor3 = Color3.new(1, 1, 1);
  2063. }
  2064. local Border = Create("Frame"){
  2065. Visible = true;
  2066. Active = false;
  2067. Parent = Title;
  2068. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2069. Archivable = true;
  2070. Size = UDim2.new(1, 0, 0, 1);
  2071. Draggable = false;
  2072. ClipsDescendants = false;
  2073. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2074. Style = Enum.FrameStyle.Custom;
  2075. BackgroundTransparency = 0;
  2076. Position = UDim2.new(0, 0, 1, 0);
  2077. BorderSizePixel = 0;
  2078. Name = "Border";
  2079. BackgroundColor3 = Color3.new(1, 1, 1);
  2080. }
  2081. local Content = Create("ScrollingFrame"){
  2082. Visible = true;
  2083. Active = false;
  2084. Parent = Help;
  2085. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2086. Archivable = true;
  2087. Size = UDim2.new(1, 0, 1, -65);
  2088. Draggable = false;
  2089. ClipsDescendants = true;
  2090. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2091. ScrollBarThickness = 7;
  2092. BackgroundTransparency = 0;
  2093. Position = UDim2.new(0, 0, 0, 35);
  2094. BorderSizePixel = 0;
  2095. Name = "Content";
  2096. BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549);
  2097. CanvasSize = UDim2.new(1,0,1.45,0)
  2098. }
  2099. local Line7 = Create("TextLabel"){
  2100. Visible = true;
  2101. FontSize = Enum.FontSize.Size18;
  2102. Active = false;
  2103. Parent = Content;
  2104. BorderSizePixel = 1;
  2105. TextStrokeTransparency = 1;
  2106. TextXAlignment = Enum.TextXAlignment.Left;
  2107. TextWrapped = true;
  2108. TextWrap = true;
  2109. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2110. TextTransparency = 0;
  2111. Archivable = true;
  2112. Size = UDim2.new(1, 0, 0, 30);
  2113. Draggable = false;
  2114. TextStrokeColor3 = Color3.new(0, 0, 0);
  2115. ClipsDescendants = false;
  2116. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2117. Text = "[X] - [Death From Above]: Powerful finisher hp < 35%";
  2118. TextColor3 = Color3.new(1, 1, 1);
  2119. Font = Enum.Font.SourceSans;
  2120. BackgroundTransparency = 1;
  2121. Position = UDim2.new(0, 0, 0, 190);
  2122. Name = "Line7";
  2123. TextYAlignment = Enum.TextYAlignment.Center;
  2124. TextScaled = false;
  2125. BackgroundColor3 = Color3.new(1, 1, 1);
  2126. }
  2127. local Line6 = Create("TextLabel"){
  2128. Visible = true;
  2129. FontSize = Enum.FontSize.Size18;
  2130. Active = false;
  2131. Parent = Content;
  2132. BorderSizePixel = 1;
  2133. TextStrokeTransparency = 1;
  2134. TextXAlignment = Enum.TextXAlignment.Left;
  2135. TextWrapped = true;
  2136. TextWrap = true;
  2137. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2138. TextTransparency = 0;
  2139. Archivable = true;
  2140. Size = UDim2.new(1, 0, 0, 30);
  2141. Draggable = false;
  2142. TextStrokeColor3 = Color3.new(0, 0, 0);
  2143. ClipsDescendants = false;
  2144. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2145. Text = "[V] - [Preparation]: Rests CP and regenerates Focus.";
  2146. TextColor3 = Color3.new(1, 1, 1);
  2147. Font = Enum.Font.SourceSans;
  2148. BackgroundTransparency = 1;
  2149. Position = UDim2.new(0, 0, 0, 160);
  2150. Name = "Line6";
  2151. TextYAlignment = Enum.TextYAlignment.Center;
  2152. TextScaled = false;
  2153. BackgroundColor3 = Color3.new(1, 1, 1);
  2154. }
  2155. local Line5 = Create("TextLabel"){
  2156. Visible = true;
  2157. FontSize = Enum.FontSize.Size18;
  2158. Active = false;
  2159. Parent = Content;
  2160. BorderSizePixel = 1;
  2161. TextStrokeTransparency = 1;
  2162. TextXAlignment = Enum.TextXAlignment.Left;
  2163. TextWrapped = true;
  2164. TextWrap = true;
  2165. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2166. TextTransparency = 0;
  2167. Archivable = true;
  2168. Size = UDim2.new(1, 0, 0, 30);
  2169. Draggable = false;
  2170. TextStrokeColor3 = Color3.new(0, 0, 0);
  2171. ClipsDescendants = false;
  2172. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2173. Text = "[E] - [Recuperate]: Heals you and adds CP.";
  2174. TextColor3 = Color3.new(1, 1, 1);
  2175. Font = Enum.Font.SourceSans;
  2176. BackgroundTransparency = 1;
  2177. Position = UDim2.new(0, 0, 0, 130);
  2178. Name = "Line5";
  2179. TextYAlignment = Enum.TextYAlignment.Center;
  2180. TextScaled = false;
  2181. BackgroundColor3 = Color3.new(1, 1, 1);
  2182. }
  2183. local Line4 = Create("TextLabel"){
  2184. Visible = true;
  2185. FontSize = Enum.FontSize.Size18;
  2186. Active = false;
  2187. Parent = Content;
  2188. BorderSizePixel = 1;
  2189. TextStrokeTransparency = 1;
  2190. TextXAlignment = Enum.TextXAlignment.Left;
  2191. TextWrapped = true;
  2192. TextWrap = true;
  2193. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2194. TextTransparency = 0;
  2195. Archivable = true;
  2196. Size = UDim2.new(1, 0, 0, 30);
  2197. Draggable = false;
  2198. TextStrokeColor3 = Color3.new(0, 0, 0);
  2199. ClipsDescendants = false;
  2200. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2201. Text = "[R] - [ShadowStep]: Teleports you behind targeted player.";
  2202. TextColor3 = Color3.new(1, 1, 1);
  2203. Font = Enum.Font.SourceSans;
  2204. BackgroundTransparency = 1;
  2205. Position = UDim2.new(0, 0, 0, 100);
  2206. Name = "Line4";
  2207. TextYAlignment = Enum.TextYAlignment.Center;
  2208. TextScaled = false;
  2209. BackgroundColor3 = Color3.new(1, 1, 1);
  2210. }
  2211. local Line3 = Create("TextLabel"){
  2212. Visible = true;
  2213. FontSize = Enum.FontSize.Size18;
  2214. Active = false;
  2215. Parent = Content;
  2216. BorderSizePixel = 1;
  2217. TextStrokeTransparency = 1;
  2218. TextXAlignment = Enum.TextXAlignment.Left;
  2219. TextWrapped = true;
  2220. TextWrap = true;
  2221. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2222. TextTransparency = 0;
  2223. Archivable = true;
  2224. Size = UDim2.new(1, 0, 0, 40);
  2225. Draggable = false;
  2226. TextStrokeColor3 = Color3.new(0, 0, 0);
  2227. ClipsDescendants = false;
  2228. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2229. Text = "[Q] - [Envenom]: Attacks player with your max health if their hp is below 20%.";
  2230. TextColor3 = Color3.new(1, 1, 1);
  2231. Font = Enum.Font.SourceSans;
  2232. BackgroundTransparency = 1;
  2233. Position = UDim2.new(0, 0, 0, 60);
  2234. Name = "Line3";
  2235. TextYAlignment = Enum.TextYAlignment.Top;
  2236. TextScaled = false;
  2237. BackgroundColor3 = Color3.new(1, 1, 1);
  2238. }
  2239. local Line2 = Create("TextLabel"){
  2240. Visible = true;
  2241. FontSize = Enum.FontSize.Size18;
  2242. Active = false;
  2243. Parent = Content;
  2244. BorderSizePixel = 1;
  2245. TextStrokeTransparency = 1;
  2246. TextXAlignment = Enum.TextXAlignment.Left;
  2247. TextWrapped = false;
  2248. TextWrap = false;
  2249. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2250. TextTransparency = 0;
  2251. Archivable = true;
  2252. Size = UDim2.new(1, 0, 0, 30);
  2253. Draggable = false;
  2254. TextStrokeColor3 = Color3.new(0, 0, 0);
  2255. ClipsDescendants = false;
  2256. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2257. Text = "[T] - [Target]: Sets the targeted player.";
  2258. TextColor3 = Color3.new(1, 1, 1);
  2259. Font = Enum.Font.SourceSans;
  2260. BackgroundTransparency = 1;
  2261. Position = UDim2.new(0, 0, 0, 30);
  2262. Name = "Line2";
  2263. TextYAlignment = Enum.TextYAlignment.Center;
  2264. TextScaled = false;
  2265. BackgroundColor3 = Color3.new(1, 1, 1);
  2266. }
  2267. local Line1 = Create("TextLabel"){
  2268. Visible = true;
  2269. FontSize = Enum.FontSize.Size18;
  2270. Active = false;
  2271. Parent = Content;
  2272. BorderSizePixel = 1;
  2273. TextStrokeTransparency = 1;
  2274. TextXAlignment = Enum.TextXAlignment.Left;
  2275. TextWrapped = false;
  2276. TextWrap = false;
  2277. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2278. TextTransparency = 0;
  2279. Archivable = true;
  2280. Size = UDim2.new(1, 0, 0, 30);
  2281. Draggable = false;
  2282. TextStrokeColor3 = Color3.new(0, 0, 0);
  2283. ClipsDescendants = false;
  2284. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2285. Text = "[Ctrl+Jump]: Boost jump";
  2286. TextColor3 = Color3.new(1, 1, 1);
  2287. Font = Enum.Font.SourceSans;
  2288. BackgroundTransparency = 1;
  2289. Position = UDim2.new(0, 0, 0, 0);
  2290. Name = "Line1";
  2291. TextYAlignment = Enum.TextYAlignment.Center;
  2292. TextScaled = false;
  2293. BackgroundColor3 = Color3.new(1, 1, 1);
  2294. }
  2295. local Line8 = Create("TextLabel"){
  2296. Visible = true;
  2297. FontSize = Enum.FontSize.Size18;
  2298. Active = false;
  2299. Parent = Content;
  2300. BorderSizePixel = 1;
  2301. TextStrokeTransparency = 1;
  2302. TextXAlignment = Enum.TextXAlignment.Left;
  2303. TextWrapped = true;
  2304. TextWrap = true;
  2305. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2306. TextTransparency = 0;
  2307. Archivable = true;
  2308. Size = UDim2.new(1, 0, 0, 30);
  2309. Draggable = false;
  2310. TextStrokeColor3 = Color3.new(0, 0, 0);
  2311. ClipsDescendants = false;
  2312. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2313. Text = "[F] - [Stealth]: Hides you (Cannot be used in Berserk Form)";
  2314. TextColor3 = Color3.new(1, 1, 1);
  2315. Font = Enum.Font.SourceSans;
  2316. BackgroundTransparency = 1;
  2317. Position = UDim2.new(0, 0, 0, 220);
  2318. Name = "Line8";
  2319. TextYAlignment = Enum.TextYAlignment.Center;
  2320. TextScaled = false;
  2321. BackgroundColor3 = Color3.new(1, 1, 1);
  2322. }
  2323. local Line9 = Create("TextLabel"){
  2324. Visible = true;
  2325. FontSize = Enum.FontSize.Size18;
  2326. Active = false;
  2327. Parent = Content;
  2328. BorderSizePixel = 1;
  2329. TextStrokeTransparency = 1;
  2330. TextXAlignment = Enum.TextXAlignment.Left;
  2331. TextWrapped = true;
  2332. TextWrap = true;
  2333. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2334. TextTransparency = 0;
  2335. Archivable = true;
  2336. Size = UDim2.new(1, 0, 0, 30);
  2337. Draggable = false;
  2338. TextStrokeColor3 = Color3.new(0, 0, 0);
  2339. ClipsDescendants = false;
  2340. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2341. Text = "[C] - [MarkOfDeath]: x2 Dmg to your current target";
  2342. TextColor3 = Color3.new(1, 1, 1);
  2343. Font = Enum.Font.SourceSans;
  2344. BackgroundTransparency = 1;
  2345. Position = UDim2.new(0, 0, 0, 250);
  2346. Name = "Line9";
  2347. TextYAlignment = Enum.TextYAlignment.Center;
  2348. TextScaled = false;
  2349. BackgroundColor3 = Color3.new(1, 1, 1);
  2350. }
  2351.  
  2352. local Line10 = Create("TextLabel"){
  2353. Visible = true;
  2354. FontSize = Enum.FontSize.Size18;
  2355. Active = false;
  2356. Parent = Content;
  2357. BorderSizePixel = 1;
  2358. TextStrokeTransparency = 1;
  2359. TextXAlignment = Enum.TextXAlignment.Left;
  2360. TextWrapped = true;
  2361. TextWrap = true;
  2362. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2363. TextTransparency = 0;
  2364. Archivable = true;
  2365. Size = UDim2.new(1, 0, 0, 30);
  2366. Draggable = false;
  2367. TextStrokeColor3 = Color3.new(0, 0, 0);
  2368. ClipsDescendants = false;
  2369. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2370. Text = "[n] - [ShadowSight]: Monitor your target";
  2371. TextColor3 = Color3.new(1, 1, 1);
  2372. Font = Enum.Font.SourceSans;
  2373. BackgroundTransparency = 1;
  2374. Position = UDim2.new(0, 0, 0, 280);
  2375. Name = "Line10";
  2376. TextYAlignment = Enum.TextYAlignment.Center;
  2377. TextScaled = false;
  2378. BackgroundColor3 = Color3.new(1, 1, 1);
  2379. }
  2380.  
  2381. local Line11 = Create("TextLabel"){
  2382. Visible = true;
  2383. FontSize = Enum.FontSize.Size18;
  2384. Active = false;
  2385. Parent = Content;
  2386. BorderSizePixel = 1;
  2387. TextStrokeTransparency = 1;
  2388. TextXAlignment = Enum.TextXAlignment.Left;
  2389. TextWrapped = true;
  2390. TextWrap = true;
  2391. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2392. TextTransparency = 0;
  2393. Archivable = true;
  2394. Size = UDim2.new(1, 0, 0, 30);
  2395. Draggable = false;
  2396. TextStrokeColor3 = Color3.new(0, 0, 0);
  2397. ClipsDescendants = false;
  2398. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2399. Text = "[Z] - [ShadowBall]: Throw a ball of shadow energy (Requires Berserk Form)";
  2400. TextColor3 = Color3.new(1, 1, 1);
  2401. Font = Enum.Font.SourceSans;
  2402. BackgroundTransparency = 1;
  2403. Position = UDim2.new(0, 0, 0, 310);
  2404. Name = "Line11";
  2405. TextYAlignment = Enum.TextYAlignment.Center;
  2406. TextScaled = false;
  2407. BackgroundColor3 = Color3.new(1, 1, 1);
  2408. }
  2409.  
  2410. local Line12 = Create("TextLabel"){
  2411. Visible = true;
  2412. FontSize = Enum.FontSize.Size18;
  2413. Active = false;
  2414. Parent = Content;
  2415. BorderSizePixel = 1;
  2416. TextStrokeTransparency = 1;
  2417. TextXAlignment = Enum.TextXAlignment.Left;
  2418. TextWrapped = true;
  2419. TextWrap = true;
  2420. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2421. TextTransparency = 0;
  2422. Archivable = true;
  2423. Size = UDim2.new(1, 0, 0, 30);
  2424. Draggable = false;
  2425. TextStrokeColor3 = Color3.new(0, 0, 0);
  2426. ClipsDescendants = false;
  2427. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2428. Text = "[U] - [Katana Storm]: Rains down katanas (Requires Berserk Form)";
  2429. TextColor3 = Color3.new(1, 1, 1);
  2430. Font = Enum.Font.SourceSans;
  2431. BackgroundTransparency = 1;
  2432. Position = UDim2.new(0, 0, 0, 340);
  2433. Name = "Line12";
  2434. TextYAlignment = Enum.TextYAlignment.Center;
  2435. TextScaled = false;
  2436. BackgroundColor3 = Color3.new(1, 1, 1);
  2437. }
  2438. local Line15 = Create("TextLabel"){
  2439. Visible = true;
  2440. FontSize = Enum.FontSize.Size18;
  2441. Active = false;
  2442. Parent = Content;
  2443. BorderSizePixel = 1;
  2444. TextStrokeTransparency = 1;
  2445. TextXAlignment = Enum.TextXAlignment.Left;
  2446. TextWrapped = true;
  2447. TextWrap = true;
  2448. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2449. TextTransparency = 0;
  2450. Archivable = true;
  2451. Size = UDim2.new(1, 0, 0, 30);
  2452. Draggable = false;
  2453. TextStrokeColor3 = Color3.new(0, 0, 0);
  2454. ClipsDescendants = false;
  2455. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2456. Text = "[Y] - [EnemyToggle]: Toggles enemy/friendly.";
  2457. TextColor3 = Color3.new(1, 1, 1);
  2458. Font = Enum.Font.SourceSans;
  2459. BackgroundTransparency = 1;
  2460. Position = UDim2.new(0, 0, 0, 75);
  2461. Name = "Line15";
  2462. TextYAlignment = Enum.TextYAlignment.Center;
  2463. TextScaled = false;
  2464. BackgroundColor3 = Color3.new(1, 1, 1);
  2465. }
  2466. local Line13 = Create("TextLabel"){
  2467. Visible = true;
  2468. FontSize = Enum.FontSize.Size18;
  2469. Active = false;
  2470. Parent = Content;
  2471. BorderSizePixel = 1;
  2472. TextStrokeTransparency = 1;
  2473. TextXAlignment = Enum.TextXAlignment.Left;
  2474. TextWrapped = true;
  2475. TextWrap = true;
  2476. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2477. TextTransparency = 0;
  2478. Archivable = true;
  2479. Size = UDim2.new(1, 0, 0, 30);
  2480. Draggable = false;
  2481. TextStrokeColor3 = Color3.new(0, 0, 0);
  2482. ClipsDescendants = false;
  2483. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2484. Text = "[ALT] - [Berserker]: Goes into a bloodlust rage mode";
  2485. TextColor3 = Color3.new(1, 1, 1);
  2486. Font = Enum.Font.SourceSans;
  2487. BackgroundTransparency = 1;
  2488. Position = UDim2.new(0, 0, 0, 370);
  2489. Name = "Line13";
  2490. TextYAlignment = Enum.TextYAlignment.Center;
  2491. TextScaled = false;
  2492. BackgroundColor3 = Color3.new(1, 1, 1);
  2493. }
  2494. local Line14 = Create("TextLabel"){
  2495. Visible = true;
  2496. FontSize = Enum.FontSize.Size18;
  2497. Active = false;
  2498. Parent = Content;
  2499. BorderSizePixel = 1;
  2500. TextStrokeTransparency = 1;
  2501. TextXAlignment = Enum.TextXAlignment.Left;
  2502. TextWrapped = true;
  2503. TextWrap = true;
  2504. SizeConstraint = Enum.SizeConstraint.RelativeXY;
  2505. TextTransparency = 0;
  2506. Archivable = true;
  2507. Size = UDim2.new(1, 0, 0, 30);
  2508. Draggable = false;
  2509. TextStrokeColor3 = Color3.new(0, 0, 0);
  2510. ClipsDescendants = false;
  2511. BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843);
  2512. Text = "[B] - [Shield]: Activates a shield to protect you (Requires Berserk Form)";
  2513. TextColor3 = Color3.new(1, 1, 1);
  2514. Font = Enum.Font.SourceSans;
  2515. BackgroundTransparency = 1;
  2516. Position = UDim2.new(0, 0, 0, 400);
  2517. Name = "Line14";
  2518. TextYAlignment = Enum.TextYAlignment.Center;
  2519. TextScaled = false;
  2520. BackgroundColor3 = Color3.new(1, 1, 1);
  2521. }
  2522.  
  2523. this.Skills = {
  2524. ["Envenom"] = Envenom;
  2525. ["Recuperate"] = Recuperate;
  2526. ["Preparation"] = Preparation;
  2527. ["DeathFromAbove"] = DeathFromAbove;
  2528. ["Stealth"] = Stealth;
  2529. ["MarkOfDeath"] = MarkOfDeath;
  2530. }
  2531.  
  2532. function this:SetHealth(newHealth,MaxHealth)
  2533. local OldSize = hStatus.Size
  2534. hStatus.Size = UDim2.new(0, newHealth / MaxHealth * 281,0,22)
  2535. hText.Text = "Health: "..tostring(newHealth).."/"..tostring(MaxHealth).." ("..math.floor((newHealth/MaxHealth)*100).."%)"
  2536. end
  2537.  
  2538. HideName.MouseButton1Down:connect(function()
  2539.  
  2540. end)
  2541.  
  2542. function this:SetFocus(int)
  2543. local OldSize = fStatus.Size
  2544. fStatus.Size = UDim2.new(0, int / 100 * 281,0,22)
  2545. fText.Text = "Focus: "..tostring(int).."/100"
  2546. end
  2547.  
  2548. function this:SetCP(int)--//Combo Points
  2549. local OldSize = cStatus.Size
  2550. cStatus.Size = UDim2.new(0, int / 6 * 281,0,22)
  2551. cText.Text = "Combo Points: "..tostring(int).."/6"
  2552. end
  2553.  
  2554. function this:SetTarget(targ)
  2555. if targ=='No Target' then
  2556. Target.Text = 'No Target'
  2557. else
  2558. Target.Text = (isFriendly() and 'Ally' or 'Enemy')..": "..targ
  2559. end
  2560. end
  2561.  
  2562. function this:SetTH(newHealth,MaxHealth)--//Target Health
  2563. if not type(newHealth) == 'number' then newHealth = 0 end
  2564. if not type(MaxHealth) == 'number' then MaxHealth = 0 end
  2565. local OldSize = tStatus.Size
  2566. tStatus.Size = UDim2.new(0, newHealth / MaxHealth * 281,0,22)
  2567. tText.Text = "Health: "..tostring(newHealth).."/"..tostring(MaxHealth)..(newHealth > 0 and " ("..math.floor((newHealth/MaxHealth)*100).."%)" or "")
  2568. end
  2569.  
  2570. function this:SetTitle()
  2571. mTitle.Text = (('~~~~ %s Rogue ~~~~'):format(script.Name))
  2572. end
  2573.  
  2574. function this:ToggleHelp()
  2575. Thread(function()
  2576. if this.Debounces.HelpOpen == true then
  2577. Help:TweenPosition(UDim2.new(1,0,.5,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1)
  2578. this.Debounces.HelpOpen = false
  2579. elseif this.Debounces.HelpOpen == false then
  2580. Help:TweenPosition(UDim2.new(0.5, -320,.5,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1)
  2581. this.Debounces.HelpOpen = true
  2582. end
  2583. end)
  2584. end
  2585.  
  2586. function this:ToggleCD()
  2587. Thread(function()
  2588. if this.Debounces.CoolDownOpen == true then
  2589. CoolDowns:TweenPosition(UDim2.new(1,10,0,-105),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1)
  2590. this.Debounces.CoolDownOpen = false
  2591. elseif this.Debounces.CoolDownOpen == false then
  2592. CoolDowns:TweenPosition(UDim2.new(0,-10,0,-105),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1)
  2593. this.Debounces.CoolDownOpen = true
  2594. end
  2595. end)
  2596. end
  2597.  
  2598. function this:SetCD(skill,int)
  2599. assert(this.Skills[skill] ~= nil,"not a valid skill")
  2600. local Skill = this.Skills[skill]
  2601. if int > 0 then
  2602. Skill.Text = skill..": "..tostring(int).."s"
  2603. else
  2604. Skill.Text = skill
  2605. end
  2606. end
  2607.  
  2608. function this:SetAnim(s)
  2609. Anim.Text = "Animation: "..tostring(s)
  2610. end
  2611.  
  2612. function this:SetStatus(s)
  2613. Status.Text = "Status: "..tostring(s)
  2614. end
  2615.  
  2616. Controls.MouseButton1Down:connect(function()this:ToggleHelp()end)
  2617. CoolDownsButton.MouseButton1Down:connect(function()this:ToggleCD()end)
  2618. return this
  2619. end
  2620. local UI = CreateUI(game.Players.LocalPlayer)
  2621.  
  2622. function isFriendly()
  2623.  
  2624. if currentTarget == hum then return end
  2625.  
  2626. if Friendly[currentTarget] then return true end
  2627.  
  2628. return false
  2629. end
  2630.  
  2631. function toggleFriendly()
  2632.  
  2633. if currentTarget == hum then return end
  2634.  
  2635. pcall(function()if Friendly[currentTarget] then Friendly[currentTarget] = nil else Friendly[currentTarget] = currentTarget end end)
  2636.  
  2637. end
  2638.  
  2639. create = function(ClassName, Properties) local Instance = Instance.new(ClassName)local Properties = Properties or {}local ConnectionIndexes = {"MouseClick","MouseHoverEnter","MouseHoverLeave","MouseButton1Down","MouseButton2Down"}local CheckConnection = function(Index)local Index = tostring(Index) for _, Connect in pairs(ConnectionIndexes) do if Index:lower() == Connect:lower() then return true end end return false end for Index, Value in pairs(Properties) do if not CheckConnection(Index) then Instance[Index] = Value else Instance[Index]:connect(Value) end end return Instance end
  2640. createSuit = function()
  2641. if Bin:children()[1] then Bin:ClearAllChildren() return end
  2642. -- Actual Part Holder --
  2643. local Holder = create('Model',{Name='DELTA_SUIT',Parent=Bin})
  2644. -- Left Arm --
  2645. local Part = create('Part',{CanCollide=false,Name='Left_Arm_B',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(2,.6,2),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2646. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.42,.51,.42),MeshType='Brick'})
  2647. local Weld = create('Weld',{Parent=Part,Part0=Body.LA,Part1=Part,C1=CFrame.new(0,-.85,0)})
  2648. Parts["Left_Arm_B"] = Part
  2649. local Part = create('Part',{CanCollide=false,Name='Left_Arm_A',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1,2,.7),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2650. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.51,.98,.3),MeshType='Brick'})
  2651. local Weld = create('Weld',{Parent=Part,Part0=Body.LA,Part1=Part,C1=CFrame.new(.25,0,0)})
  2652. Parts["Left_Arm_A"] = Part
  2653. local Part = create('Part',{CanCollide=false,Name='Left_Arm_1',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1,1,1),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2654. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.2,1.98,.2),MeshType='Brick'})
  2655. local Weld = create('Weld',{Parent=Part,Part0=Body.LA,Part1=Part,C1=CFrame.new(.57,0,0)*CFrame.Angles(0,math.rad(45),0)})
  2656. Parts["Left_Arm_1"] = Part
  2657. local Part = create('Part',{CanCollide=false,Name='Left_Arm_2',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1,1,1),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2658. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.2,1.98,.2),MeshType='Brick'})
  2659. local Weld = create('Weld',{Parent=Part,Part0=Body.LA,Part1=Part,C1=CFrame.new(0,0,-.57)*CFrame.Angles(0,math.rad(45),0)})
  2660. Parts["Left_Arm_2"] = Part
  2661. local Part = create('Part',{CanCollide=false,Name='Left_Arm_3',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1,1,1),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2662. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.2,1.98,.2),MeshType='Brick'})
  2663. local Weld = create('Weld',{Parent=Part,Part0=Body.LA,Part1=Part,C1=CFrame.new(-.57,0,0)*CFrame.Angles(0,math.rad(45),0)})
  2664. Parts["Left_Arm_3"] = Part
  2665. local Part = create('Part',{CanCollide=false,Name='Left_Arm_3',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1,1,1),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2666. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.2,1.98,.2),MeshType='Brick'})
  2667. local Weld = create('Weld',{Parent=Part,Part0=Body.LA,Part1=Part,C1=CFrame.new(0,0,.57)*CFrame.Angles(0,math.rad(45),0)})
  2668. Parts["Left_Arm_4"] = Part
  2669. -- Right Arm --
  2670. local Part = create('Part',{CanCollide=false,Name='Right_Arm_B',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(2,.6,2),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2671. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.42,.51,.42),MeshType='Brick'})
  2672. local Weld = create('Weld',{Parent=Part,Part0=Body.RA,Part1=Part,C1=CFrame.new(0,-.85,0)})
  2673. Parts["Right_Arm_B"] = Part
  2674. local Part = create('Part',{CanCollide=false,Name='Right_Arm_A',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1,2,.7),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2675. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.51,.98,.3),MeshType='Brick'})
  2676. local Weld = create('Weld',{Parent=Part,Part0=Body.RA,Part1=Part,C1=CFrame.new(-.25,0,0)})
  2677. Parts["Right_Arm_A"] = Part
  2678. local Part = create('Part',{CanCollide=false,Name='Right_Arm_1',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1,1,1),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2679. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.2,1.98,.2),MeshType='Brick'})
  2680. local Weld = create('Weld',{Parent=Part,Part0=Body.RA,Part1=Part,C1=CFrame.new(-.57,0,0)*CFrame.Angles(0,math.rad(45),0)})
  2681. Parts["Right_Arm_1"] = Part
  2682. local Part = create('Part',{CanCollide=false,Name='Right_Arm_2',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1,1,1),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2683. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.2,1.98,.2),MeshType='Brick'})
  2684. local Weld = create('Weld',{Parent=Part,Part0=Body.RA,Part1=Part,C1=CFrame.new(0,0,.57)*CFrame.Angles(0,math.rad(45),0)})
  2685. Parts["Right_Arm_2"] = Part
  2686. local Part = create('Part',{CanCollide=false,Name='Right_Arm_3',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1,1,1),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2687. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.2,1.98,.2),MeshType='Brick'})
  2688. local Weld = create('Weld',{Parent=Part,Part0=Body.RA,Part1=Part,C1=CFrame.new(.57,0,0)*CFrame.Angles(0,math.rad(45),0)})
  2689. Parts["Right_Arm_3"] = Part
  2690. local Part = create('Part',{CanCollide=false,Name='Right_Arm_4',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1,1,1),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2691. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.2,1.98,.2),MeshType='Brick'})
  2692. local Weld = create('Weld',{Parent=Part,Part0=Body.RA,Part1=Part,C1=CFrame.new(0,0,-.57)*CFrame.Angles(0,math.rad(45),0)})
  2693. Parts["Right_Arm_4"] = Part
  2694. -- Left Leg --
  2695. local Part = create('Part',{CanCollide=false,Name='Left_Leg_B',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(2,1,2),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2696. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.51,.6,.51),MeshType='Brick'})
  2697. local Weld = create('Weld',{Parent=Part,Part0=Body.LL,Part1=Part,C1=CFrame.new(0,.71,0)})
  2698. Parts["Left_Leg_B"] = Part
  2699. local Part = create('Part',{CanCollide=false,Name='Left_Leg_T',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1,2,1),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2700. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.51,.98,.21),MeshType='Brick'})
  2701. local Weld = create('Weld',{Parent=Part,Part0=Body.LL,Part1=Part,C1=CFrame.new(.25,0,0)})
  2702. Parts["Left_Leg_T"] = Part
  2703. -- Right Leg --
  2704. local Part = create('Part',{CanCollide=false,Name='Right_Leg_B',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(2,1,2),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2705. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.51,.6,.51),MeshType='Brick'})
  2706. local Weld = create('Weld',{Parent=Part,Part0=Body.RL,Part1=Part,C1=CFrame.new(0,.71,0)})
  2707. Parts["Right_Leg_B"] = Part
  2708. local Part = create('Part',{CanCollide=false,Name='Right_Leg_T',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1,2,1),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2709. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.51,.98,.21),MeshType='Brick'})
  2710. local Weld = create('Weld',{Parent=Part,Part0=Body.RL,Part1=Part,C1=CFrame.new(-.25,0,0)})
  2711. Parts["Right_Leg_T"] = Part
  2712. -- Front Torso --
  2713. local Part = create('Part',{CanCollide=false,Name='Front_Torso_A',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(1.2,1.2,1.2),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2714. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.6,.6,.4),MeshType='Sphere'})
  2715. local Weld = create('Weld',{Parent=Part,Part0=Body.T,Part1=Part,C1=CFrame.new(0,0,.4)})
  2716. Parts["Front_Torso_A"] = Part
  2717. local Part = create('Part',{CanCollide=false,Name='Front_Torso_B',Parent=Bin["DELTA_SUIT"],Material='Neon',Size=Vector3.new(1.2,1.2,1.2),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Secondary)})
  2718. local Mesh = create('SpecialMesh',{Name='Mesh',Parent=Part,Scale=Vector3.new(.4,.4,.3),MeshType='Sphere'})
  2719. local Weld = create('Weld',{Parent=Part,Part0=Body.T,Part1=Part,C1=CFrame.new(0,0,.5)})
  2720. Parts["Front_Torso_B"] = Part
  2721. coroutine.resume(coroutine.create(function()
  2722. while Parts["Front_Torso_B"] and Parts["Front_Torso_B"].Parent do
  2723. local p = Parts["Front_Torso_B"]
  2724. local asd = p:Clone()
  2725. asd.Parent = p.Parent
  2726. asd.Weld.C1 = CFrame.new(0,0,0)
  2727. asd.Weld.Part0 = p
  2728. asd.Weld.Part1 = asd
  2729. asd.Material = 'Plastic'
  2730. for i = 0,1,.1 do
  2731. if not asd and asd.Mesh and asd.Mesh.Parent then break end
  2732. pcall(function()
  2733. asd.Mesh.Scale = asd.Mesh.Scale + Vector3.new(.03,.03,.03)
  2734. asd.Transparency = i
  2735. end)
  2736. game:service'RunService'.Stepped:wait()
  2737. end
  2738. asd:Destroy()
  2739. wait(math.random(1,3))
  2740. end
  2741. end))
  2742. local Part = create('Part',{CanCollide=false,Name='Front_Torso_1',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(.5,2,.5),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2743. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.4,.66,.4),MeshType='Brick'})
  2744. local Weld = create('Weld',{Parent=Part,Part0=Body.T,Part1=Part,C1=CFrame.new(0,-.55,.42)*CFrame.Angles(0,0,math.rad(40))})
  2745. Parts["Front_Torso_1"] = Part
  2746. local Part = create('Part',{CanCollide=false,Name='Front_Torso_2',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(.5,2,.5),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2747. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.4,.66,.4),MeshType='Brick'})
  2748. local Weld = create('Weld',{Parent=Part,Part0=Body.T,Part1=Part,C1=CFrame.new(0,-.55,.42)*CFrame.Angles(0,0,-math.rad(40))})
  2749. Parts["Front_Torso_2"] = Part
  2750. local Part = create('Part',{CanCollide=false,Name='Front_Torso_3',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(.5,2,.5),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2751. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(2.2,.4,.4),MeshType='Cylinder'})
  2752. local Weld = create('Weld',{Parent=Part,Part0=Body.T,Part1=Part,C1=CFrame.new(0,-.97,-.8)*CFrame.Angles(0,math.rad(90),0)})
  2753. Parts["Front_Torso_3"] = Part
  2754. local Part = create('Part',{CanCollide=false,Name='Front_Torso_4',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(.5,2,.5),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2755. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(2.2,.4,.4),MeshType='Cylinder'})
  2756. local Weld = create('Weld',{Parent=Part,Part0=Body.T,Part1=Part,C1=CFrame.new(0,-.97,-.8)*CFrame.Angles(0,-math.rad(90),0)})
  2757. Parts["Front_Torso_4"] = Part
  2758. -- Back Torso --
  2759. local Part = create('Part',{CanCollide=false,Name='Back_Torso_A',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(.5,2,.5),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2760. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.51,.51,.51),MeshType='Brick'})
  2761. local Weld = create('Weld',{Parent=Part,Part0=Body.T,Part1=Part,C1=CFrame.new(.4,0,-.44)})
  2762. Parts["Back_Torso_A"] = Part
  2763. local Part = create('Part',{CanCollide=false,Name='Back_Torso_B',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(.5,2,.5),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2764. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.51,.51,.51),MeshType='Brick'})
  2765. local Weld = create('Weld',{Parent=Part,Part0=Body.T,Part1=Part,C1=CFrame.new(-.4,0,-.44)})
  2766. Parts["Back_Torso_B"] = Part
  2767. local Part = create('Part',{CanCollide=false,Name='Back_Torso_C',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(.5,2.3,.5),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2768. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.51,.51,.51),MeshType='Brick'})
  2769. local Weld = create('Weld',{Parent=Part,Part0=Body.T,Part1=Part,C1=CFrame.new(0,0,-.5)*CFrame.Angles(math.rad(25),0,0)})
  2770. Parts["Back_Torso_C"] = Part
  2771. local Part = create('Part',{CanCollide=false,Name='Back_Torso_D',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(.5,2.3,.5),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2772. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.51,.51,.51),MeshType='Brick'})
  2773. local Weld = create('Weld',{Parent=Part,Part0=Body.T,Part1=Part,C1=CFrame.new(0,0,-.38)*CFrame.Angles(0,0,math.rad(90))})
  2774. Parts["Back_Torso_D"] = Part
  2775. local Part = create('Part',{CanCollide=false,Name='Back_Torso_1',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(.5,2,.5),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2776. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.4,.4,.4),MeshType='Brick'})
  2777. local Weld = create('Weld',{Parent=Part,Part0=Body.T,Part1=Part,C1=CFrame.new(0,-.9,-.42)*CFrame.Angles(0,0,math.rad(40))})
  2778. Parts["Back_Torso_1"] = Part
  2779. local Part = create('Part',{CanCollide=false,Name='Back_Torso_2',Parent=Bin["DELTA_SUIT"],Size=Vector3.new(.5,2,.5),TopSurface=0,BottomSurface=0,BrickColor=BrickColor.new(Colors.Primary)})
  2780. local Mesh = create('SpecialMesh',{Parent=Part,Scale=Vector3.new(.4,.4,.4),MeshType='Brick'})
  2781. local Weld = create('Weld',{Parent=Part,Part0=Body.T,Part1=Part,C1=CFrame.new(0,-.9,-.42)*CFrame.Angles(0,0,-math.rad(40))})
  2782. Parts["Back_Torso_2"] = Part
  2783. end
  2784.  
  2785.  
  2786. function Title(txt,part,color,rise,spell)
  2787. local col = color
  2788. local Gui = Instance.new("BillboardGui",part)
  2789. Gui.Name = "3DGUI"
  2790. Gui.ExtentsOffset = Vector3.new(0,2,0)
  2791. Gui.Size = UDim2.new(8,0,2,0)
  2792. local Tit = Instance.new("TextLabel",Gui)
  2793. Tit.Name = "Gooey"
  2794. Tit.TextColor3 = col
  2795. Tit.TextTransparency = 0.25
  2796. Tit.TextStrokeColor3 = col
  2797. Tit.TextStrokeTransparency = 1
  2798. Tit.Size = UDim2.new(1,0,1,0)
  2799. Tit.BackgroundTransparency = 1
  2800. Tit.Font = "Arial"
  2801. Tit.TextScaled = true
  2802. Tit.Text = txt
  2803. if rise then
  2804. if not tonumber(rise) then rise = 6 end
  2805. coroutine.wrap(function()
  2806. local randvar = (spell and 0 or math.random(-4,4))
  2807. while Tit.Parent and Gui.Parent and wait() do
  2808. Gui.ExtentsOffset = Gui.ExtentsOffset + Vector3.new(0.025*randvar,0.025*rise,0.025)
  2809. end
  2810. end)()
  2811. end
  2812. game:service('Debris'):AddItem(Gui,2)
  2813. return Tit
  2814. end
  2815.  
  2816. function downFTH()
  2817. local handle = Dagger:Clone()
  2818. handle.CanCollide = false
  2819. handle.DaggerWeld:Destroy()
  2820. handle.Size = handle.Size * Vector3.new(5,5,5)
  2821. handle.Parent = char
  2822. handle.DaggerMesh.Scale = handle.DaggerMesh.Scale * Vector3.new(5, 5, 5)
  2823. handle.CFrame = cn(rootpart.CFrame.x,rootpart.CFrame.y+100,rootpart.CFrame.z)
  2824. local bp = ins("BodyPosition",handle)
  2825. bp.maxForce = v3(math.huge,math.huge,math.huge)*math.huge
  2826. bp.P = 6^5.5
  2827. bp.position = cn(rootpart.CFrame.x,rootpart.CFrame.y+100,rootpart.CFrame.z).p
  2828. local bg = ins("BodyGyro",handle)
  2829. local targ = cn(rootpart.CFrame.x+math.random(-40,40),rootpart.CFrame.y-3,rootpart.CFrame.z+math.random(-40,40))
  2830. bg.maxTorque = v3(1,1,1)/1
  2831. bp.position = (targ*CFrame.Angles(math.rad(180),0,0)).p
  2832. repeat game:service'RunService'.Stepped:wait()
  2833. bg.cframe = cn(handle.Position,targ.p)*ca(pi/2, 0,0)
  2834. local mag = (handle.Position-targ.p).magnitude
  2835. until mag < 2
  2836. bp.position = bp.position + v3(0,2,0)
  2837. crater(targ,2,4,"Bright green","Grass")
  2838. crownExplode(targ,"Dark indigo")
  2839. cylinderOpen(handle.CFrame,"Black","Dark indigo")
  2840. game:service'Debris':AddItem(handle,8)
  2841. for i,v in pairs(IsNear(handle.Position, 25)) do
  2842. if Damaged[v:FindFirstChild('Humanoid')] and tick()-Damaged[v:FindFirstChild('Humanoid')] < 3 then return end
  2843. local calc = getDPS()*4
  2844. damageHuman(v:FindFirstChild('Humanoid'), calc, v.Head)
  2845. quickSound(444667824, v.Head, .8)
  2846. logDamage('Katana Storm', calc)
  2847. Damaged[v:FindFirstChild('Humanoid')] = tick()
  2848. end
  2849. end
  2850.  
  2851. function DamageNear(Pos,Mag,Dmg,x)
  2852. local Targets,HitAlready = {},{}
  2853. for i,v in pairs(workspace:GetChildren())do
  2854. if v:IsA("Model")and v ~= Character and v:findFirstChild("Humanoid")then
  2855. for _,x in pairs(v:GetChildren())do
  2856. if x:IsA("BasePart")then
  2857. if(Pos -x.Position).magnitude <= Mag then
  2858. table.insert(Targets,v)
  2859. end
  2860. end
  2861. end
  2862. end
  2863. end
  2864. for i,v in pairs(Targets)do
  2865. if not HitAlready[v.Name]then
  2866. ypcall(function()
  2867. end)
  2868. HitAlready[v.Name] = true
  2869. end
  2870. end
  2871. end
  2872.  
  2873. function weld(thing1,thing2)
  2874. local a = Instance.new('Weld');
  2875. pcall(function()
  2876. a.Parent = thing1;
  2877. a.Part0 = thing1;
  2878. a.Part1 = thing2;
  2879. a.C0 = thing1.CFrame:inverse()*thing2.CFrame
  2880. end)
  2881. return a
  2882. end
  2883.  
  2884. function IsNear(Position,Distance,SinglePlayer,db)
  2885. if SinglePlayer then
  2886. return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance
  2887. end
  2888. local List = {}
  2889. for i,v in pairs(workspace:GetChildren())do
  2890. if v:IsA("Model")then
  2891. if v:findFirstChild("HumanoidRootPart")then
  2892. --if (v ~= char and not db) then
  2893. if(v.HumanoidRootPart.CFrame.p -Position).magnitude < Distance then
  2894. table.insert(List,v)
  2895. end
  2896. --end
  2897. end
  2898. end
  2899. end
  2900. return List
  2901. end
  2902.  
  2903.  
  2904. function createOrb()
  2905.  
  2906. local Orb = Instance.new("Model")
  2907. Orb.Name = "OrbModel"
  2908. local PurplePart = Instance.new("Part", Orb)
  2909. PurplePart.BrickColor = BrickColor.new("Black")
  2910. PurplePart.Anchored = true
  2911. PurplePart.Locked = true
  2912. PurplePart.CanCollide = false
  2913. PurplePart.Name = 'PurplePart'
  2914. PurplePart.Material = 'Neon'
  2915. PurplePart.Size = Vector3.new(1, 1, 1)
  2916. PurplePart.BottomSurface = Enum.SurfaceType.Smooth
  2917. PurplePart.TopSurface = Enum.SurfaceType.Smooth
  2918. PurpleMesh = Instance.new("SpecialMesh", PurplePart)
  2919. PurpleMesh.MeshType = Enum.MeshType.FileMesh
  2920. PurpleMesh.Name = "Mesh"
  2921. PurpleMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  2922. PurpleMesh.VertexColor = Vector3.new(1, 0, 1)
  2923.  
  2924. local Ring = Instance.new("Part", PurplePart)
  2925. Ring.Name = "BlastRing"
  2926. Ring.TopSurface = 0
  2927. Ring.BottomSurface = 0
  2928. Ring.CanCollide = false
  2929. Ring.Anchored = true
  2930. Ring.Locked = true
  2931. Ring.BrickColor = BrickColor.new('Dark indigo')
  2932. Ring.Size = Vector3.new(1,1,1)
  2933. local RingMesh = Instance.new("SpecialMesh",Ring)
  2934. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2935. RingMesh.Name = "BlastMesh"
  2936.  
  2937.  
  2938. Orb.Parent = char
  2939. OrbModel = Orb
  2940.  
  2941. local Light = Instance.new("PointLight", PurplePart)
  2942. Light.Name = "HeadLight"
  2943. Light.Color = Color3.new(1,0,1)
  2944. Light.Range = 6
  2945. Light.Brightness = 20
  2946.  
  2947. local con = game:GetService("RunService").RenderStepped:connect(function()
  2948. local Targ
  2949. if not currentTarget then Targ = hum else Targ = currentTarget end
  2950.  
  2951. if Targ:FindFirstChild('MarkOfDeath') then
  2952. PurplePart.BrickColor = BrickColor.new'Really red'
  2953. Ring.BrickColor = BrickColor.new'White'
  2954. else
  2955. PurplePart.BrickColor = BrickColor.new'Black'
  2956. Ring.BrickColor = BrickColor.new'Dark indigo'
  2957. end
  2958.  
  2959. local c = math.abs(math.cos(tick()))
  2960.  
  2961. if c <= .5 then c = .5 end
  2962.  
  2963. PurpleMesh.Scale = Vector3.new(c*.7, c*1.1, c*.7)
  2964. RingMesh.Scale = Vector3.new(c*.9, c*.9, c*.9)
  2965.  
  2966. PurplePart.CFrame = PurplePart.CFrame:lerp((Targ.Parent and Targ.Parent or char).Head.CFrame*CFrame.new(0,3,0),.5)
  2967. Ring.CFrame = CFrame.new(PurplePart.Position)* CFrame.fromEulerAnglesXYZ(-math.rad(90+(math.sin(tick())*6)), 0, -math.rad(90+(math.sin(tick())*6)))
  2968. end)
  2969.  
  2970. local chnge = function(a)
  2971. if a=='Name' then
  2972. Orb:Destroy()
  2973. con:disconnect()
  2974. createOrb()
  2975. elseif a=='Parent' then
  2976. Orb:Destroy()
  2977. con:disconnect()
  2978. createOrb()
  2979. elseif a=='Locked' then
  2980. Orb:Destroy()
  2981. con:disconnect()
  2982. createOrb()
  2983. elseif a=='Anchored' then
  2984. Orb:Destroy()
  2985. con:disconnect()
  2986. createOrb()
  2987. end
  2988. end
  2989.  
  2990. Orb.Changed:connect(chnge)
  2991. Ring.Changed:connect(chnge)
  2992. PurplePart.Changed:connect(chnge)
  2993. return Orb
  2994. end
  2995.  
  2996.  
  2997. function isFriendly()
  2998.  
  2999. if currentTarget == hum then return end
  3000.  
  3001. if Ally[currentTarget] then return true end
  3002.  
  3003. return false
  3004. end
  3005.  
  3006. function toggleFriendly()
  3007.  
  3008. if currentTarget == hum then return end
  3009.  
  3010. pcall(function()if Ally[currentTarget] then Ally[currentTarget] = nil else Ally[currentTarget] = true end end)
  3011.  
  3012. end
  3013.  
  3014. function Ringz(part,col)
  3015. for i = 1,6 do
  3016. local p = Instance.new("Part", Character)
  3017. p.Name = "BlastRing"
  3018. p.TopSurface = 0
  3019. p.BottomSurface = 0
  3020. p.CanCollide = false
  3021. p.Anchored = true
  3022. p.BrickColor = BrickColor.new(col)
  3023. p.Size = Vector3.new(1,1,1)
  3024. p.CFrame = CFrame.new(part.Position - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
  3025. local rm = Instance.new("SpecialMesh",p)
  3026. rm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3027. rm.Name = "BlastMesh"
  3028. rm.Scale = Vector3.new(1,1,1)
  3029. coroutine.wrap(function()
  3030. for n = 1,15 do
  3031. rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*.8
  3032. if 2 +i/5 == 1.2 then
  3033. rm.Scale = rm.Scale + Vector3.new(0,0.9,0)
  3034. end
  3035. p.Transparency = n/15
  3036. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0)
  3037. Wait()
  3038. end
  3039. p:Destroy()
  3040. end)()
  3041. end
  3042. end
  3043. hum.JumpPower = 10
  3044. Character.Humanoid.Jumping:connect(function()
  3045. if beaming then return end
  3046. if Jumping then return end
  3047. local eCtrl = Ctrl
  3048. if eCtrl then if not useFocus(5) then return end end
  3049. Mode = 'Jumping'
  3050. Jumping = true
  3051. if eCtrl then
  3052. if berserk then
  3053. coroutine.wrap(function()
  3054. for i,v in pairs(IsNear(torso.Position, 10, nil, true)) do
  3055. if Damaged[v:FindFirstChild('Humanoid')] and tick()-Damaged[v:FindFirstChild('Humanoid')] < 1 then return end
  3056. local calc = getDPS()*.8
  3057. damageHuman(v:FindFirstChild('Humanoid'), calc, v:findFirstChild'HumanoidRootPart')
  3058. logDamage('Jump', calc)
  3059. Damaged[v:FindFirstChild('Humanoid')] = tick()
  3060. end
  3061. end)()
  3062. end
  3063. crownExplode(torso.CFrame * CFrame.new(0, math.rad(90), 0), 'Black', .2)
  3064. end
  3065. local vu = Instance.new("BodyVelocity",torso)
  3066. vu.P = 500
  3067. vu.maxForce = Vector3.new(10000000000,5000000000000000000000,100000000000)
  3068. vu.velocity = Vector3.new((head.CFrame.lookVector.X*(eCtrl and 100 or 10)),(eCtrl and 20 or 60),(head.CFrame.lookVector.Z*(eCtrl and 100 or 10)))
  3069. game:GetService("Debris"):AddItem(vu,0.267)
  3070. wait(0.6)
  3071. Jumping = false
  3072. end)
  3073.  
  3074. function Stealth()
  3075. if Stealthed then
  3076. setCooldown('Stealth', 15)
  3077. Stealthed = false
  3078. for i,v in pairs(char:children()) do
  3079. if v:isA('BasePart') then
  3080. v.Transparency = 0
  3081. end
  3082. end
  3083. rootpart.Transparency = 1
  3084. char.Parent = workspace
  3085. hum.WalkSpeed = 20
  3086. quickSound(167199184, head)
  3087. end
  3088. if checkCooldown('Stealth') then return end
  3089. if not useFocus(15) then return end
  3090. --ypcall(function() CloneCharacter() end)
  3091. if not cheating then
  3092. if (math.random(1,10) > 8) then
  3093. local asd = Instance.new('Part')
  3094. asd.Size = Vector3.new(1.5,6.5,1.5)
  3095. asd.BrickColor = BrickColor.new('Brown')
  3096. asd.Material = 'Wood'
  3097. asd.Name = 'haha bih'
  3098. asd.Parent = workspace
  3099. asd.Anchored = true
  3100. asd.CFrame = torso.CFrame
  3101. asd.Anchored = false
  3102. Instance.new('CylinderMesh',asd)
  3103. game:service'Debris':AddItem(asd,15)
  3104. else
  3105. local c = CloneCharacter()
  3106. c.HumanoidRootPart.Transparency = 1
  3107. end
  3108. end
  3109. for i,v in pairs(head:children'') do
  3110. if v.Name=='3DGUI'then
  3111. v:Destroy''
  3112. end
  3113. end
  3114. for i,v in pairs(char:children()) do
  3115. if v:isA('BasePart') then
  3116. v.Transparency = .25
  3117. end
  3118. end
  3119. rootpart.Transparency = 1
  3120. wait()
  3121. char.Parent = game:service'Workspace'.CurrentCamera
  3122. char.Humanoid.WalkSpeed = 40
  3123. Stealthed = true
  3124. quickSound(167199184, head)
  3125. end
  3126.  
  3127. hum.Died:connect(function()
  3128. plr.CameraMaxZoomDistance = math.huge
  3129. recount()
  3130. end)
  3131.  
  3132. Search = false
  3133.  
  3134. function shadowSight()
  3135.  
  3136. if Search == false then
  3137. Search = true
  3138. for i,v in pairs(game.Players:getPlayers()) do
  3139. if v.Name~=char.Name then
  3140. for j,k in pairs(v.Character:GetChildren()) do
  3141. if k:IsA("BasePart") and k.Transparency >= 1 then
  3142. bawx=Instance.new("SelectionBox",camera)
  3143. bawx.Color = BrickColor.new("Bright red")
  3144. bawx.Transparency = .5
  3145. bawx.Adornee = k
  3146. end
  3147. end
  3148. end
  3149. end
  3150. camera.CameraSubject = OrbModel.PurplePart
  3151. elseif Search == true then
  3152. Search = false
  3153. for i, v in pairs(camera:GetChildren()) do
  3154. if v:IsA("SelectionBox") then
  3155. v:Destroy()
  3156. end
  3157. end
  3158. camera.CameraSubject = hum
  3159. end
  3160.  
  3161. end
  3162.  
  3163. function shadowStep()
  3164. if not currentTarget then return end
  3165. if Cooldowns['Shadowstep'] and tick()-Cooldowns['Shadowstep'] < 15 then return end
  3166. if not useFocus(20) then return end
  3167. if not Stealthed then Stealth() end
  3168. local t = currentTarget
  3169. rootpart.CFrame = t.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,3)
  3170. Cooldowns['Shadowstep'] = tick()
  3171. if t:findFirstChild'Property of Darkus_Theory' then
  3172. ypcall(function()
  3173. for i = 3,0,-1 do
  3174. t.WalkSpeed = 0
  3175. t.JumpPower = 0
  3176. wait(1)
  3177. end
  3178. t.WalkSpeed = 16
  3179. t.JumpPower = 50
  3180. end)
  3181. end
  3182. end
  3183.  
  3184. function updateCooldowns()
  3185. local Skills = {
  3186. ["Envenom"] = true;
  3187. ["Recuperate"] = true;
  3188. ["Preparation"] = true;
  3189. ["DeathFromAbove"] = true;
  3190. ["Stealth"] = true;
  3191. ["MarkOfDeath"] = true;
  3192. }
  3193.  
  3194. for i,v in pairs(Skills) do
  3195. if Cooldowns[i] then
  3196. local data = math.floor(Cooldowns[i].timeRequired-(tick()-Cooldowns[i].startTime))
  3197. if not data then data = -1 end
  3198. UI:SetCD(tostring(i), data)
  3199. end
  3200. end
  3201.  
  3202. end
  3203.  
  3204. function lerp(weld,beglerp,endlerp,speed)
  3205. weld.C0 = beglerp:lerp(endlerp,speed)
  3206. return weld.C0
  3207. end
  3208.  
  3209. newStat("Focus", 'NumberValue', 20)
  3210. newStat("Combo Points", 'NumberValue', 0)
  3211. newStat("Agility", 'NumberValue', Agility)
  3212. newStat("Haste", 'NumberValue', Haste)
  3213. newStat("CriticalStrikeBonus", 'NumberValue', 2)
  3214.  
  3215. hum.WalkSpeed = 20
  3216. hum.MaxHealth = 500
  3217. wait()
  3218. hum.Health = 500
  3219. lastenrage = tick()
  3220.  
  3221. Alert = function(txt, color, font, fontsize)
  3222. local Colorz = {
  3223. ["Red"] = Color3.new(255/255,0,0);
  3224. ["Green"] = Color3.new(0,255/255,0);
  3225. ["Blue"] = Color3.new(0,0,255/255);
  3226. ["Purple"] = Color3.new(255/255,255/255,0);
  3227. ["Black"] = Color3.new(0,0,0);
  3228. ["White"] = Color3.new(1,1,1);
  3229. ['Orange'] = Color3.new(1,0.5,0);
  3230. ['Yellow'] = Color3.new(1,1,0);
  3231. };
  3232.  
  3233. game:GetService('StarterGui'):SetCore('ChatMakeSystemMessage', {
  3234. Text = (txt and txt or 'nil'),
  3235. Color = (color and Colorz[color] or Color3.new(.8,0,0)),
  3236. Font = (font and font or 'SourceSansLight'),
  3237. FontSize = (fontsize and fontsize or 'Size14'),
  3238. })
  3239. end
  3240.  
  3241. function giveBuff(buffName, stat, duration, addition, targ)
  3242. local nTarg
  3243. nTarg = targ or currentTarget
  3244. if not nTarg then nTarg = hum end
  3245.  
  3246. local pckt = Instance.new('Model')
  3247. pckt.Name = 'BUFF:'..buffName
  3248. pckt.Parent = nTarg
  3249. local Stat = Instance.new('StringValue')
  3250. Stat.Name = 'Stat'
  3251. Stat.Value = stat
  3252. Stat.Parent = pckt
  3253. local Duration = Instance.new('StringValue')
  3254. Duration.Name = 'Duration'
  3255. Duration.Value = duration
  3256. Duration.Parent = pckt
  3257. local Addition = Instance.new('StringValue')
  3258. Addition.Name = 'Addition'
  3259. Addition.Value = addition
  3260. Addition.Parent = pckt
  3261.  
  3262. end
  3263.  
  3264. hum.ChildAdded:connect(function(obj)
  3265. if obj.Name:sub(1,5)=='BUFF:' then
  3266. if Buffs[obj.Name] then return end
  3267. Buffs[obj.Name] = obj
  3268. local stat,dura,bnam,addi
  3269. stat = obj:WaitForChild('Stat').Value
  3270. dura = obj:WaitForChild('Duration').Value
  3271. bnam = obj.Name:sub(6)
  3272. addi = obj:WaitForChild('Addition').Value
  3273.  
  3274. if not stat then stat = 'MainStat' end
  3275. if not dura then dura = 10 end
  3276. if not addi then addi = 0 end
  3277.  
  3278. obj:Destroy()
  3279.  
  3280. --Alert('DEBUG: '..stat..','..dura..','..bnam..','..addi, 'Yellow')
  3281.  
  3282. coroutine.wrap(function()
  3283. Alert('Buff '..bnam..' received.', 'White')
  3284. if stat == 'MainStat' then stat = 'Agility' end
  3285. if stat == 'Health' then hum.MaxHealth = hum.MaxHealth + addi return end
  3286. if not stats[stat] then stats[stat] = 0 end
  3287. stats[stat] = stats[stat] + addi
  3288. for i = 0,dura do
  3289. wait(1)
  3290. end
  3291. Buffs[bnam] = nil
  3292. Alert('Buff '..bnam..' faded.', 'White')
  3293. stats[stat] = stats[stat] - addi
  3294. end)()
  3295. end
  3296. end)
  3297.  
  3298. hum.Changed:connect(function(val)
  3299. if val == "MaxHealth" then
  3300.  
  3301. if berserk then
  3302. --hum.MaxHealth = 650
  3303. end
  3304.  
  3305. elseif val =='PlatformStand' and berserk then
  3306. hum.PlatformStand = false
  3307. elseif val == "Health" then
  3308. if ohp > hum.Health then
  3309. lastdps = tick()
  3310. end
  3311. ohp = hum.Health
  3312. elseif val == "Sit" then
  3313. Kneeling = true
  3314. elseif val == "WalkSpeed" and (berserk and not beaming) then
  3315. if changing then hum.WalkSpeed = 0 return end
  3316. hum.WalkSpeed = 30
  3317. end
  3318. end)
  3319.  
  3320. regening = false
  3321. lastdps = tick()
  3322. function regenHealth()
  3323. if regening then return end
  3324. if (tick()-lastdps < 15) then return end
  3325. regening = true
  3326. local s = wait(1)
  3327. local health = hum.Health
  3328. if health > 0 and health < hum.MaxHealth then
  3329. local newHealthDelta = hum.MaxHealth * .02
  3330. health = health + newHealthDelta
  3331. hum.Health = math.min(health,hum.MaxHealth)
  3332. end
  3333.  
  3334. regening = false
  3335. end
  3336.  
  3337. function checkCooldown(ability)
  3338. if not Cooldowns[ability] then return false end
  3339. local trem = (tick()-Cooldowns[ability].startTime)
  3340. if (trem <= Cooldowns[ability].timeRequired) then return true end
  3341. return false
  3342. end
  3343.  
  3344. function setCooldown(ability, req)
  3345. Cooldowns[ability] = {startTime = tick(), timeRequired = req}
  3346. end
  3347.  
  3348. function getRandomPlayer()
  3349. local players = game:service('Players'):GetPlayers()
  3350. if #players > 0 then
  3351. local plrz = players[math.random(#players)]
  3352. if plrz.Name == plr.Name then
  3353. repeat wait() plrz = players[math.random(#players)] until plrz.Name ~= plr.Name
  3354. currentTarget = plrz
  3355. Target(plrz)
  3356. end
  3357. return plrz
  3358. end
  3359. end
  3360.  
  3361. function getTarget()
  3362. return currentTarget
  3363. end
  3364.  
  3365.  
  3366.  
  3367. local mouse = plr:GetMouse()
  3368. mouse.Button1Down:connect(function()
  3369. if tick()-lastclick > 2 then combocounter = 0 end
  3370. if combocounter == 0 and not otheranims then
  3371. otheranims = true
  3372. candamage = true
  3373. Mode = 'Slash'
  3374. wait(.1+stats['Haste'])
  3375. otheranims = false
  3376. combocounter = 1
  3377. elseif combocounter == 1 and not otheranims then
  3378. otheranims = true
  3379. candamage = true
  3380. Mode = 'Slash2'
  3381. wait(.1+stats['Haste'])
  3382. otheranims = false
  3383. combocounter = 2
  3384. elseif combocounter == 2 and not otheranims then
  3385. otheranims = true
  3386. candamage = true
  3387. Mode = 'Slash3'
  3388. wait(.1+stats['Haste'])
  3389. otheranims = false
  3390. combocounter = 0
  3391. end
  3392. candamage = false
  3393. lastclick = tick()
  3394. end)
  3395.  
  3396. lastpress = tick()
  3397. function KeyDown(key)
  3398. local tar = getTarget()
  3399. lastpress = tick()
  3400. local cTarg = currentTarget and currentTarget or hum
  3401. local dpsCalc = getDPS()
  3402.  
  3403. if key:byte() == 52 and not berserk then
  3404. Berserk()
  3405. elseif key == 'e' and not berserk then
  3406. if otheranims then return end
  3407. if checkCooldown('Recuperate') then return end
  3408. otheranims = true
  3409. local KatanaId = KatanaMesh.MeshId
  3410. local KatanaScale = KatanaMesh.Scale
  3411. local KW = KatanaWeld:Clone()
  3412. local KWC = KatanaWeld.C0
  3413. local KS = Katana.Size
  3414. Katana.Size = Vector3.new(3, 1, 3)
  3415. KW.Parent = Katana
  3416. KatanaMesh.MeshId = "http://www.roblox.com/asset/?id=11112101"
  3417. KatanaMesh.Scale = Vector3.new(4,4,4)
  3418. KW.C0 = CFrame.new(0,-.95, 0) * CFrame.Angles(0, 0, math.rad(90))
  3419. Mode = 'Subi'
  3420. local reccon = Katana.Touched:connect(recuperate)
  3421. quickSound(231731980,head)
  3422. wait(.5)
  3423. otheranims = false
  3424. Katana.Size = KS
  3425. KatanaMesh.MeshId = KatanaId
  3426. KatanaMesh.Scale = KatanaScale
  3427. KW:Destroy()
  3428. KatanaWeld:Destroy()
  3429. KatanaWeld = Instance.new('Weld',Katana)
  3430. KatanaWeld.C0 = CFrame.new(0,-.95, 1) * CFrame.Angles(0, 0, math.rad(90))
  3431. KatanaWeld.Part0 = la
  3432. KatanaWeld.Part1 = Katana
  3433.  
  3434. reccon:disconnect()
  3435. elseif key == 't' then
  3436. if mouse.Target and searchForHumanoid(mouse.Target.Parent) then
  3437. local currTar = searchForHumanoid(mouse.Target.Parent)
  3438. currentTarget = currTar
  3439. else
  3440. end
  3441. elseif key == 'g' then
  3442. toggleFriendly()
  3443. elseif key == 'h' then
  3444. giveBuff('Swiftness of Kings', 'Haste', 120, -.1)
  3445. elseif key == 'y' then
  3446. currentTarget = hum
  3447. elseif key == 'u' then
  3448. if not berserk then return end
  3449. if checkCooldown('fth') then return end
  3450. if not useFocus(60) then return end
  3451. setCooldown('fth', 30)
  3452. otheranims = true
  3453. Mode = 'fth'
  3454. hum.WalkSpeed = 0
  3455. for i = 1, 15 do
  3456. game:service'RunService'.Stepped:wait()
  3457. coroutine.wrap(downFTH)()
  3458. end
  3459. hum.WalkSpeed = 20
  3460. otheranims = false
  3461. elseif key == 'q' then
  3462. if checkCooldown('Envenom') then return end
  3463. if checkCooldown('db') then return end
  3464. if otheranims then return end
  3465. otheranims = true
  3466. Mode = 'Envenom1'
  3467. hum.WalkSpeed = .01
  3468. elseif key:byte() == 48 and not Stealthed and hum.WalkSpeed > 8 then
  3469. hum.WalkSpeed = 30
  3470. hum.JumpPower = 50
  3471. elseif key=='n' then
  3472. shadowSight()
  3473. elseif key == 'c' then
  3474. if checkCooldown('MarkOfDeath') then return end
  3475. MarkOfDeath(currentTarget)
  3476. elseif key == 'v' then
  3477. if checkCooldown('Preparation') then return end
  3478. setCooldown('Preparation', 45)
  3479. for i,v in next,Cooldowns do
  3480. if i~='Preparation' then
  3481. Cooldowns[i] = nil
  3482. end
  3483. end
  3484. stats['Focus'] = stats['Focus'] + 60
  3485. stats['Combo Points'] = stats['Combo Points'] + 3
  3486. elseif key:byte() == 50 then
  3487. Ctrl = true
  3488. elseif key == 'z' and berserk then
  3489. if otheranims then return end
  3490. if not useFocus(10) then return end
  3491. otheranims = true
  3492. Katana.Transparency = 1
  3493. Mode = 'ShadowOrb1'
  3494.  
  3495. local function createShadowBall()
  3496.  
  3497. local Ball = Instance.new("Model")
  3498. Ball.Name = "BallModel"
  3499. local BallPart = Instance.new("Part", Ball)
  3500. BallPart.BrickColor = BrickColor.new("Black")
  3501. BallPart.Transparency = 0.15
  3502. BallPart.Anchored = true
  3503. BallPart.Locked = true
  3504. BallPart.CanCollide = false
  3505. BallPart.Name = 'BallPart'
  3506. BallPart.Material = 'Neon'
  3507. BallPart.Size = Vector3.new(1.1, 1.1, 1.1)
  3508. BallPart.BottomSurface = Enum.SurfaceType.Smooth
  3509. BallPart.TopSurface = Enum.SurfaceType.Smooth
  3510. BallMesh = Instance.new("SpecialMesh", BallPart)
  3511. BallMesh.MeshType = Enum.MeshType.Sphere
  3512. BallMesh.Name = "BallMesh"
  3513.  
  3514. local Spin = Instance.new("Part", BallPart)
  3515. Spin.Name = "Spin"
  3516. Spin.TopSurface = 0
  3517. Spin.BottomSurface = 0
  3518. Spin.CanCollide = false
  3519. Spin.Anchored = true
  3520. Spin.Locked = true
  3521. Spin.BrickColor = BrickColor.new('Dark indigo')
  3522. Spin.Size = Vector3.new(1,1,1)
  3523. local SpinMesh = Instance.new("SpecialMesh",Spin)
  3524. SpinMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3525. SpinMesh.Name = "BlastMesh"
  3526. SpinMesh.Scale = Vector3.new(1.3,1.3,1.3)
  3527.  
  3528. Ball.Parent = char
  3529. Ball:MoveTo(la.Position)
  3530.  
  3531. return Ball
  3532. end
  3533. local newBall = createShadowBall()
  3534. local BallPart = newBall.BallPart
  3535. local Spin = BallPart.Spin
  3536. local Rin2 = Spin:Clone()
  3537. Rin2.Parent = BallPart
  3538. local Rin3 = Spin:Clone()
  3539. Rin3.Parent = BallPart
  3540. local Spinzz = {Spin, Rin2, Rin3}
  3541. local newcf
  3542. local asdfg = true
  3543. local con = game:GetService("RunService").RenderStepped:connect(function()
  3544. if asdfg then
  3545. BallPart.CFrame = BallPart.CFrame:lerp((newcf and newcf or la.CFrame*CFrame.new(0,-1.5,0)),.8) end
  3546. Spin.CFrame = CFrame.new(BallPart.Position)* CFrame.fromEulerAnglesXYZ(-math.rad(math.random(-80,80)+(math.sin(tick())*15)), -math.rad(math.random(-80,80)+(math.sin(tick())*15)), math.rad(math.random(-80,80)+(math.sin(tick())*15)))
  3547. Rin2.CFrame = CFrame.new(BallPart.Position)* CFrame.fromEulerAnglesXYZ(-math.rad(math.random(-80,80)+(math.sin(tick())*15)), -math.rad(math.random(-80,80)+(math.sin(tick())*15)), math.rad(math.random(-80,80)+(math.sin(tick())*15)))
  3548. Rin3.CFrame = CFrame.new(BallPart.Position)* CFrame.fromEulerAnglesXYZ(-math.rad(math.random(-80,80)+(math.sin(tick())*15)), -math.rad(math.random(-80,80)+(math.sin(tick())*15)), math.rad(math.random(-80,80)+(math.sin(tick())*15)))
  3549. end)
  3550. for i = 0,1,.2 do
  3551. for i,v in pairs(Spinzz) do
  3552. v.BlastMesh.Scale = v.BlastMesh.Scale + Vector3.new(.01, .02, .01)
  3553. end
  3554. BallPart.BallMesh.Scale = BallPart.BallMesh.Scale + Vector3.new(.02, .02, .02)
  3555. wait()
  3556. end
  3557. local needaloop = true
  3558. local coro = coroutine.resume(coroutine.create(function()
  3559. while needaloop do
  3560. game:service'RunService'.RenderStepped:wait()
  3561. local c = char
  3562. local radius = 3
  3563. local pos = BallPart.CFrame
  3564. local clrz = {'Really black','Dark indigo'};
  3565. for i = 1,1 do
  3566. local clr = clrz[math.random(1,#clrz)]
  3567. pos = BallPart.CFrame
  3568. local p = Instance.new('Part',c)
  3569. local mafa = math.random(-360,360)
  3570. p.CanCollide = false
  3571. p.Size = Vector3.new(1,1,1)
  3572. local m = Instance.new('SpecialMesh',p)
  3573. m.MeshType = 'Sphere'
  3574. spawn(function()
  3575. for i = 0,50 do
  3576. local int,int2 = .05,.05
  3577. m.Scale = m.Scale - Vector3.new(int,int,int)
  3578. p.Transparency = p.Transparency + int2
  3579. game:service'RunService'.RenderStepped:wait()
  3580. end
  3581. pcall(function()
  3582. p:Destroy()
  3583. end)
  3584. end)
  3585. p.BrickColor = BrickColor.new(clr)
  3586. p.Material = 'Neon'
  3587. p.CFrame = pos * CFrame.new(math.random(-radius,radius),math.random(-radius,radius),math.random(-radius,radius)) * CFrame.Angles(mafa,mafa,mafa)
  3588. local bp = Instance.new('BodyPosition',p)
  3589. bp.MaxForce = Vector3.new(1/0,1/0,1/0)
  3590. bp.D = 100
  3591. bp.P = 300
  3592. bp.Position = pos.p
  3593. game.Debris:AddItem(p,10)
  3594. end
  3595. end
  3596. end))
  3597. wait(2.5+(stats['Haste']*3))
  3598. needaloop = false
  3599. BallPart.Anchored = false
  3600. local pos = mouse.Hit.p
  3601. local bp = Instance.new('BodyPosition',BallPart)
  3602. bp.MaxForce = Vector3.new(1/0,1/0,1/0)
  3603. bp.D = 50
  3604. bp.P = 100
  3605. game.Debris:AddItem(newOrb,10)
  3606. local mag
  3607. asdfg = false
  3608. Mode = 'ShadowOrb2'
  3609. repeat wait()
  3610. bp.Position = Vector3.new(pos.X, pos.Y+5, pos.Z)
  3611. mag = (BallPart.Position-pos).magnitude
  3612. until mag < 13
  3613. for i,v in pairs(Spinzz) do
  3614. v.BlastMesh.Scale = Vector3.new(.01,.01,.01)
  3615. end
  3616. BallPart.Transparency = 1
  3617. quickSound(216782105, BallPart, .8)
  3618. Ringz(BallPart, 'Dark indigo')
  3619. local cdeeps = (getDPS()*4)
  3620. for i,v in pairs(IsNear(BallPart.Position, 20)) do
  3621. damageHuman(v:findFirstChild'Humanoid', cdeeps, v.Head)
  3622. logDamage('Shadow Ball', cdeeps)
  3623. end
  3624. Katana.Transparency = 0
  3625. game:service'Debris':AddItem(newBall)
  3626. otheranims = false
  3627. elseif key=='b' then
  3628. if not berserk then return end
  3629. if checkCooldown('Shield') then return end
  3630. setCooldown('Shield', 10)
  3631. otheranims = true
  3632. Mode = 'Roaring'
  3633. shielding = true
  3634. T.Anchored = true
  3635. local Rot,Clr = 45
  3636. Clr = BrickColor.new('Dark indigo')
  3637. local s = Instance.new("Part",Character)
  3638. s.BrickColor = Clr
  3639. s.Size = Vector3.new(1,1,1)
  3640. s.Anchored = true
  3641. s.Locked = true
  3642. s.CanCollide = false
  3643. s.TopSurface = 0
  3644. s.BottomSurface = 0
  3645. s.CFrame = T.CFrame * CFrame.new(0,-2,0)
  3646. local sm = Instance.new("SpecialMesh",s)
  3647. sm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3648. sm.Scale = Vector3.new(33,1,33)
  3649. while Wait()do
  3650. if not shielding then break end
  3651. if not useFocus(.5) then break end
  3652. s.CFrame = s.CFrame * CFrame.fromEulerAnglesXYZ(0,6,0)
  3653. local f = Instance.new("Part",Character)
  3654. f.BrickColor = BrickColor.new('Dark indigo')
  3655. f.Size = Vector3.new(5,1,5)
  3656. f.Anchored = true
  3657. f.Locked = true
  3658. f.CanCollide = false
  3659. f.TopSurface = 0
  3660. f.BottomSurface = 0
  3661. f.CFrame = T.CFrame * CFrame.new(0,-2,0)* CFrame.fromEulerAnglesXYZ(1.57,0,0)
  3662. local sm = Instance.new("SpecialMesh",f)
  3663. sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3664. sm.Scale = Vector3.new(20,20,20)
  3665. coroutine.wrap(function()
  3666. for i = 1,13 do
  3667. f.Transparency = i/13
  3668. sm.Scale = sm.Scale + Vector3.new(1,1,1)
  3669. Wait()
  3670. end
  3671. f:Destroy()
  3672. end)()
  3673. local Wind = Instance.new("Part",Character)
  3674. Wind.Anchored = true
  3675. Wind.CanCollide = true
  3676. Wind.Locked = true
  3677. Wind.BrickColor = BrickColor.new('Dark indigo')
  3678. Wind.Transparency = 0.5
  3679. Wind.Shape = "Ball"
  3680. Wind.TopSurface = 0
  3681. Wind.BottomSurface = 0
  3682. Wind.Size = Vector3.new(math.random(10,15),1,math.random(10,15))
  3683. Wind.CFrame = T.CFrame
  3684. for i,v in pairs(IsNear(Wind.Position,20))do
  3685. if not Damaged[v] then Damaged[v] = tick() end
  3686. if not (tick()-Damaged[v]<1) then
  3687. Damaged[v] = tick()
  3688. Clr = BrickColor.new("Really red")
  3689. local tdps = getDPS()
  3690. damageHuman(v.Humanoid, tdps,v.HumanoidRootPart)
  3691. logDamage('Shield', tdps)
  3692. delay(0.02,function()
  3693. Clr = BrickColor.new('Dark indigo')
  3694. end)
  3695. else
  3696.  
  3697. end
  3698. end
  3699. coroutine.wrap(function()
  3700. for i = 0.6,1,0.1 do
  3701. Wait()
  3702. Wind.Transparency = i
  3703. end
  3704. Wind:Destroy()
  3705. end)()end
  3706. s:Destroy()
  3707. T.Anchored = false
  3708. elseif key == 'j' and berserk then
  3709. if checkCooldown('Beam') then return end
  3710. if not useFocus(20) then return end
  3711. setCooldown('Beam', 10)
  3712. hum.WalkSpeed = 0
  3713. local m0del = Instance.new('Model',char)
  3714. local wave = Instance.new('Part',m0del)
  3715. wave.CFrame = char.Head.CFrame * CFrame.new(0, 0, -10)
  3716. wave.TopSurface = 'Smooth'
  3717. wave.BottomSurface = 'Smooth'
  3718. wave.BrickColor = BrickColor.new('Dark indigo')
  3719. wave.Anchored = true
  3720. wave.FormFactor = 'Custom'
  3721. wave.Shape = 'Ball'
  3722. wave.CanCollide = false
  3723. wave.Material = 'Neon'
  3724. wave.Size = Vector3.new(.4, .4, .4)
  3725. local needaloop = true
  3726. beaming = true
  3727. local coro = coroutine.resume(coroutine.create(function()
  3728. while needaloop do
  3729. game:service'RunService'.RenderStepped:wait()
  3730. local c = char
  3731. local radius = 25
  3732. local pos = wave.CFrame
  3733. local clrz = {'Really black','Dark indigo'};
  3734. for i = 1,1 do
  3735. local clr = clrz[math.random(1,#clrz)]
  3736. pos = wave.CFrame
  3737. local p = Instance.new('Part',c)
  3738. local mafa = math.random(-360,360)
  3739. p.CanCollide = false
  3740. p.Size = Vector3.new(1,1,1)
  3741. local m = Instance.new('SpecialMesh',p)
  3742. m.MeshType = 'Sphere'
  3743. spawn(function()
  3744. for i = 0,50 do
  3745. local int,int2 = .05,.05
  3746. m.Scale = m.Scale - Vector3.new(int,int,int)
  3747. p.Transparency = p.Transparency + int2
  3748. game:service'RunService'.RenderStepped:wait()
  3749. end
  3750. pcall(function()
  3751. p:Destroy()
  3752. end)
  3753. end)
  3754. p.BrickColor = BrickColor.new(clr)
  3755. p.Material = 'Neon'
  3756. p.CFrame = pos * CFrame.new(math.random(-radius,radius),math.random(-radius,radius),math.random(-radius,radius)) * CFrame.Angles(mafa,mafa,mafa)
  3757. local bp = Instance.new('BodyPosition',p)
  3758. bp.MaxForce = Vector3.new(1/0,1/0,1/0)
  3759. bp.D = 100
  3760. bp.P = 300
  3761. bp.Position = pos.p
  3762. game.Debris:AddItem(p,10)
  3763. end
  3764. end
  3765. end))
  3766. for awe = 1, 75 do
  3767. wave.CFrame = char.Head.CFrame * CFrame.new(0, 0, -10)
  3768. wave.Size = Vector3.new(wave.Size.X+.18, wave.Size.Y+.18, wave.Size.Z+.18)
  3769. wait(.1)
  3770. end
  3771. needaloop = false
  3772. local beam = Instance.new('Part',m0del)
  3773. beam.TopSurface = 'Smooth'
  3774. beam.BottomSurface = 'Smooth'
  3775. beam.Material = 'Neon'
  3776. beam.Transparency = .6
  3777. beam.Anchored = true
  3778. beam.BrickColor = BrickColor.new('Dark indigo')
  3779. beam.CanCollide = false
  3780. local mesh = Instance.new('CylinderMesh',beam)
  3781. local realbeam = beam:Clone()
  3782. realbeam.Parent = m0del
  3783. realbeam.BrickColor = BrickColor.new('Dark indigo')
  3784. realbeam.Transparency = .1
  3785. realbeam.CFrame = wave.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  3786. beam.CFrame = wave.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  3787. beam.Size = Vector3.new(23, 10/2, 23)
  3788. realbeam.Size = Vector3.new(24, 10/2, 24)
  3789. local p = wave:Clone()
  3790. p.Parent = m0del
  3791. p.Anchored = true
  3792. p.Transparency = 1
  3793. p.Size = Vector3.new(20, 20, 20)
  3794. for HAAA = 1, 500 do
  3795. local starthere = char.Head.CFrame * CFrame.new(0, 0, -10)
  3796. local idek = Ray.new(starthere.p,(starthere.p -(starthere * CFrame.new(0, 0, 1)).p).unit * 1000)
  3797. local thx = {char, m0del}
  3798. table.insert(thx, p)
  3799. local Bonk, ovhere = workspace:FindPartOnRayWithIgnoreList(idek, thx)
  3800. local meg
  3801. hum.WalkSpeed = 1
  3802. p.Transparency = 1
  3803. if Bonk then
  3804. if Bonk.CanCollide == false then
  3805. table.insert(thx,Bonk)
  3806. end
  3807. p.CFrame = CFrame.new(ovhere)
  3808. p.Transparency = wave.Transparency
  3809. end
  3810. if Bonk and Bonk.Parent:findFirstChild'Humanoid' then
  3811. local dionamuh = Bonk.Parent:findFirstChild'Humanoid'
  3812. if Damaged[dionamuh] and tick()-Damaged[dionamuh]>.5 then
  3813. Damaged[dionamuh] = tick()
  3814. local deeps = getDPS()*1.5
  3815. damageHuman(dionamuh, deeps, Bonk)
  3816. logDamage('Beam', deeps)
  3817. elseif not Damaged[dionamuh] then
  3818. Damaged[dionamuh] = tick()
  3819. end
  3820. end
  3821. meg = (starthere.p - ovhere).magnitude
  3822. game:service'RunService'.RenderStepped:wait()
  3823. realbeam.Size = Vector3.new(25/2, meg, 25/2)
  3824. beam.Size = Vector3.new(26/2, meg, 26/2)
  3825. realbeam.CFrame = starthere * CFrame.new(0, 0, -meg/2) * CFrame.Angles(math.rad(90), 0, 0)
  3826. beam.CFrame = starthere * CFrame.new(0, 0, -meg/2) * CFrame.Angles(math.rad(90), 0, 0)
  3827. wave.CFrame = starthere
  3828. end
  3829. p:Destroy()
  3830. for i = 0,1,.05 do
  3831. realbeam.Transparency = i
  3832. wave.Transparency = i
  3833. beam.Transparency = i
  3834. game:service'RunService'.RenderStepped:wait()
  3835. end
  3836. beaming = false
  3837. m0del:Destroy()
  3838. hum.WalkSpeed = 16
  3839. elseif key == 'x' then
  3840. if otheranims then return end
  3841. if checkCooldown('DeathFromAbove') then return end
  3842. setCooldown('DeathFromAbove', 5)
  3843. otheranims = true
  3844. Mode = 'DFA1'
  3845. local dco = DaggerWeld.C0
  3846. DaggerWeld.C0 = CFrame.new(0,-1.5, -.8) * CFrame.Angles(-math.rad(180), -math.rad(90), -math.rad(40))
  3847. wait(.4)
  3848. otheranims = true
  3849. Mode = 'DFA2'
  3850. local dfacon = Dagger.Touched:connect(dfa)
  3851. wait(.3)
  3852. dfacon:disconnect()
  3853. otheranims = false
  3854. DaggerWeld.C0 = dco
  3855. elseif key == "f" and not berserk then
  3856. Stealth()
  3857. elseif key == "r" and not berserk then
  3858. shadowStep()
  3859. else
  3860. --code
  3861. end
  3862. end
  3863. local s = Instance.new('Sound')
  3864. s.Parent =head
  3865. s.SoundId = "rbxassetid://251613697"
  3866. s.Volume = 150
  3867. s.Looped = true
  3868. s.Pitch = 1.1
  3869. wait()
  3870. --s:play()
  3871. mouse.KeyDown:connect(KeyDown)
  3872. mouse.KeyUp:connect(function(key)
  3873. lastpress = tick()
  3874. if key:byte() == 48 and not Stealthed and hum.WalkSpeed > 8 then
  3875. hum.WalkSpeed = 20
  3876. elseif key=='q' then
  3877. if checkCooldown('db') then return end
  3878. if checkCooldown('envenom') then return end
  3879. setCooldown('db', 2)
  3880. local dco = DaggerWeld.C0
  3881. local p = Instance.new("Part")
  3882. p.Name = "BlastRing"
  3883. p.TopSurface = 0
  3884. p.BottomSurface = 0
  3885. p.CanCollide = false
  3886. p.Anchored = true
  3887. p.BrickColor = BrickColor.new('Really black')
  3888. p.Size = Vector3.new(1,1,1)
  3889. local rm = Instance.new("SpecialMesh",p)
  3890. rm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3891. rm.Name = "BlastMesh"
  3892. rm.Scale = Vector3.new(1,1,1)
  3893. local rng = function(thing)
  3894. local q = p:Clone()
  3895. q.Parent = thing
  3896. q.CFrame = thing.CFrame
  3897. ypcall(function()
  3898. for i = 0, 1,.02 do
  3899. wait()
  3900. q.BlastMesh.Scale = q.BlastMesh.Scale*1.05
  3901. q.Transparency = i
  3902. end
  3903. end)
  3904. game:service'Debris':AddItem(q, 4)
  3905. end
  3906. DaggerWeld.C0 = CFrame.new(0,-1.5, -.8) * CFrame.Angles(-math.rad(180), -math.rad(90), -math.rad(40))
  3907. Mode = 'Envenom2'
  3908. local dagcon = Dagger.Touched:connect(envenom)
  3909. local StanceGyro = Instance.new("BodyGyro")
  3910. StanceGyro.maxTorque = Vector3.new(1,1,1)*10^6
  3911. StanceGyro.P = 10^4
  3912. StanceGyro.Name = "StanceGyro"
  3913. StanceGyro.Parent = rootpart
  3914. StanceGyro.cframe = CFrame.new(CFrame.new(rootpart.CFrame.x,rootpart.CFrame.y,rootpart.CFrame.z).p,CFrame.new(camera.CoordinateFrame.x,rootpart.CFrame.y,camera.CoordinateFrame.z).p)*CFrame.Angles(0,math.pi,0)
  3915. local vu = Instance.new("BodyVelocity",torso)
  3916. vu.P = 1000000
  3917. vu.maxForce = Vector3.new(10000000000,5000000000000000000000,100000000000)
  3918. vu.velocity = Vector3.new(head.CFrame.lookVector.X*60,1,head.CFrame.lookVector.Z*60)
  3919. game:GetService("Debris"):AddItem(vu,0.267)
  3920. Mode = 'Envenom2'
  3921. --coroutine.wrap(rng)(Dagger)
  3922. wait(.6)
  3923. StanceGyro.Parent = nil
  3924. StanceGyro:Destroy()
  3925. otheranims = false
  3926. hum.WalkSpeed = 20
  3927. DaggerWeld.C0 = dco
  3928. dagcon:disconnect()
  3929. elseif key == 'b' then
  3930. shielding = false
  3931. otheranims = false
  3932. elseif key:byte() == 50 then
  3933. Ctrl = false
  3934. elseif key == "w" or key == "s" or key == "a" or key == "d" and Kneeling then
  3935. end
  3936. end)
  3937.  
  3938.  
  3939.  
  3940. plr.Chatted:connect(function(m)
  3941. if m:sub(1,5) == 'stat/' and (plr.Name=='Darkus_Theory' or plr.Name == 'Opligitory' or plr.Name == 'worthystone' or plr.Name == 'coty645' or plr.Name == 'lsaiah328') then
  3942. local q = m:sub(6)
  3943. local spl = q:find('/')
  3944. local stat = q:sub(1,spl-1)
  3945. local data = tonumber(q:sub(spl+1))
  3946. if not stats[stat] then return end
  3947. stats[''..stat..''] = data
  3948. elseif m=='recount' then
  3949. recount()
  3950. elseif m=='debugmode' and (plr.Name=='Darkus_Theory' or plr.Name == 'Opligitory' or plr.Name == 'worthystone' or plr.Name == 'coty645' or plr.Name == 'lsaiah328') then
  3951. if cheating then
  3952. cheating = false
  3953. stats['Haste'] = Haste
  3954. stats['Agility'] = Agility
  3955. else
  3956. cheating = true
  3957. end
  3958. end
  3959. end)
  3960.  
  3961. local t = tick()
  3962. local Smooth = 1
  3963. ---------------------------
  3964. local sine = 0
  3965. local change = 1
  3966. coroutine.wrap(function()
  3967. game:service('RunService').Heartbeat:connect(function()
  3968. regenHealth()
  3969. if stats["Combo Points"] > 6 then stats["Combo Points"] = 6 end
  3970. if stats["Combo Points"] < 0 then stats["Combo Points"] = 0 end
  3971. if stats["Focus"] > 100 then stats["Focus"] = 100 end
  3972. if stats["Focus"] < 0 then stats["Focus"] = 0 end
  3973. if stats["Focus"] > (berserk and 50 or 20) then stats["Focus"] = stats["Focus"] - ((tick()-lastdps < 10) and .02 or .05) end
  3974. if stats["Focus"] < (berserk and 49.95 or 19.95) then stats["Focus"] = stats["Focus"] + (berserk and .1 or .05) end
  3975. UI:SetHealth(math.floor(hum.Health),hum.MaxHealth)
  3976. UI:SetFocus(math.floor(stats['Focus']))
  3977. UI:SetCP(stats['Combo Points'])
  3978. UI:SetTarget(currentTarget and currentTarget.Parent and currentTarget.Parent.Name or 'No Target')
  3979. if currentTarget and currentTarget:isA('Humanoid') and currentTarget.Health then
  3980. UI:SetTH(currentTarget and tonumber(math.floor(currentTarget.Health)) or 0, currentTarget and tonumber(math.floor(currentTarget.MaxHealth)) or 0)
  3981. else
  3982. UI:SetTH(0,0)
  3983. end
  3984. UI:SetTitle()
  3985.  
  3986. if not (btimer and btimer > 0) then
  3987. if hum.WalkSpeed == 0 then
  3988. UI:SetStatus('Stunned')
  3989. elseif hum.WalkSpeed < 10 then
  3990. UI:SetStatus('Slowed')
  3991. else
  3992. UI:SetStatus('Normal')
  3993. end
  3994. else
  3995. UI:SetStatus('BERSERKING ['..btimer..']')
  3996. hum.WalkSpeed = 30
  3997. end
  3998.  
  3999. if cheating then
  4000. Cooldowns = {}
  4001. stats['Focus'] = 100
  4002. stats['Haste'] = 0
  4003. end
  4004.  
  4005. hum.CameraOffset=(rootpart.CFrame:toObjectSpace(torso.CFrame)).p+Vector3.new(0,-1.25,0)
  4006.  
  4007. if not stats['Haste'] then stats['Haste'] = Haste end
  4008.  
  4009. if (stats['Haste'] and stats['Haste'] < 0) then stats['Haste'] = 0 end
  4010.  
  4011. if not Kneeling and not hum.PlatformStand and not Finished and not otheranims and lunging then
  4012. end
  4013. if currentTarget and currentTarget.Health <= 0 then
  4014. currentTarget = nil
  4015. else
  4016. end
  4017. updateCooldowns()
  4018. local mg = Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude
  4019. if not otheranims then
  4020. if (mg < 3) and not Jumping and not Stealthed then
  4021. Mode = "Idling"
  4022. elseif (mg > 3 and mg < 21) and not Jumping and not Stealthed then
  4023. Mode = "Walking"
  4024. elseif (mg > 21) and not Jumping and not Stealthed then
  4025. Mode = "Running"
  4026. elseif Jumping and (Vector3.new(0, torso.Velocity.y, 0).magnitude > 2) and (mg > 1) and not Stealthed then
  4027. Mode = "Jumping"
  4028. elseif Stealthed and (mg < 3) and not Jumping then
  4029. Mode = "StealthIdling"
  4030. elseif Stealthed and (mg > 3) and not Jumping then
  4031. Mode = 'StealthRunning'
  4032. end
  4033. end
  4034. count = (count % 100) + (1)*(hum.WalkSpeed)/(5*1.3)--countspeed
  4035. torso = char:FindFirstChild('Torso')
  4036. angle = math.pi * math.sin(math.pi*2/100*count)
  4037. t = t+0.2*Smooth
  4038.  
  4039. if (Mode=='Idling' or Mode=='StealthIdling') and tick()-lastdps > 60 and tick()-lastpress > 60 and tick()-lastclick > 60 and not otheranims then Mode='StealthIdling' end
  4040. UI:SetAnim(Mode)
  4041. if Mode == "Jumping" then
  4042. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0,.6,-.6) * CFrame.Angles(0,-math.rad(10),0), .4)
  4043. lerp(llegm, llegm.C0, llc0 * CFrame.new(0,.4,-.3), .4)
  4044. lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(40), 0, 0), .4)
  4045. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(20), 0, -math.rad(30)), .4)
  4046. lerp(rm, rm.C0, rsc0 * CFrame.Angles(-math.rad(20), 0, math.rad(30)), .4)
  4047. lerp(rj, rj.C0, rootc0 * CFrame.Angles(math.rad(30), 0, 0), .4)
  4048. elseif hum.PlatformStand then
  4049. lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(math.rad(50), 0, math.rad(10)),.4)
  4050. lerp(llegm, llegm.C0, llc0 * CFrame.Angles(math.rad(50), 0, -math.rad(10)),.4)
  4051. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(20), 0, 0), .4)
  4052. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(25), 0, -math.rad(15)), .4)
  4053. lerp(rm, rm.C0, rsc0 * CFrame.Angles(-math.rad(45), 0, math.rad(15)), .4)
  4054. lerp(rj, rj.C1, rootc1 * CFrame.Angles(-math.rad(40), 0, 0), .4)
  4055. elseif Mode == 'Idling' then --stand stealth
  4056. lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(0, -math.rad(20), math.rad(3)),.3)
  4057. lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, 0, -math.rad(3)),.3)
  4058. lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, 0, -math.rad(20)),.3)
  4059. lerp(lm, lm.C0, lsc0 * CFrame.Angles(0, 0, -math.rad(10)+(angle*0.0200)),.03)
  4060. lerp(rm, rm.C0, rsc0 * CFrame.Angles(0, 0, math.rad(10)+(-angle*0.0200)),.03)
  4061. lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,math.rad(20)),.3)
  4062. elseif Mode == 'Walking' then-- walk
  4063. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .1+math.cos(t)/2.5*.35, -.1+-math.sin(t)/1.5*.45) * CFrame.Angles(math.rad(-10) + math.sin(count/14)/2, 0, 0), .3)
  4064. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, .1+-math.cos(t)/2.5*.35, -.1+math.sin(t)/1.5*.45) * CFrame.Angles(math.rad(-10) + -math.sin(count/14)/2, 0, 0), .3)
  4065. lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(15), 0, 0),.3)
  4066. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(.1+math.cos(t)*10), 0, -math.rad(5)),.3)
  4067. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(.1+math.cos(t)*10), 0, math.rad(5)),.3)
  4068. lerp(rj, rj.C0, rootc0 * CFrame.new(0,-.18,0) * CFrame.Angles(math.rad(15), -math.cos(t/6)/30+math.sin(rootpart.RotVelocity.y/2)/6, math.rad(0)),.3)
  4069. elseif Mode == 'Running' then--run
  4070. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .1+math.cos(t)/2.5*.35, -.1+-math.sin(t)/1.5*.45) * CFrame.Angles(math.rad(-10) + math.sin(count/14)/2, 0, 0), .3)
  4071. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, .1+-math.cos(t)/2.5*.35, -.1+math.sin(t)/1.5*.45) * CFrame.Angles(math.rad(-10) + -math.sin(count/14)/2, 0, 0), .3)
  4072. lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(25), 0, 0),.3)
  4073. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(.1+math.cos(t)*15), 0, math.rad(-15-(angle*0.03))),.3)
  4074. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(.1+math.cos(t)*15), 0, math.rad(15+(angle*0.03))),.3)
  4075. lerp(rj, rj.C0, rootc0 * CFrame.Angles(math.rad(25), -math.cos(t/6)/30+math.sin(rootpart.RotVelocity.y/2)/6, 0),.3)
  4076. elseif Mode == 'StealthIdling' then--stand stealth
  4077. if berserk then
  4078. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 1,-.3) * CFrame.Angles(math.rad(30),0,0), .4)
  4079. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, .4,-.3) * CFrame.Angles(-math.rad(20),0,0), .4)
  4080. lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(35), 0, 0),.1)
  4081. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.rad(20)+(angle*0.02), math.rad(20), -math.rad(15)+(-angle*0.02)),.3)
  4082. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(60)+(angle*0.02), 0, math.rad(5)+(-angle*0.02)),.3)
  4083. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -.8) * CFrame.Angles(math.rad(35), 0, 0),.3)
  4084. else
  4085. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 1,-.3) * CFrame.Angles(math.rad(30),0,0), .4)
  4086. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, .4,-.3) * CFrame.Angles(-math.rad(20),0,0), .4)
  4087. lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(35), 0, 0),.1)
  4088. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(20)+(angle*0.02), 0, -math.rad(5)+(-angle*0.02)),.3)
  4089. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(60)+(angle*0.02), 0, math.rad(5)+(-angle*0.02)),.3)
  4090. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -.8) * CFrame.Angles(math.rad(35), 0, 0),.3)
  4091. end
  4092. elseif Mode == 'StealthRunning' then--run stealth
  4093. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .1+math.cos(t)/2.5*.35, -.1+-math.sin(t)/1.5*.45) * CFrame.Angles(math.rad(-10) + math.sin(count/14)/2, 0, 0), .3)
  4094. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, .1+-math.cos(t)/2.5*.35, -.1+math.sin(t)/1.5*.45) * CFrame.Angles(math.rad(-10) + -math.sin(count/14)/2, 0, 0), .3)
  4095. lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(15), 0, 0),.3)
  4096. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(.1+math.cos(t)*15), 0, math.rad(-15-(angle*0.03))),.3)
  4097. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(.1+math.cos(t)*15), 0, math.rad(15+(angle*0.03))),.3)
  4098. lerp(rj, rj.C0, rootc0 * CFrame.Angles(math.rad(15), 0, 0),.3)
  4099. elseif Mode == 'Slash' then
  4100. --anims here pls
  4101. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0, -.2) * CFrame.Angles(0, -math.rad(30), math.rad(3)+(-angle*0.0200)),.3)
  4102. lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, math.rad(20), -math.rad(3)+(angle*0.0200)),.3)
  4103. lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, 0, -math.rad(20)),.3)
  4104. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(20), 0, -math.rad(10)+(angle*0.0200)),.3)
  4105. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(50), 0, math.rad(10)+(-angle*0.0200)),.3)
  4106. lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,math.rad(40)),.3)
  4107. elseif Mode == 'Slash3' then
  4108. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0, -.2) * CFrame.Angles(0, -math.rad(30), math.rad(3)+(-angle*0.0200)),.3)
  4109. lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, math.rad(20), -math.rad(3)+(angle*0.0200)),.3)
  4110. lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, 0, -math.rad(20)),.5)
  4111. lerp(lm, lm.C0, lsc0 * CFrame.Angles(0, 0, -math.rad(40)),.3)
  4112. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(30), math.rad(50), math.rad(75)),.3)
  4113. lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,math.rad(40)),.3)
  4114. elseif Mode == 'Slash2' then
  4115. lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(0, math.rad(20), math.rad(3)+(angle*0.0200)),.3)
  4116. lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, math.rad(30), -math.rad(3)+(-angle*0.0200)),.3)
  4117. lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, 0, math.rad(45)),.5)
  4118. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.rad(30), -math.rad(45), -math.rad(60)),.3)
  4119. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(20), 0, math.rad(10)),.3)
  4120. lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,-math.rad(90)),.3)
  4121. elseif Mode == 'Subi' then
  4122. lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(0, math.rad(20), math.rad(3)+(angle*0.0200)),.3)
  4123. lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, math.rad(30), -math.rad(3)+(-angle*0.0200)),.3)
  4124. lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, 0, math.rad(70)),.5)
  4125. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.rad(30), -math.rad(35), -math.rad(60)),.3)
  4126. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(20), 0, math.rad(10)),.3)
  4127. lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,-math.rad(70)),.3)
  4128. elseif Mode == 'Envenom1' then
  4129. lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(-math.rad(10), math.rad(20), math.rad(3)),.3)
  4130. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, .3, 0) * CFrame.Angles(0, math.rad(30), -math.rad(3)),.3)
  4131. lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, 0, math.rad(70)),.3)
  4132. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.rad(30), -math.rad(35), -math.rad(60)),.3)
  4133. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(20), 0, math.rad(10)),.3)
  4134. lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,-math.rad(70)),.3)
  4135. elseif Mode == 'Envenom2' then
  4136. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0,.6,-.6) * CFrame.Angles(0,-math.rad(10),0), .4)
  4137. lerp(llegm, llegm.C0, llc0 * CFrame.new(0,.4,-.3), .4)
  4138. lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(40), math.rad(14), 0),.3)
  4139. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(20), 0, -math.rad(10)+(angle*0.0200)),.3)
  4140. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(120), 0, math.rad(10)+(-angle*0.0200)),.3)
  4141. lerp(rj, rj.C0, rootc0 * CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(20)),.3)
  4142. elseif Mode == 'DFA1' then
  4143. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0,.6,-.6) * CFrame.Angles(0,-math.rad(10),0), .4)
  4144. lerp(llegm, llegm.C0, llc0 * CFrame.new(0,.4,-.3), .4)
  4145. lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(15), 0, 0),.3)
  4146. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.rad(30), -math.rad(35), -math.rad(60)),.3)
  4147. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(30), 0, math.rad(75)+(-angle*0.0200)),.3)
  4148. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 5, 6) * CFrame.Angles(math.rad(35), 0, 0),.3)
  4149. elseif Mode == 'DFA2' then
  4150. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0,.6,-.6) * CFrame.Angles(0,-math.rad(10),0), .4)
  4151. lerp(llegm, llegm.C0, llc0 * CFrame.new(0,.4,-.3), .4)
  4152. lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(40), math.rad(14), 0),.3)
  4153. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(20), 0, -math.rad(10)+(angle*0.0200)),.3)
  4154. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(120), 0, math.rad(10)+(-angle*0.0200)),.3)
  4155. lerp(rj, rj.C0, rootc0 * CFrame.new(0, -3, -.5) * CFrame.Angles(math.rad(40), 0, math.rad(20)),.3)
  4156. elseif Mode == 'ShadowOrb1' then
  4157. lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(0, -math.rad(20), math.rad(3)),.3)
  4158. lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, 0, -math.rad(3)),.3)
  4159. lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, 0, -math.rad(20)),.3)
  4160. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(30), 0, -math.rad(10)),.3)
  4161. lerp(rm, rm.C0, rsc0 * CFrame.Angles(0, 0, math.rad(10)),.3)
  4162. lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,math.rad(20)),.3)
  4163. elseif Mode == 'ShadowOrb2' then
  4164. lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(0, math.rad(20), math.rad(3)+(angle*0.0200)),.3)
  4165. lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, math.rad(30), -math.rad(3)+(-angle*0.0200)),.3)
  4166. lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, 0, math.rad(90)),.3)
  4167. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.rad(40), -math.rad(10), -math.rad(60)),.3)
  4168. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(20), 0, math.rad(10)),.3)
  4169. lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,-math.rad(90)),.3)
  4170. elseif Mode == 'fth' then
  4171. lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(0, -math.rad(20), math.rad(3)),.1)
  4172. lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, 0, -math.rad(3)),.1)
  4173. lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(20), 0, -math.rad(20)),.1)
  4174. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(30), 0, -math.rad(10)+(angle*0.0200)),.1)
  4175. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(160), 0, math.rad(10)+(-angle*0.0200)),.1)
  4176. lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,math.rad(20)),.1)
  4177. elseif Mode == 'Roaring' then
  4178. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .2, 0) * CFrame.Angles(-math.rad(30), -math.rad(10), math.rad(3)),.4)
  4179. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, .2, 0) * CFrame.Angles(-math.rad(30), math.rad(10), -math.rad(3)),.4)
  4180. lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(30),0,0),.4)
  4181. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(30), math.rad(20), -math.rad(60)),.4)
  4182. lerp(rm, rm.C0, rsc0 * CFrame.Angles(-math.rad(30), -math.rad(20), math.rad(60)),.4)
  4183. lerp(rj, rj.C0, rootc0 * CFrame.new(0,0,-.2+math.sin(t)*.06) * CFrame.Angles(-math.rad(30),0,0),.4)
  4184. end
  4185. end)
  4186. end)()
  4187. createOrb()
  4188. print('Rogue loaded')
  4189. print'Created by Darkus_Theory'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement