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