SHOW:
|
|
- or go back to the newest paste.
1 | --------------------------This is an Official script from Duelist-------------------------- | |
2 | ---{-------------------- -------------------}--- | |
3 | ---{-------------------- / \ -------------------}--- | |
4 | ---{-------------------- II -------------------}--- | |
5 | ---{-------------------- II -------------------}--- | |
6 | ---{-------------------- II -------------------}--- | |
7 | ---{-------------------- A========A -------------------}--- | |
8 | ---{-------------------- II -------------------}--- | |
9 | ---{-------------------- II -------------------}--- | |
10 | ---{-------------------- W -------------------}--- | |
11 | ------------------------------------------------------------------------------------------------------------- | |
12 | plr = game.Players.LocalPlayer | |
13 | ||
14 | wait(1) | |
15 | ||
16 | HUMANOID = game.Workspace:WaitForChild(plr.Name) | |
17 | ||
18 | NEWPART = Instance.new("BillboardGui",HUMANOID.Head) | |
19 | ||
20 | NEWTEXT = Instance.new("TextLabel",NEWPART) | |
21 | ||
22 | NEWTEXT.Text = plr.Name | |
23 | ||
24 | NEWPART.ExtentsOffset = Vector3.new(0,3,0) | |
25 | ||
26 | NEWPART.Size = UDim2.new(1,1,1,1) | |
27 | ||
28 | NEWTEXT.Size = UDim2.new(5,0,1,1) | |
29 | ||
30 | NEWTEXT.TextScaled = true | |
31 | ||
32 | NEWTEXT.BackgroundTransparency = 1 | |
33 | ||
34 | NEWTEXT.Position = UDim2.new(-2,0,-0.5,0) | |
35 | ||
36 | NEWPART.AlwaysOnTop = true | |
37 | ||
38 | --i used stravants Beautifier so it might look a bit wonky | |
39 | Meshes = { | |
40 | Blast = '20329976', | |
41 | Crown = '1323306', | |
42 | Ring = '3270017', | |
43 | Claw = '10681506', | |
44 | Crystal = '9756362', | |
45 | Coil = '9753878', | |
46 | Cloud = '1095708', | |
47 | } | |
48 | clangsounds = { | |
49 | '199149119', | |
50 | '199149109', | |
51 | '199149072', | |
52 | '199149025', | |
53 | '199148971' | |
54 | } | |
55 | hitsounds = { | |
56 | '199149137', | |
57 | '199149186', | |
58 | '199149221', | |
59 | '199149235', | |
60 | '199149269', | |
61 | '199149297' | |
62 | } | |
63 | blocksounds = { | |
64 | '199148933', | |
65 | '199148947' | |
66 | } | |
67 | armorsounds = { | |
68 | '199149321', | |
69 | '199149338', | |
70 | '199149367', | |
71 | '199149409', | |
72 | '199149452' | |
73 | } | |
74 | woosh = { | |
75 | Heavy1 = '320557353', | |
76 | Heavy2 = '320557382', | |
77 | Heavy3 = '320557453', | |
78 | Heavy4 = '199144226', | |
79 | Heavy5 = '203691447', | |
80 | Heavy6 = '203691467', | |
81 | Heavy7 = '203691492', | |
82 | Light1 = '320557413', | |
83 | Light2 = '320557487', | |
84 | Light3 = '199145095', | |
85 | Light4 = '199145146', | |
86 | Light5 = '199145887', | |
87 | Light6 = '199145913', | |
88 | Light7 = '199145841', | |
89 | Medium1 = '320557518', | |
90 | Medium2 = '320557537', | |
91 | Medium3 = '320557563', | |
92 | Medium4 = '199145204' | |
93 | } | |
94 | music = {--i like music a lot | |
95 | Breaking = '179281636', | |
96 | FinalReckoning = '357375770', | |
97 | NotDeadYet = '346175829', | |
98 | Intense = '151514610', | |
99 | JumpP1 = '160536628', | |
100 | JumpP2 = '60536666', | |
101 | SonsOfWar = '158929777', | |
102 | WrathOfSea = '165520893', | |
103 | ProtecTorsofEarth = '160542922', | |
104 | SkyTitans = '179282324', | |
105 | ArchAngel = '144043274', | |
106 | Anticipation = '168614529', | |
107 | TheMartyred = '186849544', | |
108 | AwakeP1 = '335631255', | |
109 | AwakeP2 = '335631297', | |
110 | ReadyAimFireP1 = '342455387', | |
111 | ReadyAimFireP2 = '342455399', | |
112 | DarkLordP1 = '209567483', | |
113 | DarkLordP2 = '209567529', | |
114 | BloodDrainP1 = '162914123', | |
115 | BloodDrainP2 = '162914203', | |
116 | DanceOfSwords = '320473062', | |
117 | Opal = '286415112', | |
118 | Calamity = '190454307', | |
119 | Hypnotica = '155968128', | |
120 | Nemisis = '160453802', | |
121 | Breathe = '276963903', | |
122 | GateToTheRift = '270655227', | |
123 | InfernalBeserking = '244143404', | |
124 | Trust = '246184492', | |
125 | AwakeningTheProject = '245121821', | |
126 | BloodPain = '242545577', | |
127 | Chaos = '247241693', | |
128 | NightmareFictionHighStake = '248062278', | |
129 | TheWhiteWeapon = '247236446', | |
130 | Gale = '256851659', | |
131 | ImperialCode = '256848383', | |
132 | Blitzkrieg = '306431437', | |
133 | RhapsodyRage = '348690251', | |
134 | TheGodFist = '348541501', | |
135 | BattleForSoul = '321185592', | |
136 | TheDarkColossus = '305976780', | |
137 | EmpireOfAngels = '302580452', | |
138 | Kronos = '302205297', | |
139 | Exorcist = '299796054', | |
140 | CrimsonFlames = '297799220', | |
141 | UltimatePower = '295753229', | |
142 | DrivingInTheDark = '295753229', | |
143 | AscendToPower = '293860654', | |
144 | GodOfTheSun = '293612495', | |
145 | DarkRider = '293861765', | |
146 | Vengeance = '293375555', | |
147 | SoundOfWar = '293376196', | |
148 | HellsCrusaders = '293012202', | |
149 | Legend = '293011823', | |
150 | RisingSouls = '290524959' | |
151 | } | |
152 | misc = { | |
153 | GroundSlam = '199145477', | |
154 | LaserSlash = '199145497', | |
155 | RailGunFire = '199145534', | |
156 | Charge1 = '199145659', | |
157 | Charge2 = '169380469', | |
158 | Charge3 = '169380479', | |
159 | EmptyGun = '203691822', | |
160 | GunShoot = '203691837', | |
161 | Stomp1 = '200632875', | |
162 | Stomp2 = '200632561', | |
163 | TelsaCannonCharge = '169445572', | |
164 | TelsaCannonShoot = '169445602', | |
165 | AncientHymm = '245313442' | |
166 | } | |
167 | wait(1 / 60) | |
168 | local Player = game.Players.localPlayer | |
169 | local Character = Player.Character | |
170 | local Humanoid = Character.Humanoid | |
171 | local mouse = Player:GetMouse() | |
172 | local m = Instance.new('Model', Character) | |
173 | m.Name = "WeaponModel" | |
174 | local LeftArm = Character["Left Arm"] | |
175 | local RightArm = Character["Right Arm"] | |
176 | local LeftLeg = Character["Left Leg"] | |
177 | local RightLeg = Character["Right Leg"] | |
178 | local Head = Character.Head | |
179 | local Torso = Character.Torso | |
180 | local cam = game.Workspace.CurrentCamera | |
181 | local RootPart = Character.HumanoidRootPart | |
182 | local RootJoint = RootPart.RootJoint | |
183 | --cam.CameraSubject = Head | |
184 | local equipped = false | |
185 | local attack = false | |
186 | local Anim = 'Idle' | |
187 | local idle = 0 | |
188 | local sprint = false | |
189 | local battlestance = false | |
190 | local attacktype = 1 | |
191 | local state = 'none' | |
192 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
193 | local velocity = RootPart.Velocity.y | |
194 | local sine = 0 | |
195 | local change = 1 | |
196 | local on = false | |
197 | local grabbed = false | |
198 | local skill1 = false | |
199 | local skill2 = false | |
200 | local skill3 = false | |
201 | local skill4 = false | |
202 | local cooldown1 = 0 | |
203 | local cooldown2 = 0 | |
204 | local cooldown3 = 0 | |
205 | local cooldown4 = 0 | |
206 | local co1 = 10--how long it will take for skill to cooldown | |
207 | local co2 = 15 | |
208 | local co3 = 15 | |
209 | local co4 = 25 | |
210 | local inputserv = game:GetService('UserInputService') | |
211 | local typing = false | |
212 | local crit = false | |
213 | local critchance = 2--critical chance percentage | |
214 | local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage | |
215 | local critdamageaddmax = 7--maximum amount | |
216 | local maxstamina = 100--max amount of stamina | |
217 | local stamina = 0--stamina you start out with | |
218 | local skill1stam = 10--how much stamina is needed for a skill | |
219 | local skill2stam = 10 | |
220 | local skill3stam = 20 | |
221 | local skill4stam = 30 | |
222 | local recovermana = 3--how much mana per second | |
223 | local defensevalue = 1--how much defense this character has | |
224 | local speedvalue = 1--how much speed this character has | |
225 | --speed is 16*speedvalue | |
226 | local mindamage = 5--self explanatory | |
227 | local maxdamage = 7--self explanatory | |
228 | local damagevalue = 1--how much damage this character has | |
229 | --damage is math.random(mindamage,maxdamage)*damagevalue | |
230 | --damage(hit, mindamage, maxdamage, 1, 1, RootPart) | |
231 | --asd | |
232 | local cn = CFrame.new-- make things easier :) | |
233 | local mr = math.rad | |
234 | local angles = CFrame.Angles | |
235 | local ud = UDim2.new | |
236 | local c3 = Color3.new | |
237 | local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol | |
238 | --asd | |
239 | local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
240 | Humanoid.Animator:Destroy() | |
241 | ||
242 | --Angles For RootJoint `~` | |
243 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
244 | --Save Shoulders/Hips | |
245 | RSH, LSH = nil, nil | |
246 | RHS, LHS = nil, nil | |
247 | --Shoulders | |
248 | RW = Instance.new("Weld") | |
249 | LW = Instance.new("Weld") | |
250 | --Hips | |
251 | RH = Instance.new("Weld") | |
252 | LH = Instance.new("Weld") | |
253 | -- | |
254 | Player = Player | |
255 | ch = Character | |
256 | LHS = Torso["Left Hip"] | |
257 | RHS = Torso["Right Hip"] | |
258 | RSH = ch.Torso["Right Shoulder"] | |
259 | LSH = ch.Torso["Left Shoulder"] | |
260 | -- | |
261 | RSH.Parent = nil | |
262 | LSH.Parent = nil | |
263 | -- | |
264 | LHS.Parent = nil | |
265 | RHS.Parent = nil | |
266 | -- | |
267 | RW.Name = "RW" | |
268 | RW.Part0 = ch.Torso | |
269 | RW.C0 = cn(1.5, 0.5, 0) | |
270 | RW.C1 = cn(0, 0.5, 0) | |
271 | RW.Part1 = ch["Right Arm"] | |
272 | RW.Parent = ch.Torso | |
273 | -- | |
274 | LW.Name = "LW" | |
275 | LW.Part0 = ch.Torso | |
276 | LW.C0 = cn(-1.5, 0.5, 0) | |
277 | LW.C1 = cn(0, 0.5, 0) | |
278 | LW.Part1 = ch["Left Arm"] | |
279 | LW.Parent = ch.Torso | |
280 | -- | |
281 | LH.Name = "LH" | |
282 | LH.Part0 = ch.Torso | |
283 | LH.C0 = cn(-0.5, -2, 0) | |
284 | LH.Part1 = ch["Left Leg"] | |
285 | LH.Parent = ch.Torso | |
286 | -- | |
287 | RH.Name = "RH" | |
288 | RH.Part0 = ch.Torso | |
289 | RH.C0 = cn(0.5, -2, 0) | |
290 | RH.Part1 = ch["Right Leg"] | |
291 | RH.Parent = ch.Torso | |
292 | ||
293 | local Flying = false | |
294 | ||
295 | game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump) | |
296 | if Flying == true then | |
297 | if jump == "Jump" then | |
298 | Humanoid.Jump = false | |
299 | end | |
300 | end | |
301 | end) | |
302 | ||
303 | Humanoid.CameraOffset = Vector3.new(0, -2, 0) | |
304 | ||
305 | Torso.Transparency = 1 | |
306 | Head.Transparency = 1 | |
307 | LeftLeg.Transparency = 1 | |
308 | RightLeg.Transparency = 1 | |
309 | LeftArm.Transparency = 1 | |
310 | RightArm.Transparency = 1 | |
311 | ||
312 | for i,v in pairs (Character:GetChildren()) do | |
313 | if v.ClassName == "Hat" | |
314 | then v:Destroy() | |
315 | end | |
316 | end | |
317 | ||
318 | for i,v in pairs (Character.Head:GetChildren()) do | |
319 | if v.ClassName == "Decal" | |
320 | then v:Destroy() | |
321 | end | |
322 | end | |
323 | ||
324 | Character.Animate:Destroy() | |
325 | ||
326 | local scrn = Instance.new('ScreenGui') | |
327 | scrn.Parent = nil | |
328 | ||
329 | function makeframe(par, trans, pos, size, color) | |
330 | local frame = Instance.new('Frame', par) | |
331 | frame.BackgroundTransparency = trans | |
332 | frame.BorderSizePixel = 0 | |
333 | frame.Position = pos | |
334 | frame.Size = size | |
335 | frame.BackgroundColor3 = color | |
336 | return frame | |
337 | end | |
338 | function makelabel(par, text) | |
339 | local label = Instance.new('TextLabel', par) | |
340 | label.BackgroundTransparency = 1 | |
341 | label.Size = ud(1, 0, 1, 0) | |
342 | label.Position = ud(0, 0, 0, 0) | |
343 | label.TextColor3 = c3(255, 255, 255) | |
344 | label.TextStrokeTransparency = 0 | |
345 | label.FontSize = Enum.FontSize.Size32 | |
346 | label.Font = Enum.Font.SourceSansBold | |
347 | label.BorderSizePixel = 0 | |
348 | label.TextScaled = true | |
349 | label.Text = text | |
350 | end | |
351 | framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
352 | framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
353 | framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
354 | framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
355 | bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
356 | bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
357 | bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
358 | bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
359 | text1 = makelabel(framesk1, '[3] Skill3') | |
360 | text2 = makelabel(framesk2, '[4] Skill4') | |
361 | text3 = makelabel(framesk3, "[2] Skill2") | |
362 | text4 = makelabel(framesk4, '[1] Skill1') | |
363 | staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1)) | |
364 | staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1)) | |
365 | staminatext = makelabel(staminabar, 'Mana') | |
366 | healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0)) | |
367 | healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255)) | |
368 | healthtext = makelabel(healthbar, 'Health') | |
369 | ||
370 | local stats = Instance.new('Folder', Character) | |
371 | stats.Name = 'Stats' | |
372 | local block = Instance.new('BoolValue', stats) | |
373 | block.Name = 'Block' | |
374 | block.Value = false | |
375 | local stun = Instance.new('BoolValue', stats) | |
376 | stun.Name = 'Stun' | |
377 | stun.Value = false | |
378 | local defense = Instance.new('NumberValue', stats) | |
379 | defense.Name = 'Defence' | |
380 | defense.Value = defensevalue | |
381 | local speed = Instance.new('NumberValue', stats) | |
382 | speed.Name = 'Speed' | |
383 | speed.Value = speedvalue | |
384 | local damagea = Instance.new('NumberValue', stats) | |
385 | damagea.Name = 'Damage' | |
386 | damagea.Value = damagevalue | |
387 | ||
388 | function atktype(s, e) | |
389 | coroutine.resume(coroutine.create(function() | |
390 | attacktype = e | |
391 | wait(1.5) | |
392 | attacktype = s | |
393 | end)) | |
394 | end | |
395 | ||
396 | function turncrit() | |
397 | coroutine.resume(coroutine.create(function() | |
398 | print'CRITICAL!' | |
399 | crit = true | |
400 | wait(.25) | |
401 | crit = false | |
402 | end)) | |
403 | end | |
404 | ||
405 | function subtractstamina(k) | |
406 | if stamina >= k then | |
407 | stamina = stamina - k | |
408 | end | |
409 | end | |
410 | ||
411 | function clerp(a, b, t) | |
412 | return a:lerp(b, t) | |
413 | end | |
414 | ||
415 | function randomizer(percent) | |
416 | local randomized = math.random(0, 100) | |
417 | if randomized <= percent then | |
418 | return true | |
419 | elseif randomized >= percent then | |
420 | return false | |
421 | end | |
422 | end | |
423 | ||
424 | local RbxUtility = LoadLibrary("RbxUtility") | |
425 | local Create = RbxUtility.Create | |
426 | ||
427 | function RemoveOutlines(part) | |
428 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
429 | end | |
430 | ||
431 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
432 | local Part = Create("Part"){ | |
433 | formFactor = FormFactor, | |
434 | Parent = Parent, | |
435 | Reflectance = Reflectance, | |
436 | Transparency = Transparency, | |
437 | CanCollide = false, | |
438 | Locked = true, | |
439 | BrickColor = BrickColor.new(tostring(BColor)), | |
440 | Name = Name, | |
441 | Size = Size, | |
442 | Material = Material, | |
443 | } | |
444 | RemoveOutlines(Part) | |
445 | return Part | |
446 | end | |
447 | ||
448 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
449 | local Msh = Create(Mesh){ | |
450 | Parent = Part, | |
451 | Offset = OffSet, | |
452 | Scale = Scale, | |
453 | } | |
454 | if Mesh == "SpecialMesh" then | |
455 | Msh.MeshType = MeshType | |
456 | Msh.MeshId = MeshId | |
457 | end | |
458 | return Msh | |
459 | end | |
460 | ||
461 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
462 | local Weld = Create("Weld"){ | |
463 | Parent = Parent, | |
464 | Part0 = Part0, | |
465 | Part1 = Part1, | |
466 | C0 = C0, | |
467 | C1 = C1, | |
468 | } | |
469 | return Weld | |
470 | end | |
471 | ||
472 | function rayCast(pos, dir, maxl, ignore) | |
473 | return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore) | |
474 | end | |
475 | --Effects | |
476 | function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type) | |
477 | local p = Instance.new('Part', par or workspace) | |
478 | p.CFrame = pos1 | |
479 | p.Anchored = true | |
480 | p.Material = 'Concrete' | |
481 | p.CanCollide = false | |
482 | p.TopSurface = 0 | |
483 | p.Size = Vector3.new(1, 1, 1) | |
484 | p.BottomSurface = 0 | |
485 | p.Transparency = trans | |
486 | p.FormFactor = 'Custom' | |
487 | RemoveOutlines(p) | |
488 | local mesh = Instance.new('SpecialMesh', p) | |
489 | mesh.Scale = size | |
490 | if id ~= nil and type == nil then | |
491 | mesh.MeshId = 'rbxassetid://'..id | |
492 | elseif id == nil and type ~= nil then | |
493 | mesh.MeshType = type | |
494 | elseif id == nil and type == nil then | |
495 | mesh.MeshType = 'Brick' | |
496 | end | |
497 | coroutine.wrap(function() | |
498 | for i = 0, delay1, .1 do | |
499 | wait(1 / 60) | |
500 | p.CFrame = p.CFrame | |
501 | mesh.Scale = mesh.Scale + howmuch | |
502 | p.Transparency = p.Transparency + trans1 | |
503 | end | |
504 | p:Destroy() | |
505 | end)() | |
506 | return p | |
507 | end | |
508 | function clangy(cframe) | |
509 | wait(1 / 60) | |
510 | local clang = {} | |
511 | local dis = 0 | |
512 | local part = Instance.new('Part', nil) | |
513 | part.CFrame = cframe | |
514 | part.Anchored = true | |
515 | part.CanCollide = false | |
516 | part.BrickColor = BrickColor.new('New Yeller') | |
517 | part.FormFactor = 'Custom' | |
518 | part.Name = 'clanger' | |
519 | part.Size = Vector3.new(.2, .2, .2) | |
520 | part.TopSurface = 10 | |
521 | part.BottomSurface = 10 | |
522 | part.RightSurface = 10 | |
523 | part.LeftSurface = 10 | |
524 | part.BackSurface = 10 | |
525 | part.FrontSurface = 10 | |
526 | --part.Material='Neon' | |
527 | part:BreakJoints() | |
528 | local mesh = Instance.new('BlockMesh', part) | |
529 | coroutine.wrap(function() | |
530 | for i = 1, 7 do | |
531 | wait(1 / 60) | |
532 | dis = dis + .2 | |
533 | local partc = part:clone() | |
534 | partc.Parent = workspace | |
535 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
536 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
537 | table.insert(clang, partc) | |
538 | end | |
539 | for i, v in pairs(clang) do | |
540 | coroutine.wrap(function() | |
541 | for i = 1, 10 do | |
542 | wait(.01) | |
543 | v.Transparency = v.Transparency + .1 | |
544 | end | |
545 | v:destroy() | |
546 | end)() | |
547 | end | |
548 | end)() | |
549 | end | |
550 | --damage effects | |
551 | function circle(color, pos1) | |
552 | local p = Instance.new('Part', m) | |
553 | p.BrickColor = BrickColor.new(color) | |
554 | p.CFrame = pos1 | |
555 | p.Anchored = true | |
556 | p.Material = 'Plastic' | |
557 | p.CanCollide = false | |
558 | p.TopSurface = 0 | |
559 | p.Size = Vector3.new(1, 1, 1) | |
560 | p.BottomSurface = 0 | |
561 | p.Transparency = 0.35 | |
562 | p.FormFactor = 'Custom' | |
563 | local mesh = Instance.new('CylinderMesh', p) | |
564 | mesh.Scale = Vector3.new(0, 0, 0) | |
565 | coroutine.wrap(function() | |
566 | for i = 0, 5, .1 do | |
567 | wait(1 / 60) | |
568 | p.CFrame = p.CFrame | |
569 | mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5) | |
570 | p.Transparency = p.Transparency + .025 | |
571 | end | |
572 | p:Destroy() | |
573 | end)() | |
574 | end | |
575 | function firespaz1(color, pos1) | |
576 | local p = Instance.new('Part', m) | |
577 | p.BrickColor = BrickColor.new(color) | |
578 | p.CFrame = pos1 | |
579 | p.Anchored = true | |
580 | p.Material = 'Plastic' | |
581 | p.CanCollide = false | |
582 | p.TopSurface = 0 | |
583 | p.Size = Vector3.new(1, 1, 1) | |
584 | p.BottomSurface = 0 | |
585 | p.Transparency = 0.5 | |
586 | p.FormFactor = 'Custom' | |
587 | local mesh = Instance.new('BlockMesh', p) | |
588 | mesh.Scale = Vector3.new(1, 1, 1) | |
589 | coroutine.wrap(function() | |
590 | for i = 0, 15, .1 do | |
591 | wait(1 / 30) | |
592 | p.CFrame = p.CFrame * CFrame.new(0, .1, 0) | |
593 | mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1) | |
594 | p.Transparency = p.Transparency + .025 | |
595 | end | |
596 | p:Destroy() | |
597 | end)() | |
598 | end | |
599 | ||
600 | function pickrandom(tablesa) | |
601 | local randomized = tablesa[math.random(1, #tablesa)] | |
602 | return randomized | |
603 | end | |
604 | function sound(id, pitch, volume, par, last) | |
605 | local s = Instance.new('Sound', par or Torso) | |
606 | s.SoundId = 'rbxassetid://'..id | |
607 | s.Pitch = pitch or 1 | |
608 | s.Volume = volume or 1 | |
609 | wait() | |
610 | s:play() | |
611 | game.Debris:AddItem(s, last or 120) | |
612 | end | |
613 | function clangy(cframe) | |
614 | wait(1 / 60) | |
615 | local clang = {} | |
616 | local dis = 0 | |
617 | local part = Instance.new('Part', nil) | |
618 | part.CFrame = cframe | |
619 | part.Anchored = true | |
620 | part.CanCollide = false | |
621 | part.BrickColor = BrickColor.new('New Yeller') | |
622 | part.FormFactor = 'Custom' | |
623 | part.Name = 'clanger' | |
624 | part.Size = Vector3.new(.2, .2, .2) | |
625 | part.TopSurface = 10 | |
626 | part.BottomSurface = 10 | |
627 | part.RightSurface = 10 | |
628 | part.LeftSurface = 10 | |
629 | part.BackSurface = 10 | |
630 | part.FrontSurface = 10 | |
631 | --part.Material='Neon' | |
632 | part:BreakJoints() | |
633 | local mesh = Instance.new('BlockMesh', part) | |
634 | coroutine.wrap(function() | |
635 | for i = 1, 7 do | |
636 | wait(1 / 60) | |
637 | dis = dis + .2 | |
638 | local partc = part:clone() | |
639 | partc.Parent = workspace | |
640 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
641 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
642 | table.insert(clang, partc) | |
643 | end | |
644 | for i, v in pairs(clang) do | |
645 | coroutine.wrap(function() | |
646 | for i = 1, 10 do | |
647 | wait(.01) | |
648 | v.Transparency = v.Transparency + .1 | |
649 | end | |
650 | v:destroy() | |
651 | end)() | |
652 | end | |
653 | end)() | |
654 | end | |
655 | --damage effects | |
656 | --Effects | |
657 | so = function(id, par, vol, pit) | |
658 | coroutine.resume(coroutine.create(function() | |
659 | local sou = Instance.new("Sound", par or workspace) | |
660 | sou.Volume = vol | |
661 | sou.Pitch = pit or 1 | |
662 | sou.SoundId = id | |
663 | wait() | |
664 | sou:play() | |
665 | game:GetService("Debris"):AddItem(sou, 6) | |
666 | end)) | |
667 | end | |
668 | ||
669 | local function getclosest(obj, distance) | |
670 | local last, lastx = distance + 1 | |
671 | for i, v in pairs(workspace:GetChildren()) do | |
672 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then | |
673 | local t = v.Torso | |
674 | local dist = (t.Position - obj.Position).magnitude | |
675 | if dist <= distance then | |
676 | if dist < last then | |
677 | last = dist | |
678 | lastx = v | |
679 | end | |
680 | end | |
681 | end | |
682 | end | |
683 | return lastx | |
684 | end | |
685 | ||
686 | function makegui(cframe, text) | |
687 | local a = math.random(-10, 10) / 100 | |
688 | local c = Instance.new("Part") | |
689 | c.Transparency = 1 | |
690 | Instance.new("BodyGyro").Parent = c | |
691 | c.Parent = m | |
692 | c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0)) | |
693 | local f = Instance.new("BodyPosition") | |
694 | f.P = 2000 | |
695 | f.D = 100 | |
696 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
697 | f.position = c.Position + Vector3.new(0, 3, 0) | |
698 | f.Parent = c | |
699 | game:GetService("Debris"):AddItem(c, .5 + 6) | |
700 | c.CanCollide = false | |
701 | m.Parent = workspace | |
702 | c.CanCollide = false | |
703 | local bg = Instance.new('BillboardGui', m) | |
704 | bg.Adornee = c | |
705 | bg.Size = UDim2.new(1, 0, 1, 0) | |
706 | bg.StudsOffset = Vector3.new(0, 0, 0) | |
707 | bg.AlwaysOnTop = false | |
708 | local tl = Instance.new('TextLabel', bg) | |
709 | tl.BackgroundTransparency = 1 | |
710 | tl.Size = UDim2.new(1, 0, 1, 0) | |
711 | tl.Text = text | |
712 | tl.Font = 'SourceSansBold' | |
713 | tl.FontSize = 'Size42' | |
714 | if crit == true then | |
715 | tl.TextColor3 = Color3.new(180 / 255, 0, 0) | |
716 | else | |
717 | tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255) | |
718 | end | |
719 | tl.TextStrokeTransparency = 0 | |
720 | tl.TextScaled = true | |
721 | tl.TextWrapped = true | |
722 | coroutine.wrap(function() | |
723 | wait(2) | |
724 | for i = 1, 10 do | |
725 | wait() | |
726 | tl.TextTransparency = tl.TextTransparency + .1 | |
727 | end | |
728 | end)() | |
729 | end | |
730 | ||
731 | function tag(hum, Player) | |
732 | local creator = Instance.new('ObjectValue', hum) | |
733 | creator.Value = Player | |
734 | creator.Name = 'creator' | |
735 | end | |
736 | function untag(hum) | |
737 | if hum ~= nil then | |
738 | local tag = hum:findFirstChild("creator") | |
739 | if tag ~= nil then | |
740 | tag.Parent = nil | |
741 | end | |
742 | end | |
743 | end | |
744 | ||
745 | function tagPlayer(h) | |
746 | coroutine.wrap(function() | |
747 | tag(h, Player) | |
748 | wait(1) | |
749 | untag(h) | |
750 | end)() | |
751 | end | |
752 | function damage(hit, mind, maxd, knock, type, prop) | |
753 | --[[ | |
754 | to apply it to a Player directly, make the first arg go to the Players Torso | |
755 | 1 - normal type(damage and knockback) | |
756 | 2 - drain type(damage no knockback) | |
757 | 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed | |
758 | 4 - heal(heals target) | |
759 | 5 - subtracts enemies defense | |
760 | 6 - subtracts enemies speed | |
761 | 7 - | |
762 | ]] | |
763 | if hit.Name:lower() == 'Hitbox' then | |
764 | local pos = CFrame.new(0, 1, -1) | |
765 | sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6) | |
766 | coroutine.wrap(function() | |
767 | for i = 1, 4 do | |
768 | clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0)) | |
769 | end | |
770 | end)() | |
771 | end | |
772 | if hit.Parent == nil then | |
773 | return | |
774 | end | |
775 | local h = hit.Parent:FindFirstChild("Humanoid") | |
776 | for i, v in pairs(hit.Parent:children()) do | |
777 | if v:IsA("Humanoid") then | |
778 | h = v | |
779 | end | |
780 | end | |
781 | if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then | |
782 | h = hit.Parent.Parent:FindFirstChild('Humanoid') | |
783 | end | |
784 | if hit.Parent:IsA('Hat') then | |
785 | hit = hit.Parent.Parent:findFirstChild('Head') | |
786 | end | |
787 | local D = math.random(mind, maxd) * damagea.Value | |
788 | if h.Parent:FindFirstChild('Stats') then | |
789 | D = D / h.Parent:FindFirstChild('Stats').Defence.Value | |
790 | elseif not h.Parent:FindFirstChild('Stats') then | |
791 | D = D | |
792 | end | |
793 | if h then | |
794 | makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5))) | |
795 | end | |
796 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
797 | if type == 1 then | |
798 | tagPlayer(h) | |
799 | local asd = randomizer(critchance) | |
800 | if asd == true then | |
801 | turncrit() | |
802 | end | |
803 | if crit == false then | |
804 | h.Health = h.Health - D | |
805 | else | |
806 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
807 | end | |
808 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100) | |
809 | local vp = Instance.new('BodyVelocity') | |
810 | vp.P = 500 | |
811 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
812 | vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05 | |
813 | if knock > 0 then | |
814 | vp.Parent = hit.Parent.Torso | |
815 | end | |
816 | game:GetService("Debris"):AddItem(vp, .5) | |
817 | elseif type == 2 then | |
818 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100) | |
819 | local asd = randomizer(critchance) | |
820 | if asd == true then | |
821 | turncrit() | |
822 | end | |
823 | if crit == false then | |
824 | h.Health = h.Health - D | |
825 | else | |
826 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
827 | end | |
828 | tagPlayer(h) | |
829 | elseif type == 3 then | |
830 | tagPlayer(h) | |
831 | local asd = randomizer(critchance) | |
832 | if asd == true then | |
833 | turncrit() | |
834 | end | |
835 | if crit == false then | |
836 | h.Health = h.Health - D | |
837 | else | |
838 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
839 | end | |
840 | Character.Humanoid.Health = Character.Humanoid.Health + D / 2 | |
841 | so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5) | |
842 | for i = 1, 10 do | |
843 | firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))) | |
844 | end | |
845 | elseif type == 4 then | |
846 | h.Health = h.Health + D | |
847 | so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1) | |
848 | circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0)) | |
849 | end | |
850 | end | |
851 | end | |
852 | ||
853 | function subtrackstamina(k) | |
854 | if stamina >= k then | |
855 | stamina = stamina - k | |
856 | end | |
857 | end | |
858 | ||
859 | Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Handle",Vector3.new(2.39999986, 1.20000005, 1.39999998)) | |
860 | Handleweld=CreateWeld(m,Torso,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.200019836, 2.05684233, -1.52587891e-005, -3.33786011e-006, 5.10364771e-007, -1.00000072, 7.4505806e-007, 0.999990106, 5.23030758e-006, 0.999992847, 1.10268593e-006, -2.98023224e-006)) | |
861 | CreateMesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
862 | LLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","LLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
863 | LLeg1Connectorweld=CreateWeld(m,Handle,LLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.271961212, 0.323261261, 0.554561615, 0.953878522, 0.237942964, 0.183013678, -0.270872086, 0.945040286, 0.183021933, -0.12940976, -0.224147677, 0.965908945)) | |
864 | CreateMesh("SpecialMesh",LLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
865 | LLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","LLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
866 | LLeg2Connectorweld=CreateWeld(m,Handle,LLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.286304474, 0.549964905, 0.383785248, 0.87001282, -0.368683487, -0.327339649, 0.475172013, 0.804078519, 0.357260257, 0.131499231, -0.466358542, 0.874748588)) | |
867 | CreateMesh("SpecialMesh",LLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
868 | NeckHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","NeckHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
869 | NeckHandleConnectorweld=CreateWeld(m,Handle,NeckHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800014496, 2.2649765e-006, -1.52587891e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) | |
870 | CreateMesh("SpecialMesh",NeckHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
871 | RLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","RLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
872 | RLeg2Connectorweld=CreateWeld(m,Handle,RLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.284488678, 0.502339363, -0.511051178, 0.866028607, -0.433008194, 0.249994621, 0.482959986, 0.853833973, -0.194110557, -0.12941049, 0.288845479, 0.948575199)) | |
873 | CreateMesh("SpecialMesh",RLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
874 | RLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","RLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
875 | RLeg1Connectorweld=CreateWeld(m,Handle,RLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.434127808, 0.261667252, -0.51184082, 0.953878462, 0.277202159, 0.115192153, -0.270872086, 0.960207343, -0.0678096935, -0.129410967, 0.0334844999, 0.991011441)) | |
876 | CreateMesh("SpecialMesh",RLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
877 | TailHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","TailHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
878 | TailHandleConnectorweld=CreateWeld(m,Handle,TailHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.800014496, -4.17232513e-006, -1.14440918e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) | |
879 | CreateMesh("SpecialMesh",TailHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
880 | Wings=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Bright orange","Wings",Vector3.new(1.38, 0.600000024, 0.400000006)) | |
881 | Wingsweld=CreateWeld(m,Handle,Wings,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00999832153, -1.35054588, -0.870742798, -3.57603994e-007, 1.84772534e-006, 0.999992847, 0.707109332, 0.707094491, -2.27373675e-013, -0.707105219, 0.707105219, 0)) | |
882 | CreateMesh("SpecialMesh",Wings,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=188700920 ",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.928000093)) | |
883 | HeadHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","HeadHandleConnector",Vector3.new(0.799999774, 0.800000012, 1.19999993)) | |
884 | HeadHandleConnectorweld=CreateWeld(m, NeckHandleConnector, HeadHandleConnector, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.13883209, -1.22878647, -4.95910645e-005, 0.965921879, -0.258816749, -8.3394184e-007, 0.258814901, 0.965910494, 1.70232727e-006, 7.33734851e-009, -1.24428539e-008, 0.999992847)) | |
885 | CreateMesh("SpecialMesh",HeadHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
886 | HeadHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","HeadHandle",Vector3.new(0.799999774, 0.800000012, 1.19999993)) | |
887 | HeadHandleweld=CreateWeld(m,HeadHandleConnector,HeadHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(.5,.3,0)) | |
888 | CreateMesh("SpecialMesh",HeadHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
889 | BlinkPartL=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Really black","BlinkPartL",Vector3.new(0.430000007, 0.349999994, 0.209999993)) | |
890 | BlinkPartLweld=CreateWeld(m,HeadHandle,BlinkPartL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.627552032, -0.15424633, 0.675392151, 0.965920627, 3.52720974e-007, 0.258818448, -3.27823614e-007, 0.999994576, -4.27638327e-007, -0.258816987, 3.32397349e-007, 0.965925992)) | |
891 | CreateMesh("SpecialMesh",BlinkPartL,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
892 | BlinkPartR=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Really black","BlinkPartR",Vector3.new(0.430000007, 0.349999994, 0.209999919)) | |
893 | BlinkPartRweld=CreateWeld(m,HeadHandle,BlinkPartR,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668586731, 0.0254650116, 0.6536026, 0.963257611, 0.166627169, -0.210616693, 0.170450777, -0.985360563, 7.06354513e-007, -0.207533255, -0.035900455, -0.977568686)) | |
894 | CreateMesh("SpecialMesh",BlinkPartR,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
895 | Head=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Head",Vector3.new(1.59999979, 1, 1.19999993)) | |
896 | Headweld=CreateWeld(m,HeadHandle,Head,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399993896, -0.100018501, -3.81469727e-006, 0.999994338, -7.45053441e-008, 0, 4.59620352e-013, 0.999994516, 5.40012479e-013, -6.82121026e-013, -1.62003744e-012, 1)) | |
897 | CreateMesh("SpecialMesh",Head,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
898 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Bright orange","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003)) | |
899 | Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268547058, 0.0147666931, 0.492343903, 0.266456544, 0.961500287, -0.0669870079, -0.937416613, 0.24235782, -0.249999925, -0.22414504, 0.129409671, 0.965918422)) | |
900 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
901 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006)) | |
902 | Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.35981369, -0.0811252594, -0.392364502, 0.499998569, 0.866011322, 1.38495011e-007, -0.836511791, 0.482955486, 0.258817196, 0.224141717, -0.129405871, 0.965918958)) | |
903 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
904 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006)) | |
905 | Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.359809875, -0.0811347961, 0.392364502, 0.500002265, 0.866017759, 4.3843329e-009, -0.836509109, 0.48296532, -0.25881812, -0.224141061, 0.129409656, 0.965926051)) | |
906 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
907 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Bright orange","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003)) | |
908 | Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268550873, 0.0147647858, -0.492359161, 0.266456187, 0.961500764, 0.066986382, -0.937418401, 0.242359444, 0.249994203, 0.224138066, -0.129404321, 0.965920031)) | |
909 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
910 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Bright orange","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917)) | |
911 | Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148231506, -0.399997711, 0.999991596, -8.94065053e-008, -6.82121026e-013, -4.47030253e-008, 0.999991894, -1.00897068e-012, -4.54747351e-013, -1.05160325e-012, 1)) | |
912 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
913 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Bright orange","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917)) | |
914 | Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148216248, 0.399990082, 0.999985158, -5.96041865e-008, -1.13686838e-012, -8.94065053e-008, 0.999985576, -1.15107923e-012, -6.82121026e-013, -1.44950718e-012, 1)) | |
915 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
916 | LLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","LLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
917 | LLeg1Handleweld=CreateWeld(m,LLeg1Connector,LLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0365982056, 0.0366020203, 0.193164825, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503)) | |
918 | CreateMesh("SpecialMesh",LLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
919 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
920 | Partweld=CreateWeld(m,LLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.299993515, 7.62939453e-006, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503)) | |
921 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
922 | LLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","LLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
923 | LLeg2Handleweld=CreateWeld(m,LLeg2Connector,LLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0654640198, 0.0714416504, 0.174942017, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668)) | |
924 | CreateMesh("SpecialMesh",LLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
925 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
926 | Partweld=CreateWeld(m,LLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.300003052, 0, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668)) | |
927 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
928 | RLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","RLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
929 | RLeg1Handleweld=CreateWeld(m,RLeg1Connector,RLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874)) | |
930 | CreateMesh("SpecialMesh",RLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
931 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
932 | Partweld=CreateWeld(m,RLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, 0.299995422, 7.62939453e-006, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874)) | |
933 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
934 | RLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","RLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
935 | RLeg2Handleweld=CreateWeld(m,RLeg2Connector,RLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0499954224, 0.038819313, -0.189697266, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768)) | |
936 | CreateMesh("SpecialMesh",RLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
937 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
938 | Partweld=CreateWeld(m,RLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.299996376, -7.62939453e-006, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768)) | |
939 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
940 | NeckHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","NeckHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
941 | NeckHandleweld=CreateWeld(m,NeckHandleConnector,NeckHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) | |
942 | CreateMesh("SpecialMesh",NeckHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
943 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Part",Vector3.new(1.5999999, 0.800000012, 0.99999994)) | |
944 | Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.673364639, 0.315284729, 1.14440918e-005, 0.499996573, 0.866005898, 1.41687553e-006, -0.866028965, 0.499994099, 1.24860276e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) | |
945 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
946 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Part",Vector3.new(1.5999999, 1, 1.39999998)) | |
947 | Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.456003189, -0.000812530518, 1.52587891e-005, 0.707109332, 0.707094491, 1.05421987e-006, -0.707105219, 0.707105219, 1.56317299e-006, 2.27782948e-009, -3.0485694e-009, 0.999992847)) | |
948 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
949 | TailHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","TailHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
950 | TailHandleweld=CreateWeld(m,TailHandleConnector,TailHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.90734863e-006, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) | |
951 | CreateMesh("SpecialMesh",TailHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
952 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Part",Vector3.new(1.39999974, 0.800000012, 0.99999994)) | |
953 | Partweld=CreateWeld(m,TailHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299999237, 3.57627869e-007, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) | |
954 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
955 | Tail2HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","Tail2HandleConnector",Vector3.new(0.599999726, 0.800000012, 0.799999952)) | |
956 | Tail2HandleConnectorweld=CreateWeld(m,TailHandle,Tail2HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.674129486, -0.0147686005, -0.00961303711, 0.999255121, 0.0334871411, -0.0192402583, -0.0341572762, 0.998781741, -0.0350642987, 0.0180421956, 0.0356986672, 0.999185622)) | |
957 | CreateMesh("SpecialMesh",Tail2HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
958 | Tail2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","Tail2Handle",Vector3.new(0.599999726, 0.800000012, 0.799999952)) | |
959 | Tail2Handleweld=CreateWeld(m,Tail2HandleConnector,Tail2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993)) | |
960 | CreateMesh("SpecialMesh",Tail2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
961 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Part",Vector3.new(1.39999974, 0.800000012, 0.799999952)) | |
962 | Partweld=CreateWeld(m,Tail2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399993896, -2.86102295e-006, 3.81469727e-006, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993)) | |
963 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
964 | Tail3HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","Tail3HandleConnector",Vector3.new(0.599999845, 0.800000012, 0.799999952)) | |
965 | Tail3HandleConnectorweld=CreateWeld(m,Tail2Handle,Tail3HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.933692932, 0.152185202, 0.0128250122, 0.989802122, -0.139427915, 0.0292246509, 0.138289496, 0.989660025, 0.0377997532, -0.0341934189, -0.0333709307, 0.998850942)) | |
966 | CreateMesh("SpecialMesh",Tail3HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
967 | Tail3Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,1,"Magenta","Tail3Handle",Vector3.new(0.599999845, 0.800000012, 0.799999952)) | |
968 | Tail3Handleweld=CreateWeld(m,Tail3HandleConnector,Tail3Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012)) | |
969 | CreateMesh("SpecialMesh",Tail3Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
970 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Bright orange","Part",Vector3.new(1.79999983, 0.800000012, 0.200000003)) | |
971 | Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04519272, 0.064440012, -0.0208930969, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012)) | |
972 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
973 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Bright orange","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003)) | |
974 | Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.11207199, 0.0611591339, 0.00499725342, 0.965926647, -0.258816153, -5.12227416e-008, 0.258816123, 0.965926647, -1.83936208e-007, 9.68575478e-008, 1.64000085e-007, 1)) | |
975 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
976 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Bright orange","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003)) | |
977 | Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.07800674, 0.0849123001, -0.020816803, 0.965926468, 0.258816481, 2.40281224e-007, -0.258821636, 0.965915978, -1.06403604e-006, -1.3038516e-006, 2.83645932e-006, 0.999992907)) | |
978 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
979 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Concrete,0,0,"Magenta","Part",Vector3.new(1.39999986, 0.800000012, 0.799999952)) | |
980 | Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400001526, -2.14576721e-006, -3.81469727e-006, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012)) | |
981 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
982 | ||
983 | mouse.Button1Down:connect(function() | |
984 | end) | |
985 | ||
986 | mouse.KeyDown:connect(function(k) | |
987 | k = k:lower() | |
988 | if k == "f" and attack == false and Flying == false then | |
989 | Humanoid.CameraOffset = Vector3.new(0, -1, 0) | |
990 | Humanoid.WalkSpeed = 25 | |
991 | Flying = true | |
992 | elseif k == "f" and attack == false and Flying == true then | |
993 | Humanoid.CameraOffset = Vector3.new(0, -2, 0) | |
994 | Humanoid.WalkSpeed = 16 | |
995 | Flying = false | |
996 | end | |
997 | end) | |
998 | ||
999 | ||
1000 | inputserv.InputBegan:connect(function(k) | |
1001 | if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then | |
1002 | elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then | |
1003 | elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then | |
1004 | elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then | |
1005 | end | |
1006 | end) | |
1007 | ||
1008 | inputserv.InputBegan:connect(function(k) | |
1009 | if k.KeyCode == Enum.KeyCode.Slash then | |
1010 | local fin = nil | |
1011 | typing = true | |
1012 | fin = inputserv.InputBegan:connect(function(k) | |
1013 | if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then | |
1014 | typing = false | |
1015 | fin:disconnect() | |
1016 | end | |
1017 | end) | |
1018 | end | |
1019 | end) | |
1020 | ||
1021 | function updateskills() | |
1022 | if cooldown1 <= co1 then | |
1023 | cooldown1 = cooldown1 + 1 / 30 | |
1024 | end | |
1025 | if cooldown2 <= co2 then | |
1026 | cooldown2 = cooldown2 + 1 / 30 | |
1027 | end | |
1028 | if cooldown3 <= co3 then | |
1029 | cooldown3 = cooldown3 + 1 / 30 | |
1030 | end | |
1031 | if cooldown4 <= co4 then | |
1032 | cooldown4 = cooldown4 + 1 / 30 | |
1033 | end | |
1034 | if stamina <= maxstamina then | |
1035 | stamina = stamina + recovermana / 30 | |
1036 | end | |
1037 | end | |
1038 | ||
1039 | coroutine.resume(coroutine.create(function(Part,Weld) | |
1040 | while Part.Parent~=nil do | |
1041 | wait(5) | |
1042 | for i=0,1,0.2 do | |
1043 | wait() | |
1044 | BlinkPartR.Mesh.Scale = Vector3.new(.7-1*i,1,1) | |
1045 | end | |
1046 | for i=0,1,0.2 do | |
1047 | wait() | |
1048 | BlinkPartR.Mesh.Scale = Vector3.new(.7+.3*i,1,1) | |
1049 | end | |
1050 | end | |
1051 | end),BlinkPartR,BlinkPartRweld) | |
1052 | ||
1053 | coroutine.resume(coroutine.create(function(Part,Weld) | |
1054 | while Part.Parent~=nil do | |
1055 | wait(5) | |
1056 | for i=0,1,0.2 do | |
1057 | wait() | |
1058 | BlinkPartL.Mesh.Scale = Vector3.new(.7-1*i,1,1) | |
1059 | end | |
1060 | for i=0,1,0.2 do | |
1061 | wait() | |
1062 | BlinkPartL.Mesh.Scale = Vector3.new(.7+.3*i,1,1) | |
1063 | end | |
1064 | end | |
1065 | end),BlinkPartL,BlinkPartLweld) | |
1066 | ||
1067 | game:GetService'RunService'.Heartbeat:connect(function() | |
1068 | updateskills() | |
1069 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1070 | velocity = RootPart.Velocity.y | |
1071 | sine = sine + change | |
1072 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1073 | if equipped == true or equipped == false then | |
1074 | if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then | |
1075 | Anim = "Jump" | |
1076 | if attack == false then | |
1077 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 2) * angles(math.rad(50), math.rad(0), math.rad(0)), .3) | |
1078 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
1079 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
1080 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
1081 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
1082 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
1083 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
1084 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
1085 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
1086 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
1087 | end | |
1088 | elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then | |
1089 | Anim = "Fall" | |
1090 | if attack == false then | |
1091 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 1) * angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
1092 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3) | |
1093 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
1094 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
1095 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
1096 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
1097 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
1098 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
1099 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
1100 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
1101 | end | |
1102 | elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then | |
1103 | Anim = "Idle" | |
1104 | if attack == false and Flying == false then | |
1105 | change = 1 | |
1106 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1107 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+1.5*math.cos(sine/10))), .3) | |
1108 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-5+1.5*math.cos(sine/10))), .3) | |
1109 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3) | |
1110 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3) | |
1111 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3) | |
1112 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3) | |
1113 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(15*math.cos(sine/15)), math.rad(5*math.cos(sine/25))), .3) | |
1114 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(-15*math.cos(sine/15)), math.rad(20*math.cos(sine/15)), math.rad(2*math.cos(sine/15))), .3) | |
1115 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(15*math.cos(sine/15)), math.rad(10*math.cos(sine/15)), math.rad(0)), .3) | |
1116 | elseif attack == false and Flying == true then | |
1117 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 2) * angles(math.rad(40+2*math.cos(sine/10)), math.rad(0), math.rad(0)), .3) | |
1118 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+3*math.cos(sine/10))), .3) | |
1119 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20-3*math.cos(sine/10))), .3) | |
1120 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3) | |
1121 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3) | |
1122 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3) | |
1123 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3) | |
1124 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20-3*math.cos(sine/10))), .3) | |
1125 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+2*math.cos(sine/10))), .3) | |
1126 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15-1.5*math.cos(sine/10))), .3) | |
1127 | end | |
1128 | elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then | |
1129 | Anim = "Walk" | |
1130 | if attack == false and Flying == false then | |
1131 | - | end) |
1131 | + | |
1132 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(1.5+1*math.cos(sine/10)), math.rad(0), math.rad(0)), .3) | |
1133 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3) | |
1134 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+1.5*math.cos(sine/10))), .3) | |
1135 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3) | |
1136 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3) | |
1137 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3) | |
1138 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3) | |
1139 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3) | |
1140 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2*math.cos(sine/15))), .3) | |
1141 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3) | |
1142 | elseif attack == false and Flying == true then | |
1143 | change = 1 | |
1144 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 1) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1145 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+1*math.cos(sine/10))), .3) | |
1146 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20+1*math.cos(sine/10))), .3) | |
1147 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3) | |
1148 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3) | |
1149 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3) | |
1150 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3) | |
1151 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10-3*math.cos(sine/10))), .3) | |
1152 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3) | |
1153 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3-1.5*math.cos(sine/10))), .3) | |
1154 | end | |
1155 | end | |
1156 | end | |
1157 | end) | |
1158 | local p = game.Players:findFirstChild("EnderWolfMage") -- Put your name where it says pingfuzz | |
1159 | script.Name = "FusScript" | |
1160 | local go = true --for normal shouts | |
1161 | local skygo = true --for sky-related shouts | |
1162 | --19 Shouts: Fus Ro Dah, Wuld Nah Kest, Liz Slen Nus, Yol Toor Shul, Feim Zii Gron, Strun Bah Qo, Fo Krah Diin, Laas Yah Nir, | |
1163 | --Zun Haal Viik, Krii Lun Aus, Tiid Klo Ul, Faas Ru Maar, Toor Bah Yol, Joor Zah Frul, Kaan Drem Ov, Ven Mul Riik, Lok Vah Koor, | |
1164 | --Nahl Daal Vus, and Bex | |
1165 | p.Chatted:connect(function(message) | |
1166 | local msg = string.lower(message) | |
1167 | if string.find(msg, "fus ro dah") and go == true then | |
1168 | go = false | |
1169 | fus = Instance.new("Part") | |
1170 | fus.formFactor = "Custom" | |
1171 | fus.Size = Vector3.new(1, 1, 4) | |
1172 | fus.TopSurface = "Smooth" | |
1173 | fus.BottomSurface = "Smooth" | |
1174 | fus.Anchored = false | |
1175 | fus.CanCollide = false | |
1176 | fus.BrickColor = BrickColor.new("Bright blue") | |
1177 | fus.Transparency = 0.6 | |
1178 | fus.Reflectance = 0.5 | |
1179 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
1180 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
1181 | local f = Instance.new("Fire") | |
1182 | f.Name = "FusFire" | |
1183 | f.Size = fus:GetMass() | |
1184 | f.Heat = 0 | |
1185 | f.Color = Color3.new(1, 1, 1) | |
1186 | f.SecondaryColor = Color3.new(1, 1, 1) | |
1187 | f.Parent = fus | |
1188 | local mesh = Instance.new("SpecialMesh") | |
1189 | mesh.MeshType = "Sphere" | |
1190 | mesh.Parent = fus | |
1191 | local bp = Instance.new("BodyPosition") | |
1192 | bp.position = p.Character.Head.Position | |
1193 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
1194 | bp.Parent = fus | |
1195 | fus.Parent = workspace | |
1196 | fus.Touched:connect(fused) | |
1197 | coroutine.resume(coroutine.create(function() | |
1198 | wait(0.5) | |
1199 | for i = 1, 20 do | |
1200 | wait(0.01) | |
1201 | local cf = fus.CFrame | |
1202 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
1203 | f.Size = fus:GetMass()/2 | |
1204 | fus.CFrame = cf | |
1205 | end | |
1206 | wait(3) | |
1207 | for i = 1, 40 do | |
1208 | fus.Transparency = fus.Transparency + 0.1 | |
1209 | f.Size = f.Size - (fus:GetMass()/40) | |
1210 | wait(0.1) | |
1211 | end | |
1212 | wait() | |
1213 | fus.Transparency = 1 | |
1214 | f:remove() | |
1215 | fus:remove() | |
1216 | go = true | |
1217 | end)) | |
1218 | game:GetService("Debris"):AddItem(fus, 15) | |
1219 | elseif string.find(msg, "wuld nah kest") then | |
1220 | local speed = p.Character.Humanoid.WalkSpeed --Speed prior to sprinting | |
1221 | local cf = p.Character.Torso.CFrame * CFrame.new(0, 0, -50) | |
1222 | local pos = cf.p | |
1223 | p.Character.Humanoid.WalkSpeed = 200 | |
1224 | p.Character.Humanoid:MoveTo(pos, workspace.Base) | |
1225 | wait(0.275) | |
1226 | p.Character.Humanoid.WalkSpeed = speed | |
1227 | p.Character.Humanoid:MoveTo(p.Character.Torso.Position, p.Character.Torso) | |
1228 | elseif string.find(msg, "liz slen nus") and go == true then | |
1229 | --local succ, ret = pcall(function() | |
1230 | go = false | |
1231 | fus = Instance.new("Part") | |
1232 | fus.formFactor = "Custom" | |
1233 | fus.Size = Vector3.new(3, 3, 6) | |
1234 | fus.TopSurface = "Smooth" | |
1235 | fus.BottomSurface = "Smooth" | |
1236 | fus.Anchored = false | |
1237 | fus.CanCollide = false | |
1238 | fus.BrickColor = BrickColor.new("White") | |
1239 | fus.Transparency = 0.5 | |
1240 | fus.Reflectance = 0.6 | |
1241 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -6) | |
1242 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
1243 | local s = Instance.new("Sparkles") | |
1244 | s.Name = "LizSparkle" | |
1245 | s.SparkleColor = Color3.new(1, 1, 1) | |
1246 | s.Parent = fus | |
1247 | local mesh = Instance.new("SpecialMesh") | |
1248 | mesh.MeshType = "Sphere" | |
1249 | mesh.Parent = fus | |
1250 | local bp = Instance.new("BodyPosition") | |
1251 | bp.position = p.Character.Head.Position | |
1252 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
1253 | bp.Parent = fus | |
1254 | fus.Parent = workspace | |
1255 | fus.Touched:connect(lized) | |
1256 | --[end) | |
1257 | if ret then | |
1258 | local m = Instance.new("Part", p.PlayerGui) | |
1259 | m.Text = "ERROR: " ..ret | |
1260 | game:GetService("Debris"):AddItem(m, 15) | |
1261 | end | |
1262 | coroutine.resume(coroutine.create(function() | |
1263 | wait(3) | |
1264 | for i = 1, 40 do | |
1265 | fus.Transparency = fus.Transparency + 0.1 | |
1266 | wait(0.1) | |
1267 | end | |
1268 | wait() | |
1269 | fus.Transparency = 1 | |
1270 | fus:remove() | |
1271 | go = true | |
1272 | end)) | |
1273 | game:GetService("Debris"):AddItem(fus, 15) | |
1274 | elseif string.find(msg, "yol toor shul") and go == true then | |
1275 | go = false | |
1276 | fus = Instance.new("Part") | |
1277 | fus.formFactor = "Custom" | |
1278 | fus.Size = Vector3.new(3, 3, 6) | |
1279 | fus.TopSurface = "Smooth" | |
1280 | fus.BottomSurface = "Smooth" | |
1281 | fus.Anchored = false | |
1282 | fus.CanCollide = false | |
1283 | fus.BrickColor = BrickColor.new("Bright orange") | |
1284 | fus.Transparency = 0.5 | |
1285 | fus.Reflectance = 0.6 | |
1286 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -6) | |
1287 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
1288 | local f = Instance.new("Fire") | |
1289 | f.Name = "FusFire" | |
1290 | f.Size = fus:GetMass()/3 | |
1291 | f.Heat = 0 | |
1292 | f.Parent = fus | |
1293 | local mesh = Instance.new("SpecialMesh") | |
1294 | mesh.MeshType = "Sphere" | |
1295 | mesh.Parent = fus | |
1296 | local bp = Instance.new("BodyPosition") | |
1297 | bp.position = p.Character.Head.Position | |
1298 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
1299 | bp.Parent = fus | |
1300 | fus.Parent = workspace | |
1301 | fus.Touched:connect(yoled) | |
1302 | coroutine.resume(coroutine.create(function() | |
1303 | wait(0.5) | |
1304 | for i = 1, 20 do | |
1305 | wait(0.01) | |
1306 | local cf = fus.CFrame | |
1307 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
1308 | f.Size = fus:GetMass()/2 | |
1309 | fus.CFrame = cf | |
1310 | end | |
1311 | wait(3) | |
1312 | for i = 1, 40 do | |
1313 | fus.Transparency = fus.Transparency + 0.1 | |
1314 | f.Size = f.Size - (fus:GetMass()/3)/40 | |
1315 | wait(0.1) | |
1316 | end | |
1317 | wait() | |
1318 | fus.Transparency = 1 | |
1319 | f:remove() | |
1320 | fus:remove() | |
1321 | go = true | |
1322 | end)) | |
1323 | game:GetService("Debris"):AddItem(fus, 15) | |
1324 | elseif string.find(msg, "feim zii gron") then | |
1325 | p.Character.Humanoid.WalkSpeed = 30 | |
1326 | for a, b in pairs(p.Character:children()) do | |
1327 | if b.Name == "Head" then | |
1328 | if b:findFirstChild("face") ~= nil then | |
1329 | coroutine.resume(coroutine.create(function() | |
1330 | for i = 1, 110 do | |
1331 | b.face.Transparency = b.face.Transparency + 0.01 | |
1332 | wait(0.01) | |
1333 | end | |
1334 | b.face.Transparency = 1 | |
1335 | end)) | |
1336 | end | |
1337 | end | |
1338 | if b.className == "Part" then | |
1339 | coroutine.resume(coroutine.create(function() | |
1340 | for i = 1, 110 do | |
1341 | b.Transparency = b.Transparency + 0.01 | |
1342 | wait(0.01) | |
1343 | end | |
1344 | b.Transparency = 1 | |
1345 | end)) | |
1346 | elseif b.className == "Hat" then | |
1347 | coroutine.resume(coroutine.create(function() | |
1348 | for i = 1, 110 do | |
1349 | b.Handle.Transparency = b.Handle.Transparency + 0.01 | |
1350 | wait(0.01) | |
1351 | end | |
1352 | b.Handle.Transparency = 1 | |
1353 | end)) | |
1354 | end | |
1355 | end | |
1356 | wait(15) | |
1357 | p.Character.Humanoid.WalkSpeed = 16 | |
1358 | for a, b in pairs(p.Character:children()) do | |
1359 | if b.Name == "Head" then | |
1360 | if b:findFirstChild("face") ~= nil then | |
1361 | coroutine.resume(coroutine.create(function() | |
1362 | for i = 1, 110 do | |
1363 | b.face.Transparency = b.face.Transparency - 0.01 | |
1364 | wait(0.01) | |
1365 | end | |
1366 | b.face.Transparency = 0 | |
1367 | end)) | |
1368 | end | |
1369 | end | |
1370 | if b.className == "Part" then | |
1371 | coroutine.resume(coroutine.create(function() | |
1372 | for i = 1, 110 do | |
1373 | b.Transparency = b.Trans0arency - 0.01 | |
1374 | wait(0.01) | |
1375 | end | |
1376 | b.Transparency = 0 | |
1377 | end)) | |
1378 | elseif b.className == "Hat" then | |
1379 | coroutine.resume(coroutine.create(function() | |
1380 | for i = 1, 110 do | |
1381 | b.Handle.Transparency = b.Handle.Transparency - 0.01 | |
1382 | wait(0.01) | |
1383 | end | |
1384 | b.Handle.Transparency = 0 | |
1385 | end)) | |
1386 | end | |
1387 | end | |
1388 | elseif string.find(msg, "strun bah qo") and skygo == true then | |
1389 | skygo = false | |
1390 | local clouds = {} | |
1391 | function lightning(cl) | |
1392 | local lights = {} | |
1393 | for i = 1, 15 do | |
1394 | local l = Instance.new("Part") | |
1395 | l.Name = "FusLightning" | |
1396 | table.insert(lights, l) | |
1397 | game:GetService("Debris"):AddItem(l, 15) | |
1398 | l.formFactor = "Custom" | |
1399 | l.Size = Vector3.new(1, math.random(50, 75), 1) | |
1400 | l.BrickColor = BrickColor.new("Institutional white") | |
1401 | l.Transparency = 0.45 | |
1402 | l.Reflectance = 0.5 | |
1403 | l.Anchored = true | |
1404 | l.CanCollide = false | |
1405 | local xnum = 6 | |
1406 | local znum = 6 | |
1407 | if i == 1 then | |
1408 | l.CFrame = cl.CFrame * CFrame.Angles(math.random(-(math.pi/xnum), math.pi/xnum), 0, math.random(-(math.pi/znum), math.pi/znum)) * CFrame.new(0, -1 * (l.Size.Y/2), 0) | |
1409 | elseif i > 1 then | |
1410 | local llight = lights[i - 1] | |
1411 | l.CFrame = llight.CFrame * CFrame.Angles(math.random(-(math.pi/xnum), math.pi/xnum), 0, math.random(-(math.pi/znum), math.pi/znum)) * CFrame.new(0, -1 * (l.Size.Y/2), 0) | |
1412 | end | |
1413 | l.Parent = workspace | |
1414 | l.Touched:connect(function(part) struned(part, l) end) | |
1415 | coroutine.resume(coroutine.create(function() | |
1416 | repeat | |
1417 | l.Transparency = l.Transparency + 0.02 | |
1418 | wait() | |
1419 | until l.Transparency >= 1 | |
1420 | l:remove() | |
1421 | end)) | |
1422 | end | |
1423 | end | |
1424 | for i = 1, 100 do | |
1425 | game.Lighting.Brightness = game.Lighting.Brightness - 0.01 | |
1426 | wait(0.05) | |
1427 | end | |
1428 | game.Lighting.Brightness = 0 | |
1429 | local cloud = Instance.new("Part") | |
1430 | cloud.Name = "StrunCloud" | |
1431 | cloud.Size = Vector3.new(1, 1, 1) | |
1432 | cloud.Anchored = true | |
1433 | cloud.CanCollide = false | |
1434 | cloud.BrickColor = BrickColor.new("Black") | |
1435 | cloud.Transparency = 1 | |
1436 | local mesh = Instance.new("SpecialMesh") | |
1437 | mesh.MeshType = "FileMesh" | |
1438 | mesh.Scale = Vector3.new(math.random(100, 150), math.random(50, 100), math.random(100, 150)) | |
1439 | mesh.MeshId = "www.roblox.com/asset/?id=1095708" | |
1440 | mesh.Parent = cloud | |
1441 | for i = 1, (math.random(4, 8)) do | |
1442 | local newc = cloud:clone() | |
1443 | newc.Parent = workspace | |
1444 | game:GetService("Debris"):AddItem(newc, 300) | |
1445 | table.insert(clouds, newc) | |
1446 | newc.CFrame = CFrame.new(p.Character.Torso.Position + Vector3.new(math.random(-250, 250), math.random(150, 200), math.random(-250, 250))) | |
1447 | coroutine.resume(coroutine.create(function() | |
1448 | repeat | |
1449 | newc.Transparency = newc.Transparency - 0.01 | |
1450 | wait() | |
1451 | until newc.Transparency <= 0.2 | |
1452 | newc.Transparency = 0.2 | |
1453 | end)) | |
1454 | end | |
1455 | for i = 1, (math.random(7, 15)) do | |
1456 | if skygo == true then break end | |
1457 | local s = Instance.new("Sound") | |
1458 | game:GetService("Debris"):AddItem(s, 5) | |
1459 | s.Name = "Lighting" | |
1460 | s.SoundId = "rbxasset://sounds/HalloweenLightning.wav" | |
1461 | s.Pitch = (math.random(10, 15) * 0.1) | |
1462 | s.PlayOnRemove = true | |
1463 | s.Looped = false | |
1464 | s.Parent = workspace | |
1465 | wait(0.5) | |
1466 | s:play() | |
1467 | for i = 1, #clouds do | |
1468 | lightning(clouds[i]) | |
1469 | end | |
1470 | game.Lighting.Brightness = 1 | |
1471 | wait(0.001) | |
1472 | game.Lighting.Brightness = 0 | |
1473 | s:remove() | |
1474 | wait(math.random(3, 6)) | |
1475 | end | |
1476 | wait(2) | |
1477 | for i = 1, #clouds do | |
1478 | coroutine.resume(coroutine.create(function() | |
1479 | repeat | |
1480 | clouds[i].Transparency = clouds[i].Transparency + 0.01 | |
1481 | wait(0.05) | |
1482 | until clouds[i].Transparency >= 1 | |
1483 | clouds[i]:remove() | |
1484 | end)) | |
1485 | end | |
1486 | for i = 1, 110 do | |
1487 | game.Lighting.Brightness = game.Lighting.Brightness + 0.01 | |
1488 | wait(0.01) | |
1489 | end | |
1490 | skygo = true | |
1491 | game.Lighting.Brightness = 1 | |
1492 | elseif string.find(msg, "fo krah diin") and go == true then | |
1493 | go = false | |
1494 | for i = 1, 50 do | |
1495 | fus = Instance.new("Part") | |
1496 | fus.formFactor = "Custom" | |
1497 | fus.Size = Vector3.new(0.5, 0.5, 0.5) | |
1498 | fus.TopSurface = "Smooth" | |
1499 | fus.BottomSurface = "Smooth" | |
1500 | fus.Anchored = false | |
1501 | fus.CanCollide = false | |
1502 | fus.BrickColor = BrickColor.new("Institutional white") | |
1503 | fus.Transparency = 0.6 | |
1504 | fus.Reflectance = 0.5 | |
1505 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(math.random(-15, 15)*0.1, math.random(-15, 15)*0.1, -4) | |
1506 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
1507 | local f = Instance.new("Fire") | |
1508 | f.Name = "FusFire" | |
1509 | f.Size = fus:GetMass() | |
1510 | f.Heat = 0 | |
1511 | f.Color = Color3.new(1, 1, 1) | |
1512 | f.SecondaryColor = Color3.new(1, 1, 1) | |
1513 | f.Parent = fus | |
1514 | local mesh = Instance.new("SpecialMesh") | |
1515 | mesh.MeshType = "Sphere" | |
1516 | mesh.Parent = fus | |
1517 | local bp = Instance.new("BodyPosition") | |
1518 | bp.position = fus.Position | |
1519 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
1520 | bp.Parent = fus | |
1521 | fus.Parent = workspace | |
1522 | fus.Touched:connect(function(part) foed(part, fus) end) | |
1523 | game:Ge4Service("Debris"):AddItem(fus, 15) | |
1524 | end | |
1525 | go = true | |
1526 | elseif string.find(msg, "laas yah nir") then | |
1527 | for i = 1, 30 do | |
1528 | for a, b in pairs(game.Players:children()) do | |
1529 | if b.Character ~= nil then | |
1530 | if (p.Character.Torso.Position - b.Character.Torso.Position).magnitude <= 100 and b ~= p then | |
1531 | if b.Character.Torso:findFirstChild("LaasFire") == nil then | |
1532 | local f = Instance.new("Fire", b.Character.Torso) | |
1533 | f.Name = "LaasFire" | |
1534 | f.Size = b.Character.Torso:GetMass()*2 | |
1535 | f.Color = Color3.new(0, 0, 0) | |
1536 | f.SecondaryColor = Color3.new(1, 1, 1) | |
1537 | end | |
1538 | elseif (p.Character.Torso.Position - b.Character.Torso.Position).magnitude > 100 then | |
1539 | if b.Character.Torso:findFirstChild("LaasFire") ~= nil then | |
1540 | b.Character.Torso.LaasFire:remove() | |
1541 | end | |
1542 | end | |
1543 | end | |
1544 | end | |
1545 | wait(1) | |
1546 | end | |
1547 | for a, b in pairs(game.Players:children()) do | |
1548 | if b.Character.Torso:findFirstChild("LaasFire") ~= nil then | |
1549 | b.Character.Torso.LaasFire:remove() | |
1550 | end | |
1551 | end | |
1552 | elseif string.find(msg, "zun haal viik") and go == true then | |
1553 | go = false | |
1554 | fus = Instance.new("Part") | |
1555 | fus.formFactor = "Custom" | |
1556 | fus.Size = Vector3.new(1, 1, 4) | |
1557 | fus.TopSurface = "Smooth" | |
1558 | fus.BottomSurface = "Smooth" | |
1559 | fus.Anchored = false | |
1560 | fus.CanCollide = false | |
1561 | fus.BrickColor = BrickColor.new("Lime green") | |
1562 | fus.Transparency = 0.6 | |
1563 | fus.Reflectance = 0.5 | |
1564 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
1565 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -200 | |
1566 | local f = Instance.new("Fire") | |
1567 | f.Name = "FusFire" | |
1568 | f.Size = fus:GetMass() | |
1569 | f.Heat = 0 | |
1570 | f.Color = Color3.new(1, 1, 1) | |
1571 | f.SecondaryColor = Color3.new(1, 1, 1) | |
1572 | f.Parent = fus | |
1573 | local mesh = In3tance.new("SpecialMesh") | |
1574 | mesh.MeshType = "Sphere" | |
1575 | mesh.Parent = fus | |
1576 | local bp = Instance.new("BodyPosition") | |
1577 | bp.position = p.Character.Head.Position | |
1578 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
1579 | bp.Parent = fus | |
1580 | fus.Paren4 = workspace | |
1581 | fus.Touched:connect(function(part) zuned(part, fus) end) | |
1582 | coroutine.resume(coroutine.create(function() | |
1583 | wait(0.5) | |
1584 | for i = 1, 9 do | |
1585 | wait(0.01) | |
1586 | local cf = fus.CFrame | |
1587 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
1588 | f.Size = fus:GetMass()/2 | |
1589 | fus.CFrame = cf | |
1590 | end | |
1591 | wait(3) | |
1592 | for i = 1, 40 do | |
1593 | fus.Transparency = fus.Transparency + 0.1 | |
1594 | f.Size = f.Size - (fus:GetMass()/40) | |
1595 | wait(0.1) | |
1596 | end | |
1597 | wait() | |
1598 | fus.Transparency = 1 | |
1599 | f:remove() | |
1600 | fus:remove() | |
1601 | go = true | |
1602 | end)) | |
1603 | game:GetService("Debris"):AddItem(fus, 15) | |
1604 | elseif string.find(msg, "krii lun aus") and go == true then | |
1605 | go = false | |
1606 | fus = Instance.new("Part") | |
1607 | fus.formFactor = "Custom" | |
1608 | fus.Size = Vector3.new(1, 1, 4) | |
1609 | fus.TopSurface = "Smooth" | |
1610 | fus.BottomSurface = "Smooth" | |
1611 | fus.Anchored = false | |
1612 | fus.CanCollide = false | |
1613 | fus.BrickColor = BrickColor.new("Bright purple") | |
1614 | fus.Transparency = 0.6 | |
1615 | fus.Reflectance = 0.5 | |
1616 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
1617 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
1618 | local f = Instance.new("Fire") | |
1619 | f.Name = "FusFire" | |
1620 | f.Size = fus:GetMass() | |
1621 | f.Heat = 0 | |
1622 | f.Color = Color3.new(0, 0, 0) | |
1623 | f.SecondaryColor = Color3.new(0, 0, 0) | |
1624 | f.Parent = fus | |
1625 | local mesh = Instance.new("SpecialMesh") | |
1626 | mesh.MeshType = "Sphere" | |
1627 | mesh.Parent = fus | |
1628 | local bp = Instance.new("BodyPosition") | |
1629 | bp.position = p.Character.Head.Position | |
1630 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
1631 | bp.Parent = fus | |
1632 | fus.Parent = workspace | |
1633 | fus.Touched:connect(function(part) kriied(part, fus) end) | |
1634 | coroutine.resume(coroutine.create(function() | |
1635 | wait(0.5) | |
1636 | for i = 1, 19 do | |
1637 | wait(0.01) | |
1638 | local cf = fus.CFrame | |
1639 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
1640 | f.Size = fus:GetMass()/2 | |
1641 | fus.CFrame = cf | |
1642 | end | |
1643 | wait(3) | |
1644 | for i = 1, 40 do | |
1645 | fus.Transparency = fus.Transparency + 0.1 | |
1646 | f.Size = f.Size - (fus:GetMass()/40) | |
1647 | wait(0.1) | |
1648 | end | |
1649 | wait() | |
1650 | fus.Transparency = 1 | |
1651 | f:remove() | |
1652 | fus:remove() | |
1653 | go = true | |
1654 | end)) | |
1655 | game:GetService("Debris"):AddItem(fus, 15) | |
1656 | elseif string.find(msg, "tiid klo ul") then | |
1657 | for a, b in pairs(game.Players:children()) do | |
1658 | if b.Character ~= nil and b ~= p then | |
1659 | for c, d in pairs(b.Character:children()) do | |
1660 | if d.className == "Part" then | |
1661 | if d.Anchored == false then | |
1662 | local cf = nil | |
1663 | if d.Name == "Torso" then | |
1664 | cf = d.CFrame | |
1665 | end | |
1666 | d.Anchored = true | |
1667 | coroutine.resume(coroutine.create(function() | |
1668 | wait(10) | |
1669 | if d ~= nil then | |
1670 | d.Anchored = false | |
1671 | d.CFrame = cf | |
1672 | end | |
1673 | end)) | |
1674 | end | |
1675 | elseif d.className == "Hat" then | |
1676 | if d.Handle.Anchored == false then | |
1677 | d.Handle.Anchored = true | |
1678 | coroutine.resume(coroutine.create(function() | |
1679 | wait(10) | |
1680 | if d ~= nil then | |
1681 | if d.Handle ~= nil then | |
1682 | d.Handle.Anchored = false | |
1683 | end | |
1684 | end | |
1685 | end)) | |
1686 | end | |
1687 | end | |
1688 | end | |
1689 | end | |
1690 | end | |
1691 | elseif string.find(msg, "faas ru maar") and go == true then | |
1692 | go = false | |
1693 | fus = Instance.new("Part") | |
1694 | fus.formFactor = "Custom" | |
1695 | fus.Size = Vector3.new(1, 1, 4) | |
1696 | fus.TopSurface = "Smooth" | |
1697 | fus.BottomSurface = "Smooth" | |
1698 | fus.Anchored = false | |
1699 | fus.CanCollide = false | |
1700 | fus.BrickColor = BrickColor.new("Really black") | |
1701 | fus.Transparency = 0.6 | |
1702 | fus.Reflectance = 0.5 | |
1703 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
1704 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
1705 | local f = Instance.new("Fire") | |
1706 | f.Name = "FusFire" | |
1707 | f.Size = fus:GetMass() | |
1708 | f.Heat = 0 | |
1709 | f.Color = Color3.new(0, 0, 0) | |
1710 | f.SecondaryColor = Color3.new(0, 0, 0) | |
1711 | f.Parent = fus | |
1712 | local mesh = Instance.new("SpecialMesh") | |
1713 | mesh.MeshType = "Sphere" | |
1714 | mesh.Parent = fus | |
1715 | local bp = Instance.new("BodyPosition") | |
1716 | bp.position = p.Character.Head.Position | |
1717 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
1718 | bp.Parent = fus | |
1719 | fus.Parent = workspace | |
1720 | fus.Touched:connect(function(part) faased(part) end) | |
1721 | coroutine.resume(coroutine.create(function() | |
1722 | wait(0.5) | |
1723 | for i = 1, 19 do | |
1724 | wait(0.01) | |
1725 | local cf = fus.CFrame | |
1726 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
1727 | f.Size = fus:GetMass()/2 | |
1728 | fus.CFrame = cf | |
1729 | end | |
1730 | wait(3) | |
1731 | for i = 1, 40 do | |
1732 | fus.Transparency = fus.Transparency + 0.1 | |
1733 | f.Size = f.Size - (fus:GetMass()/40) | |
1734 | wait(0.1) | |
1735 | end | |
1736 | wait() | |
1737 | fus.Transparency = 1 | |
1738 | f:remove() | |
1739 | fus:remove() | |
1740 | go = true | |
1741 | end)) | |
1742 | game:GetService("Debris"):AddItem(fus, 15) | |
1743 | elseif string.find(msg, "toor bah yol") and skygo == true then | |
1744 | skygo = false | |
1745 | local clouds = {} | |
1746 | function meteor(cloud) | |
1747 | local cf = CFrame.new(cloud.Position + Vector3.new(math.random(-10, 10), 20, math.random(-10, 10))) | |
1748 | local m = Instance.new("Part") | |
1749 | m.Name = "FusRock" | |
1750 | m.Shape = "Ball" | |
1751 | m.formFactor = "Symmetric" | |
1752 | m.Anchored = false | |
1753 | m.CanCollide = false | |
1754 | m.TopSurface = "Smooth" | |
1755 | m.BottomSurface = "Smooth" | |
1756 | local size = math.random(10, 20) | |
1757 | m.Size = Vector3.new(size, size, size) | |
1758 | m.BrickColor = BrickColor.new("Bright red") | |
1759 | m.Reflectance = 0.4 | |
1760 | m.CFrame = cf | |
1761 | Instance.new("Fire", m).Size = m:GetMass() | |
1762 | m.Velocity = Vector3.new(0, -50, 0) | |
1763 | m.Parent = workspace | |
1764 | game:GetService("Debris"):AddItem(m, 30) | |
1765 | m.Touched:connect(function(part) toored(part, m) end) | |
1766 | end | |
1767 | for i = 1, 100 do | |
1768 | game.Lighting.Brightness = game.Lighting.Brightness - 0.01 | |
1769 | wait(0.05) | |
1770 | end | |
1771 | game.Lighting.Brightness = 0 | |
1772 | local cloud = Instance.new("Part") | |
1773 | cloud.Name = "ToorCloud" | |
1774 | cloud.Size = Vector3.new(1, 1, 1) | |
1775 | cloud.Anchored = true | |
1776 | cloud.CanCollide = false | |
1777 | cloud.BrickColor = BrickColor.new("Black") | |
1778 | cloud.Transparency = 1 | |
1779 | local mesh = Instance.new("SpecialMesh") | |
1780 | mesh.MeshType = "FileMesh" | |
1781 | mesh.Scale = Vector3.new(math.random(100, 150), math.random(50, 100), math.random(100, 150)) | |
1782 | mesh.MeshId = "www.roblox.com/asset/?id=1095708" | |
1783 | mesh.Parent = cloud | |
1784 | for i = 1, (math.random(4, 8)) do | |
1785 | local newc = cloud:clone() | |
1786 | newc.Parent = workspace | |
1787 | game:GetService("Debris"):AddItem(newc, 180) | |
1788 | table.insert(clouds, newc) | |
1789 | newc.CFrame = CFrame.new(p.Character.Torso.Position + Vector3.new(math.random(-250, 250), math.random(150, 200), math.random(-250, 250))) | |
1790 | coroutine.resume(coroutine.create(function() | |
1791 | repeat | |
1792 | newc.Transparency = newc.Transparency - 0.01 | |
1793 | wait() | |
1794 | until newc.Transparency <= 0.2 | |
1795 | newc.Transparency = 0.2 | |
1796 | end)) | |
1797 | end | |
1798 | for launch = 1, math.random(20, 30) do | |
1799 | if skygo == true then break end | |
1800 | wait(math.random(2, 4)) | |
1801 | meteor(clouds[math.random(1, #clouds)]) | |
1802 | end | |
1803 | wait(1) | |
1804 | for c = 1, #clouds do | |
1805 | coroutine.resume(coroutine.create(function() | |
1806 | repeat | |
1807 | clouds[c].Transparency = clouds[c].Transparency + 0.01 | |
1808 | wait() | |
1809 | until clouds[c].Transparency >= 1 | |
1810 | clouds[c].Transparency = 1 | |
1811 | clouds[c]:remove() | |
1812 | end)) | |
1813 | end | |
1814 | repeat | |
1815 | game.Lighting.Brightness = game.Lighting.Brightness + 0.01 | |
1816 | wait(0.01) | |
1817 | until game.Lighting.Brightness >= 1 | |
1818 | game.Lighting.Brightness = 1 | |
1819 | skygo = true | |
1820 | elseif string.find(msg, "joor zah frul") and go == true then | |
1821 | go = false | |
1822 | fus = Instance.new("Part") | |
1823 | fus.formFactor = "Custom" | |
1824 | fus.Size = Vector3.new(1, 1, 4) | |
1825 | fus.TopSurface = "Smooth" | |
1826 | fus.BottomSurface = "Smooth" | |
1827 | fus.Anchored = false | |
1828 | fus.CanCollide = false | |
1829 | fus.BrickColor = BrickColor.new("Bright yellow") | |
1830 | fus.Transparency = 0.7 | |
1831 | fus.Reflectance = 0.5 | |
1832 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
1833 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
1834 | local f = Instance.new("Sparkles") | |
1835 | f.Name = "FusSparkles" | |
1836 | f.SparkleColor = Color3.new(0, 0, 0) | |
1837 | f.Parent = fus | |
1838 | local mesh = Instance.new("SpecialMesh") | |
1839 | mesh.MeshType = "Sphere" | |
1840 | mesh.Parent = fus | |
1841 | local bp = Instance.new("BodyPosition") | |
1842 | bp.position = p.Character.Head.Position | |
1843 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
1844 | bp.Parent = fus | |
1845 | fus.Parent = workspace | |
1846 | fus.Touched:connect(function(part) joored(part, fus) end) | |
1847 | coroutine.resume(coroutine.create(function() | |
1848 | wait(0.5) | |
1849 | for i = 1, 19 do | |
1850 | wait(0.01) | |
1851 | local cf = fus.CFrame | |
1852 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
1853 | fus.CFrame = cf | |
1854 | end | |
1855 | wait(3) | |
1856 | for i = 1, 40 do | |
1857 | fus.Transparency = fus.Transparency + 0.1 | |
1858 | wait(0.1) | |
1859 | end | |
1860 | wait() | |
1861 | fus.Transparency = 1 | |
1862 | f:remove() | |
1863 | fus:remove() | |
1864 | go = true | |
1865 | end)) | |
1866 | game:GetService("Debris"):AddItem(fus, 15) | |
1867 | elseif string.find(msg, "kaan drem ov") and go == true then | |
1868 | go = false | |
1869 | fus = Instance.new("Part") | |
1870 | fus.formFactor = "Custom" | |
1871 | fus.Size = Vector3.new(1, 1, 4) | |
1872 | fus.TopSurface = "Smooth" | |
1873 | fus.BottomSurface = "Smooth" | |
1874 | fus.Anchored = false | |
1875 | fus.CanCollide = false | |
1876 | fus.BrickColor = BrickColor.new("White") | |
1877 | fus.Transparency = 0.7 | |
1878 | fus.Reflectance = 0.5 | |
1879 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
1880 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
1881 | local f = Instance.new("Sparkles") | |
1882 | f.Name = "FusSparkles" | |
1883 | f.SparkleColor = Color3.new(1, 1, 1) | |
1884 | f.Parent = fus | |
1885 | local mesh = Instance.new("SpecialMesh") | |
1886 | mesh.MeshType = "Sphere" | |
1887 | mesh.Parent = fus | |
1888 | local bp = Instance.new("BodyPosition") | |
1889 | bp.position = p.Character.Head.Position | |
1890 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
1891 | bp.Parent = fus | |
1892 | fus.Parent = workspace | |
1893 | fus.Touched:connect(function(part) kaaned(part) end) | |
1894 | coroutine.resume(coroutine.create(function() | |
1895 | wait(0.5) | |
1896 | for i = 1, 19 do | |
1897 | wait(0.01) | |
1898 | local cf = fus.CFrame | |
1899 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
1900 | fus.CFrame = cf | |
1901 | end | |
1902 | wait(3) | |
1903 | for i = 1, 40 do | |
1904 | fus.Transparency = fus.Transparency + 0.1 | |
1905 | wait(0.1) | |
1906 | end | |
1907 | wait() | |
1908 | fus.Transparency = 1 | |
1909 | f:remove() | |
1910 | fus:remove() | |
1911 | go = true | |
1912 | end)) | |
1913 | game:GetService("Debris"):AddItem(fus, 15) | |
1914 | elseif string.find(msg, "ven mul riik") and skygo == true then | |
1915 | skygo = false | |
1916 | local l = game.Lighting | |
1917 | l.FogEnd = 1000 | |
1918 | coroutine.resume(coroutine.create(function() | |
1919 | repeat | |
1920 | l.FogEnd = l.FogEnd - 3 | |
1921 | wait() | |
1922 | until l.FogEnd < 50 | |
1923 | wait(10) | |
1924 | repeat | |
1925 | l.FogEnd = l.FogEnd + 5 | |
1926 | wait() | |
1927 | until l.FogEnd > 5000 | |
1928 | l.FogEnd = 10000 | |
1929 | skygo = true | |
1930 | end)) | |
1931 | elseif string.find(msg, "lok vah koor") and skygo == false and go == true then | |
1932 | skygo = true | |
1933 | --Not changing go because this is an instantaneous reaction. | |
1934 | coroutine.resume(coroutine.create(function() | |
1935 | local b = Instance.new("Part") | |
1936 | b.Shape = "Ball" | |
1937 | b.formFactor = "Symmetric" | |
1938 | b.Size = Vector3.new(1, 1, 1) | |
1939 | b.CFrame = p.Character.Torso.CFrame | |
1940 | b.TopSurface = "Smooth" | |
1941 | b.BottomSurface = "Smooth" | |
1942 | b.Anchored = true | |
1943 | b.CanCollide = false | |
1944 | b.Name = "LokBall" | |
1945 | b.BrickColor = BrickColor.new("White") | |
1946 | b.Parent = p.Character | |
1947 | game:GetService("Debris"):AddItem(b, 20) | |
1948 | repeat | |
1949 | b.Size = b.Size + Vector3.new(1, 1, 1) | |
1950 | b.CFrame = p.Character.Torso.CFrame | |
1951 | b.Transparency = b.Transparency + 1/29 | |
1952 | wait() | |
1953 | until b.Size.x == 30 | |
1954 | b:remove() | |
1955 | end)) | |
1956 | local l = game.Lighting | |
1957 | coroutine.resume(coroutine.create(function() | |
1958 | repeat | |
1959 | l.FogEnd = l.FogEnd + 5 | |
1960 | wait() | |
1961 | until l.FogEnd > 5000 | |
1962 | l.FogEnd = 10000 | |
1963 | end)) | |
1964 | elseif string.find(msg, "nahl daal vus") and go == true then | |
1965 | go = false | |
1966 | fus = Instance.new("Part") | |
1967 | fus.formFactor = "Custom" | |
1968 | fus.Size = Vector3.new(2, 2, 4) | |
1969 | fus.TopSurface = "Smooth" | |
1970 | fus.BottomSurface = "Smooth" | |
1971 | fus.Anchored = false | |
1972 | fus.CanCollide = false | |
1973 | fus.BrickColor = BrickColor.new("Bright green") | |
1974 | fus.Transparency = 0.7 | |
1975 | fus.Reflectance = 0.5 | |
1976 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
1977 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
1978 | local f = Instance.new("Sparkles") | |
1979 | f.Name = "FusSparkles" | |
1980 | f.SparkleColor = Color3.new(1, 1, 1) | |
1981 | f.Parent = fus | |
1982 | local mesh = Instance.new("SpecialMesh") | |
1983 | mesh.MeshType = "Sphere" | |
1984 | mesh.Parent = fus | |
1985 | local bp = Instance.new("BodyPosition") | |
1986 | bp.position = p.Character.Head.Position | |
1987 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
1988 | bp.Parent = fus | |
1989 | fus.Parent = workspace | |
1990 | fus.Touched:connect(function(part) nahled(part) end) | |
1991 | coroutine.resume(coroutine.create(function() | |
1992 | wait(0.5) | |
1993 | for i = 1, 19 do | |
1994 | wait(0.01) | |
1995 | local cf = fus.CFrame | |
1996 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
1997 | fus.CFrame = cf | |
1998 | end | |
1999 | wait(3) | |
2000 | for i = 1, 40 do | |
2001 | fus.Transparency = fus.Transparency + 0.1 | |
2002 | wait(0.1) | |
2003 | end | |
2004 | wait() | |
2005 | fus.Transparency = 1 | |
2006 | f:remove() | |
2007 | fus:remove() | |
2008 | go = true | |
2009 | end)) | |
2010 | game:GetService("Debris"):AddItem(fus, 15) | |
2011 | elseif string.find(msg, "bex") and go == true then | |
2012 | go = false | |
2013 | fus = Instance.new("Part") | |
2014 | fus.formFactor = "Custom" | |
2015 | fus.Size = Vector3.new(1, 1, 4) | |
2016 | fus.TopSurface = "Smooth" | |
2017 | fus.BottomSurface = "Smooth" | |
2018 | fus.Anchored = false | |
2019 | fus.CanCollide = false | |
2020 | fus.BrickColor = BrickColor.new("White") | |
2021 | fus.Transparency = 0.7 | |
2022 | fus.Reflectance = 0.5 | |
2023 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
2024 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
2025 | local mesh = Instance.new("SpecialMesh") | |
2026 | mesh.MeshType = "Sphere" | |
2027 | mesh.Parent = fus | |
2028 | local bp = Instance.new("BodyPosition") | |
2029 | bp.position = p.Character.Head.Position | |
2030 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
2031 | bp.Parent = fus | |
2032 | fus.Parent = workspace | |
2033 | fus.Touched:connect(function(part) bexed(part) end) | |
2034 | coroutine.resume(coroutine.create(function() | |
2035 | wait(1) | |
2036 | for i = 1, 40 do | |
2037 | fus.Transparency = fus.Transparency + 0.1 | |
2038 | wait(0.1) | |
2039 | end | |
2040 | wait() | |
2041 | fus.Transparency = 1 | |
2042 | fus:remove() | |
2043 | go = true | |
2044 | end)) | |
2045 | game:GetService("Debris"):AddItem(fus, 15) | |
2046 | end | |
2047 | end) | |
2048 | function bexed(part) | |
2049 | if part.Parent then | |
2050 | if part.Name == "Door" then | |
2051 | local d = part:clone() | |
2052 | coroutine.resume(coroutine.create(function() | |
2053 | repeat | |
2054 | part.Transparency = part.Transparency + 0.05 | |
2055 | wait() | |
2056 | until part.Transparency >= 1 | |
2057 | part.Anchored = true | |
2058 | part.CanCollide = false | |
2059 | wait(3) | |
2060 | repeat | |
2061 | part.Transparency = part.Transparency - 0.05 | |
2062 | wait() | |
2063 | until part.Transparency <= d.Transparency | |
2064 | part.Transparency = d.Transparency | |
2065 | if d.CanCollide == true then | |
2066 | part.CanCollide = true | |
2067 | end | |
2068 | if d.Anchored == true then | |
2069 | part.Anchored = d.Anchored | |
2070 | end | |
2071 | end)) | |
2072 | end | |
2073 | end | |
2074 | end | |
2075 | function nahled(part) | |
2076 | if workspace:findFirstChild("Base") ~= nil then | |
2077 | if part.Parent then | |
2078 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= p.Character then | |
2079 | part.Parent.Torso.CFrame = workspace.Base.CFrame * CFrame.new(0, 5, 0) | |
2080 | end | |
2081 | end | |
2082 | end | |
2083 | end | |
2084 | function kaaned(part) | |
2085 | if part.Parent then | |
2086 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= p.Character then | |
2087 | if part.Parent:findFirstChild("Kaaned") == nil then | |
2088 | local k = Instance.new("IntValue", part.Parent) | |
2089 | k.Name = "Kaaned" | |
2090 | game:GetService("Debris"):AddItem(k, 2) | |
2091 | local hum = part.Parent.Humanoid | |
2092 | local speed = hum.WalkSpeed | |
2093 | coroutine.resume(coroutine.create(function() | |
2094 | hum.WalkSpeed = 0 | |
2095 | wait(10) | |
2096 | hum.WalkSpeed = speed | |
2097 | end)) | |
2098 | end | |
2099 | end | |
2100 | end | |
2101 | end | |
2102 | function joored(part, shout) | |
2103 | shout.Anchored = false | |
2104 | shout.CanCollide = false | |
2105 | if part.Parent then | |
2106 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= p.Character then | |
2107 | if part.Parent:findFirstChild("Joored") == nil then | |
2108 | local j = Instance.new("IntValue", part.Parent) | |
2109 | j.Name = "Joored" | |
2110 | game:GetService("Debris"):AddItem(j, 2) | |
2111 | local hum = part.Parent.Humanoid | |
2112 | tag(hum) | |
2113 | hum.Parent:BreakJoints() | |
2114 | for a, b in pairs(hum.Parent:children()) do | |
2115 | if b.className == "Part" then | |
2116 | b.Velocity = (p.Character.Torso.Position - b.Position).unit * -50 | |
2117 | local f = Instance.new("Fire", b) | |
2118 | f.Color = Color3.new(0, 0, 0) | |
2119 | f.SecondaryColor = Color3.new(0, 0, 0) | |
2120 | f.Heat = 0 | |
2121 | f.Size = ":GetMass()" | |
2122 | local bf = Instance.new("BodyVelocity") | |
2123 | bf.Parent = b | |
2124 | bf.P = 196*b:GetMass() | |
2125 | bf.maxForce = Vector3.new(0, 196*b:GetMass(), 0) | |
2126 | bf.velocity = Vector3.new(0, 196*b:GetMass(), 0) | |
2127 | elseif b.className == "Hat" then | |
2128 | local b = b.Handle | |
2129 | b.Velocity = (p.Character.Torso.Position - b.Position).unit * -50 | |
2130 | local f = Instance.new("Fire", b) | |
2131 | f.Color = Color3.new(0, 0, 0) | |
2132 | f.SecondaryColor = Color3.new(0, 0, 0) | |
2133 | f.Heat = 0 | |
2134 | f.Size = 3 | |
2135 | local bf = Instance.new("BodyVelocity") | |
2136 | bf.Parent = b | |
2137 | bf.P = 196*b:GetMass() | |
2138 | bf.maxForce = Vector3.new(0, 196*b:GetMass(), 0) | |
2139 | bf.velocity = Vector3.new(0, 196*b:GetMass(), 0) | |
2140 | elseif b.className == "ForceField" then | |
2141 | b:remove() | |
2142 | local e = Instance.new("Explosion", hum.Parent.Torso) | |
2143 | e.BlastRadius = 1 | |
2144 | e.BlastPressure = 1 | |
2145 | e.position = hum.Parent.Torso.Position | |
2146 | end | |
2147 | end | |
2148 | end | |
2149 | end | |
2150 | end | |
2151 | end | |
2152 | function toored(part, m) | |
2153 | if part.Name ~= "FusRock" and part.Name ~= "ToorCloud" and part.CanCollide == true then | |
2154 | m.Anchored = true | |
2155 | m.CanCollide = true | |
2156 | if m:findFirstChild("Touched") == nil then | |
2157 | Instance.new("IntValue", m).Name = "Touched" | |
2158 | m.CFrame = CFrame.new(m.Position.x, part.Position.y, m.Position.z) | |
2159 | end | |
2160 | local e = Instance.new("Explosion") | |
2161 | e.BlastPressure = 50000 | |
2162 | e.BlastRadius = 15 | |
2163 | e.Position = m.Position | |
2164 | e.Parent = m | |
2165 | e.Hit:connect(function(hit) | |
2166 | if hit.Parent then | |
2167 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2168 | tag(hit.Parent.Humanoid) | |
2169 | end | |
2170 | end | |
2171 | end) | |
2172 | end | |
2173 | end | |
2174 | function faased(part) | |
2175 | if part.Parent then | |
2176 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil then | |
2177 | if part.Parent:findFirstChild("Faased") == nil then | |
2178 | local f = Instance.new("IntValue", part.Parent) | |
2179 | f.Name = "Faased" | |
2180 | game:GetService("Debris"):AddItem(f, 2) | |
2181 | local hum = part.Parent.Humanoid | |
2182 | local speed = hum.WalkSpeed --Speed prior to fleeing | |
2183 | hum.WalkSpeed = speed * -1 | |
2184 | game:GetService("Chat"):Chat(hum.Parent.Head, "Ahh!!!", "Red") | |
2185 | for i = 1, 10 do | |
2186 | hum:MoveTo(hum.Parent.Torso.Position + Vector3.new(math.random(-30, 30), 0, math.random(-30, 20)), hum.Parent.Torso) | |
2187 | wait(math.random(1, 2)) | |
2188 | end | |
2189 | hum.WalkSpeed = speed | |
2190 | hum:MoveTo(hum.Parent.Torso.Position, hum.Parent.Torso) | |
2191 | end | |
2192 | end | |
2193 | end | |
2194 | end | |
2195 | function struned(part, lightning) | |
2196 | if part.Parent then | |
2197 | if part.Parent:findFirstChild("Humanoid") ~= nil then | |
2198 | local hum = part.Parent.Humanoid | |
2199 | tag(part.Parent.Humanoid) | |
2200 | local e = Instance.new("Explosion") | |
2201 | e.position = part.Position | |
2202 | e.BlastPressure = 35000 | |
2203 | e.BlastRadius = 2 | |
2204 | e.Parent = part | |
2205 | hum:TakeDamage(math.huge) | |
2206 | for a, b in pairs(hum.Parent:children()) do | |
2207 | if b.className == "Part" then | |
2208 | Instance.new("Fire", part).Size = part:GetMass() | |
2209 | end | |
2210 | end | |
2211 | end | |
2212 | end | |
2213 | end | |
2214 | function kriied(part, shout) | |
2215 | if part.Parent then | |
2216 | if part.Parent == p.Character then return end | |
2217 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild(p.Name.. "Kriied") == nil then | |
2218 | Instance.new("IntValue", part.Parent).Name = p.Name.. "Kriied" | |
2219 | local hum = part.Parent.Humanoid | |
2220 | hum.MaxHealth = hum.MaxHealth - 75 | |
2221 | hum.Health = hum.MaxHealth | |
2222 | for i = 1, 60 do | |
2223 | tag(part.Parent.Humanoid) | |
2224 | hum:TakeDamage(1.5) | |
2225 | wait(1) | |
2226 | end | |
2227 | hum.MaxHealth = hum.MaxHealth + 75 | |
2228 | end | |
2229 | end | |
2230 | end | |
2231 | function zuned(part, shout) | |
2232 | if part.Parent == p.Character then return end | |
2233 | if part.Parent then | |
2234 | if part.Parent:findFirstChild("Humanoid") ~= nil then | |
2235 | for a, b in pairs(part.Parent:children()) do | |
2236 | if b.className == "Tool" then | |
2237 | if b:findFirstChild("Handle") ~= nil then | |
2238 | b.Parent = workspace | |
2239 | wait() | |
2240 | b.Handle.Velocity = (b.Handle.Position - p.Character.Torso.Position).unit * -100 | |
2241 | repeat | |
2242 | shout.Size = shout.Size - Vector3.new(1, 1, 1) | |
2243 | wait(0.1) | |
2244 | until shout.Shout.Size == Vector3.new(1, 1, 1) | |
2245 | shout:remove() | |
2246 | end | |
2247 | end | |
2248 | end | |
2249 | end | |
2250 | end | |
2251 | end | |
2252 | function foed(part, shout) | |
2253 | if part.Parent == p.Character then return end | |
2254 | if part.Parent:findFirstChild("Humanoid") ~= nil then | |
2255 | local hum = part.Parent.Humanoid | |
2256 | hum.Sit = true | |
2257 | hum:TakeDamage(7.5) | |
2258 | if hum.Parent:findFirstChild(p.Name.. "Foed") == nil then | |
2259 | hum.WalkSpeed = 8 | |
2260 | local foer = Instance.new("IntValue", workspace) | |
2261 | foer.Name = p.Name.. "Foed" | |
2262 | game:GetService("Debris"):AddItem(foer, 2) | |
2263 | wait(5) | |
2264 | hum.WalkSpeed = 16 | |
2265 | hum.Sit = false | |
2266 | end | |
2267 | shout:remove() | |
2268 | end | |
2269 | end | |
2270 | function yoled(part) | |
2271 | if part.Parent == p.Character then return end | |
2272 | if part.Parent:findFirstChild("Humanoid") ~= nil then | |
2273 | local f = Instance.new("Fire", part) | |
2274 | f.Size = part:GetMass() | |
2275 | f.Heat = 100 | |
2276 | game:GetService("Debris"):AddItem(f, 10) | |
2277 | if part:findFirstChild(p.Name.. "Yoled") == nil then | |
2278 | local tag = Instance.new("IntValue") | |
2279 | tag.Name = p.Name.. "Yoled" | |
2280 | tag.Parent = part | |
2281 | game:GetService("Debris"):AddItem(tag, 2) | |
2282 | end | |
2283 | tag(part.Parent.Humanoid) | |
2284 | part.Parent.Humanoid:TakeDamage(7.5) | |
2285 | end | |
2286 | end | |
2287 | function lized(part) | |
2288 | if part.Parent then | |
2289 | if part.Parent == p.Character then return end | |
2290 | if part.Parent:findFirstChild("Humanoid") ~= nil then | |
2291 | if part.Parent:findFirstChild("Lized") ~= nil then return end | |
2292 | local Lizvictim = Instance.new("IntValue") | |
2293 | Lizvictim.Name = "Lized" | |
2294 | Lizvictim.Parent = part.Parent | |
2295 | game:GetService("Debris"):AddItem(Lizvictim, 10) | |
2296 | part.Parent.Animate.Disabled = true | |
2297 | part.Parent.Humanoid.PlatformStand = true | |
2298 | local speed = part.Parent.Humanoid.WalkSpeed | |
2299 | part.Parent.Humanoid.WalkSpeed = 0 | |
2300 | wait(0.01) | |
2301 | part.Parent.Torso.Velocity = (fus.Position - part.Parent.Torso.Position).unt * -50 | |
2302 | tag(part.Parent.Humanoid) | |
2303 | part.Parent.Humanoid:TakeDamage(part.Parent.Humanoid.MaxHealth/2) | |
2304 | for a, b in pairs(part.Parent:children()) do | |
2305 | if b:findFirstChild("Fire") ~= nil then | |
2306 | b.Fire:remove() | |
2307 | end | |
2308 | local frost = Instance.new("Part") | |
2309 | frost.Name = "Frost" | |
2310 | frost.formFactor = "Custom" | |
2311 | frost.BrickColor = BrickColor.new("Pastel blue-green") | |
2312 | frost.Reflectance = 0.5 | |
2313 | frost.Transparency = 0.6 | |
2314 | frost.Anchored = false | |
2315 | frost.CanCollide = true | |
2316 | if b.className == "Part" then | |
2317 | frost.Size = b.Size + Vector3.new(0.5, 0.5, 0.5) | |
2318 | local w = Instance.new("Weld") | |
2319 | w.Part0 = b | |
2320 | w.Part1 = frost | |
2321 | w.Parent = frost | |
2322 | frost.Parent = part.Parent | |
2323 | game:GetService("Debris"):AddItem(frost, 10) | |
2324 | end | |
2325 | end | |
2326 | wait(10) | |
2327 | part.Parent.Humanoid.PlatformStand = false | |
2328 | part.Parent.Animate.Disabled = false | |
2329 | part.Parent.Humanoid.WalkSpeed = speed | |
2330 | end | |
2331 | end | |
2332 | end | |
2333 | function fused(part) | |
2334 | if part.Parent then | |
2335 | if part.Parent == p.Character then return end | |
2336 | if part.Parent:findFirstChild("Humanoid") ~= nil then | |
2337 | if part.Parent:findFirstChild(p.Name.. "Fused") ~= nil then return end | |
2338 | local fusvictim = Instance.new("IntValue") | |
2339 | fusvictim.Name = p.Name.. "Fused" | |
2340 | fusvictim.Parent = part.Parent | |
2341 | game:GetService("Debris"):AddItem(fusvictim, 2) | |
2342 | part.Parent.Humanoid.Sit = true | |
2343 | tag(part.Parent.Humanoid) | |
2344 | part.Parent.Humanoid:TakeDamage(part.Parent.Humanoid.MaxHealth/4) | |
2345 | for a, b in pairs(part.Parent:children()) do | |
2346 | if b.className == "Part" then | |
2347 | b.Velocity = fus.Velocity | |
2348 | elseif b.className == "Hat" then | |
2349 | b.Handle.Velocity = fus.Velocity | |
2350 | end | |
2351 | end | |
2352 | wait(2) | |
2353 | part.Parent.Humanoid.Sit = false | |
2354 | elseif part.Anchored == false and part.Parent:findFirstChild("Humanoid") == nil then | |
2355 | part.Velocity = fus.Velocity | |
2356 | end | |
2357 | end | |
2358 | end | |
2359 | function tag(victim) | |
2360 | local creator_tag = Instance.new("ObjectValue") | |
2361 | creator_tag.Value = p | |
2362 | creator_tag.Name = "creator" | |
2363 | creator_tag.Parent = victim | |
2364 | game:GetService("Debris"):AddItem(creator_tag, 1) | |
2365 | end | |
2366 | --[Skyrim Shouting Rules.]]-- |