SHOW:
|
|
- or go back to the newest paste.
1 | - | --[[ |
1 | + | 750--[[ |
2 | @Name: Monk | |
3 | @Author: iKrypto | |
4 | @Date: 7/18/16 | |
5 | @Engine: Lua 5.1 | |
6 | ]] | |
7 | ||
8 | wait(0.003) | |
9 | --print'starting script...' | |
10 | ||
11 | local startLoad = tick() | |
12 | script.Name = "Monk" | |
13 | local plrs = game:GetService('Players') | |
14 | local plr = plrs.LocalPlayer | |
15 | local char = plr.Character | |
16 | local bp = plr.Backpack | |
17 | local hum = char.Humanoid | |
18 | local T = char.Torso | |
19 | local Character = char | |
20 | local Humanoid = hum | |
21 | local torso = char.Torso | |
22 | local Mastery,Haste,damage = 8,.08,0 | |
23 | local stats,Parts,Cooldowns,Damage,recountData,parts,Damaged,Ally,Buffs,canBeKillt,hold = {},{},{},{},{},{},{},{},{},{},{} | |
24 | local Ctrl,Cam,lastclick,btimer = false,game.Workspace:FindFirstChild('currentCamera'),tick(),0 | |
25 | local OrbModel,currentTarget,candamage,Meditating | |
26 | local shielding,damageAmp = false,0 | |
27 | local dot = {} | |
28 | local combocounter,PGui,channeling,Mode = 0,plr.PlayerGui,false,'' | |
29 | local new = Instance.new | |
30 | -- if leaked, don't edit this value | |
31 | -- it lets other scripts know this is | |
32 | -- a linked script so that you can do | |
33 | -- extra features such as slowing, stunning | |
34 | -- buffing, healing etc. Thanks. | |
35 | local iAmDarkusScript = Instance.new('Model') | |
36 | iAmDarkusScript.Parent = hum | |
37 | iAmDarkusScript.Name = 'Property of Darkus_Theory' | |
38 | head = char.Head | |
39 | local otheranims = false | |
40 | mouse = plr:GetMouse() | |
41 | count = 0 | |
42 | Mode = 'Idling' | |
43 | local tMesh,asset = "rbxasset://fonts/torso.mesh","rbxassetid://" | |
44 | 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} | |
45 | - | prmColor = 'Really black' |
45 | + | prmColor = 'White' |
46 | - | secColor = 'Royal purple' |
46 | + | secColor = 'Bright blue' |
47 | humanoid = char:findFirstChild("Humanoid") | |
48 | torso = char:findFirstChild("Torso") | |
49 | head = char.Head | |
50 | - | prmColor = 'ReFriendly black' |
50 | + | prmColor = 'White' |
51 | - | secColor = 'Royal purple' |
51 | + | secColor = 'Bright blue' |
52 | humanoid = char:findFirstChild("Humanoid") | |
53 | torso = char:findFirstChild("Torso") | |
54 | head = char.Head | |
55 | ra = char:findFirstChild("Right Arm") | |
56 | la = char:findFirstChild("Left Arm") | |
57 | rl = char:findFirstChild("Right Leg") | |
58 | ll = char:findFirstChild("Left Leg") | |
59 | rs = torso:findFirstChild("Right Shoulder") | |
60 | ls = torso:findFirstChild("Left Shoulder") | |
61 | rh = torso:findFirstChild("Right Hip") | |
62 | lh = torso:findFirstChild("Left Hip") | |
63 | neck = torso:findFirstChild("Neck") | |
64 | rootpart = char:findFirstChild("HumanoidRootPart") | |
65 | rj = rootpart:findFirstChild("RootJoint") | |
66 | anim = char:findFirstChild("Animate") | |
67 | camera = workspace.CurrentCamera | |
68 | plr.CameraMaxZoomDistance = math.huge | |
69 | pcall(function()anim:Destroy()end) | |
70 | pcall(function()char["Health"]:Destroy() end) | |
71 | pcall(function()humanoid.Animator:Destroy()end) | |
72 | local rm = Instance.new("Weld", torso) | |
73 | rm.C0 = CFrame.new(1.5, 0.5, 0) | |
74 | rm.C1 = CFrame.new(0, 0.5, 0) | |
75 | rm.Part0 = torso | |
76 | rm.Part1 = ra | |
77 | local lm = Instance.new("Weld", torso) | |
78 | lm.C0 = CFrame.new(-1.5, 0.5, 0) | |
79 | lm.C1 = CFrame.new(0, 0.5, 0) | |
80 | lm.Part0 = torso | |
81 | lm.Part1 = la | |
82 | local rlegm = Instance.new("Weld", torso) | |
83 | rlegm.C0 = CFrame.new(0.5, -1, 0) | |
84 | rlegm.C1 = CFrame.new(0, 1, 0) | |
85 | rlegm.Part0 = torso | |
86 | rlegm.Part1 = rl | |
87 | local llegm = Instance.new("Weld", torso) | |
88 | llegm.C0 = CFrame.new(-0.5, -1, 0) | |
89 | llegm.C1 = CFrame.new(0, 1, 0) | |
90 | llegm.Part0 = torso | |
91 | llegm.Part1 = ll | |
92 | neckc0 = neck.C0 | |
93 | rsc0 = rm.C0 | |
94 | lsc0 = lm.C0 | |
95 | llc0 = llegm.C0 | |
96 | rlc0 = rlegm.C0 | |
97 | rootc0 = rj.C0 | |
98 | rootc1 = rj.C1 | |
99 | wait() | |
100 | local RightFist = Instance.new('Part') | |
101 | RightFist.Name = 'RightFist' | |
102 | RightFist.BrickColor = BrickColor.new('Really black') | |
103 | RightFist.Locked = true | |
104 | RightFist.Shape = 'Block' | |
105 | RightFist.Size = Vector3.new(1.2, 1.2, 1.2) | |
106 | RightFist.Parent = char | |
107 | RightFist.CanCollide = false | |
108 | local RightFistWeld = Instance.new('Weld',RightFist) | |
109 | RightFistWeld.Name = 'RightFistWeld' | |
110 | RightFistWeld.C0 = CFrame.new(0,-.8, 0) | |
111 | RightFistWeld.Part0 = ra | |
112 | RightFistWeld.Part1 = RightFist | |
113 | ||
114 | local LeftFist = Instance.new('Part') | |
115 | LeftFist.Name = 'LeftFist' | |
116 | LeftFist.BrickColor = BrickColor.new('Really black') | |
117 | LeftFist.Locked = true | |
118 | LeftFist.Shape = 'Block' | |
119 | LeftFist.Size = Vector3.new(1.2, 1.2, 1.2) | |
120 | LeftFist.Parent = char | |
121 | LeftFist.CanCollide = false | |
122 | local LeftFistWeld = Instance.new('Weld',LeftFist) | |
123 | LeftFistWeld.C0 = CFrame.new(0,-.8, 0) | |
124 | LeftFistWeld.Part0 = la | |
125 | LeftFistWeld.Part1 = LeftFist | |
126 | ||
127 | local RightFoot = Instance.new('Part') | |
128 | RightFoot.Name = 'RightFoot' | |
129 | RightFoot.BrickColor = BrickColor.new('Really black') | |
130 | RightFoot.Locked = true | |
131 | RightFoot.Shape = 'Block' | |
132 | RightFoot.Size = Vector3.new(1.2, 1.2, 1.2) | |
133 | RightFoot.Parent = char | |
134 | RightFoot.CanCollide = false | |
135 | local RightFootWeld = Instance.new('Weld',RightFoot) | |
136 | RightFootWeld.Name = 'RightFootWeld' | |
137 | RightFootWeld.C0 = CFrame.new(0,-.7, 0) | |
138 | RightFootWeld.Part0 = rl | |
139 | RightFootWeld.Part1 = RightFoot | |
140 | ||
141 | local LeftFoot = Instance.new('Part') | |
142 | LeftFoot.Name = 'LeftFoot' | |
143 | LeftFoot.BrickColor = BrickColor.new('Really black') | |
144 | LeftFoot.Locked = true | |
145 | LeftFoot.Shape = 'Block' | |
146 | LeftFoot.Size = Vector3.new(1.2, 1.2, 1.2) | |
147 | LeftFoot.Parent = char | |
148 | LeftFoot.CanCollide = false | |
149 | local LeftFootWeld = Instance.new('Weld',LeftFoot) | |
150 | LeftFootWeld.C0 = CFrame.new(0,-.7, 0) | |
151 | LeftFootWeld.Part0 = ll | |
152 | LeftFootWeld.Part1 = LeftFoot | |
153 | ||
154 | RightFist.Transparency = 1 | |
155 | LeftFist.Transparency = 1 | |
156 | RightFoot.Transparency = 1 | |
157 | LeftFoot.Transparency = 1 | |
158 | ||
159 | wepdps = function(obj) | |
160 | if not candamage then return end | |
161 | if obj:IsDescendantOf(char) then return end | |
162 | if not searchForHumanoid(obj.Parent) then return end | |
163 | local Hum = searchForHumanoid(obj.Parent) | |
164 | if Damaged[Hum] and tick()-Damaged[Hum] < (.2+stats['Haste']) then return end | |
165 | local dist = (obj.Position-torso.Position).magnitude | |
166 | if dist > 5 then return end | |
167 | local calculation = getDPS() | |
168 | local cftos = (Hum.Parent:findFirstChild'Torso' and Hum.Parent:findFirstChild'Torso'.CFrame:pointToObjectSpace(torso.Position) or {X=0,Y=0,Z=0}) | |
169 | if cftos.Z > 0 then calculation = calculation * 1.3 end | |
170 | damageHuman(Hum, math.ceil(calculation*.6), obj) | |
171 | if math.random(1,10) > 3 then Disable(Hum) end | |
172 | logDamage('Autoattack', calculation) | |
173 | Damaged[Hum] = tick() | |
174 | coroutine.wrap(quickSound)(260430060, head, .8) | |
175 | stats['Mana'] = stats['Mana'] + 6 | |
176 | if math.random(1,10) > 8 then stats['Chi'] = stats['Chi'] + 1 end | |
177 | end | |
178 | ||
179 | RightFist.Touched:connect(wepdps) | |
180 | LeftFist.Touched:connect(wepdps) | |
181 | RightFoot.Touched:connect(wepdps) | |
182 | LeftFoot.Touched:connect(wepdps) | |
183 | ||
184 | ||
185 | cn,ca,bc,v3,r = CFrame.new,CFrame.Angles,BrickColor.new,Vector3.new,function(a)return (math.random()-.5)*2*(a or 1) end | |
186 | deg,nf,c3,ins,ma,pi,mr = math.deg,math.floor,Color3.new,Instance.new,math.abs,math.pi,math.rad | |
187 | local part = function(prnt,cfr,siz,col,anc,canc,tra,mat,typ) | |
188 | local p = ins(typ or "Part") | |
189 | p.FormFactor = "Custom" | |
190 | p.Material = mat | |
191 | p.Transparency = tra | |
192 | p.CanCollide = canc | |
193 | p.Anchored = anc | |
194 | p.BrickColor = bc(col) | |
195 | p.Size = siz | |
196 | p.CFrame = cfr | |
197 | p.Parent = prnt | |
198 | p.Locked = true | |
199 | p.TopSurface,p.BottomSurface = 0,0 | |
200 | p:BreakJoints() | |
201 | return p | |
202 | end | |
203 | local mesh = function(typ,prnt,scal,mtyp,mid,mtx) | |
204 | local m = ins(typ or "SpecialMesh") | |
205 | if mtyp then m.MeshType = mtyp end | |
206 | if mid then m.MeshId = mid end | |
207 | if mtx then m.TextureId = mtx end | |
208 | if scal then m.Scale = scal end | |
209 | m.Parent = prnt | |
210 | return m | |
211 | end | |
212 | local weldy = function(prt1,prt2,c0,c1) | |
213 | local w = ins("Weld",prt1) | |
214 | w.Part0 = prt1 | |
215 | w.Part1 = prt2 | |
216 | w.C0,w.C1 = c0 or cn(),c1 or cn() | |
217 | return w | |
218 | end | |
219 | function rune(cf,size,lifespan) | |
220 | coroutine.wrap(function() | |
221 | local p = Instance.new("Part") | |
222 | plight = Instance.new("PointLight",p) | |
223 | plight.Color = BrickColor.new("Bright red").Color | |
224 | p.formFactor = 0 | |
225 | p.Size = Vector3.new() | |
226 | p.BrickColor = BrickColor.new("Bright red") | |
227 | p.Anchored = true | |
228 | p.Locked = true | |
229 | p.CanCollide = false | |
230 | p.CFrame = cf*CFrame.Angles(math.pi/2,0,0) | |
231 | p.TopSurface = 0 | |
232 | p.BottomSurface = 0 | |
233 | p.Parent = char | |
234 | local m = Instance.new("SpecialMesh",p) | |
235 | local wave = p:Clone() | |
236 | wave.CFrame = cf | |
237 | wave.Parent = player.Character | |
238 | wave.Mesh.MeshType = Enum.MeshType.Sphere | |
239 | wave.Mesh.Scale = Vector3.new(0,size/10,0) | |
240 | m.MeshId = "http://www.roblox.com/asset/?id=47260990" | |
241 | m.Scale = Vector3.new(size,size,size) | |
242 | p.Transparency = 1 | |
243 | game.Debris:AddItem(p) | |
244 | game.Debris:AddItem(wave) | |
245 | for i=1,5 do | |
246 | p.Transparency = 1-math.sin(i/10*math.pi)*0.75 | |
247 | p.CFrame = p.CFrame*CFrame.Angles(0,0,(i/5)*math.pi/12) | |
248 | wave.Mesh.Scale = Vector3.new(size*i,size*i,size*i)/2 | |
249 | wave.Transparency = i/5 | |
250 | wait(1/30) | |
251 | end | |
252 | wave:Remove() | |
253 | delay(lifespan,function() | |
254 | for i=1,20 do | |
255 | local ratio = math.sin(i/40*math.pi)*0.75 | |
256 | p.Transparency = 0.25+ratio | |
257 | wait(1/30) | |
258 | end | |
259 | p:Remove() | |
260 | end) | |
261 | end)() | |
262 | end | |
263 | function explosion(where,heat,size,pres) | |
264 | a = Instance.new("Explosion",Workspace) | |
265 | a.BlastRadius = size | |
266 | a.BlastPressure = pres | |
267 | a.Position = where.Position | |
268 | local f = Instance.new("Fire",p) | |
269 | f.Size = size | |
270 | f.Heat = heat | |
271 | f:Remove() | |
272 | end | |
273 | function flame(cf,heat,size,instant) | |
274 | local p = Instance.new("Part") | |
275 | p.formFactor = 3 | |
276 | p.Anchored = true | |
277 | p.CanCollide = false | |
278 | p.Locked = true | |
279 | p.Transparency = 1 | |
280 | p.Size = Vector3.new() | |
281 | p.CFrame = cf | |
282 | p.Parent = char | |
283 | local f = Instance.new("Fire",p) | |
284 | f.Size = size | |
285 | f.Heat = heat | |
286 | game.Debris:AddItem(p,1.1) | |
287 | delay(0.1,function() | |
288 | f.Enabled = false | |
289 | if instant then | |
290 | p:Destroy() | |
291 | end | |
292 | end) | |
293 | end | |
294 | function rune(cf,size,lifespan) | |
295 | coroutine.wrap(function() | |
296 | local p = Instance.new("Part") | |
297 | plight = Instance.new("PointLight",p) | |
298 | plight.Color = BrickColor.new("Bright red").Color | |
299 | p.formFactor = 0 | |
300 | p.Size = Vector3.new() | |
301 | p.BrickColor = BrickColor.new("Bright red") | |
302 | p.Anchored = true | |
303 | p.Locked = true | |
304 | p.CanCollide = false | |
305 | p.CFrame = cf*CFrame.Angles(math.pi/2,0,0) | |
306 | p.TopSurface = 0 | |
307 | p.BottomSurface = 0 | |
308 | p.Parent = char | |
309 | local m = Instance.new("SpecialMesh",p) | |
310 | local wave = p:Clone() | |
311 | wave.CFrame = cf | |
312 | wave.Parent = char | |
313 | wave.Mesh.MeshType = Enum.MeshType.Sphere | |
314 | wave.Mesh.Scale = Vector3.new(0,size/10,0) | |
315 | m.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
316 | m.Scale = Vector3.new(size,size,size/10) | |
317 | p.Transparency = 1 | |
318 | game.Debris:AddItem(p) | |
319 | game.Debris:AddItem(wave) | |
320 | for i=1,5 do | |
321 | p.Transparency = 1-math.sin(i/10*math.pi)*0.75 | |
322 | p.CFrame = p.CFrame*CFrame.Angles(0,0,(i/5)*math.pi/12) | |
323 | wave.Mesh.Scale = Vector3.new(size*i,size/10,size*i)/2 | |
324 | wave.Transparency = i/5 | |
325 | wait(1/30) | |
326 | end | |
327 | wave:Remove() | |
328 | delay(lifespan,function() | |
329 | for i=1,20 do | |
330 | local ratio = math.sin(i/40*math.pi)*0.75 | |
331 | p.Transparency = 0.25+ratio | |
332 | wait(1/30) | |
333 | end | |
334 | p:Remove() | |
335 | end) | |
336 | end)() | |
337 | end | |
338 | --rune(torso.CFrame-Vector3.new(0,2.5,0),20,1) | |
339 | function getRegion(point,range,ignore) | |
340 | return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100) | |
341 | end | |
342 | function getHumanoid(v) | |
343 | if v and v.Parent then | |
344 | local h = v.Parent:findFirstChild("Humanoid") or v.Parent.Parent:findFirstChild("Humanoid") | |
345 | if not h then | |
346 | for _,p in ipairs(v.Parent:GetChildren()) do | |
347 | if p:isA("Humanoid") then | |
348 | h = p | |
349 | end | |
350 | end | |
351 | if not h and v.Parent.Parent and v.Parent.Parent ~= game and v.Parent.Parent ~= workspace then | |
352 | for _,p in ipairs(v.Parent.Parent:GetChildren()) do | |
353 | if p:isA("Humanoid") then | |
354 | h = p | |
355 | end | |
356 | end | |
357 | end | |
358 | end | |
359 | return h | |
360 | end | |
361 | end | |
362 | function advRay(start,point) | |
363 | local dis = (start-(start+point)).magnitude | |
364 | local dir = ((start+point)-start).unit | |
365 | if dis > 999 then | |
366 | dis = 999 | |
367 | end | |
368 | point = dis*dir | |
369 | hit,pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(start,point),{player.Character}) | |
370 | if hit and not hit.CanCollide and not getHumanoid(hit) then | |
371 | function persistentRay(list) | |
372 | hit,pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(start,point),{player.Character,unpack(list)}) | |
373 | if hit and not hit.CanCollide and not getHumanoid(hit) then | |
374 | hit,pos = persistentRay({hit,unpack(list)}) | |
375 | end | |
376 | return hit,pos | |
377 | end | |
378 | hit,pos = persistentRay({hit}) | |
379 | end | |
380 | return hit,pos | |
381 | end | |
382 | function Burn(v) | |
383 | coroutine.wrap(function() | |
384 | local Colors = {"Really red","Really black","Orange","New Yeller"} | |
385 | local calc = getDPS()*.5 | |
386 | if v:IsA("Model")and v ~= char and not v:findFirstChild("Burnt")then | |
387 | local h = v:findFirstChild("Humanoid") | |
388 | if h then | |
389 | if h.Health > 0 then | |
390 | local t = v:findFirstChild("Torso") | |
391 | if t then | |
392 | if(t.Position -T.Position).magnitude <= 20 then | |
393 | local f = Instance.new("StringValue",v) | |
394 | f.Name = "Burnt" | |
395 | ParticleEmit(v.Torso,BrickColor.new("Really red"),10) | |
396 | for m,c in pairs(v:GetChildren())do | |
397 | if c:IsA("BasePart")then | |
398 | local ss = Instance.new("Fire",c) | |
399 | ss.Size = c.Size.y +2 | |
400 | ss.Color = BrickColor.new(Colors[math.random(1,#Colors)]).Color | |
401 | ss.SecondaryColor = Color3.new(0,0,0) | |
402 | ss.Heat = 100 | |
403 | delay(10,function() | |
404 | local size = ss.Size | |
405 | for i = size,0,-1 do | |
406 | ss.Size = i | |
407 | Wait() | |
408 | end | |
409 | ss:Destroy() | |
410 | end) | |
411 | end | |
412 | end | |
413 | h.PlatformStand = true | |
414 | coroutine.wrap(function() | |
415 | for i = 1,10 do | |
416 | h:TakeDamage(calc) | |
417 | logDamage('Fire',calc) | |
418 | Wait(1) | |
419 | end | |
420 | end)() | |
421 | Game:GetService("Debris"):AddItem(f,10) | |
422 | end | |
423 | end | |
424 | end | |
425 | end | |
426 | end | |
427 | end)() | |
428 | end; | |
429 | function AoE(point,radius,damage,push,trip) | |
430 | ypcall(function() | |
431 | local push = push or Vector3.new() | |
432 | local hit = getRegion(point,radius,{char}) | |
433 | local humanoidList = {} | |
434 | for _,v in pairs(hit) do | |
435 | local h = getHumanoid(v) | |
436 | if not v.Anchored then | |
437 | if h then | |
438 | if not humanoidList[h] then | |
439 | if Damaged[h] and tick()-Damaged[h]<.2 then return end | |
440 | humanoidList[h] = true | |
441 | Damaged[h] = tick() | |
442 | damageHuman(h,damage,h.Parent:findFirstChild'Head') | |
443 | Burn(h.Parent) | |
444 | if h.Parent:findFirstChild("Torso") and h.Parent.Torso:isA("BasePart") then | |
445 | if push.magnitude > 0 then | |
446 | local v = Instance.new("BodyVelocity",h.Parent.Torso) | |
447 | v.maxForce = Vector3.new(1,1,1)*10000000000 | |
448 | v.velocity = push/0.1 | |
449 | game.Debris:AddItem(v,0.1) | |
450 | end | |
451 | if trip then | |
452 | local v = Instance.new("BodyAngularVelocity",h.Parent.Torso) | |
453 | v.maxTorque = Vector3.new(1,1,1)*10000000000 | |
454 | v.angularvelocity = Vector3.new(math.pi,0,math.pi)/0.1 | |
455 | game.Debris:AddItem(v,0.1) | |
456 | end | |
457 | end | |
458 | end | |
459 | else v:BreakJoints() | |
460 | v.Velocity = v.Velocity+push/v:GetMass() | |
461 | end | |
462 | end | |
463 | end | |
464 | end) | |
465 | end | |
466 | function crownExplode(cf,col,scl) | |
467 | local p = part(char,cf,v3(1,1,1),col,true,false,.1,"SmoothPlastic") | |
468 | local pm = mesh("FileMesh",p,nil,nil,asset..meshes.crown) | |
469 | Spawn(function() | |
470 | for i=.1,1.1,.025 do | |
471 | p.Transparency = i | |
472 | pm.Scale = pm.Scale + v3(scl,scl,scl) | |
473 | wait() | |
474 | end | |
475 | p:Destroy() | |
476 | end) | |
477 | end | |
478 | function crater(pos,dist,siz,col,mat) | |
479 | local num = math.random(7,13) | |
480 | for i=1,num do | |
481 | game:service("Debris"):AddItem(part(char,CFrame.new(pos)*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) | |
482 | end | |
483 | end | |
484 | function quickSound(id,par,pi) | |
485 | local s = Instance.new("Sound") | |
486 | s.Pitch = pi or 1 | |
487 | s.SoundId = asset..id | |
488 | s.Parent = par | |
489 | wait() | |
490 | s:Play() | |
491 | return s | |
492 | end | |
493 | function newSound(id,par,pi) | |
494 | local s = Instance.new("Sound",par) | |
495 | s.Pitch = pi or 1 | |
496 | s.Volume = .3 | |
497 | s.SoundId = asset..id | |
498 | s:Play() | |
499 | return s | |
500 | end | |
501 | ||
502 | function cylinderOpen(cf,col,col2) | |
503 | local p = part(char,cf,v3(0,1000,0),col,true,false,.1,"SmoothPlastic") | |
504 | local pm = mesh("CylinderMesh",p) | |
505 | local p2 = part(char,cf,v3(0,1000,0),col2,true,false,.1,"SmoothPlastic") | |
506 | local p2m = mesh("CylinderMesh",p2) | |
507 | Spawn(function() | |
508 | for i=.1,1.1,.0125 do | |
509 | p.Transparency = i | |
510 | p2.Transparency = i | |
511 | pm.Scale = pm.Scale + v3(.8,0,.8) | |
512 | p2m.Scale = p2m.Scale + v3(.5,0,.5) | |
513 | wait() | |
514 | end | |
515 | p:Destroy() | |
516 | p2:Destroy() | |
517 | end) | |
518 | end | |
519 | function cylinderOpen2(cf,col,col2) | |
520 | local p = part(workspace,cf,v3(0,1000,0),col,true,false,.1,"SmoothPlastic") | |
521 | local pm = mesh("CylinderMesh",p) | |
522 | local p2 = part(workspace,cf,v3(0,1000,0),col2,true,false,.1,"SmoothPlastic") | |
523 | local p2m = mesh("CylinderMesh",p2) | |
524 | Spawn(function() | |
525 | for i=.1,1.1,.05 do | |
526 | p.Transparency = i | |
527 | p2.Transparency = i | |
528 | pm.Scale = pm.Scale + v3(.7,0,.7) | |
529 | p2m.Scale = p2m.Scale + v3(.6,0,.6) | |
530 | wait() | |
531 | end | |
532 | wait(10) | |
533 | p:Destroy() | |
534 | p2:Destroy() | |
535 | end) | |
536 | end | |
537 | ||
538 | function Effect(Pos,x1,y1,z1,x2,y2,z2,color,ref) | |
539 | local S = Instance.new("Part",Character) | |
540 | S.FormFactor = 0 | |
541 | S.Size = Vector3.new(1,1,1) | |
542 | S.BrickColor = color | |
543 | S.Reflectance = ref or 0 | |
544 | S.TopSurface = 0 | |
545 | S.BottomSurface = 0 | |
546 | S.Transparency = 0.5 | |
547 | S.Anchored = true | |
548 | S.CanCollide = false | |
549 | S.CFrame = CFrame.new(Pos)* CFrame.new(x2,y2,z2)* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
550 | local msh2 = Instance.new("BlockMesh",S) | |
551 | msh2.Scale = Vector3.new(x1,y1,z1) | |
552 | coroutine.wrap(function() | |
553 | for i = 1,9 do | |
554 | msh2.Scale = msh2.Scale + Vector3.new(0.1,0.1,0.1) | |
555 | S.CFrame = S.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
556 | S.Transparency = i *0.1 | |
557 | Wait() | |
558 | end | |
559 | S:Destroy() | |
560 | end)()end | |
561 | function Effect2(part,x1,y1,z1,x2,y2,z2,color,ref) | |
562 | if part:IsDescendantOf(Workspace)then | |
563 | local S = Instance.new("Part",Character) | |
564 | S.FormFactor = 0 | |
565 | S.Size = Vector3.new(1,1,1) | |
566 | S.BrickColor = color | |
567 | S.Reflectance = ref or 0 | |
568 | S.TopSurface = 0 | |
569 | S.BottomSurface = 0 | |
570 | S.Transparency = 0.5 | |
571 | S.Anchored = true | |
572 | S.CanCollide = false | |
573 | S.CFrame = part.CFrame * CFrame.new(x2,y2,z2)* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
574 | local msh2 = Instance.new("BlockMesh",S) | |
575 | msh2.Scale = Vector3.new(x1,y1,z1) | |
576 | coroutine.wrap(function() | |
577 | for i = 1,9 do | |
578 | msh2.Scale = msh2.Scale + Vector3.new(0.1,0.1,0.1) | |
579 | S.CFrame = S.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
580 | S.Transparency = i *0.1 | |
581 | Wait() | |
582 | end | |
583 | S:Destroy() | |
584 | end)()end end | |
585 | local function EmberWave(CF,Color) | |
586 | local p = Instance.new("Part",Character) | |
587 | p.Anchored = true | |
588 | p.Locked = true | |
589 | p.CanCollide = false | |
590 | p.CFrame = CF | |
591 | p.Transparency = 1 | |
592 | coroutine.wrap(function() | |
593 | local x = CFrame.new(math.random(-6,6),math.abs(math.random(-6,6)),math.random(-6,6)) | |
594 | for i = 1,30 do | |
595 | p.CFrame = p.CFrame *x | |
596 | x = CFrame.new(math.random(-6,6),math.abs(math.random(-6,6)),math.random(-6,6)) | |
597 | Effect2(p,2.6,2.6,2.6,0,0,0,Color,0.3) | |
598 | Wait(0.1) | |
599 | end | |
600 | p:Destroy() | |
601 | end)()end | |
602 | ||
603 | function MediumParticleEmit(Object,Color) | |
604 | coroutine.wrap(function() | |
605 | while Wait(1.1)do | |
606 | if not Object then break end | |
607 | local p = Instance.new("Part",Object.Parent) | |
608 | p.Name = "Trail" | |
609 | p.TopSurface = 0 | |
610 | p.BottomSurface = 0 | |
611 | p.Anchored = true | |
612 | p.CanCollide = false | |
613 | p.FormFactor = "Custom" | |
614 | p.Size = Vector3.new(0.01,0.01,0.01) | |
615 | p.BrickColor = type(Color)== 'userdata' and Color or BrickColor.new(Color) | |
616 | p.CFrame = Object.CFrame * CFrame.new(math.random(-1,1),math.random(-1,1)-3,math.random(-1,1)) | |
617 | local m = Instance.new("BlockMesh",p) | |
618 | m.Scale = Vector3.new(2,2,2) | |
619 | coroutine.wrap(function() | |
620 | for i = 1,15 do | |
621 | p.Transparency = i/15 | |
622 | m.Scale = m.Scale + Vector3.new(0.1,0.1,0.1) | |
623 | 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) | |
624 | Wait() | |
625 | end | |
626 | p:Destroy() | |
627 | end)() | |
628 | end | |
629 | end)() | |
630 | end | |
631 | ||
632 | if head:FindFirstChild('Mesh') then | |
633 | if head:FindFirstChild('Mesh'):IsA('BlockMesh') then | |
634 | head:FindFirstChild('Mesh'):remove() | |
635 | wait() | |
636 | local nm = Instance.new('SpecialMesh', head) | |
637 | nm.MeshType = 'Head' | |
638 | nm.Scale = Vector3.new(1.25,1.25,1.25) | |
639 | end | |
640 | end | |
641 | if head:FindFirstChild('face') then | |
642 | head:FindFirstChild('face'):Destroy()--.Texture = 'http://www.roblox.com/asset/?id=128963883' | |
643 | end | |
644 | ||
645 | function newStat(stat, type, value) | |
646 | if stats[stat] then return end | |
647 | stats[stat] = value | |
648 | return stats[stat] | |
649 | end | |
650 | ||
651 | local function Implode(CF,Color) | |
652 | local cf = CF | |
653 | local f = Instance.new("Part",Character) | |
654 | f.BrickColor = Color | |
655 | f.Size = Vector3.new(1,1,1) | |
656 | f.Anchored = true | |
657 | f.Locked = true | |
658 | f.CanCollide = false | |
659 | f.TopSurface = 0 | |
660 | f.Transparency = 1 | |
661 | f.BottomSurface = 0 | |
662 | f.CFrame = cf | |
663 | local sm = Instance.new("SpecialMesh",f) | |
664 | sm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
665 | sm.Scale = Vector3.new(30,30,30) | |
666 | coroutine.wrap(function() | |
667 | for i = 1,10 do | |
668 | f.Transparency = f.Transparency -0.1 | |
669 | sm.Scale = sm.Scale - Vector3.new(3,3,3) | |
670 | Wait() | |
671 | end | |
672 | f:Destroy() | |
673 | end)() | |
674 | local ax = Instance.new("Part",Character) | |
675 | ax.Size = Vector3.new(30,30,30) | |
676 | ax.TopSurface = 0 | |
677 | ax.BottomSurface = 0 | |
678 | ax.Transparency = 0 | |
679 | ax.Locked = true | |
680 | ax.BrickColor = Color | |
681 | ax.Shape = "Ball" | |
682 | ax.CanCollide = false | |
683 | ax.CFrame = cf | |
684 | ax.Anchored = true | |
685 | ax.Transparency = 1 | |
686 | coroutine.wrap(function() | |
687 | for i = 1,10 do | |
688 | ax.Size = ax.Size - Vector3.new(math.random(1,3)+1,math.random(1,3)+1,math.random(1,3)+1) | |
689 | ax.Transparency = ax.Transparency -0.1 | |
690 | ax.CFrame = cf | |
691 | Wait() | |
692 | end | |
693 | ax:Destroy() | |
694 | end)() | |
695 | end | |
696 | local function Explode(CF,Color,SMM,BBoom) | |
697 | local cf = CF | |
698 | local f = Instance.new("Part",Character) | |
699 | f.BrickColor = Color | |
700 | f.Size = Vector3.new(5,1,5) | |
701 | f.Anchored = true | |
702 | f.Locked = true | |
703 | f.CanCollide = false | |
704 | f.TopSurface = 0 | |
705 | f.BottomSurface = 0 | |
706 | f.CFrame = cf | |
707 | local sm = Instance.new("SpecialMesh",f) | |
708 | sm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
709 | sm.Scale = Vector3.new(5,5,5) | |
710 | coroutine.wrap(function() | |
711 | for i = 1,20 do | |
712 | f.Transparency = f.Transparency +0.05 | |
713 | sm.Scale = sm.Scale + Vector3.new(10,10,10) | |
714 | Wait() | |
715 | end | |
716 | f:Destroy() | |
717 | end)() | |
718 | if BBoom then do | |
719 | local zs = BBoom | |
720 | local ax = Instance.new("Part",Character) | |
721 | ax.Size = Vector3.new(1,1,1) | |
722 | ax.TopSurface = 0 | |
723 | ax.BottomSurface = 0 | |
724 | ax.Transparency = 0 | |
725 | ax.Locked = true | |
726 | ax.BrickColor = Color | |
727 | ax.Shape = "Ball" | |
728 | ax.CanCollide = false | |
729 | ax.CFrame = zs | |
730 | ax.Anchored = true | |
731 | local SMMx = Instance.new("SpecialMesh",ax) | |
732 | SMMx.MeshId = "http://www.roblox.com/asset/?id=1323306" | |
733 | SMMx.Scale = Vector3.new(1,1,1) | |
734 | coroutine.wrap(function() | |
735 | for i = 1,20 do | |
736 | SMMx.Scale = SMMx.Scale + Vector3.new(math.random(1,3)+1,math.random(1,3)+1,math.random(1,3)+1) | |
737 | ax.Transparency = ax.Transparency +0.05 | |
738 | ax.CFrame = zs | |
739 | Wait() | |
740 | end | |
741 | ax:Destroy() | |
742 | end)() | |
743 | end | |
744 | end | |
745 | local ax = Instance.new("Part",Character) | |
746 | ax.Size = Vector3.new(1,1,1) | |
747 | ax.TopSurface = 0 | |
748 | ax.BottomSurface = 0 | |
749 | ax.Transparency = 0 | |
750 | ax.Locked = true | |
751 | ax.BrickColor = Color | |
752 | ax.Shape = "Ball" | |
753 | ax.CanCollide = false | |
754 | ax.CFrame = cf | |
755 | ax.Anchored = true | |
756 | local SMMx do if SMM then | |
757 | SMMx = Instance.new("SpecialMesh",ax) | |
758 | SMMx.MeshId = SMM | |
759 | SMMx.Scale = Vector3.new(1,1,1) | |
760 | end | |
761 | end | |
762 | coroutine.wrap(function() | |
763 | for i = 1,20 do | |
764 | if SMM then | |
765 | SMMx.Scale = SMMx.Scale + Vector3.new(math.random(1,3)+2,math.random(1,3)+2,math.random(1,3)+2) | |
766 | else | |
767 | ax.Size = ax.Size + Vector3.new(math.random(1,3)+1,math.random(1,3)+1,math.random(1,3)+1) | |
768 | end | |
769 | ax.Transparency = ax.Transparency +0.05 | |
770 | ax.CFrame = cf | |
771 | Wait() | |
772 | end | |
773 | ax:Destroy() | |
774 | end)() | |
775 | end | |
776 | function ParticleEmit(Object,Color,Duration) | |
777 | local Counter = 0 | |
778 | coroutine.wrap(function() | |
779 | while Wait(0.3)do | |
780 | if Counter == Duration then break end | |
781 | local p = Instance.new("Part",Object.Parent) | |
782 | p.Name = "Trail" | |
783 | p.TopSurface = 0 | |
784 | p.BottomSurface = 0 | |
785 | p.Anchored = true | |
786 | p.CanCollide = false | |
787 | p.FormFactor = "Custom" | |
788 | p.Size = Vector3.new(0.01,0.01,0.01) | |
789 | p.BrickColor = Color and(type(Color)== 'userdata' and Color or BrickColor.new(Color)) | |
790 | p.CFrame = Object.CFrame * CFrame.new(math.random(-1,1),math.random(-1,1)-3,math.random(-1,1)) | |
791 | local m = Instance.new("BlockMesh",p) | |
792 | m.Scale = Vector3.new(2,2,2) | |
793 | coroutine.wrap(function() | |
794 | for i = 1,15 do | |
795 | p.Transparency = i/15 | |
796 | m.Scale = m.Scale + Vector3.new(0.1,0.1,0.1) | |
797 | 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) | |
798 | Wait() | |
799 | end | |
800 | p:Destroy() | |
801 | end)() | |
802 | end | |
803 | end)() | |
804 | if Duration == math.huge then return end | |
805 | coroutine.wrap(function() | |
806 | while Wait(1)do | |
807 | Counter = Counter +1 | |
808 | if Counter == Duration then | |
809 | break | |
810 | end | |
811 | end | |
812 | end)() | |
813 | end | |
814 | function SlowParticleEmit(Object) | |
815 | coroutine.wrap(function() | |
816 | while Wait(3.2)do | |
817 | if not Object then break end | |
818 | local p = Instance.new("Part",Object.Parent) | |
819 | p.Name = "Trail" | |
820 | p.TopSurface = 0 | |
821 | p.BottomSurface = 0 | |
822 | p.Anchored = true | |
823 | p.CanCollide = false | |
824 | p.FormFactor = "Custom" | |
825 | p.Size = Vector3.new(0.01,0.01,0.01) | |
826 | - | p.BrickColor = (BrickColor.new("Royal purple")) |
826 | + | p.BrickColor = (BrickColor.new("Bright blue")) |
827 | p.CFrame = Object.CFrame * CFrame.new(math.random(-1,1),math.random(-1,1)-3,math.random(-1,1)) | |
828 | local m = Instance.new("BlockMesh",p) | |
829 | m.Scale = Vector3.new(2,2,2) | |
830 | coroutine.wrap(function() | |
831 | for i = 1,15 do | |
832 | p.Transparency = i/15 | |
833 | m.Scale = m.Scale + Vector3.new(0.1,0.1,0.1) | |
834 | 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) | |
835 | Wait() | |
836 | end | |
837 | p:Destroy() | |
838 | end)() | |
839 | end | |
840 | end)() | |
841 | end | |
842 | ||
843 | function expandDong(ctarg) | |
844 | local nTarg = (ctarg and ctarg or OrbModel.PurplePart) | |
845 | local Orbi = Instance.new('Part') | |
846 | Orbi.CFrame = nTarg.CFrame | |
847 | Orbi.Size = Vector3.new(3,3,3) | |
848 | Orbi.CanCollide = false | |
849 | Orbi.Locked = true | |
850 | Orbi.Shape = 'Ball' | |
851 | Orbi.Anchored = true | |
852 | Orbi.Transparency = .6 | |
853 | Orbi.TopSurface,Orbi.BottomSurface = 0,0 | |
854 | Orbi.Name = 'Expand Dong' | |
855 | Orbi.BrickColor = BrickColor.new('Royal purple') | |
856 | ||
857 | local OrbiMesh = Instance.new('SpecialMesh',Orbi) | |
858 | OrbiMesh.Name = 'Dxpand Eong' | |
859 | OrbiMesh.Scale = Vector3.new(2, 2, 2) | |
860 | OrbiMesh.MeshType = 'Sphere' | |
861 | coroutine.wrap(function() | |
862 | for i,v in pairs(IsNear(nTarg.Position, 5, nil, true)) do | |
863 | if Damaged[v:FindFirstChild('Humanoid')] and tick()-Damaged[v:FindFirstChild('Humanoid')] < 1 then return end | |
864 | local calc = getDPS()*3 | |
865 | healHuman(v:FindFirstChild('Humanoid'), calc) | |
866 | logDamage('Meditation', calc) | |
867 | Damaged[v:FindFirstChild('Humanoid')] = tick() | |
868 | end | |
869 | end)() | |
870 | Orbi.Parent = char | |
871 | ypcall(function() | |
872 | for i = 3,0,-1 do wait(.05) | |
873 | OrbiMesh.Scale = OrbiMesh.Scale + Vector3.new(.6, .6, .6) | |
874 | Orbi.CFrame = nTarg.CFrame | |
875 | end | |
876 | for i = .6,1,.05 do | |
877 | wait(0.04) | |
878 | Orbi.Transparency = i | |
879 | end | |
880 | Orbi:Destroy() | |
881 | end) | |
882 | end | |
883 | ||
884 | ||
885 | function useMana(amount) | |
886 | local precalc = stats['Mana']-amount | |
887 | ||
888 | if stats['Mana'] < 0 then return false end | |
889 | if precalc < 0 then return false end | |
890 | ||
891 | stats['Mana'] = precalc | |
892 | ||
893 | return true | |
894 | end | |
895 | ||
896 | function useChi(amount) | |
897 | local precalc = stats['Chi']-amount | |
898 | ||
899 | if stats['Chi'] < 0 then return false end | |
900 | if precalc < 0 then return false end | |
901 | ||
902 | stats['Chi'] = precalc | |
903 | ||
904 | return true | |
905 | end | |
906 | ||
907 | function recount() | |
908 | ||
909 | local totl = {} | |
910 | ||
911 | local function addUp(tbl) | |
912 | local total = 0 | |
913 | for i,v in next,tbl do | |
914 | total = total + v | |
915 | end | |
916 | return total | |
917 | end | |
918 | ||
919 | local function avg(tbl) | |
920 | ||
921 | local num = #tbl | |
922 | local nom = addUp(tbl) | |
923 | ||
924 | return (nom/num) | |
925 | end | |
926 | ||
927 | warn('RECOUNT - All Data') | |
928 | for i,v in pairs(recountData) do | |
929 | local qq = addUp(v) | |
930 | print(i..': '..qq..' ('..math.ceil(avg(v))..')') | |
931 | table.insert(totl, qq) | |
932 | end | |
933 | ||
934 | warn('TOTAL: '..addUp(totl)) | |
935 | ||
936 | end | |
937 | ||
938 | function logDamage(skill, damage) | |
939 | ||
940 | if not recountData[skill] then recountData[skill] = {} end | |
941 | ||
942 | local tbl = recountData[skill] | |
943 | table.insert(tbl, damage) | |
944 | ||
945 | end | |
946 | function getDPS(override) | |
947 | local crit = math.random(1,15) | |
948 | local DPS = ((stats.Mastery) * (crit > 11 and stats.CriticalStrikeBonus or 1.2)) | |
949 | DPS = math.ceil(DPS) | |
950 | lastdps = tick() | |
951 | if berserk then DPS = DPS * 1.8 end | |
952 | if cheating then DPS = DPS * 1.5 end | |
953 | if damageAmp>0 then DPS=DPS*damageAmp end | |
954 | return DPS,((crit > 13) and true or false) | |
955 | end | |
956 | ||
957 | function Karma() | |
958 | local Humanoid = currentTarget | |
959 | if not Humanoid then return end | |
960 | Title('<Touch of Karma>', (Humanoid.Parent:findFirstChild('Head') or Instance.new('Part')),Color3.new(200/255,10/255,200/255),true,false) | |
961 | ||
962 | local currentHp = hum.Health | |
963 | ||
964 | local karmaCon = hum.Changed:connect(function(prop) | |
965 | if prop == 'Health_XML' then | |
966 | if hum.Health < currentHp then | |
967 | local change = currentHp-hum.Health | |
968 | damageHuman(Humanoid,change,Humanoid.Parent:findFirstChild'Head') | |
969 | end | |
970 | currentHp = hum.Health | |
971 | end | |
972 | end) | |
973 | ||
974 | local karmaDetect = Instance.new('Model') | |
975 | karmaDetect.Name = plr.Name..' Karma' | |
976 | wait() | |
977 | karmaDetect.Parent = Humanoid | |
978 | ||
979 | for i = 8,0,-1 do | |
980 | wait(1) | |
981 | end | |
982 | ||
983 | karmaDetect:Destroy() | |
984 | karmaCon:disconnect() | |
985 | ||
986 | end | |
987 | ||
988 | ||
989 | function Disable(Humanoid) | |
990 | ||
991 | if Humanoid == hum then return end | |
992 | ||
993 | ypcall(function() | |
994 | ||
995 | for i = 10,0,-1 do | |
996 | ||
997 | if not Humanoid.Parent then break end | |
998 | if Humanoid.WalkSpeed > 5 then | |
999 | if Humanoid.Health <= 0 then break end | |
1000 | ||
1001 | if Humanoid:findFirstChild'Property of Darkus_Theory' then | |
1002 | Humanoid.WalkSpeed = 3 | |
1003 | Humanoid.JumpPower = 0 | |
1004 | end | |
1005 | --Humanoid.JumpPower = 0 | |
1006 | end | |
1007 | ||
1008 | wait(1) | |
1009 | ||
1010 | end | |
1011 | ||
1012 | if Humanoid.WalkSpeed > 5 then | |
1013 | if Humanoid:findFirstChild'Property of Darkus_Theory' then | |
1014 | Humanoid.JumpPower = 50 | |
1015 | Humanoid.WalkSpeed = 16 | |
1016 | end | |
1017 | end | |
1018 | ||
1019 | end) | |
1020 | end | |
1021 | ||
1022 | function damageHuman(hum,d,hit) | |
1023 | if not hum:IsA('Humanoid') then hum.Parent:breakJoints() return end | |
1024 | pcall(function() hum.Parent.Health.Disabled = true end) | |
1025 | if hum.Health <= 0 then return end | |
1026 | if hum == Humanoid then return end | |
1027 | if hum:findFirstChild('Shielding') then return end | |
1028 | if Ally[hum] then return end | |
1029 | Title("-"..math.ceil(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) | |
1030 | hum.Health = hum.Health - math.ceil(d) | |
1031 | if hum.Health <= 0 then logDamage('Kills', 1) Alert('You killed '..hum.Parent.Name..'!', 'Yellow') if btimer > 0 then btimer=btimer+10 end end | |
1032 | end | |
1033 | ||
1034 | function healHuman(hum,d) | |
1035 | if not hum then return end | |
1036 | if hum.Health <= 0 then return end | |
1037 | pcall(function() hum.Parent.Health.Disabled = true end) | |
1038 | if hum==Humanoid or Ally[hum] then | |
1039 | local abs = (hum.Health-hum.MaxHealth)+d | |
1040 | if abs >= hum.MaxHealth * .5 then return end | |
1041 | hum:TakeDamage(-math.ceil(d)) | |
1042 | logDamage('Healing done', math.ceil(d)) | |
1043 | end | |
1044 | ||
1045 | if math.random(0,100) > 75 and not shadowform then | |
1046 | stats['Chi'] = stats['Chi'] + 1 | |
1047 | end | |
1048 | ||
1049 | end | |
1050 | ||
1051 | ||
1052 | ||
1053 | function Tag(Humanoid) | |
1054 | local c = Instance.new("ObjectValue",Humanoid) | |
1055 | c.Value = plr | |
1056 | c.Name = "creator" | |
1057 | end | |
1058 | ||
1059 | function CloneCharacter() | |
1060 | Character.Archivable = true | |
1061 | local Clone = Character:Clone() | |
1062 | for i,v in pairs(Clone:GetChildren())do | |
1063 | if v:IsA("BasePart") then | |
1064 | v.Transparency = .1 | |
1065 | v.Reflectance = .1 | |
1066 | end | |
1067 | end | |
1068 | Character.Archivable = false | |
1069 | Clone.Parent = game:service('Workspace') | |
1070 | Clone.Archivable = false | |
1071 | game:service('Debris'):AddItem(Clone,9) | |
1072 | return Clone | |
1073 | end | |
1074 | function searchForHumanoid(thing) | |
1075 | for _,v in pairs(thing:children()) do | |
1076 | if v:IsA('Humanoid') then | |
1077 | return v | |
1078 | end | |
1079 | end | |
1080 | return false | |
1081 | end | |
1082 | function CreateUI(Player) | |
1083 | --//Created by Opligitory | |
1084 | local this = { | |
1085 | Debounces = { | |
1086 | HelpOpen = false; | |
1087 | CoolDownOpen = false; | |
1088 | NameShowing = true; | |
1089 | }; | |
1090 | } | |
1091 | local function Create(ty) | |
1092 | return function(data) | |
1093 | local obj = Instance.new(ty) | |
1094 | for k,v in pairs(data)do | |
1095 | if type(k) == 'number' then | |
1096 | v.Parent = obj | |
1097 | else | |
1098 | obj[k] = v | |
1099 | end | |
1100 | end | |
1101 | return obj | |
1102 | end | |
1103 | end | |
1104 | ||
1105 | local function Thread(f) | |
1106 | assert(type(f) == 'function',"bad argument #1 'function' expected got "..type(f)) | |
1107 | return coroutine.resume(coroutine.create(f)) | |
1108 | end | |
1109 | ||
1110 | local Monk = Create("ScreenGui"){ | |
1111 | Parent = Player.PlayerGui; | |
1112 | Name = "Monk"; | |
1113 | Archivable = true; | |
1114 | } | |
1115 | local Background = Create("Frame"){ | |
1116 | Visible = true; | |
1117 | Active = false; | |
1118 | Parent = Monk; | |
1119 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1120 | Archivable = true; | |
1121 | Size = UDim2.new(0, 305, 0, 300); | |
1122 | Draggable = false; | |
1123 | ClipsDescendants = false; | |
1124 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1125 | Style = Enum.FrameStyle.DropShadow; | |
1126 | BackgroundTransparency = 0; | |
1127 | Position = UDim2.new(1, -305, 0.5, -50); | |
1128 | BorderSizePixel = 1; | |
1129 | Name = "Background"; | |
1130 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1131 | } | |
1132 | local mTitle = Create("TextLabel"){ | |
1133 | Visible = true; | |
1134 | FontSize = Enum.FontSize.Size28; | |
1135 | Active = false; | |
1136 | Parent = Background; | |
1137 | BorderSizePixel = 1; | |
1138 | TextStrokeTransparency = 1; | |
1139 | TextXAlignment = Enum.TextXAlignment.Center; | |
1140 | TextWrapped = false; | |
1141 | TextWrap = false; | |
1142 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1143 | TextTransparency = 0; | |
1144 | Archivable = true; | |
1145 | Size = UDim2.new(1, 0, 0, 20); | |
1146 | Draggable = false; | |
1147 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1148 | ClipsDescendants = false; | |
1149 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1150 | Text = ""; | |
1151 | TextColor3 = Color3.new(1, 1, 1); | |
1152 | Font = Enum.Font.SourceSans; | |
1153 | BackgroundTransparency = 1; | |
1154 | Position = UDim2.new(0, 0, 0, 0); | |
1155 | Name = "Title"; | |
1156 | TextYAlignment = Enum.TextYAlignment.Center; | |
1157 | TextScaled = false; | |
1158 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1159 | } | |
1160 | local BreakLine = Create("Frame"){ | |
1161 | Visible = true; | |
1162 | Active = false; | |
1163 | Parent = mTitle; | |
1164 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1165 | Archivable = true; | |
1166 | Size = UDim2.new(1, 0, 0, 1); | |
1167 | Draggable = false; | |
1168 | ClipsDescendants = false; | |
1169 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1170 | Style = Enum.FrameStyle.Custom; | |
1171 | BackgroundTransparency = 0; | |
1172 | Position = UDim2.new(0, 0, 1, 6); | |
1173 | BorderSizePixel = 0; | |
1174 | Name = "BreakLine"; | |
1175 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1176 | } | |
1177 | local Stats = Create("Frame"){ | |
1178 | Visible = true; | |
1179 | Active = false; | |
1180 | Parent = Background; | |
1181 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1182 | Archivable = true; | |
1183 | Size = UDim2.new(1, 0, 1, -30); | |
1184 | Draggable = false; | |
1185 | ClipsDescendants = false; | |
1186 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1187 | Style = Enum.FrameStyle.Custom; | |
1188 | BackgroundTransparency = 1; | |
1189 | Position = UDim2.new(0, 0, 1, -250); | |
1190 | BorderSizePixel = 1; | |
1191 | Name = "Stats"; | |
1192 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1193 | } | |
1194 | local Health = Create("Frame"){ | |
1195 | Visible = true; | |
1196 | Active = false; | |
1197 | Parent = Stats; | |
1198 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1199 | Archivable = true; | |
1200 | Size = UDim2.new(1, 0, 0, 30); | |
1201 | Draggable = false; | |
1202 | ClipsDescendants = false; | |
1203 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1204 | Style = Enum.FrameStyle.Custom; | |
1205 | BackgroundTransparency = 0; | |
1206 | Position = UDim2.new(0, 0, 0, 0); | |
1207 | BorderSizePixel = 0; | |
1208 | Name = "Health"; | |
1209 | BackgroundColor3 = Color3.new(0.447059, 0.447059, 0.447059); | |
1210 | } | |
1211 | local hText = Create("TextLabel"){ | |
1212 | Visible = true; | |
1213 | FontSize = Enum.FontSize.Size28; | |
1214 | Active = false; | |
1215 | Parent = Health; | |
1216 | BorderSizePixel = 0; | |
1217 | TextStrokeTransparency = 0.69999998807907; | |
1218 | TextXAlignment = Enum.TextXAlignment.Center; | |
1219 | TextWrapped = false; | |
1220 | TextWrap = false; | |
1221 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1222 | TextTransparency = 0; | |
1223 | Archivable = true; | |
1224 | Size = UDim2.new(1, -8, 1, -8); | |
1225 | Draggable = false; | |
1226 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1227 | ClipsDescendants = false; | |
1228 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1229 | Text = "Health: 100/100"; | |
1230 | TextColor3 = Color3.new(1, 1, 1); | |
1231 | Font = Enum.Font.SourceSans; | |
1232 | BackgroundTransparency = 1; | |
1233 | Position = UDim2.new(0, 4, 0, 4); | |
1234 | Name = "hText"; | |
1235 | TextYAlignment = Enum.TextYAlignment.Center; | |
1236 | TextScaled = false; | |
1237 | BackgroundColor3 = Color3.new(1, 0.207843, 0.211765); | |
1238 | ZIndex = 2; | |
1239 | } | |
1240 | local hStatus = Create("TextLabel"){ | |
1241 | Visible = true; | |
1242 | FontSize = Enum.FontSize.Size28; | |
1243 | Active = false; | |
1244 | Parent = Health; | |
1245 | BorderSizePixel = 0; | |
1246 | TextStrokeTransparency = 0.69999998807907; | |
1247 | TextXAlignment = Enum.TextXAlignment.Center; | |
1248 | TextWrapped = false; | |
1249 | TextWrap = false; | |
1250 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1251 | TextTransparency = 0; | |
1252 | Archivable = true; | |
1253 | Size = UDim2.new(1, -8, 1, -8); | |
1254 | Draggable = false; | |
1255 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1256 | ClipsDescendants = false; | |
1257 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1258 | Text = ""; | |
1259 | TextColor3 = Color3.new(1, 1, 1); | |
1260 | Font = Enum.Font.SourceSans; | |
1261 | BackgroundTransparency = 0; | |
1262 | Position = UDim2.new(0, 4, 0, 4); | |
1263 | Name = "hStatus"; | |
1264 | TextYAlignment = Enum.TextYAlignment.Center; | |
1265 | TextScaled = false; | |
1266 | BackgroundColor3 = Color3.new(1, 0.207843, 0.211765); | |
1267 | ||
1268 | } | |
1269 | local Mana = Create("Frame"){ | |
1270 | Visible = true; | |
1271 | Active = false; | |
1272 | Parent = Stats; | |
1273 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1274 | Archivable = true; | |
1275 | Size = UDim2.new(1, 0, 0, 30); | |
1276 | Draggable = false; | |
1277 | ClipsDescendants = false; | |
1278 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1279 | Style = Enum.FrameStyle.Custom; | |
1280 | BackgroundTransparency = 0; | |
1281 | Position = UDim2.new(0, 0, 0, 35); | |
1282 | BorderSizePixel = 0; | |
1283 | Name = "Mana"; | |
1284 | BackgroundColor3 = Color3.new(0.447059, 0.447059, 0.447059); | |
1285 | } | |
1286 | local fText = Create("TextLabel"){ | |
1287 | Visible = true; | |
1288 | FontSize = Enum.FontSize.Size28; | |
1289 | Active = false; | |
1290 | Parent = Mana; | |
1291 | BorderSizePixel = 0; | |
1292 | TextStrokeTransparency = 0.69999998807907; | |
1293 | TextXAlignment = Enum.TextXAlignment.Center; | |
1294 | TextWrapped = false; | |
1295 | TextWrap = false; | |
1296 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1297 | TextTransparency = 0; | |
1298 | Archivable = true; | |
1299 | Size = UDim2.new(1, -8, 1, -8); | |
1300 | Draggable = false; | |
1301 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1302 | ClipsDescendants = false; | |
1303 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1304 | Text = "Mana: 100/100"; | |
1305 | TextColor3 = Color3.new(1, 1, 1); | |
1306 | Font = Enum.Font.SourceSans; | |
1307 | BackgroundTransparency = 1; | |
1308 | Position = UDim2.new(0, 4, 0, 4); | |
1309 | Name = "fText"; | |
1310 | TextYAlignment = Enum.TextYAlignment.Center; | |
1311 | TextScaled = false; | |
1312 | BackgroundColor3 = Color3.new(1, 0.976471, 0.278431); | |
1313 | ZIndex = 2; | |
1314 | } | |
1315 | local fStatus = Create("TextLabel"){ | |
1316 | Visible = true; | |
1317 | FontSize = Enum.FontSize.Size28; | |
1318 | Active = false; | |
1319 | Parent = Mana; | |
1320 | BorderSizePixel = 0; | |
1321 | TextStrokeTransparency = 0.69999998807907; | |
1322 | TextXAlignment = Enum.TextXAlignment.Center; | |
1323 | TextWrapped = false; | |
1324 | TextWrap = false; | |
1325 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1326 | TextTransparency = 0; | |
1327 | Archivable = true; | |
1328 | Size = UDim2.new(1, -8, 1, -8); | |
1329 | Draggable = false; | |
1330 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1331 | ClipsDescendants = false; | |
1332 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1333 | Text = ""; | |
1334 | TextColor3 = Color3.new(1, 1, 1); | |
1335 | Font = Enum.Font.SourceSans; | |
1336 | BackgroundTransparency = 0; | |
1337 | Position = UDim2.new(0, 4, 0, 4); | |
1338 | Name = "fStatus"; | |
1339 | TextYAlignment = Enum.TextYAlignment.Center; | |
1340 | TextScaled = false; | |
1341 | BackgroundColor3 = Color3.new(114/255, 253/255, 255/255); | |
1342 | } | |
1343 | local CP = Create("Frame"){ | |
1344 | Visible = true; | |
1345 | Active = false; | |
1346 | Parent = Stats; | |
1347 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1348 | Archivable = true; | |
1349 | Size = UDim2.new(1, 0, 0, 30); | |
1350 | Draggable = false; | |
1351 | ClipsDescendants = false; | |
1352 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1353 | Style = Enum.FrameStyle.Custom; | |
1354 | BackgroundTransparency = 0; | |
1355 | Position = UDim2.new(0, 0, 0, 70); | |
1356 | BorderSizePixel = 0; | |
1357 | Name = "CP"; | |
1358 | BackgroundColor3 = Color3.new(0.447059, 0.447059, 0.447059); | |
1359 | } | |
1360 | local cText = Create("TextLabel"){ | |
1361 | Visible = true; | |
1362 | FontSize = Enum.FontSize.Size28; | |
1363 | Active = false; | |
1364 | Parent = CP; | |
1365 | BorderSizePixel = 0; | |
1366 | TextStrokeTransparency = 0.69999998807907; | |
1367 | TextXAlignment = Enum.TextXAlignment.Center; | |
1368 | TextWrapped = false; | |
1369 | TextWrap = false; | |
1370 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1371 | TextTransparency = 0; | |
1372 | Archivable = true; | |
1373 | Size = UDim2.new(1, -8, 1, -8); | |
1374 | Draggable = false; | |
1375 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1376 | ClipsDescendants = false; | |
1377 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1378 | Text = "Chi: 6/6"; | |
1379 | TextColor3 = Color3.new(1, 1, 1); | |
1380 | Font = Enum.Font.SourceSans; | |
1381 | BackgroundTransparency = 1; | |
1382 | Position = UDim2.new(0, 4, 0, 4); | |
1383 | Name = "cText"; | |
1384 | TextYAlignment = Enum.TextYAlignment.Center; | |
1385 | TextScaled = false; | |
1386 | BackgroundColor3 = Color3.new(19/255, 200/255, 255/255); | |
1387 | ZIndex = 2; | |
1388 | } | |
1389 | local cStatus = Create("TextLabel"){ | |
1390 | Visible = true; | |
1391 | FontSize = Enum.FontSize.Size28; | |
1392 | Active = false; | |
1393 | Parent = CP; | |
1394 | BorderSizePixel = 0; | |
1395 | TextStrokeTransparency = 0.69999998807907; | |
1396 | TextXAlignment = Enum.TextXAlignment.Center; | |
1397 | TextWrapped = false; | |
1398 | TextWrap = false; | |
1399 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1400 | TextTransparency = 0; | |
1401 | Archivable = true; | |
1402 | Size = UDim2.new(1, -8, 1, -8); | |
1403 | Draggable = false; | |
1404 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1405 | ClipsDescendants = false; | |
1406 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1407 | Text = ""; | |
1408 | TextColor3 = Color3.new(1, 1, 1); | |
1409 | Font = Enum.Font.SourceSans; | |
1410 | BackgroundTransparency = 0; | |
1411 | Position = UDim2.new(0, 4, 0, 4); | |
1412 | Name = "cStatus"; | |
1413 | TextYAlignment = Enum.TextYAlignment.Center; | |
1414 | TextScaled = false; | |
1415 | BackgroundColor3 = Color3.new(0.298039, 1, 0.25098); | |
1416 | } | |
1417 | local Target = Create("TextLabel"){ | |
1418 | Visible = true; | |
1419 | FontSize = Enum.FontSize.Size28; | |
1420 | Active = false; | |
1421 | Parent = Stats; | |
1422 | BorderSizePixel = 1; | |
1423 | TextStrokeTransparency = 0.69999998807907; | |
1424 | TextXAlignment = Enum.TextXAlignment.Center; | |
1425 | TextWrapped = true; | |
1426 | TextWrap = true; | |
1427 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1428 | TextTransparency = 0; | |
1429 | Archivable = true; | |
1430 | Size = UDim2.new(1, 0, 0, 30); | |
1431 | Draggable = false; | |
1432 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1433 | ClipsDescendants = false; | |
1434 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1435 | Text = "Target: Darkus_Theory"; | |
1436 | TextColor3 = Color3.new(1, 1, 1); | |
1437 | Font = Enum.Font.SourceSans; | |
1438 | BackgroundTransparency = 1; | |
1439 | Position = UDim2.new(0, 0, 0, 105); | |
1440 | Name = "Target"; | |
1441 | TextYAlignment = Enum.TextYAlignment.Center; | |
1442 | TextScaled = false; | |
1443 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1444 | } | |
1445 | local TargetHp = Create("Frame"){ | |
1446 | Visible = true; | |
1447 | Active = false; | |
1448 | Parent = Stats; | |
1449 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1450 | Archivable = true; | |
1451 | Size = UDim2.new(1, 0, 0, 30); | |
1452 | Draggable = false; | |
1453 | ClipsDescendants = false; | |
1454 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1455 | Style = Enum.FrameStyle.Custom; | |
1456 | BackgroundTransparency = 0; | |
1457 | Position = UDim2.new(0, 0, 0, 140); | |
1458 | BorderSizePixel = 0; | |
1459 | Name = "TargetHp"; | |
1460 | BackgroundColor3 = Color3.new(0.447059, 0.447059, 0.447059); | |
1461 | } | |
1462 | local tText = Create("TextLabel"){ | |
1463 | Visible = true; | |
1464 | FontSize = Enum.FontSize.Size28; | |
1465 | Active = false; | |
1466 | Parent = TargetHp; | |
1467 | BorderSizePixel = 0; | |
1468 | TextStrokeTransparency = 0.69999998807907; | |
1469 | TextXAlignment = Enum.TextXAlignment.Center; | |
1470 | TextWrapped = false; | |
1471 | TextWrap = false; | |
1472 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1473 | TextTransparency = 0; | |
1474 | Archivable = true; | |
1475 | Size = UDim2.new(1, -8, 1, -8); | |
1476 | Draggable = false; | |
1477 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1478 | ClipsDescendants = false; | |
1479 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1480 | Text = "Target Health: 100/100"; | |
1481 | TextColor3 = Color3.new(1, 1, 1); | |
1482 | Font = Enum.Font.SourceSans; | |
1483 | BackgroundTransparency = 1; | |
1484 | Position = UDim2.new(0, 4, 0, 4); | |
1485 | Name = "tText"; | |
1486 | TextYAlignment = Enum.TextYAlignment.Center; | |
1487 | TextScaled = false; | |
1488 | BackgroundColor3 = Color3.new(1, 0.207843, 0.211765); | |
1489 | ZIndex = 2; | |
1490 | } | |
1491 | local tStatus = Create("TextLabel"){ | |
1492 | Visible = true; | |
1493 | FontSize = Enum.FontSize.Size28; | |
1494 | Active = false; | |
1495 | Parent = TargetHp; | |
1496 | BorderSizePixel = 0; | |
1497 | TextStrokeTransparency = 0.69999998807907; | |
1498 | TextXAlignment = Enum.TextXAlignment.Center; | |
1499 | TextWrapped = false; | |
1500 | TextWrap = false; | |
1501 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1502 | TextTransparency = 0; | |
1503 | Archivable = true; | |
1504 | Size = UDim2.new(1, -8, 1, -8); | |
1505 | Draggable = false; | |
1506 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1507 | ClipsDescendants = false; | |
1508 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1509 | Text = ""; | |
1510 | TextColor3 = Color3.new(1, 1, 1); | |
1511 | Font = Enum.Font.SourceSans; | |
1512 | BackgroundTransparency = 0; | |
1513 | Position = UDim2.new(0, 4, 0, 4); | |
1514 | Name = "tStatus"; | |
1515 | TextYAlignment = Enum.TextYAlignment.Center; | |
1516 | TextScaled = false; | |
1517 | BackgroundColor3 = Color3.new(1, 0.207843, 0.211765); | |
1518 | } | |
1519 | local Anim = Create("TextLabel"){ | |
1520 | Visible = true; | |
1521 | FontSize = Enum.FontSize.Size24; | |
1522 | Active = false; | |
1523 | Parent = Stats; | |
1524 | BorderSizePixel = 1; | |
1525 | TextStrokeTransparency = 0.69999998807907; | |
1526 | TextXAlignment = Enum.TextXAlignment.Center; | |
1527 | TextWrapped = false; | |
1528 | TextWrap = false; | |
1529 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1530 | TextTransparency = 0; | |
1531 | Archivable = true; | |
1532 | Size = UDim2.new(1, 0, 0, 20); | |
1533 | Draggable = false; | |
1534 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1535 | ClipsDescendants = false; | |
1536 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1537 | Text = "Animation: Idle"; | |
1538 | TextColor3 = Color3.new(1, 1, 1); | |
1539 | Font = Enum.Font.SourceSans; | |
1540 | BackgroundTransparency = 1; | |
1541 | Position = UDim2.new(0, 0, 0, 175); | |
1542 | Name = "Anim"; | |
1543 | TextYAlignment = Enum.TextYAlignment.Center; | |
1544 | TextScaled = false; | |
1545 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1546 | } | |
1547 | local Buttons = Create("Frame"){ | |
1548 | Visible = true; | |
1549 | Active = false; | |
1550 | Parent = Stats; | |
1551 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1552 | Archivable = true; | |
1553 | Size = UDim2.new(1, 0, 0, 60); | |
1554 | Draggable = false; | |
1555 | ClipsDescendants = false; | |
1556 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1557 | Style = Enum.FrameStyle.Custom; | |
1558 | BackgroundTransparency = 1; | |
1559 | Position = UDim2.new(0, 0, 1, -60); | |
1560 | BorderSizePixel = 1; | |
1561 | Name = "Buttons"; | |
1562 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1563 | } | |
1564 | local HideName = Create("TextButton"){ | |
1565 | Visible = true; | |
1566 | TextWrapped = false; | |
1567 | Active = true; | |
1568 | TextStrokeTransparency = 1; | |
1569 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1570 | BorderSizePixel = 1; | |
1571 | Draggable = false; | |
1572 | Modal = false; | |
1573 | AutoButtonColor = true; | |
1574 | TextYAlignment = Enum.TextYAlignment.Center; | |
1575 | TextScaled = false; | |
1576 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1577 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1578 | Selected = false; | |
1579 | Archivable = true; | |
1580 | Size = UDim2.new(0, 90, 0, 30); | |
1581 | TextXAlignment = Enum.TextXAlignment.Center; | |
1582 | FontSize = Enum.FontSize.Size18; | |
1583 | Parent = Buttons; | |
1584 | ClipsDescendants = false; | |
1585 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1586 | Text = "Hide Name"; | |
1587 | TextWrap = false; | |
1588 | TextTransparency = 0; | |
1589 | Font = Enum.Font.SourceSans; | |
1590 | BackgroundTransparency = 0; | |
1591 | Position = UDim2.new(0, 4, 1, -35); | |
1592 | TextColor3 = Color3.new(1, 1, 1); | |
1593 | Style = Enum.ButtonStyle.RobloxRoundDefaultButton; | |
1594 | Name = "HideName"; | |
1595 | } | |
1596 | local Controls = Create("TextButton"){ | |
1597 | Visible = true; | |
1598 | TextWrapped = false; | |
1599 | Active = true; | |
1600 | TextStrokeTransparency = 1; | |
1601 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1602 | BorderSizePixel = 1; | |
1603 | Draggable = false; | |
1604 | Modal = false; | |
1605 | AutoButtonColor = true; | |
1606 | TextYAlignment = Enum.TextYAlignment.Center; | |
1607 | TextScaled = false; | |
1608 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1609 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1610 | Selected = false; | |
1611 | Archivable = true; | |
1612 | Size = UDim2.new(0, 90, 0, 30); | |
1613 | TextXAlignment = Enum.TextXAlignment.Center; | |
1614 | FontSize = Enum.FontSize.Size18; | |
1615 | Parent = Buttons; | |
1616 | ClipsDescendants = false; | |
1617 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1618 | Text = "Controls"; | |
1619 | TextWrap = false; | |
1620 | TextTransparency = 0; | |
1621 | Font = Enum.Font.SourceSans; | |
1622 | BackgroundTransparency = 0; | |
1623 | Position = UDim2.new(1, -94, 1, -35); | |
1624 | TextColor3 = Color3.new(1, 1, 1); | |
1625 | Style = Enum.ButtonStyle.RobloxRoundDefaultButton; | |
1626 | Name = "Controls"; | |
1627 | } | |
1628 | local CoolDownsButton = Create("TextButton"){ | |
1629 | Visible = true; | |
1630 | TextWrapped = false; | |
1631 | Active = true; | |
1632 | TextStrokeTransparency = 1; | |
1633 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1634 | BorderSizePixel = 1; | |
1635 | Draggable = false; | |
1636 | Modal = false; | |
1637 | AutoButtonColor = true; | |
1638 | TextYAlignment = Enum.TextYAlignment.Center; | |
1639 | TextScaled = false; | |
1640 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1641 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1642 | Selected = false; | |
1643 | Archivable = true; | |
1644 | Size = UDim2.new(0, 90, 0, 30); | |
1645 | TextXAlignment = Enum.TextXAlignment.Center; | |
1646 | FontSize = Enum.FontSize.Size18; | |
1647 | Parent = Buttons; | |
1648 | ClipsDescendants = false; | |
1649 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1650 | Text = "Cooldowns"; | |
1651 | TextWrap = false; | |
1652 | TextTransparency = 0; | |
1653 | Font = Enum.Font.SourceSans; | |
1654 | BackgroundTransparency = 0; | |
1655 | Position = UDim2.new(0, 99, 1, -35); | |
1656 | TextColor3 = Color3.new(1, 1, 1); | |
1657 | Style = Enum.ButtonStyle.RobloxRoundDefaultButton; | |
1658 | Name = "CoolDowns"; | |
1659 | } | |
1660 | local Status = Create("TextLabel"){ | |
1661 | Visible = true; | |
1662 | FontSize = Enum.FontSize.Size24; | |
1663 | Active = false; | |
1664 | Parent = Stats; | |
1665 | BorderSizePixel = 1; | |
1666 | TextStrokeTransparency = 0.69999998807907; | |
1667 | TextXAlignment = Enum.TextXAlignment.Center; | |
1668 | TextWrapped = false; | |
1669 | TextWrap = false; | |
1670 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1671 | TextTransparency = 0; | |
1672 | Archivable = true; | |
1673 | Size = UDim2.new(1, 0, 0, 20); | |
1674 | Draggable = false; | |
1675 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1676 | ClipsDescendants = false; | |
1677 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1678 | Text = "Status: Normal"; | |
1679 | TextColor3 = Color3.new(1, 1, 1); | |
1680 | Font = Enum.Font.SourceSans; | |
1681 | BackgroundTransparency = 1; | |
1682 | Position = UDim2.new(0, 0, 0, 195); | |
1683 | Name = "Status"; | |
1684 | TextYAlignment = Enum.TextYAlignment.Center; | |
1685 | TextScaled = false; | |
1686 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1687 | } | |
1688 | local CoolDowns = Create("Frame"){ | |
1689 | Visible = true; | |
1690 | Active = false; | |
1691 | Parent = Background; | |
1692 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1693 | Archivable = true; | |
1694 | Size = UDim2.new(1, 20, 0, 100); | |
1695 | Draggable = false; | |
1696 | ClipsDescendants = false; | |
1697 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1698 | Style = Enum.FrameStyle.DropShadow; | |
1699 | BackgroundTransparency = 0; | |
1700 | Position = UDim2.new(1, 10, 0, -105); | |
1701 | BorderSizePixel = 1; | |
1702 | Name = "CoolDowns"; | |
1703 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1704 | } | |
1705 | local TouchOfDeath = Create("TextLabel"){ | |
1706 | Visible = true; | |
1707 | FontSize = Enum.FontSize.Size14; | |
1708 | Active = false; | |
1709 | Parent = CoolDowns; | |
1710 | BorderSizePixel = 0; | |
1711 | TextStrokeTransparency = 0.69999998807907; | |
1712 | TextXAlignment = Enum.TextXAlignment.Center; | |
1713 | TextWrapped = false; | |
1714 | TextWrap = false; | |
1715 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1716 | TextTransparency = 0; | |
1717 | Archivable = true; | |
1718 | Size = UDim2.new(0, 90, 0, 35); | |
1719 | Draggable = false; | |
1720 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1721 | ClipsDescendants = false; | |
1722 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1723 | Text = "TouchOfDeath"; | |
1724 | TextColor3 = Color3.new(1, 1, 1); | |
1725 | Font = Enum.Font.SourceSans; | |
1726 | BackgroundTransparency = 0; | |
1727 | Position = UDim2.new(0, 0, 0, 0); | |
1728 | Name = "TouchOfDeath"; | |
1729 | TextYAlignment = Enum.TextYAlignment.Center; | |
1730 | TextScaled = false; | |
1731 | BackgroundColor3 = Color3.new(1, 0.376471, 0.439216); | |
1732 | } | |
1733 | local SurgingMists = Create("TextLabel"){ | |
1734 | Visible = true; | |
1735 | FontSize = Enum.FontSize.Size14; | |
1736 | Active = false; | |
1737 | Parent = CoolDowns; | |
1738 | BorderSizePixel = 0; | |
1739 | TextStrokeTransparency = 0.69999998807907; | |
1740 | TextXAlignment = Enum.TextXAlignment.Center; | |
1741 | TextWrapped = false; | |
1742 | TextWrap = false; | |
1743 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1744 | TextTransparency = 0; | |
1745 | Archivable = true; | |
1746 | Size = UDim2.new(0, 90, 0, 35); | |
1747 | Draggable = false; | |
1748 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1749 | ClipsDescendants = false; | |
1750 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1751 | Text = "SurgingMists"; | |
1752 | TextColor3 = Color3.new(1, 1, 1); | |
1753 | Font = Enum.Font.SourceSans; | |
1754 | BackgroundTransparency = 0; | |
1755 | Position = UDim2.new(0, 100, 0, 0); | |
1756 | Name = "SurgingMists"; | |
1757 | TextYAlignment = Enum.TextYAlignment.Center; | |
1758 | TextScaled = false; | |
1759 | BackgroundColor3 = Color3.new(0.329412, 0.898039, 0.282353); | |
1760 | } | |
1761 | local FlameBreath = Create("TextLabel"){ | |
1762 | Visible = true; | |
1763 | FontSize = Enum.FontSize.Size14; | |
1764 | Active = false; | |
1765 | Parent = CoolDowns; | |
1766 | BorderSizePixel = 0; | |
1767 | TextStrokeTransparency = 0.69999998807907; | |
1768 | TextXAlignment = Enum.TextXAlignment.Center; | |
1769 | TextWrapped = false; | |
1770 | TextWrap = false; | |
1771 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1772 | TextTransparency = 0; | |
1773 | Archivable = true; | |
1774 | Size = UDim2.new(0, 90, 0, 35); | |
1775 | Draggable = false; | |
1776 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1777 | ClipsDescendants = false; | |
1778 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1779 | Text = "FlameBreath"; | |
1780 | TextColor3 = Color3.new(1, 1, 1); | |
1781 | Font = Enum.Font.SourceSans; | |
1782 | BackgroundTransparency = 0; | |
1783 | Position = UDim2.new(1, -90, 0, 0); | |
1784 | Name = "FlameBreath"; | |
1785 | TextYAlignment = Enum.TextYAlignment.Center; | |
1786 | TextScaled = false; | |
1787 | BackgroundColor3 = Color3.new(0.270588, 0.85098, 1); | |
1788 | } | |
1789 | local Meditate = Create("TextLabel"){ | |
1790 | Visible = true; | |
1791 | FontSize = Enum.FontSize.Size14; | |
1792 | Active = false; | |
1793 | Parent = CoolDowns; | |
1794 | BorderSizePixel = 0; | |
1795 | TextStrokeTransparency = 0.69999998807907; | |
1796 | TextXAlignment = Enum.TextXAlignment.Center; | |
1797 | TextWrapped = false; | |
1798 | TextWrap = false; | |
1799 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1800 | TextTransparency = 0; | |
1801 | Archivable = true; | |
1802 | Size = UDim2.new(0, 110, 0, 35); | |
1803 | Draggable = false; | |
1804 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1805 | ClipsDescendants = false; | |
1806 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1807 | Text = "Meditate"; | |
1808 | TextColor3 = Color3.new(1, 1, 1); | |
1809 | Font = Enum.Font.SourceSans; | |
1810 | BackgroundTransparency = 0; | |
1811 | Position = UDim2.new(0, 0, 0, 45); | |
1812 | Name = "Meditate"; | |
1813 | TextYAlignment = Enum.TextYAlignment.Center; | |
1814 | TextScaled = false; | |
1815 | BackgroundColor3 = Color3.new(0.694118, 0.298039, 0.701961); | |
1816 | } | |
1817 | local Debounce = Create("TextLabel"){ | |
1818 | Visible = true; | |
1819 | FontSize = Enum.FontSize.Size14; | |
1820 | Active = false; | |
1821 | Parent = CoolDowns; | |
1822 | BorderSizePixel = 0; | |
1823 | TextStrokeTransparency = 0.69999998807907; | |
1824 | TextXAlignment = Enum.TextXAlignment.Center; | |
1825 | TextWrapped = false; | |
1826 | TextWrap = false; | |
1827 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1828 | TextTransparency = 0; | |
1829 | Archivable = true; | |
1830 | Size = UDim2.new(0, 70, 0, 35); | |
1831 | Draggable = false; | |
1832 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1833 | ClipsDescendants = false; | |
1834 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1835 | Text = "Debounce"; | |
1836 | TextColor3 = Color3.new(1, 1, 1); | |
1837 | Font = Enum.Font.SourceSans; | |
1838 | BackgroundTransparency = 0; | |
1839 | Position = UDim2.new(0, 120, 0, 45); | |
1840 | Name = "Debounce"; | |
1841 | TextYAlignment = Enum.TextYAlignment.Center; | |
1842 | TextScaled = false; | |
1843 | BackgroundColor3 = Color3.new(0.839216, 0.854902, 0.32549); | |
1844 | } | |
1845 | local Karma = Create("TextLabel"){ | |
1846 | Visible = true; | |
1847 | FontSize = Enum.FontSize.Size14; | |
1848 | Active = false; | |
1849 | Parent = CoolDowns; | |
1850 | BorderSizePixel = 0; | |
1851 | TextStrokeTransparency = 0.69999998807907; | |
1852 | TextXAlignment = Enum.TextXAlignment.Center; | |
1853 | TextWrapped = false; | |
1854 | TextWrap = false; | |
1855 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1856 | TextTransparency = 0; | |
1857 | Archivable = true; | |
1858 | Size = UDim2.new(0, 90, 0, 35); | |
1859 | Draggable = false; | |
1860 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1861 | ClipsDescendants = false; | |
1862 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1863 | Text = "Karma"; | |
1864 | TextColor3 = Color3.new(1, 1, 1); | |
1865 | Font = Enum.Font.SourceSans; | |
1866 | BackgroundTransparency = 0; | |
1867 | Position = UDim2.new(1, -90, 0, 45); | |
1868 | Name = "Karma"; | |
1869 | TextYAlignment = Enum.TextYAlignment.Center; | |
1870 | TextScaled = false; | |
1871 | BackgroundColor3 = Color3.new(0.466667, 0.466667, 0.466667); | |
1872 | } | |
1873 | local Help = Create("Frame"){ | |
1874 | Visible = true; | |
1875 | Active = false; | |
1876 | Parent = Monk; | |
1877 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1878 | Archivable = true; | |
1879 | Size = UDim2.new(0, 500, 0, 300); | |
1880 | Draggable = false; | |
1881 | ClipsDescendants = false; | |
1882 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1883 | Style = Enum.FrameStyle.DropShadow; | |
1884 | BackgroundTransparency = 0; | |
1885 | Position = UDim2.new(1,0,.5,-150); | |
1886 | BorderSizePixel = 1; | |
1887 | Name = "Help"; | |
1888 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1889 | } | |
1890 | local Title = Create("TextLabel"){ | |
1891 | Visible = true; | |
1892 | FontSize = Enum.FontSize.Size24; | |
1893 | Active = false; | |
1894 | Parent = Help; | |
1895 | BorderSizePixel = 1; | |
1896 | TextStrokeTransparency = 1; | |
1897 | TextXAlignment = Enum.TextXAlignment.Center; | |
1898 | TextWrapped = false; | |
1899 | TextWrap = false; | |
1900 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1901 | TextTransparency = 0; | |
1902 | Archivable = true; | |
1903 | Size = UDim2.new(1, 0, 0, 30); | |
1904 | Draggable = false; | |
1905 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1906 | ClipsDescendants = false; | |
1907 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1908 | Text = "Monk Controls"; | |
1909 | TextColor3 = Color3.new(1, 1, 1); | |
1910 | Font = Enum.Font.SourceSans; | |
1911 | BackgroundTransparency = 1; | |
1912 | Position = UDim2.new(0, 0, 0, 0); | |
1913 | Name = "Title"; | |
1914 | TextYAlignment = Enum.TextYAlignment.Center; | |
1915 | TextScaled = false; | |
1916 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1917 | } | |
1918 | local Border = Create("Frame"){ | |
1919 | Visible = true; | |
1920 | Active = false; | |
1921 | Parent = Title; | |
1922 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1923 | Archivable = true; | |
1924 | Size = UDim2.new(1, 0, 0, 1); | |
1925 | Draggable = false; | |
1926 | ClipsDescendants = false; | |
1927 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1928 | Style = Enum.FrameStyle.Custom; | |
1929 | BackgroundTransparency = 0; | |
1930 | Position = UDim2.new(0, 0, 1, 0); | |
1931 | BorderSizePixel = 0; | |
1932 | Name = "Border"; | |
1933 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1934 | } | |
1935 | local Content = Create("ScrollingFrame"){ | |
1936 | Visible = true; | |
1937 | Active = false; | |
1938 | Parent = Help; | |
1939 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1940 | Archivable = true; | |
1941 | Size = UDim2.new(1, 0, 1, -35); | |
1942 | Draggable = false; | |
1943 | ClipsDescendants = true; | |
1944 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1945 | ScrollBarThickness = 7; | |
1946 | BackgroundTransparency = 0; | |
1947 | Position = UDim2.new(0, 0, 0, 35); | |
1948 | BorderSizePixel = 0; | |
1949 | Name = "Content"; | |
1950 | BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549); | |
1951 | CanvasSize = UDim2.new(1,0,1.35,0) | |
1952 | } | |
1953 | local Line7 = Create("TextLabel"){ | |
1954 | Visible = true; | |
1955 | FontSize = Enum.FontSize.Size18; | |
1956 | Active = false; | |
1957 | Parent = Content; | |
1958 | BorderSizePixel = 1; | |
1959 | TextStrokeTransparency = 1; | |
1960 | TextXAlignment = Enum.TextXAlignment.Left; | |
1961 | TextWrapped = true; | |
1962 | TextWrap = true; | |
1963 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1964 | TextTransparency = 0; | |
1965 | Archivable = true; | |
1966 | Size = UDim2.new(1, 0, 0, 30); | |
1967 | Draggable = false; | |
1968 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1969 | ClipsDescendants = false; | |
1970 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1971 | Text = "[G] - [Enemy Toggle]: Toggles your target between enemy and ally. Allies cannot take damage."; | |
1972 | TextColor3 = Color3.new(1, 1, 1); | |
1973 | Font = Enum.Font.SourceSans; | |
1974 | BackgroundTransparency = 1; | |
1975 | Position = UDim2.new(0, 0, 0, 190); | |
1976 | Name = "Line7"; | |
1977 | TextYAlignment = Enum.TextYAlignment.Center; | |
1978 | TextScaled = false; | |
1979 | BackgroundColor3 = Color3.new(1, 1, 1); | |
1980 | } | |
1981 | local Line6 = Create("TextLabel"){ | |
1982 | Visible = true; | |
1983 | FontSize = Enum.FontSize.Size18; | |
1984 | Active = false; | |
1985 | Parent = Content; | |
1986 | BorderSizePixel = 1; | |
1987 | TextStrokeTransparency = 1; | |
1988 | TextXAlignment = Enum.TextXAlignment.Left; | |
1989 | TextWrapped = true; | |
1990 | TextWrap = true; | |
1991 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
1992 | TextTransparency = 0; | |
1993 | Archivable = true; | |
1994 | Size = UDim2.new(1, 0, 0, 30); | |
1995 | Draggable = false; | |
1996 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
1997 | ClipsDescendants = false; | |
1998 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
1999 | Text = "[F] - [FlameBreath]: Ignites targets within a cone in front of your character."; | |
2000 | TextColor3 = Color3.new(1, 1, 1); | |
2001 | Font = Enum.Font.SourceSans; | |
2002 | BackgroundTransparency = 1; | |
2003 | Position = UDim2.new(0, 0, 0, 160); | |
2004 | Name = "Line6"; | |
2005 | TextYAlignment = Enum.TextYAlignment.Center; | |
2006 | TextScaled = false; | |
2007 | BackgroundColor3 = Color3.new(1, 1, 1); | |
2008 | } | |
2009 | local Line5 = Create("TextLabel"){ | |
2010 | Visible = true; | |
2011 | FontSize = Enum.FontSize.Size18; | |
2012 | Active = false; | |
2013 | Parent = Content; | |
2014 | BorderSizePixel = 1; | |
2015 | TextStrokeTransparency = 1; | |
2016 | TextXAlignment = Enum.TextXAlignment.Left; | |
2017 | TextWrapped = true; | |
2018 | TextWrap = true; | |
2019 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
2020 | TextTransparency = 0; | |
2021 | Archivable = true; | |
2022 | Size = UDim2.new(1, 0, 0, 30); | |
2023 | Draggable = false; | |
2024 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
2025 | ClipsDescendants = false; | |
2026 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
2027 | Text = "[Y] - [Self Target]: Targets your own character."; | |
2028 | TextColor3 = Color3.new(1, 1, 1); | |
2029 | Font = Enum.Font.SourceSans; | |
2030 | BackgroundTransparency = 1; | |
2031 | Position = UDim2.new(0, 0, 0, 130); | |
2032 | Name = "Line5"; | |
2033 | TextYAlignment = Enum.TextYAlignment.Center; | |
2034 | TextScaled = false; | |
2035 | BackgroundColor3 = Color3.new(1, 1, 1); | |
2036 | } | |
2037 | local Line4 = Create("TextLabel"){ | |
2038 | Visible = true; | |
2039 | FontSize = Enum.FontSize.Size18; | |
2040 | Active = false; | |
2041 | Parent = Content; | |
2042 | BorderSizePixel = 1; | |
2043 | TextStrokeTransparency = 1; | |
2044 | TextXAlignment = Enum.TextXAlignment.Left; | |
2045 | TextWrapped = true; | |
2046 | TextWrap = true; | |
2047 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
2048 | TextTransparency = 0; | |
2049 | Archivable = true; | |
2050 | Size = UDim2.new(1, 0, 0, 30); | |
2051 | Draggable = false; | |
2052 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
2053 | ClipsDescendants = false; | |
2054 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
2055 | Text = "[T] - [Target]: Targets the player under your mouse."; | |
2056 | TextColor3 = Color3.new(1, 1, 1); | |
2057 | Font = Enum.Font.SourceSans; | |
2058 | BackgroundTransparency = 1; | |
2059 | Position = UDim2.new(0, 0, 0, 100); | |
2060 | Name = "Line4"; | |
2061 | TextYAlignment = Enum.TextYAlignment.Center; | |
2062 | TextScaled = false; | |
2063 | BackgroundColor3 = Color3.new(1, 1, 1); | |
2064 | } | |
2065 | local Line3 = Create("TextLabel"){ | |
2066 | Visible = true; | |
2067 | FontSize = Enum.FontSize.Size18; | |
2068 | Active = false; | |
2069 | Parent = Content; | |
2070 | BorderSizePixel = 1; | |
2071 | TextStrokeTransparency = 1; | |
2072 | TextXAlignment = Enum.TextXAlignment.Left; | |
2073 | TextWrapped = true; | |
2074 | TextWrap = true; | |
2075 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
2076 | TextTransparency = 0; | |
2077 | Archivable = true; | |
2078 | Size = UDim2.new(1, 0, 0, 40); | |
2079 | Draggable = false; | |
2080 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
2081 | ClipsDescendants = false; | |
2082 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
2083 | Text = "[E] - [Ground Smash]: Uppercut enemies then slam back to the ground to deal devastating damage."; | |
2084 | TextColor3 = Color3.new(1, 1, 1); | |
2085 | Font = Enum.Font.SourceSans; | |
2086 | BackgroundTransparency = 1; | |
2087 | Position = UDim2.new(0, 0, 0, 60); | |
2088 | Name = "Line3"; | |
2089 | TextYAlignment = Enum.TextYAlignment.Top; | |
2090 | TextScaled = false; | |
2091 | BackgroundColor3 = Color3.new(1, 1, 1); | |
2092 | } | |
2093 | local Line2 = Create("TextLabel"){ | |
2094 | Visible = true; | |
2095 | FontSize = Enum.FontSize.Size18; | |
2096 | Active = false; | |
2097 | Parent = Content; | |
2098 | BorderSizePixel = 1; | |
2099 | TextStrokeTransparency = 1; | |
2100 | TextXAlignment = Enum.TextXAlignment.Left; | |
2101 | TextWrapped = false; | |
2102 | TextWrap = false; | |
2103 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
2104 | TextTransparency = 0; | |
2105 | Archivable = true; | |
2106 | Size = UDim2.new(1, 0, 0, 30); | |
2107 | Draggable = false; | |
2108 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
2109 | ClipsDescendants = false; | |
2110 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
2111 | Text = "[Q] - [Meditate]: Regenerates Health and Mana over time."; | |
2112 | TextColor3 = Color3.new(1, 1, 1); | |
2113 | Font = Enum.Font.SourceSans; | |
2114 | BackgroundTransparency = 1; | |
2115 | Position = UDim2.new(0, 0, 0, 30); | |
2116 | Name = "Line2"; | |
2117 | TextYAlignment = Enum.TextYAlignment.Center; | |
2118 | TextScaled = false; | |
2119 | BackgroundColor3 = Color3.new(1, 1, 1); | |
2120 | } | |
2121 | local Line1 = Create("TextLabel"){ | |
2122 | Visible = true; | |
2123 | FontSize = Enum.FontSize.Size18; | |
2124 | Active = false; | |
2125 | Parent = Content; | |
2126 | BorderSizePixel = 1; | |
2127 | TextStrokeTransparency = 1; | |
2128 | TextXAlignment = Enum.TextXAlignment.Left; | |
2129 | TextWrapped = false; | |
2130 | TextWrap = false; | |
2131 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
2132 | TextTransparency = 0; | |
2133 | Archivable = true; | |
2134 | Size = UDim2.new(1, 0, 0, 30); | |
2135 | Draggable = false; | |
2136 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
2137 | ClipsDescendants = false; | |
2138 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
2139 | Text = "[Ctrl+Alt] - [Chi Torpedo]: Vault forward"; | |
2140 | TextColor3 = Color3.new(1, 1, 1); | |
2141 | Font = Enum.Font.SourceSans; | |
2142 | BackgroundTransparency = 1; | |
2143 | Position = UDim2.new(0, 0, 0, 0); | |
2144 | Name = "Line1"; | |
2145 | TextYAlignment = Enum.TextYAlignment.Center; | |
2146 | TextScaled = false; | |
2147 | BackgroundColor3 = Color3.new(1, 1, 1); | |
2148 | } | |
2149 | local Line8 = Create("TextLabel"){ | |
2150 | Visible = true; | |
2151 | FontSize = Enum.FontSize.Size18; | |
2152 | Active = false; | |
2153 | Parent = Content; | |
2154 | BorderSizePixel = 1; | |
2155 | TextStrokeTransparency = 1; | |
2156 | TextXAlignment = Enum.TextXAlignment.Left; | |
2157 | TextWrapped = true; | |
2158 | TextWrap = true; | |
2159 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
2160 | TextTransparency = 0; | |
2161 | Archivable = true; | |
2162 | Size = UDim2.new(1, 0, 0, 30); | |
2163 | Draggable = false; | |
2164 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
2165 | ClipsDescendants = false; | |
2166 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
2167 | Text = "[H] - [Soothing Mists]: Gives a stat buff to your target."; | |
2168 | TextColor3 = Color3.new(1, 1, 1); | |
2169 | Font = Enum.Font.SourceSans; | |
2170 | BackgroundTransparency = 1; | |
2171 | Position = UDim2.new(0, 0, 0, 220); | |
2172 | Name = "Line8"; | |
2173 | TextYAlignment = Enum.TextYAlignment.Center; | |
2174 | TextScaled = false; | |
2175 | BackgroundColor3 = Color3.new(1, 1, 1); | |
2176 | } | |
2177 | local Line9 = Create("TextLabel"){ | |
2178 | Visible = true; | |
2179 | FontSize = Enum.FontSize.Size18; | |
2180 | Active = false; | |
2181 | Parent = Content; | |
2182 | BorderSizePixel = 1; | |
2183 | TextStrokeTransparency = 1; | |
2184 | TextXAlignment = Enum.TextXAlignment.Left; | |
2185 | TextWrapped = true; | |
2186 | TextWrap = true; | |
2187 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
2188 | TextTransparency = 0; | |
2189 | Archivable = true; | |
2190 | Size = UDim2.new(1, 0, 0, 30); | |
2191 | Draggable = false; | |
2192 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
2193 | ClipsDescendants = false; | |
2194 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
2195 | Text = "[Z] - [Touch of Karma]: 50% of all damage taken will be replicated onto the target."; | |
2196 | TextColor3 = Color3.new(1, 1, 1); | |
2197 | Font = Enum.Font.SourceSans; | |
2198 | BackgroundTransparency = 1; | |
2199 | Position = UDim2.new(0, 0, 0, 250); | |
2200 | Name = "Line9"; | |
2201 | TextYAlignment = Enum.TextYAlignment.Center; | |
2202 | TextScaled = false; | |
2203 | BackgroundColor3 = Color3.new(1, 1, 1); | |
2204 | } | |
2205 | ||
2206 | local Line10 = Create("TextLabel"){ | |
2207 | Visible = true; | |
2208 | FontSize = Enum.FontSize.Size18; | |
2209 | Active = false; | |
2210 | Parent = Content; | |
2211 | BorderSizePixel = 1; | |
2212 | TextStrokeTransparency = 1; | |
2213 | TextXAlignment = Enum.TextXAlignment.Left; | |
2214 | TextWrapped = true; | |
2215 | TextWrap = true; | |
2216 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
2217 | TextTransparency = 0; | |
2218 | Archivable = true; | |
2219 | Size = UDim2.new(1, 0, 0, 30); | |
2220 | Draggable = false; | |
2221 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
2222 | ClipsDescendants = false; | |
2223 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
2224 | Text = "[X] - [TouchOfDeath]: Deals incredible scales of damage to targets below 10% HP."; | |
2225 | TextColor3 = Color3.new(1, 1, 1); | |
2226 | Font = Enum.Font.SourceSans; | |
2227 | BackgroundTransparency = 1; | |
2228 | Position = UDim2.new(0, 0, 0, 280); | |
2229 | Name = "Line10"; | |
2230 | TextYAlignment = Enum.TextYAlignment.Center; | |
2231 | TextScaled = false; | |
2232 | BackgroundColor3 = Color3.new(1, 1, 1); | |
2233 | } | |
2234 | ||
2235 | local Line11 = Create("TextLabel"){ | |
2236 | Visible = true; | |
2237 | FontSize = Enum.FontSize.Size18; | |
2238 | Active = false; | |
2239 | Parent = Content; | |
2240 | BorderSizePixel = 1; | |
2241 | TextStrokeTransparency = 1; | |
2242 | TextXAlignment = Enum.TextXAlignment.Left; | |
2243 | TextWrapped = true; | |
2244 | TextWrap = true; | |
2245 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
2246 | TextTransparency = 0; | |
2247 | Archivable = true; | |
2248 | Size = UDim2.new(1, 0, 0, 30); | |
2249 | Draggable = false; | |
2250 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
2251 | ClipsDescendants = false; | |
2252 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
2253 | Text = "[C] - [SurgingMists]: Instantly heals your target."; | |
2254 | TextColor3 = Color3.new(1, 1, 1); | |
2255 | Font = Enum.Font.SourceSans; | |
2256 | BackgroundTransparency = 1; | |
2257 | Position = UDim2.new(0, 0, 0, 310); | |
2258 | Name = "Line11"; | |
2259 | TextYAlignment = Enum.TextYAlignment.Center; | |
2260 | TextScaled = false; | |
2261 | BackgroundColor3 = Color3.new(1, 1, 1); | |
2262 | } | |
2263 | ||
2264 | local Line12 = Create("TextLabel"){ | |
2265 | Visible = true; | |
2266 | FontSize = Enum.FontSize.Size18; | |
2267 | Active = false; | |
2268 | Parent = Content; | |
2269 | BorderSizePixel = 1; | |
2270 | TextStrokeTransparency = 1; | |
2271 | TextXAlignment = Enum.TextXAlignment.Left; | |
2272 | TextWrapped = true; | |
2273 | TextWrap = true; | |
2274 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
2275 | TextTransparency = 0; | |
2276 | Archivable = true; | |
2277 | Size = UDim2.new(1, 0, 0, 30); | |
2278 | Draggable = false; | |
2279 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
2280 | ClipsDescendants = false; | |
2281 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
2282 | Text = "[V] - [ShadowSight]: Allows you to monitor your target."; | |
2283 | TextColor3 = Color3.new(1, 1, 1); | |
2284 | Font = Enum.Font.SourceSans; | |
2285 | BackgroundTransparency = 1; | |
2286 | Position = UDim2.new(0, 0, 0, 340); | |
2287 | Name = "Line12"; | |
2288 | TextYAlignment = Enum.TextYAlignment.Center; | |
2289 | TextScaled = false; | |
2290 | BackgroundColor3 = Color3.new(1, 1, 1); | |
2291 | } | |
2292 | local Line12 = Create("TextLabel"){ | |
2293 | Visible = true; | |
2294 | FontSize = Enum.FontSize.Size18; | |
2295 | Active = false; | |
2296 | Parent = Content; | |
2297 | BorderSizePixel = 1; | |
2298 | TextStrokeTransparency = 1; | |
2299 | TextXAlignment = Enum.TextXAlignment.Left; | |
2300 | TextWrapped = true; | |
2301 | TextWrap = true; | |
2302 | SizeConstraint = Enum.SizeConstraint.RelativeXY; | |
2303 | TextTransparency = 0; | |
2304 | Archivable = true; | |
2305 | Size = UDim2.new(1, 0, 0, 30); | |
2306 | Draggable = false; | |
2307 | TextStrokeColor3 = Color3.new(0, 0, 0); | |
2308 | ClipsDescendants = false; | |
2309 | BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843); | |
2310 | Text = "[Shift] - [Sprint]: Move at a quickened pace."; | |
2311 | TextColor3 = Color3.new(1, 1, 1); | |
2312 | Font = Enum.Font.SourceSans; | |
2313 | BackgroundTransparency = 1; | |
2314 | Position = UDim2.new(0, 0, 0, 370); | |
2315 | Name = "Line12"; | |
2316 | TextYAlignment = Enum.TextYAlignment.Center; | |
2317 | TextScaled = false; | |
2318 | BackgroundColor3 = Color3.new(1, 1, 1); | |
2319 | } | |
2320 | ||
2321 | this.Skills = { | |
2322 | ["TouchOfDeath"] = TouchOfDeath; | |
2323 | ["SurgingMists"] = SurgingMists; | |
2324 | ["FlameBreath"] = FlameBreath; | |
2325 | ["Meditate"] = Meditate; | |
2326 | ["Debounce"] = Debounce; | |
2327 | ["Karma"] = Karma; | |
2328 | } | |
2329 | ||
2330 | function this:SetHealth(newHealth,MaxHealth) | |
2331 | local OldSize = hStatus.Size | |
2332 | hStatus.Size = UDim2.new(0, newHealth / MaxHealth * 281,0,22) | |
2333 | hText.Text = "Health: "..tostring(newHealth).."/"..tostring(MaxHealth).." ("..math.floor((newHealth/MaxHealth)*100).."%)" | |
2334 | end | |
2335 | ||
2336 | HideName.MouseButton1Down:connect(function() | |
2337 | ||
2338 | end) | |
2339 | ||
2340 | function this:SetMana(int) | |
2341 | local OldSize = fStatus.Size | |
2342 | fStatus.Size = UDim2.new(0, int / 100 * 281,0,22) | |
2343 | fText.Text = "Mana: "..tostring(int).."/100".." ("..math.floor((int/100)*100).."%)" | |
2344 | end | |
2345 | ||
2346 | function this:SetCP(int)--//Chi | |
2347 | local OldSize = cStatus.Size | |
2348 | cStatus.Size = UDim2.new(0, int / 5 * 281,0,22) | |
2349 | cText.Text = "Chi: "..tostring(int).."/5" | |
2350 | end | |
2351 | ||
2352 | function this:SetTarget(targ) | |
2353 | if targ=='No Target' then | |
2354 | Target.Text = 'No Target' | |
2355 | else | |
2356 | Target.Text = (isFriendly() and 'Ally' or 'Enemy')..": "..targ | |
2357 | end | |
2358 | end | |
2359 | ||
2360 | function this:SetTH(newHealth,MaxHealth)--//Target Health | |
2361 | if not type(newHealth) == 'number' then newHealth = 0 end | |
2362 | if not type(MaxHealth) == 'number' then MaxHealth = 0 end | |
2363 | local OldSize = tStatus.Size | |
2364 | tStatus.Size = UDim2.new(0, newHealth / MaxHealth * 281,0,22) | |
2365 | tText.Text = "Health: "..tostring(newHealth).."/"..tostring(MaxHealth)..(newHealth > 0 and " ("..math.floor((newHealth/MaxHealth)*100).."%)" or "") | |
2366 | end | |
2367 | ||
2368 | function this:SetTitle() | |
2369 | mTitle.Text = '~~~~ Monk ~~~~' | |
2370 | end | |
2371 | ||
2372 | function this:ToggleHelp() | |
2373 | Thread(function() | |
2374 | if this.Debounces.HelpOpen == true then | |
2375 | Help:TweenPosition(UDim2.new(1,0,.5,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1) | |
2376 | this.Debounces.HelpOpen = false | |
2377 | elseif this.Debounces.HelpOpen == false then | |
2378 | Help:TweenPosition(UDim2.new(0.5, -320,.5,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1) | |
2379 | this.Debounces.HelpOpen = true | |
2380 | end | |
2381 | end) | |
2382 | end | |
2383 | ||
2384 | function this:ToggleCD() | |
2385 | Thread(function() | |
2386 | if this.Debounces.CoolDownOpen == true then | |
2387 | CoolDowns:TweenPosition(UDim2.new(1,10,0,-105),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1) | |
2388 | this.Debounces.CoolDownOpen = false | |
2389 | elseif this.Debounces.CoolDownOpen == false then | |
2390 | CoolDowns:TweenPosition(UDim2.new(0,-10,0,-105),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1) | |
2391 | this.Debounces.CoolDownOpen = true | |
2392 | end | |
2393 | end) | |
2394 | end | |
2395 | ||
2396 | function this:SetCD(skill,int) | |
2397 | assert(this.Skills[skill] ~= nil,"not a valid skill") | |
2398 | local Skill = this.Skills[skill] | |
2399 | if int > 0 then | |
2400 | Skill.Text = skill..": "..tostring(int).."s" | |
2401 | else | |
2402 | Skill.Text = skill | |
2403 | end | |
2404 | end | |
2405 | ||
2406 | function this:SetAnim(s) | |
2407 | Anim.Text = "Animation: "..tostring(s) | |
2408 | end | |
2409 | ||
2410 | function this:SetStatus(s) | |
2411 | Status.Text = "Status: "..tostring(s) | |
2412 | end | |
2413 | ||
2414 | Controls.MouseButton1Down:connect(function()this:ToggleHelp()end) | |
2415 | CoolDownsButton.MouseButton1Down:connect(function()this:ToggleCD()end) | |
2416 | return this | |
2417 | end | |
2418 | local UI = CreateUI(game.Players.LocalPlayer) | |
2419 | ||
2420 | ||
2421 | function Title(txt,part,color,rise,spell) | |
2422 | local col = color | |
2423 | local Gui = Instance.new("BillboardGui",part) | |
2424 | Gui.Name = "3DGUI" | |
2425 | Gui.ExtentsOffset = Vector3.new(0,2,0) | |
2426 | Gui.Size = UDim2.new(8,0,2,0) | |
2427 | local Tit = Instance.new("TextLabel",Gui) | |
2428 | Tit.Name = "Gooey" | |
2429 | Tit.TextColor3 = col | |
2430 | Tit.TextTransparency = 0.25 | |
2431 | Tit.TextStrokeColor3 = col | |
2432 | Tit.TextStrokeTransparency = 1 | |
2433 | Tit.Size = UDim2.new(1,0,1,0) | |
2434 | Tit.BackgroundTransparency = 1 | |
2435 | Tit.Font = "Arial" | |
2436 | Tit.TextScaled = true | |
2437 | Tit.Text = txt | |
2438 | if rise then | |
2439 | if not tonumber(rise) then rise = 6 end | |
2440 | coroutine.wrap(function() | |
2441 | local randvar = (spell and 0 or math.random(-4,4)) | |
2442 | while Tit.Parent and Gui.Parent and wait() do | |
2443 | Gui.ExtentsOffset = Gui.ExtentsOffset + Vector3.new(0.025*randvar,0.025*rise,0.025) | |
2444 | end | |
2445 | end)() | |
2446 | end | |
2447 | game:service('Debris'):AddItem(Gui,2) | |
2448 | return Tit | |
2449 | end | |
2450 | ||
2451 | function DamageNear(Pos,Mag,Dmg,x) | |
2452 | local Targets,HitAlready = {},{} | |
2453 | for i,v in pairs(workspace:GetChildren())do | |
2454 | if v:IsA("Model")and v ~= Character and v:findFirstChild("Humanoid")then | |
2455 | for _,x in pairs(v:GetChildren())do | |
2456 | if x:IsA("BasePart")then | |
2457 | if(Pos -x.Position).magnitude <= Mag then | |
2458 | table.insert(Targets,v) | |
2459 | end | |
2460 | end | |
2461 | end | |
2462 | end | |
2463 | end | |
2464 | for i,v in pairs(Targets)do | |
2465 | if not HitAlready[v.Name]then | |
2466 | ypcall(function() | |
2467 | end) | |
2468 | HitAlready[v.Name] = true | |
2469 | end | |
2470 | end | |
2471 | end | |
2472 | ||
2473 | function weld(thing1,thing2) | |
2474 | local a = Instance.new('Weld'); | |
2475 | pcall(function() | |
2476 | a.Parent = thing1; | |
2477 | a.Part0 = thing1; | |
2478 | a.Part1 = thing2; | |
2479 | a.C0 = thing1.CFrame:inverse()*thing2.CFrame | |
2480 | end) | |
2481 | return a | |
2482 | end | |
2483 | ||
2484 | function IsNear(Position,Distance,SinglePlayer,db) | |
2485 | if SinglePlayer then | |
2486 | return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance | |
2487 | end | |
2488 | local List = {} | |
2489 | for i,v in pairs(workspace:GetChildren())do | |
2490 | if v:IsA("Model")then | |
2491 | if v:findFirstChild("Torso")then | |
2492 | --if (v ~= char and not db) then | |
2493 | if(v.Torso.CFrame.p -Position).magnitude < Distance then | |
2494 | table.insert(List,v) | |
2495 | end | |
2496 | --end | |
2497 | end | |
2498 | end | |
2499 | end | |
2500 | return List | |
2501 | end | |
2502 | ||
2503 | function createOrb() | |
2504 | ||
2505 | local Orb = Instance.new("Model") | |
2506 | Orb.Name = "OrbModel" | |
2507 | local PurplePart = Instance.new("Part", Orb) | |
2508 | PurplePart.BrickColor = BrickColor.new("Royal purple") | |
2509 | PurplePart.Anchored = true | |
2510 | PurplePart.Locked = true | |
2511 | PurplePart.CanCollide = false | |
2512 | PurplePart.Name = 'PurplePart' | |
2513 | PurplePart.Material = 'Plastic' | |
2514 | PurplePart.Size = Vector3.new(1, 1, 1) | |
2515 | PurplePart.BottomSurface = Enum.SurfaceType.Smooth | |
2516 | PurplePart.TopSurface = Enum.SurfaceType.Smooth | |
2517 | PurpleMesh = Instance.new("SpecialMesh", PurplePart) | |
2518 | PurpleMesh.MeshType = Enum.MeshType.Sphere | |
2519 | PurpleMesh.Name = "Mesh" | |
2520 | PurpleMesh.VertexColor = Vector3.new(1, 0, 1) | |
2521 | PurpleMesh.Scale = Vector3.new(1.5,1.5,1.5) | |
2522 | ||
2523 | local Ring = Instance.new("Part", PurplePart) | |
2524 | Ring.Name = "BlastRing" | |
2525 | Ring.TopSurface = 0 | |
2526 | Ring.BottomSurface = 0 | |
2527 | Ring.CanCollide = false | |
2528 | Ring.Anchored = true | |
2529 | Ring.Locked = true | |
2530 | Ring.Material = 'Neon' | |
2531 | Ring.BrickColor = BrickColor.new('Really black') | |
2532 | Ring.Size = Vector3.new(1,1,1) | |
2533 | local RingMesh = Instance.new("SpecialMesh",Ring) | |
2534 | RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2535 | RingMesh.Name = "BlastMesh" | |
2536 | RingMesh.Scale = Vector3.new(1.5,1.5,1.5) | |
2537 | ||
2538 | local target = Instance.new('Model') | |
2539 | target.Parent = PurplePart | |
2540 | target.Name = 'nil' | |
2541 | ||
2542 | Orb.Parent = char | |
2543 | OrbModel = Orb | |
2544 | ||
2545 | local Light = Instance.new("PointLight", PurplePart) | |
2546 | Light.Name = "HeadLight" | |
2547 | Light.Color = Color3.new(0,0,200/255) | |
2548 | Light.Range = 6 | |
2549 | Light.Brightness = 20 | |
2550 | ||
2551 | ||
2552 | local con = game:GetService("RunService").RenderStepped:connect(function() | |
2553 | local Targ | |
2554 | if not currentTarget then Targ = hum else Targ = currentTarget end | |
2555 | ||
2556 | local c = math.abs(math.cos(tick())) | |
2557 | ||
2558 | if c <= .6 then c = .6 end | |
2559 | ||
2560 | PurpleMesh.Scale = Vector3.new(c*1.1, c*1.1, c*1.1) | |
2561 | RingMesh.Scale = Vector3.new(c*1.1, c*1.1, c*1.1) | |
2562 | ||
2563 | if isFriendly() then target.Name = 'Friendly' else target.Name = 'Enemy' end | |
2564 | ||
2565 | if Targ:FindFirstChild(plr.Name..' Karma') then | |
2566 | ms = 'Really red' | |
2567 | ss = 'Really black' | |
2568 | else | |
2569 | ms = 'Royal purple' | |
2570 | ss = 'Really black' | |
2571 | end | |
2572 | PurplePart.BrickColor = BrickColor.new(ms) | |
2573 | Ring.BrickColor = BrickColor.new(ss) | |
2574 | ||
2575 | target.Parent = Targ | |
2576 | pcall(function() | |
2577 | PurplePart.CFrame = PurplePart.CFrame:lerp((Targ.Parent and Targ.Parent or char).Head.CFrame*CFrame.new(0,3,0),.5) | |
2578 | Ring.CFrame = CFrame.new(PurplePart.Position) * CFrame.fromEulerAnglesXYZ(-math.rad(80+(math.sin(tick())*8)), 0, math.rad(80+(math.sin(tick())*15))) | |
2579 | end) | |
2580 | end) | |
2581 | ||
2582 | local chnge = function(a) | |
2583 | if a=='Name' then | |
2584 | Orb:Destroy() | |
2585 | con:disconnect() | |
2586 | createOrb() | |
2587 | elseif a=='Parent' then | |
2588 | Orb:Destroy() | |
2589 | con:disconnect() | |
2590 | createOrb() | |
2591 | elseif a=='Anchored' then | |
2592 | Orb:Destroy() | |
2593 | con:disconnect() | |
2594 | createOrb() | |
2595 | elseif a=='Locked' then | |
2596 | Orb:Destroy() | |
2597 | con:disconnect() | |
2598 | createOrb() | |
2599 | end | |
2600 | end | |
2601 | ||
2602 | Orb.Changed:connect(chnge) | |
2603 | Ring.Changed:connect(chnge) | |
2604 | PurplePart.Changed:connect(chnge) | |
2605 | return Orb | |
2606 | end | |
2607 | ||
2608 | ||
2609 | function isFriendly() | |
2610 | ||
2611 | if currentTarget == hum then return end | |
2612 | ||
2613 | if Ally[currentTarget] then return true end | |
2614 | ||
2615 | return false | |
2616 | end | |
2617 | ||
2618 | function toggleFriendly() | |
2619 | ||
2620 | if currentTarget == hum then return end | |
2621 | ||
2622 | pcall(function()if Ally[currentTarget] then Ally[currentTarget] = nil else Ally[currentTarget] = true end end) | |
2623 | ||
2624 | end | |
2625 | ||
2626 | function Ringz(part,col) | |
2627 | for i = 1,6 do | |
2628 | local p = Instance.new("Part", Character) | |
2629 | p.Name = "BlastRing" | |
2630 | p.TopSurface = 0 | |
2631 | p.BottomSurface = 0 | |
2632 | p.CanCollide = false | |
2633 | p.Anchored = true | |
2634 | p.BrickColor = BrickColor.new(col) | |
2635 | p.Size = Vector3.new(1,1,1) | |
2636 | 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) | |
2637 | local rm = Instance.new("SpecialMesh",p) | |
2638 | rm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2639 | rm.Name = "BlastMesh" | |
2640 | rm.Scale = Vector3.new(1,1,1) | |
2641 | coroutine.wrap(function() | |
2642 | for n = 1,15 do | |
2643 | rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*.8 | |
2644 | if 2 +i/5 == 1.2 then | |
2645 | rm.Scale = rm.Scale + Vector3.new(0,0.9,0) | |
2646 | end | |
2647 | p.Transparency = n/15 | |
2648 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0) | |
2649 | Wait() | |
2650 | end | |
2651 | p:Destroy() | |
2652 | end)() | |
2653 | end | |
2654 | end | |
2655 | hum.JumpPower = 10 | |
2656 | Character.Humanoid.Jumping:connect(function() | |
2657 | if Jumping then return end | |
2658 | local eCtrl = Ctrl | |
2659 | if eCtrl then if not useMana(5) then return end end | |
2660 | Mode = 'Jumping' | |
2661 | Jumping = true | |
2662 | if eCtrl then crownExplode(torso.CFrame * CFrame.new(0, math.rad(90), 0), 'Black', .2) otheranims = true | |
2663 | Mode = 'Torpedo' end | |
2664 | local vu = Instance.new("BodyVelocity",torso) | |
2665 | vu.P = 500 | |
2666 | vu.maxForce = Vector3.new(10000000000,5000000000000000000000,100000000000) | |
2667 | vu.velocity = Vector3.new((head.CFrame.lookVector.X*(eCtrl and 100 or 10)),(eCtrl and 10 or 60),(head.CFrame.lookVector.Z*(eCtrl and 100 or 10))) | |
2668 | game:GetService("Debris"):AddItem(vu,0.267) | |
2669 | wait(0.6) | |
2670 | Jumping = false | |
2671 | otheranims = false | |
2672 | end) | |
2673 | ||
2674 | Search = false | |
2675 | ||
2676 | function shadowSight() | |
2677 | ||
2678 | if Search == false then | |
2679 | Search = true | |
2680 | for i,v in pairs(game.Players:getPlayers()) do | |
2681 | if v.Name~=char.Name then | |
2682 | for j,k in pairs(v.Character:GetChildren()) do | |
2683 | if k:IsA("BasePart") and k.Transparency >= 1 then | |
2684 | bawx=Instance.new("SelectionBox",camera) | |
2685 | bawx.Color = BrickColor.new("Bright red") | |
2686 | bawx.Transparency = .5 | |
2687 | bawx.Adornee = k | |
2688 | end | |
2689 | end | |
2690 | end | |
2691 | end | |
2692 | camera.CameraSubject = OrbModel.PurplePart | |
2693 | elseif Search == true then | |
2694 | Search = false | |
2695 | for i, v in pairs(camera:GetChildren()) do | |
2696 | if v:IsA("SelectionBox") then | |
2697 | v:Destroy() | |
2698 | end | |
2699 | end | |
2700 | camera.CameraSubject = hum | |
2701 | end | |
2702 | ||
2703 | end | |
2704 | ||
2705 | ||
2706 | function updateCooldowns() | |
2707 | local Skills = { | |
2708 | ["TouchOfDeath"] = true; | |
2709 | ["SurgingMists"] = true; | |
2710 | ["FlameBreath"] = true; | |
2711 | ["Meditate"] = true; | |
2712 | ["Debounce"] = true; | |
2713 | ["Karma"] = true; | |
2714 | } | |
2715 | ||
2716 | for i,v in pairs(Skills) do | |
2717 | if Cooldowns[i] then | |
2718 | local data = math.ceil(Cooldowns[i].timeRequired-(tick()-Cooldowns[i].startTime)) | |
2719 | if not data then data = -1 end | |
2720 | UI:SetCD(tostring(i), data) | |
2721 | end | |
2722 | end | |
2723 | ||
2724 | end | |
2725 | ||
2726 | function lerp(weld,beglerp,endlerp,speed) | |
2727 | weld.C0 = beglerp:lerp(endlerp,speed) | |
2728 | return weld.C0 | |
2729 | end | |
2730 | ||
2731 | newStat("Mana", 'NumberValue', 100) | |
2732 | newStat("Chi", 'NumberValue', 0) | |
2733 | newStat("Mastery", 'NumberValue', Mastery) | |
2734 | newStat("Haste", 'NumberValue', Haste) | |
2735 | newStat("CriticalStrikeBonus", 'NumberValue', 2) | |
2736 | ||
2737 | hum.WalkSpeed = 20 | |
2738 | - | hum.MaxHealth = 750 |
2738 | + | hum.MaxHealth = math.huge |
2739 | wait() | |
2740 | - | hum.Health = 750 |
2740 | + | hum.Health = math.huge |
2741 | lastenrage = tick() | |
2742 | ||
2743 | ohp = hum.Health | |
2744 | ||
2745 | Alert = function(txt, color, font, fontsize) | |
2746 | local Colorz = { | |
2747 | ["Red"] = Color3.new(255/255,0,0); | |
2748 | ["Green"] = Color3.new(0,255/255,0); | |
2749 | ["Blue"] = Color3.new(0,0,255/255); | |
2750 | ["Purple"] = Color3.new(255/255,255/255,0); | |
2751 | ["Black"] = Color3.new(0,0,0); | |
2752 | ["White"] = Color3.new(1,1,1); | |
2753 | ['Orange'] = Color3.new(1,0.5,0); | |
2754 | ['Yellow'] = Color3.new(1,1,0); | |
2755 | }; | |
2756 | ||
2757 | game:GetService('StarterGui'):SetCore('ChatMakeSystemMessage', { | |
2758 | Text = (txt and txt or 'nil'), | |
2759 | Color = (color and Colorz[color] or Color3.new(.8,0,0)), | |
2760 | Font = (font and font or 'SourceSansLight'), | |
2761 | FontSize = (fontsize and fontsize or 'Size14'), | |
2762 | }) | |
2763 | end | |
2764 | ||
2765 | function giveBuff(buffName, stat, duration, addition, targ) | |
2766 | local nTarg | |
2767 | nTarg = targ or currentTarget | |
2768 | if not nTarg then nTarg = hum end | |
2769 | ||
2770 | local pckt = Instance.new('Model') | |
2771 | pckt.Name = 'BUFF:'..buffName | |
2772 | pckt.Parent = nTarg | |
2773 | local Stat = Instance.new('StringValue') | |
2774 | Stat.Name = 'Stat' | |
2775 | Stat.Value = stat | |
2776 | Stat.Parent = pckt | |
2777 | local Duration = Instance.new('StringValue') | |
2778 | Duration.Name = 'Duration' | |
2779 | Duration.Value = duration | |
2780 | Duration.Parent = pckt | |
2781 | local Addition = Instance.new('StringValue') | |
2782 | Addition.Name = 'Addition' | |
2783 | Addition.Value = addition | |
2784 | Addition.Parent = pckt | |
2785 | ||
2786 | end | |
2787 | ||
2788 | hum.ChildAdded:connect(function(obj) | |
2789 | if obj.Name:sub(1,5)=='BUFF:' then | |
2790 | if Buffs[obj.Name] then return end | |
2791 | Buffs[obj.Name] = obj | |
2792 | local stat,dura,bnam,addi | |
2793 | stat = obj:WaitForChild('Stat').Value | |
2794 | dura = obj:WaitForChild('Duration').Value | |
2795 | bnam = obj.Name:sub(6) | |
2796 | addi = obj:WaitForChild('Addition').Value | |
2797 | ||
2798 | if not stat then stat = 'MainStat' end | |
2799 | if not dura then dura = 10 end | |
2800 | if not addi then addi = 0 end | |
2801 | ||
2802 | obj:Destroy() | |
2803 | ||
2804 | --Alert('DEBUG: '..stat..','..dura..','..bnam..','..addi, 'Yellow') | |
2805 | ||
2806 | coroutine.wrap(function() | |
2807 | Alert('Buff '..bnam..' received.', 'White') | |
2808 | if stat == 'MainStat' then stat = 'Agility' end | |
2809 | if stat == 'Health' then hum.MaxHealth = hum.MaxHealth + addi return end | |
2810 | if not stats[stat] then stats[stat] = 0 end | |
2811 | stats[stat] = stats[stat] + addi | |
2812 | for i = 0,dura do | |
2813 | wait(1) | |
2814 | end | |
2815 | Buffs[bnam] = nil | |
2816 | Alert('Buff '..bnam..' faded.', 'White') | |
2817 | stats[stat] = stats[stat] - addi | |
2818 | end)() | |
2819 | end | |
2820 | end) | |
2821 | ||
2822 | ||
2823 | hum.Changed:connect(function(val) | |
2824 | if val == "MaxHealth" then | |
2825 | ||
2826 | if not berserk then | |
2827 | --hum.MaxHealth = 500 | |
2828 | else | |
2829 | --hum.MaxHealth = 650 | |
2830 | end | |
2831 | ||
2832 | elseif val == 'Health_XML' then | |
2833 | if hum.Health < ohp then | |
2834 | lastdps = tick() | |
2835 | end | |
2836 | ohp = hum.Health | |
2837 | ||
2838 | elseif val =='PlatformStand' then | |
2839 | hum.PlatformStand = false | |
2840 | elseif val == "Sit" then | |
2841 | Kneeling = true | |
2842 | elseif val == "WalkSpeed" then | |
2843 | end | |
2844 | end) | |
2845 | regening = false | |
2846 | lastdps = tick() | |
2847 | function regenHealth() | |
2848 | if regening then return end | |
2849 | if (tick()-lastdps < 15) then return end | |
2850 | regening = true | |
2851 | local s = wait(1) | |
2852 | local health = hum.Health | |
2853 | if health > 0 and health < hum.MaxHealth then | |
2854 | local newHealthDelta = hum.MaxHealth * .03 | |
2855 | health = health + newHealthDelta | |
2856 | hum.Health = math.min(health,hum.MaxHealth) | |
2857 | end | |
2858 | ||
2859 | regening = false | |
2860 | end | |
2861 | ||
2862 | function checkCooldown(ability) | |
2863 | if not Cooldowns[ability] then return false end | |
2864 | local trem = (tick()-Cooldowns[ability].startTime) | |
2865 | if (trem <= Cooldowns[ability].timeRequired) then return true end | |
2866 | return false | |
2867 | end | |
2868 | ||
2869 | function setCooldown(ability, req) | |
2870 | Cooldowns[ability] = {startTime = tick(), timeRequired = req} | |
2871 | end | |
2872 | ||
2873 | function getRandomPlayer() | |
2874 | local players = game:service('Players'):GetPlayers() | |
2875 | if #players > 0 then | |
2876 | local plrz = players[math.random(#players)] | |
2877 | if plrz.Name == plr.Name then | |
2878 | repeat wait() plrz = players[math.random(#players)] until plrz.Name ~= plr.Name | |
2879 | currentTarget = plrz | |
2880 | Target(plrz) | |
2881 | end | |
2882 | return plrz | |
2883 | end | |
2884 | end | |
2885 | ||
2886 | function getTarget() | |
2887 | return currentTarget | |
2888 | end | |
2889 | ||
2890 | local mouse = plr:GetMouse() | |
2891 | mouse.Button1Down:connect(function() | |
2892 | if tick()-lastclick > .5 then combocounter = 0 end | |
2893 | if combocounter == 0 and not otheranims then | |
2894 | otheranims = true | |
2895 | candamage = true | |
2896 | Mode = 'Slash' | |
2897 | wait(.1+stats['Haste']) | |
2898 | otheranims = false | |
2899 | combocounter = 1 | |
2900 | elseif combocounter == 1 and not otheranims then | |
2901 | otheranims = true | |
2902 | candamage = true | |
2903 | Mode = 'Slash2' | |
2904 | wait(.1+stats['Haste']) | |
2905 | otheranims = false | |
2906 | combocounter = 2 | |
2907 | elseif combocounter == 2 and not otheranims then | |
2908 | otheranims = true | |
2909 | candamage = true | |
2910 | Mode = 'Slash3' | |
2911 | wait(.1+stats['Haste']) | |
2912 | otheranims = false | |
2913 | combocounter =3 | |
2914 | elseif combocounter == 3 and not otheranims then | |
2915 | otheranims = true | |
2916 | candamage = true | |
2917 | Mode = 'Slash4' | |
2918 | wait(.1+stats['Haste']) | |
2919 | otheranims = false | |
2920 | combocounter = 0 | |
2921 | end | |
2922 | candamage = false | |
2923 | lastclick = tick() | |
2924 | end) | |
2925 | ||
2926 | lastpress = tick() | |
2927 | function KeyDown(key) | |
2928 | local tar = getTarget() | |
2929 | lastpress = tick() | |
2930 | local cTarg = currentTarget and currentTarget or hum | |
2931 | local dpsCalc = getDPS() | |
2932 | ||
2933 | if key == 't' then | |
2934 | if mouse.Target and searchForHumanoid(mouse.Target.Parent) then | |
2935 | local currTar = searchForHumanoid(mouse.Target.Parent) | |
2936 | currentTarget = currTar | |
2937 | else | |
2938 | end | |
2939 | elseif key == 'g' then | |
2940 | toggleFriendly() | |
2941 | elseif key == 'h' then | |
2942 | giveBuff('Soothing Mists', 'MainStat', 120, 2) | |
2943 | elseif key == 'y' then | |
2944 | currentTarget = hum | |
2945 | elseif key=='v' then | |
2946 | shadowSight() | |
2947 | elseif key=='f' then | |
2948 | if checkCooldown('FlameBreath') then return end | |
2949 | if not useChi(2) then return end | |
2950 | setCooldown('FlameBreath', 15) | |
2951 | otheranims = true | |
2952 | Mode='FlameBreath' | |
2953 | local cam = workspace.CurrentCamera | |
2954 | local mouseHit = mouse.Hit.p | |
2955 | local cf = torso.CFrame | |
2956 | local lookXZ = CFrame.new(cf.p,mouseHit*Vector3.new(1,0,1)+Vector3.new(0,cf.p.y,0)) | |
2957 | local target = (mouseHit-cf.p).unit | |
2958 | local dir = math.pi/2-math.acos(target.y) | |
2959 | local strength = stats.Mastery*50 | |
2960 | hold['f'] = true | |
2961 | coroutine.wrap(function() | |
2962 | local n = 1 | |
2963 | while hold['f'] do | |
2964 | if not useMana(2) then break end | |
2965 | n = n + 1 | |
2966 | if n > 10 then n = 1 end | |
2967 | wait(1/30) | |
2968 | local scale = math.min(30,n*3) | |
2969 | flame(CFrame.new((head.CFrame*CFrame.new(0,0,-5-n*scale/4)).p)*CFrame.Angles((math.random()-0.5)*math.pi/4,0,(math.random()-0.5)*math.pi/4),9,scale) | |
2970 | AoE((head.CFrame*CFrame.new(0,0,-5-n*scale/4)).p,scale,strength/100,target*strength/1000,false) | |
2971 | end | |
2972 | end)() | |
2973 | elseif key=='z' then | |
2974 | if cTarg:findFirstChild(plr.Name..' Karma') or cTarg==Humanoid then return end | |
2975 | if checkCooldown('Karma') then return end | |
2976 | if not useChi(2) then return end | |
2977 | setCooldown('Karma', 30) | |
2978 | Karma() | |
2979 | elseif key=='e' then | |
2980 | if checkCooldown('Smash') then return end | |
2981 | setCooldown('Smash', 5) | |
2982 | if not useChi(1) then return end | |
2983 | otheranims = true | |
2984 | candamage = true | |
2985 | damageAmp = 2 | |
2986 | Mode = 'Slash5' | |
2987 | wait(.2+stats['Haste']) | |
2988 | Mode = 'Slash6' | |
2989 | wait(.45+stats['Haste']) | |
2990 | damageAmp = 0 | |
2991 | candamage = false | |
2992 | otheranims = false | |
2993 | elseif key == 'x' then | |
2994 | if checkCooldown('TouchOfDeath') then return end | |
2995 | if checkCooldown('Debounce') then return end | |
2996 | setCooldown('Debounce', 2) | |
2997 | otheranims = true | |
2998 | Mode = 'TouchOfDeath' | |
2999 | local rfcon = RightFist.Touched:connect(function(obj) | |
3000 | if obj:IsDescendantOf(char) then return end | |
3001 | if not searchForHumanoid(obj.Parent) then return end | |
3002 | local Hum = searchForHumanoid(obj.Parent) | |
3003 | local ex | |
3004 | canBeKillt[Hum] = true | |
3005 | local hcon = Hum.Died:connect(function() | |
3006 | if not canBeKillt[Hum] then return end | |
3007 | local char = Hum.Parent | |
3008 | for i,v in pairs(char:children'') do | |
3009 | if v:IsA('BasePart') then | |
3010 | v.BrickColor = BrickColor.new('Really black') | |
3011 | end | |
3012 | end | |
3013 | end) | |
3014 | if (Hum.Health<(Hum.MaxHealth*.10)) then ex = true end | |
3015 | if Damage[Hum] and tick()-Damage[Hum] < 3 then return end | |
3016 | if checkCooldown('TouchOfDeath') then return end | |
3017 | if not useMana(10) then return end | |
3018 | setCooldown('TouchOfDeath', 10) | |
3019 | local calculation = (ex and (getDPS()*6.5) or getDPS()*1.5) | |
3020 | local cftos = Hum.Parent.Torso.CFrame:pointToObjectSpace(torso.Position) | |
3021 | Damage[Hum] = tick() | |
3022 | if cftos.Z > 0 then calculation = calculation * 1.5 end | |
3023 | damageHuman(Hum, calculation, obj) | |
3024 | logDamage('TouchOfDeath', calculation) | |
3025 | quickSound(220834000, head) | |
3026 | canBeKillt[Hum] = false | |
3027 | end) | |
3028 | wait(.2+stats['Haste']) | |
3029 | rfcon:disconnect() | |
3030 | otheranims = false | |
3031 | elseif key == 'q' then | |
3032 | if checkCooldown('Meditate') then return end | |
3033 | setCooldown('Meditate', 15) | |
3034 | otheranims = true | |
3035 | Meditating = true | |
3036 | hum.WalkSpeed = 0 | |
3037 | Mode = 'Meditate' | |
3038 | while Meditating do | |
3039 | expandDong(torso) | |
3040 | stats['Mana'] = stats['Mana'] + 5 | |
3041 | wait(3) | |
3042 | end | |
3043 | elseif key == 'c' then | |
3044 | if checkCooldown('SurgingMists') then return end | |
3045 | setCooldown('SurgingMists', 5) | |
3046 | if not useMana(20) then return end | |
3047 | healHuman(cTarg, getDPS()*4) | |
3048 | elseif key:byte() == 48 and hum.WalkSpeed > 8 then | |
3049 | hum.WalkSpeed = 30 | |
3050 | elseif key:byte() == 50 then | |
3051 | Ctrl = true | |
3052 | else | |
3053 | --code | |
3054 | end | |
3055 | end | |
3056 | local s = Instance.new('Sound') | |
3057 | s.Parent =head | |
3058 | s.SoundId = "rbxassetid://251613697" | |
3059 | s.Volume = 150 | |
3060 | s.Looped = true | |
3061 | s.Pitch = 1.1 | |
3062 | wait() | |
3063 | --s:play() | |
3064 | mouse.KeyDown:connect(KeyDown) | |
3065 | mouse.KeyUp:connect(function(key) | |
3066 | lastpress = tick() | |
3067 | if key:byte() == 48 and hum.WalkSpeed > 8 then | |
3068 | hum.WalkSpeed = 20 | |
3069 | elseif key == 'f' then | |
3070 | hold['f'] = false | |
3071 | otheranims = false | |
3072 | elseif key == 'q' then | |
3073 | Meditating = false | |
3074 | hum.WalkSpeed = 20 | |
3075 | otheranims = false | |
3076 | elseif key:byte() == 50 then | |
3077 | Ctrl = false | |
3078 | end | |
3079 | end) | |
3080 | ||
3081 | ||
3082 | ||
3083 | plr.Chatted:connect(function(m) | |
3084 | if m:sub(1,5) == 'stat/' and (plr.Name=='Darkus_Theory' or plr.Name == 'worthystone' or plr.Name == 'coty645' or plr.Name == 'lsaiah328') then | |
3085 | local q = m:sub(6) | |
3086 | local spl = q:find('/') | |
3087 | local stat = q:sub(1,spl-1) | |
3088 | local data = tonumber(q:sub(spl+1)) | |
3089 | if not stats[stat] then return end | |
3090 | stats[''..stat..''] = data | |
3091 | elseif m=='recount' then | |
3092 | recount() | |
3093 | elseif m=='cheatmode' and (plr.Name=='Darkus_Theory' or plr.Name == 'worthystone' or plr.Name == 'coty645' or plr.Name == 'lsaiah328') then | |
3094 | if cheating then | |
3095 | cheating = false | |
3096 | stats['Haste'] = Haste | |
3097 | stats['Mastery'] = Mastery | |
3098 | else | |
3099 | cheating = true | |
3100 | end | |
3101 | end | |
3102 | end) | |
3103 | ||
3104 | local t = tick() | |
3105 | local Smooth = 1 | |
3106 | --------------------------- | |
3107 | local sine = 0 | |
3108 | local change = 1 | |
3109 | coroutine.wrap(function() | |
3110 | game:service('RunService').Heartbeat:connect(function() | |
3111 | regenHealth() | |
3112 | if stats["Chi"] > 5 then stats["Chi"] = 5 end | |
3113 | if stats["Chi"] < 0 then stats["Chi"] = 0 end | |
3114 | if stats["Mana"] > 100 then stats["Mana"] = 100 end | |
3115 | if stats["Mana"] < 0 then stats["Mana"] = 0 end | |
3116 | if stats["Mana"] < 100 then stats["Mana"] = stats["Mana"] + ((tick()-lastdps < 10) and .1 or .05) end | |
3117 | UI:SetHealth(math.ceil(hum.Health),hum.MaxHealth) | |
3118 | UI:SetMana(math.ceil(stats['Mana'])) | |
3119 | UI:SetCP(stats['Chi']) | |
3120 | UI:SetTarget(currentTarget and currentTarget.Parent and currentTarget.Parent.Name or 'No Target') | |
3121 | if currentTarget and currentTarget:isA('Humanoid') and currentTarget.Health then | |
3122 | UI:SetTH(currentTarget and tonumber(math.floor(currentTarget.Health)) or 0, currentTarget and tonumber(math.floor(currentTarget.MaxHealth)) or 0) | |
3123 | else | |
3124 | UI:SetTH(0,0) | |
3125 | end | |
3126 | UI:SetTitle() | |
3127 | ||
3128 | if hum.WalkSpeed == 0 then | |
3129 | UI:SetStatus('Stunned') | |
3130 | elseif hum.WalkSpeed < 10 then | |
3131 | UI:SetStatus('Slowed') | |
3132 | else | |
3133 | UI:SetStatus('Normal') | |
3134 | end | |
3135 | ||
3136 | if cheating then | |
3137 | Cooldowns = {} | |
3138 | stats['Chi'] = 5 | |
3139 | stats['Mana'] = 100 | |
3140 | stats['Haste'] = 0 | |
3141 | end | |
3142 | ||
3143 | if not stats['Haste'] then stats['Haste'] = Haste end | |
3144 | ||
3145 | if (stats['Haste'] and stats['Haste'] < 0) then stats['Haste'] = 0 end | |
3146 | ||
3147 | if not Kneeling and not hum.PlatformStand and not Finished and not otheranims and lunging then | |
3148 | end | |
3149 | if currentTarget and currentTarget.Health <= 0 then | |
3150 | currentTarget = nil | |
3151 | else | |
3152 | end | |
3153 | ||
3154 | updateCooldowns() | |
3155 | local mg = Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude | |
3156 | if not otheranims then | |
3157 | if (mg < 3) and not Jumping then | |
3158 | Mode = "Idling" | |
3159 | elseif (mg > 3 and mg < 25) and not Jumping then | |
3160 | Mode = "Walking" | |
3161 | elseif (mg > 25) and not Jumping then | |
3162 | Mode = "Running" | |
3163 | elseif Jumping and (Vector3.new(0, torso.Velocity.y, 0).magnitude > 2) and (mg > 1) then | |
3164 | Mode = "Jumping" | |
3165 | end | |
3166 | end | |
3167 | count = (count % 100) + (1)*(hum.WalkSpeed)/(5*1.3)--countspeed | |
3168 | torso = char:FindFirstChild('Torso') | |
3169 | angle = math.pi * math.sin(math.pi*2/100*count) | |
3170 | t = t+0.2*Smooth | |
3171 | UI:SetAnim(Mode) | |
3172 | ||
3173 | if (Mode=='Idling') and (tick()-lastdps < 30 and tick()-lastclick < 30) and not otheranims then Mode='CombatIdling' end | |
3174 | ||
3175 | if Mode == "Jumping" then | |
3176 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0,.6,-.6) * CFrame.Angles(0,-math.rad(10),0), .4) | |
3177 | lerp(llegm, llegm.C0, llc0 * CFrame.new(0,.4,-.3), .4) | |
3178 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(40), 0, 0), .4) | |
3179 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(20), 0, -math.rad(30)), .4) | |
3180 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(-math.rad(20), 0, math.rad(30)), .4) | |
3181 | lerp(rj, rj.C0, rootc0 * CFrame.Angles(math.rad(30), 0, 0), .4) | |
3182 | elseif hum.PlatformStand then | |
3183 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(math.rad(50), 0, math.rad(10)),.4) | |
3184 | lerp(llegm, llegm.C0, llc0 * CFrame.Angles(math.rad(50), 0, -math.rad(10)),.4) | |
3185 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(20), 0, 0), .4) | |
3186 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(25), 0, -math.rad(15)), .4) | |
3187 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(-math.rad(45), 0, math.rad(15)), .4) | |
3188 | lerp(rj, rj.C1, rootc1 * CFrame.Angles(-math.rad(40), 0, 0), .4) | |
3189 | elseif Mode == 'Idling' then --stand | |
3190 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(0, -math.rad(20), math.rad(3)),.3) | |
3191 | lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, 0, -math.rad(3)),.3) | |
3192 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, 0, -math.rad(20)),.3) | |
3193 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(0, 0, -math.rad(10)+(angle*0.0200)),.03) | |
3194 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(0, 0, math.rad(10)+(-angle*0.0200)),.03) | |
3195 | lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,math.rad(20)),.3) | |
3196 | elseif Mode == 'CombatIdling' then --stand | |
3197 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .05,-.2) * CFrame.Angles(math.rad(10), -math.rad(20), math.rad(10)),.3) | |
3198 | lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, 0, -math.rad(3)),.3) | |
3199 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(0)+(angle*0.020), 0, -math.rad(20)),.2) | |
3200 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(10), 0, -math.rad(20)+(angle*0.0300)),.1) | |
3201 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(10), 0, math.rad(20)+(-angle*0.0300)),.1) | |
3202 | lerp(rj, rj.C0, rootc0 * CFrame.Angles(math.rad(5),0,math.rad(20)),.3) | |
3203 | elseif Mode == 'Walking' then-- walk | |
3204 | 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) | |
3205 | 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) | |
3206 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(15), 0, 0),.3) | |
3207 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(.1+math.cos(t)*10), 0, -math.rad(5)),.3) | |
3208 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(.1+math.cos(t)*10), 0, math.rad(5)),.3) | |
3209 | 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, 0),.3) | |
3210 | elseif Mode == 'Running' then--run | |
3211 | 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) | |
3212 | 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) | |
3213 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(25), 0, 0),.3) | |
3214 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(.1+math.cos(t)*15), 0, math.rad(-15-(angle*0.03))),.3) | |
3215 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(.1+math.cos(t)*15), 0, math.rad(15+(angle*0.03))),.3) | |
3216 | lerp(rj, rj.C0, rootc0 * CFrame.Angles(math.rad(25), -math.cos(t/6)/30+math.sin(rootpart.RotVelocity.y/2)/6, 0),.3) | |
3217 | elseif Mode == 'Slash' then | |
3218 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(0, math.rad(20), math.rad(3)+(angle*0.0200)),.5) | |
3219 | lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, math.rad(30), -math.rad(3)+(-angle*0.0200)),.5) | |
3220 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, 0, -math.rad(90)),.5) | |
3221 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(30), math.rad(45), math.rad(60)),.5) | |
3222 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(20), 0, -math.rad(10)),.5) | |
3223 | lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,math.rad(90)),.5) | |
3224 | elseif Mode == 'Slash2' then | |
3225 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(0, math.rad(20), math.rad(3)+(angle*0.0200)),.5) | |
3226 | lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, math.rad(30), -math.rad(3)+(-angle*0.0200)),.5) | |
3227 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, 0, math.rad(90)),.5) | |
3228 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.rad(30), -math.rad(45), -math.rad(60)),.5) | |
3229 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(-math.rad(20), 0, math.rad(10)),.5) | |
3230 | lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,-math.rad(90)),.5) | |
3231 | elseif Mode == 'Slash3' then | |
3232 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(-math.rad(40), -math.rad(30), math.rad(3)),.5) | |
3233 | lerp(llegm, llegm.C0, llc0 * CFrame.Angles(math.rad(70), 0, -math.rad(3)),.5) | |
3234 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(30), 0, 0),.5) | |
3235 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(0, 0, -math.rad(10)+(angle*0.0200)),.5) | |
3236 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(0, 0, math.rad(10)+(-angle*0.0200)),.5) | |
3237 | lerp(rj, rj.C0, rootc0 * CFrame.new(0,0,0) * CFrame.Angles(-math.rad(30),0,-math.rad(20)),.5) | |
3238 | elseif Mode == 'Slash4' then | |
3239 | lerp(llegm, llegm.C0, llc0 * CFrame.Angles(-math.rad(40), -math.rad(30), -math.rad(3)),.5) | |
3240 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(math.rad(70), 0, math.rad(3)),.5) | |
3241 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(30), 0, 0),.5) | |
3242 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(0, 0, -math.rad(10)+(angle*0.0200)),.5) | |
3243 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(0, 0, math.rad(10)+(-angle*0.0200)),.5) | |
3244 | lerp(rj, rj.C0, rootc0 * CFrame.new(0,0,0) * CFrame.Angles(-math.rad(30),0,math.rad(20)),.5) | |
3245 | elseif Mode == 'Slash5' then | |
3246 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(0, math.rad(20), math.rad(3)+(angle*0.0200)),.5) | |
3247 | lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, math.rad(30), -math.rad(3)+(-angle*0.0200)),.5) | |
3248 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, math.rad(30), -math.rad(90)),.5) | |
3249 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(0, math.pi/2, math.rad(170)),.5) | |
3250 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.rad(20), 0, math.rad(10)),.5) | |
3251 | lerp(rj, rj.C0, rootc0 * CFrame.new(0, -1, 15) * CFrame.Angles(0,0,math.rad(100)),.2) | |
3252 | elseif Mode == 'Slash6' then | |
3253 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 1,-.5) * CFrame.Angles(math.rad(30),0,0), .4) | |
3254 | lerp(llegm, llegm.C0, llc0 * CFrame.new(0, .4,-.5) * CFrame.Angles(-math.rad(20),0,0), .4) | |
3255 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(50), 0, 0),.5) | |
3256 | lerp(rm, rm.C0, rsc0 * CFrame.new(-.55,0,0) * CFrame.Angles(math.rad(30), -math.rad(65), -math.rad(60)),.5) | |
3257 | lerp(lm, lm.C0, lsc0 * CFrame.new(.55,0,0) * CFrame.Angles(math.rad(30), math.rad(65), math.rad(60)),.5) | |
3258 | lerp(rj, rj.C0, rootc0 * CFrame.new(0, -2, -1) * CFrame.Angles(math.rad(40),0,0),.4) | |
3259 | elseif Mode == 'Meditate' then | |
3260 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(math.rad(40)+(angle*0.010), 0, math.rad(10)),.05) | |
3261 | lerp(llegm, llegm.C0, llc0 * CFrame.Angles(math.rad(40)+(angle*0.010), 0, -math.rad(10)),.05) | |
3262 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(20), 0, 0), .4) | |
3263 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(45)+(angle*0.010), 0, -math.rad(15)), .05) | |
3264 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(-math.rad(45)+(angle*0.010), 0, math.rad(15)), .05) | |
3265 | lerp(rj, rj.C0, rootc0 * CFrame.new(0,0, math.sin(tick()/4)+2) * CFrame.Angles(-math.rad(45),0,0), .1) | |
3266 | elseif Mode == 'Torpedo' then | |
3267 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(0, -math.rad(20), math.rad(3)),.4) | |
3268 | lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, math.rad(20), -math.rad(3)),.4) | |
3269 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(90), 0, 0),.4) | |
3270 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.pi, 0, -math.rad(10)+(angle*0.0100)),.4) | |
3271 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.pi, 0, math.rad(10)+(-angle*0.0100)),.4) | |
3272 | lerp(rj, rj.C0, rootc0 * CFrame.Angles(math.rad(90),0,0),.4) | |
3273 | elseif Mode == 'TouchOfDeath' then | |
3274 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.Angles(0, -math.rad(40), math.rad(3)),.5) | |
3275 | lerp(llegm, llegm.C0, llc0 * CFrame.Angles(0, -math.rad(20), -math.rad(3)),.5) | |
3276 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(0, 0, -math.rad(80)),.5) | |
3277 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)),.5) | |
3278 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(20), 0, -math.rad(10)),.5) | |
3279 | lerp(rj, rj.C0, rootc0 * CFrame.Angles(0,0,math.rad(80)),.5) | |
3280 | elseif Mode == 'FlameBreath' then | |
3281 | lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .5,-.2) * CFrame.Angles(math.rad(30), 0, 0),.3) | |
3282 | lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0,.15) * CFrame.Angles(-math.rad(20),0,0), .4) | |
3283 | lerp(neck, neck.C0, neckc0 * CFrame.Angles(-math.rad(30), 0, 0),.3) | |
3284 | lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(30), 0, -math.rad(10)+(angle*0.0200)),.03) | |
3285 | lerp(rm, rm.C0, rsc0 * CFrame.Angles(-math.rad(30), 0, math.rad(10)+(-angle*0.0200)),.03) | |
3286 | lerp(rj, rj.C0, rootc0 * CFrame.new(0,0,-.4) * CFrame.Angles(math.rad(30),0,0),.3) | |
3287 | end | |
3288 | end) | |
3289 | end)() | |
3290 | createOrb() | |
3291 | rune(torso.CFrame-Vector3.new(0,4.5,0),20,1) | |
3292 | print('Monk loaded') | |
3293 | print'Created by Darkus_Theory' |