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