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