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