SHOW:
|
|
- or go back to the newest paste.
1 | - | -----------//GATTAI ZAMASU\\----------- |
1 | + | -----------//Vegeta Black Fused\\----------- |
2 | --[[Movelist | |
3 | - | E = Blades of Judgement |
3 | + | E = Blades of Finalation |
4 | - | R = Holy light |
4 | + | R = Holy Light Of Super Saiyan Rosé |
5 | T = Taunt | |
6 | - | Y = Lightning of Absolution |
6 | + | Y = Lightning Of The Divine Saiyan's |
7 | - | U = Divine wrath/Holy wrath |
7 | + | U = Divine Explosion/Divine Explosion Wrath |
8 | ---------]] | |
9 | ||
10 | --I'm starting my own youtube channel to showcase my private/best work, if you're interested, be sure to check it out! https://www.youtube.com/channel/UCN6i8M5gV1KgsGHLNQZGLgQ-- | |
11 | --It currently has no content as of 1/20/19, but in the near future i'll post some videos & scripting tutorials for the newbs out there.-- | |
12 | --Also subscribe to this d00d: https://www.youtube.com/channel/UC2hsp8ie2iYsJGK-zRD0sPg-- | |
13 | --And no, you cannot have my privates, however, over time i'll release one of my privates for 1 hour only-- | |
14 | --Also, check out my pastebin, it'll give you some handy information too-- | |
15 | --Enough frickin' around, enjoy the script lads-- | |
16 | ||
17 | ||
18 | if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {} | |
19 | do | |
20 | script.Parent = owner.Character | |
21 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
22 | local function NewFakeEvent() | |
23 | local Bind = Instance.new("BindableEvent") | |
24 | local Fake;Fake = {Connections = {}, | |
25 | fakeEvent=true; | |
26 | Connect=function(self,Func) | |
27 | Bind.Event:connect(Func) | |
28 | self.Connections[Bind] = true | |
29 | return setmetatable({Connected = true},{ | |
30 | __index = function (self,Index) | |
31 | if Index:lower() == "disconnect" then | |
32 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
33 | end | |
34 | return Fake[Index] | |
35 | end; | |
36 | __tostring = function() return "Connection" end; | |
37 | }) | |
38 | end} | |
39 | Fake.connect = Fake.Connect;return Fake; | |
40 | end | |
41 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
42 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
43 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
44 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
45 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
46 | local function TriggerEvent(self,Event,...) | |
47 | local Trigger = Mouse[Event] | |
48 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
49 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
50 | end | |
51 | end | |
52 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
53 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
54 | if FiredBy.Name ~= owner.Name then return end | |
55 | if Input.MouseEvent then | |
56 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
57 | else | |
58 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
59 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
60 | for _,Action in pairs(ContextActionService.Actions) do | |
61 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
62 | end | |
63 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
64 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
65 | end | |
66 | end) | |
67 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
68 | Event.Parent = NLS([[ | |
69 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
70 | local Input = function(Input,gameProcessedEvent) | |
71 | if gameProcessedEvent then return end | |
72 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
73 | end | |
74 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
75 | local Hit,Target | |
76 | while wait(1/30) do | |
77 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
78 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
79 | end | |
80 | end | |
81 | ]],owner.Character) | |
82 | end | |
83 | RealGame = game;game = setmetatable({},{ | |
84 | __index = function (self,Index) | |
85 | local Sandbox = function (Thing) | |
86 | if Thing:IsA("Player") then | |
87 | local RealPlayer = Thing | |
88 | return setmetatable({},{ | |
89 | __index = function (self,Index) | |
90 | local Type = type(RealPlayer[Index]) | |
91 | if Type == "function" then | |
92 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
93 | return function (self)return InternalData["Mouse"] end | |
94 | end | |
95 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
96 | end | |
97 | return RealPlayer[Index] | |
98 | end; | |
99 | __tostring = function(self) return RealPlayer.Name end | |
100 | }) | |
101 | end | |
102 | end | |
103 | if RealGame[Index] then | |
104 | local Type = type(RealGame[Index]) | |
105 | if Type == "function" then | |
106 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
107 | return function (self,Service) | |
108 | local FakeServices = { | |
109 | ["players"] = function() | |
110 | return setmetatable({},{ | |
111 | __index = function (self2,Index2) | |
112 | local RealService = RealGame:GetService(Service) | |
113 | local Type2 = type(Index2) | |
114 | if Type2 == "function" then | |
115 | return function (self,...) return RealService[Index2](RealService,...)end | |
116 | else | |
117 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
118 | return RealService[Index2] | |
119 | end | |
120 | end; | |
121 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
122 | }) | |
123 | end; | |
124 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
125 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
126 | ["runservice"] = function() | |
127 | return setmetatable({},{ | |
128 | __index = function(self2,Index2) | |
129 | local RealService = RealGame:GetService(Service) | |
130 | local Type2 = type(Index2) | |
131 | if Type2 == "function" then | |
132 | return function (self,...) return RealService[Index2](RealService,...) end | |
133 | else | |
134 | local RunServices = { | |
135 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
136 | ["renderstepped"] = function() return RealService["Stepped"] end | |
137 | } | |
138 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
139 | return RealService[Index2] | |
140 | end | |
141 | end | |
142 | }) | |
143 | end | |
144 | } | |
145 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
146 | return RealGame:GetService(Service) | |
147 | end | |
148 | end | |
149 | return function (self,...) return RealGame[Index](RealGame,...) end | |
150 | else | |
151 | if game:GetService(Index) then return game:GetService(Index) end | |
152 | return RealGame[Index] | |
153 | end | |
154 | end | |
155 | return nil | |
156 | end | |
157 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...") | |
158 | ||
159 | Player=game:GetService("Players").LocalPlayer | |
160 | Character=Player.Character | |
161 | Character.Humanoid.Name = "gattaizamasu" | |
162 | hum = Character.gattaizamasu | |
163 | LeftArm=Character["Left Arm"] | |
164 | LeftLeg=Character["Left Leg"] | |
165 | RightArm=Character["Right Arm"] | |
166 | RightLeg=Character["Right Leg"] | |
167 | Root=Character["HumanoidRootPart"] | |
168 | Head=Character["Head"] | |
169 | Torso=Character["Torso"] | |
170 | Neck=Torso["Neck"] | |
171 | attacking = false | |
172 | laughing = false | |
173 | id = 2623171639 | |
174 | taim = nil | |
175 | change = 0 | |
176 | ws = 90 | |
177 | hpheight = 5 | |
178 | dedlaff = false | |
179 | appi = false | |
180 | tauntdebounce = false | |
181 | allowlev = true | |
182 | position = nil | |
183 | MseGuide = true | |
184 | running = false | |
185 | levitate = false | |
186 | settime = 0 | |
187 | sine = 0 | |
188 | t = 0 | |
189 | dgs = 75 | |
190 | mouse = Player:GetMouse() | |
191 | RunSrv = game:GetService("RunService") | |
192 | RenderStepped = game:GetService("RunService").RenderStepped | |
193 | removeuseless = game:GetService("Debris") | |
194 | - | local soundtable = {2638719005,2638719700,2638743317,2638744272,2638751297,2638751506,2638769242,2638769810,2638770257,2638777924} |
194 | + | local soundtable = {966261603,966262774,966264954,966268002,966270845} |
195 | - | local holywrathcolors = {"Really red","Bright orange"} |
195 | + | local holywrathcolors = {"Really red","Hot pink"} |
196 | rdnm = #soundtable | |
197 | hwc = #holywrathcolors | |
198 | ||
199 | screenGui = Instance.new("ScreenGui") | |
200 | screenGui.Parent = script.Parent | |
201 | ||
202 | local HEADLERP = Instance.new("ManualWeld") | |
203 | HEADLERP.Parent = Head | |
204 | HEADLERP.Part0 = Head | |
205 | HEADLERP.Part1 = Head | |
206 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
207 | ||
208 | local TORSOLERP = Instance.new("ManualWeld") | |
209 | TORSOLERP.Parent = Root | |
210 | TORSOLERP.Part0 = Torso | |
211 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
212 | ||
213 | local ROOTLERP = Instance.new("ManualWeld") | |
214 | ROOTLERP.Parent = Root | |
215 | ROOTLERP.Part0 = Root | |
216 | ROOTLERP.Part1 = Torso | |
217 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
218 | ||
219 | local RIGHTARMLERP = Instance.new("ManualWeld") | |
220 | RIGHTARMLERP.Parent = RightArm | |
221 | RIGHTARMLERP.Part0 = RightArm | |
222 | RIGHTARMLERP.Part1 = Torso | |
223 | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
224 | ||
225 | local LEFTARMLERP = Instance.new("ManualWeld") | |
226 | LEFTARMLERP.Parent = LeftArm | |
227 | LEFTARMLERP.Part0 = LeftArm | |
228 | LEFTARMLERP.Part1 = Torso | |
229 | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
230 | ||
231 | local RIGHTLEGLERP = Instance.new("ManualWeld") | |
232 | RIGHTLEGLERP.Parent = RightLeg | |
233 | RIGHTLEGLERP.Part0 = RightLeg | |
234 | RIGHTLEGLERP.Part1 = Torso | |
235 | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
236 | ||
237 | local LEFTLEGLERP = Instance.new("ManualWeld") | |
238 | LEFTLEGLERP.Parent = LeftLeg | |
239 | LEFTLEGLERP.Part0 = LeftLeg | |
240 | LEFTLEGLERP.Part1 = Torso | |
241 | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
242 | ||
243 | local function weldBetween(a, b) | |
244 | local weld = Instance.new("ManualWeld", a) | |
245 | weld.Part0 = a | |
246 | weld.Part1 = b | |
247 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
248 | return weld | |
249 | end | |
250 | ||
251 | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) | |
252 | A = Instance.new("Attachment", PARENT) | |
253 | A.Position = POSITION1 | |
254 | A.Name = "A" | |
255 | B = Instance.new("Attachment", PARENT) | |
256 | B.Position = POSITION2 | |
257 | B.Name = "B" | |
258 | tr1 = Instance.new("Trail", PARENT) | |
259 | tr1.Attachment0 = A | |
260 | tr1.Attachment1 = B | |
261 | tr1.Enabled = true | |
262 | tr1.Lifetime = LIFETIME | |
263 | tr1.TextureMode = "Static" | |
264 | tr1.LightInfluence = 0 | |
265 | tr1.Color = COLOR | |
266 | tr1.Transparency = NumberSequence.new(0, 1) | |
267 | end | |
268 | ||
269 | coroutine.wrap(function() | |
270 | while wait() do | |
271 | hum.WalkSpeed = ws | |
272 | Head.face.Texture = "rbxassetid://1322462890" | |
273 | - | LeftArm.BrickColor = BrickColor.new("Olivine") |
273 | + | LeftArm.BrickColor = BrickColor.new("Pastel brown") |
274 | - | RightArm.BrickColor = BrickColor.new("Olivine") |
274 | + | RightArm.BrickColor = BrickColor.new("Pastel brown") |
275 | - | Head.BrickColor = BrickColor.new("Olivine") |
275 | + | Head.BrickColor = BrickColor.new("Pastel brown") |
276 | end | |
277 | end)() | |
278 | godmode = coroutine.wrap(function() | |
279 | for i,v in pairs(Character:GetChildren()) do | |
280 | if v:IsA("BasePart") and v ~= Root then | |
281 | v.Anchored = false | |
282 | end | |
283 | end | |
284 | while true do | |
285 | hum.MaxHealth = math.huge | |
286 | wait(0.0000001) | |
287 | hum.Health = math.huge | |
288 | wait() | |
289 | end | |
290 | end) | |
291 | godmode() | |
292 | ff = Instance.new("ForceField", Character) | |
293 | ff.Visible = false | |
294 | ||
295 | coroutine.wrap(function() | |
296 | for i,v in pairs(Character:GetChildren()) do | |
297 | if v.Name == "Animate" then v:Remove() | |
298 | end | |
299 | end | |
300 | end)() | |
301 | ||
302 | for _,n in pairs(Character:GetChildren()) do | |
303 | if n:IsA("Accessory") then n:Remove() end | |
304 | end | |
305 | for _,x in pairs(Character:GetChildren()) do | |
306 | if x:IsA("Decal") then x:Remove() end | |
307 | end | |
308 | ||
309 | hair = Instance.new("Part",Character) | |
310 | hair.Size = Vector3.new(2,2,2) | |
311 | hair.CFrame = hair.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.85,0) | |
312 | hair.Anchored = false | |
313 | hair.Name = "hair" | |
314 | - | hair.BrickColor = BrickColor.new("Lily white") |
314 | + | hair.BrickColor = BrickColor.new("Hot pink") |
315 | hairmesh = Instance.new("SpecialMesh", hair) | |
316 | hairmesh.MeshType = "FileMesh" | |
317 | hairmesh.Scale = Vector3.new(5.839, 5.737, 5.947) | |
318 | hairmesh.MeshId = "rbxassetid://568050133" | |
319 | hairweld = weldBetween(hair,Head) | |
320 | hairweld.C0 = hair.CFrame:inverse() * Head.CFrame * CFrame.new(.055,-.9,-.4) | |
321 | ||
322 | ears = Instance.new("Part",Character) | |
323 | ears.Size = Vector3.new(2,2,2) | |
324 | ears.CFrame = ears.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.85,0) | |
325 | ears.Anchored = false | |
326 | ears.Name = "ears" | |
327 | - | ears.BrickColor = BrickColor.new("Olivine") |
327 | + | ears.BrickColor = BrickColor.new("") |
328 | earsmesh = Instance.new("SpecialMesh", ears) | |
329 | earsmesh.MeshType = "FileMesh" | |
330 | earsmesh.Scale = Vector3.new(1,1,1.1) | |
331 | earsmesh.MeshId = "rbxassetid://19383407" | |
332 | earsweld = weldBetween(ears,Head) | |
333 | earsweld.C0 = ears.CFrame:inverse() * Head.CFrame * CFrame.new(0,0,0) | |
334 | ||
335 | potara = Instance.new("Part",Character) | |
336 | potara.Size = Vector3.new(2,2,2) | |
337 | potara.CFrame = potara.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.85,0) | |
338 | potara.Anchored = false | |
339 | potara.Name = "ears" | |
340 | potara.BrickColor = BrickColor.new("Gold") | |
341 | potaramesh = Instance.new("SpecialMesh", potara) | |
342 | potaramesh.MeshType = "FileMesh" | |
343 | potaramesh.Scale = Vector3.new(1,1,1) | |
344 | potaramesh.MeshId = "rbxassetid://2623281326" | |
345 | potaraweld = weldBetween(potara,Head) | |
346 | potaraweld.C0 = potara.CFrame:inverse() * Head.CFrame * CFrame.new(0,.25,0) | |
347 | ||
348 | halo = Instance.new("Part",Character) | |
349 | halo.Size = Vector3.new(2,2,2) | |
350 | halo.CFrame = Root.CFrame * CFrame.new(0,0,2) | |
351 | halo.Anchored = false | |
352 | halo.Name = "halo" | |
353 | halo.Transparency = 1 | |
354 | - | halo.BrickColor = BrickColor.new("White") |
354 | + | halo.BrickColor = BrickColor.new("Hot pink") |
355 | halo.Material = "Neon" | |
356 | halomesh = Instance.new("SpecialMesh", halo) | |
357 | halomesh.MeshType = "FileMesh" | |
358 | halomesh.Scale = Vector3.new(11,11,11) | |
359 | halomesh.MeshId = "rbxassetid://2621604441" | |
360 | haloweld = weldBetween(halo,Torso) | |
361 | haloweld.C0 = CFrame.new(0,-4.5,-2) | |
362 | ||
363 | shirt = Instance.new("Shirt", Character) | |
364 | shirt.Name = "Shirt" | |
365 | pants = Instance.new("Pants", Character) | |
366 | pants.Name = "Pants" | |
367 | - | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=715059748" |
367 | + | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=611736328" |
368 | - | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=745414427" |
368 | + | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=611736325" |
369 | ||
370 | function damagealll(Radius,Position) | |
371 | local Returning = {} | |
372 | for _,v in pairs(workspace:GetChildren()) do | |
373 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then | |
374 | if v:FindFirstChild("Torso") then | |
375 | local Mag = (v.Torso.Position - Position).magnitude | |
376 | if Mag < Radius then | |
377 | table.insert(Returning,v) | |
378 | end | |
379 | elseif v:FindFirstChild("UpperTorso") then | |
380 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
381 | if Mag < Radius then | |
382 | table.insert(Returning,v) | |
383 | end | |
384 | end | |
385 | end | |
386 | end | |
387 | return Returning | |
388 | end | |
389 | ||
390 | ArtificialHB = Instance.new("BindableEvent", script) | |
391 | ArtificialHB.Name = "Heartbeat" | |
392 | script:WaitForChild("Heartbeat") | |
393 | ||
394 | frame = 1 / 60 | |
395 | tf = 0 | |
396 | allowframeloss = false | |
397 | tossremainder = false | |
398 | ||
399 | ||
400 | lastframe = tick() | |
401 | script.Heartbeat:Fire() | |
402 | ||
403 | ||
404 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
405 | tf = tf + s | |
406 | if tf >= frame then | |
407 | if allowframeloss then | |
408 | script.Heartbeat:Fire() | |
409 | lastframe = tick() | |
410 | else | |
411 | for i = 1, math.floor(tf / frame) do | |
412 | script.Heartbeat:Fire() | |
413 | end | |
414 | lastframe = tick() | |
415 | end | |
416 | if tossremainder then | |
417 | tf = 0 | |
418 | else | |
419 | tf = tf - frame * math.floor(tf / frame) | |
420 | end | |
421 | end | |
422 | end) | |
423 | ||
424 | function swait(num) | |
425 | if num == 0 or num == nil then | |
426 | game:service("RunService").Stepped:wait(0) | |
427 | else | |
428 | for i = 0, num do | |
429 | game:service("RunService").Stepped:wait(0) | |
430 | end | |
431 | end | |
432 | end | |
433 | ||
434 | doomtheme = Instance.new("Sound", Torso) | |
435 | doomtheme.Volume = 3 | |
436 | doomtheme.Name = "doomtheme" | |
437 | doomtheme.Looped = true | |
438 | - | doomtheme.SoundId = "rbxassetid://"..id |
438 | + | doomtheme.SoundId = "rbxassetid://142313652" |
439 | doomtheme:Play() | |
440 | ||
441 | Aura = Instance.new("Sound",Torso) | |
442 | Aura.Volume = 3 | |
443 | Aura.Name = "aura" | |
444 | Aura.Looped = true | |
445 | Aura.SoundId = "rbxassetid://2643712818" | |
446 | Aura:Play() | |
447 | ||
448 | Powerup = Instance.new("Sound",Torso) | |
449 | Powerup.Volume = powvol | |
450 | Powerup.SoundId = "rbxassetid://2492215919" | |
451 | Powerup.Name = "powerup" | |
452 | Powerup:Play() | |
453 | Powerup.Looped = true | |
454 | ||
455 | Torso.ChildRemoved:connect(function(removed) | |
456 | if removed.Name == "aura" then | |
457 | Powerup = Instance.new("Sound",Torso) | |
458 | Powerup.Volume = powvol | |
459 | Powerup.SoundId = "rbxassetid://2492215919" | |
460 | Powerup.Name = "powerup" | |
461 | Powerup:Play() | |
462 | Powerup.Looped = true | |
463 | end | |
464 | end) | |
465 | ||
466 | Torso.ChildRemoved:connect(function(removed) | |
467 | if removed.Name == "doomtheme" then | |
468 | doomtheme = Instance.new("Sound",Torso) | |
469 | doomtheme.Volume = 3 | |
470 | doomtheme.Name = "doomtheme" | |
471 | doomtheme.Looped = true | |
472 | - | doomtheme.SoundId = "rbxassetid://"..id |
472 | + | doomtheme.SoundId = "rbxassetid://142313652" |
473 | doomtheme:Play() | |
474 | end | |
475 | end) | |
476 | ||
477 | coroutine.wrap(function() | |
478 | while wait() do | |
479 | pcall(function() | |
480 | Powerup.Volume = powvol | |
481 | end) | |
482 | end | |
483 | end)() | |
484 | ||
485 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
486 | so = Instance.new("Sound") | |
487 | so.Parent = PARENT | |
488 | so.SoundId = "rbxassetid://"..ID | |
489 | so.Volume = VOL | |
490 | so.Looped = LOOP | |
491 | so:Play() | |
492 | removeuseless:AddItem(so,REMOVE) | |
493 | end | |
494 | ||
495 | - | particlecolor = ColorSequence.new(Color3.new(0, 5, 255)) |
495 | + | particlecolor = ColorSequence.new(Color3.new(255, 0, 191)) |
496 | ||
497 | goldpart = Instance.new("Part",RightArm) | |
498 | goldpart.Size = Vector3.new(1.01,2.01,1.01) | |
499 | - | goldpart.BrickColor = BrickColor.new("Gold") |
499 | + | goldpart.BrickColor = BrickColor.new("Hot pink") |
500 | goldpart.Material = "Neon" | |
501 | goldpart.CanCollide = false | |
502 | goldpart.Anchored = false | |
503 | goldpartweld = weldBetween(goldpart,RightArm) | |
504 | ||
505 | goldpart2 = Instance.new("Part",RightLeg) | |
506 | goldpart2.Size = Vector3.new(1.01,2.01,1.01) | |
507 | - | goldpart2.BrickColor = BrickColor.new("Gold") |
507 | + | goldpart2.BrickColor = BrickColor.new("Hot pink") |
508 | goldpart2.Material = "Neon" | |
509 | goldpart2.CanCollide = false | |
510 | goldpart2.Anchored = false | |
511 | goldpartweld2 = weldBetween(goldpart2,RightLeg) | |
512 | ||
513 | goldpart3 = Instance.new("Part",LeftLeg) | |
514 | goldpart3.Size = Vector3.new(1.01,2.01,1.01) | |
515 | - | goldpart3.BrickColor = BrickColor.new("Gold") |
515 | + | goldpart3.BrickColor = BrickColor.new("Hot pink") |
516 | goldpart3.Material = "Neon" | |
517 | goldpart3.CanCollide = false | |
518 | goldpart3.Anchored = false | |
519 | goldpartweld3 = weldBetween(goldpart3,LeftLeg) | |
520 | ||
521 | goldpart4 = Instance.new("Part",LeftArm) | |
522 | goldpart4.Size = Vector3.new(1.01,2.01,1.01) | |
523 | - | goldpart4.BrickColor = BrickColor.new("Gold") |
523 | + | goldpart4.BrickColor = BrickColor.new("Hot pink") |
524 | goldpart4.Material = "Neon" | |
525 | goldpart4.CanCollide = false | |
526 | goldpart4.Anchored = false | |
527 | goldpartweld4 = weldBetween(goldpart4,LeftArm) | |
528 | ||
529 | goldpart5 = Instance.new("Part",Torso) | |
530 | goldpart5.Size = Vector3.new(2.01,2.01,1.01) | |
531 | - | goldpart5.BrickColor = BrickColor.new("Gold") |
531 | + | goldpart5.BrickColor = BrickColor.new("Hot pink") |
532 | goldpart5.Material = "Neon" | |
533 | goldpart5.CanCollide = false | |
534 | goldpart5.Anchored = false | |
535 | goldpartweld5 = weldBetween(goldpart5,Torso) | |
536 | ||
537 | ||
538 | Root.CFrame = Root.CFrame * CFrame.new(0,15,0) --intro | |
539 | hum.HipHeight = 14.5 | |
540 | spinny = 0 | |
541 | for i = 1, 400 do | |
542 | spinny = spinny + 4 | |
543 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0+spinny),0),.4) | |
544 | hum.HipHeight = hum.HipHeight - .025 | |
545 | swait() | |
546 | end | |
547 | local zamasuintro = Instance.new("Sound",Head) | |
548 | - | zamasuintro.SoundId = "rbxassetid://2623121645" |
548 | + | zamasuintro.SoundId = "rbxassetid://496935451" |
549 | zamasuintro.Volume = 7 | |
550 | zamasuintro:Play() | |
551 | removeuseless:AddItem(zamasuintro,10) | |
552 | for i = 1, 50 do | |
553 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(math.rad(0),math.rad(12),math.rad(-40 - 6 * math.sin(sine/12))),.2) | |
554 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
555 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
556 | swait() | |
557 | end | |
558 | for i = 1, 50 do | |
559 | coroutine.wrap(function() | |
560 | local sk = Instance.new("Part",Torso) | |
561 | sk.CanCollide = false | |
562 | sk.Anchored = true | |
563 | sk.BrickColor = BrickColor.new("Gold") | |
564 | sk.Name = "sk" | |
565 | sk.CFrame = Torso.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
566 | local skmesh = Instance.new("SpecialMesh",sk) | |
567 | skmesh.MeshId = "rbxassetid://662586858" | |
568 | skmesh.Name = "wave" | |
569 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
570 | for i = 1, 20 do | |
571 | skmesh.Scale = skmesh.Scale + Vector3.new(.04,0,.04) | |
572 | sk.Transparency = sk.Transparency + .05 | |
573 | swait() | |
574 | end | |
575 | sk:Remove() | |
576 | end)() | |
577 | coroutine.wrap(function() | |
578 | local wshockwave = Instance.new("Part", Torso) | |
579 | wshockwave.Size = Vector3.new(1,1,1) | |
580 | wshockwave.CanCollide = false | |
581 | wshockwave.Anchored = true | |
582 | wshockwave.Transparency = .45 | |
583 | - | wshockwave.BrickColor = BrickColor.new("Gold") |
583 | + | wshockwave.BrickColor = BrickColor.new("Hot pink") |
584 | wshockwave.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
585 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
586 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
587 | wshockwavemesh.Name = "wswm" | |
588 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
589 | removeuseless:AddItem(wshockwave,2) | |
590 | for i = 1, 20 do | |
591 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(4,0,4) | |
592 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
593 | swait() | |
594 | end | |
595 | wshockwave:Remove() | |
596 | end)() | |
597 | coroutine.wrap(function() | |
598 | goldpart.Anchored = true | |
599 | goldpart.Size = goldpart.Size + Vector3.new(.5,.5,.5) | |
600 | goldpart.Transparency = goldpart.Transparency + .05 | |
601 | goldpart2.Anchored = true | |
602 | goldpart2.Size = goldpart2.Size + Vector3.new(.5,.5,.5) | |
603 | goldpart2.Transparency = goldpart2.Transparency + .05 | |
604 | goldpart3.Anchored = true | |
605 | goldpart3.Size = goldpart3.Size + Vector3.new(.5,.5,.5) | |
606 | goldpart3.Transparency = goldpart3.Transparency + .035 | |
607 | goldpart4.Anchored = true | |
608 | goldpart4.Size = goldpart4.Size + Vector3.new(.5,.5,.5) | |
609 | goldpart4.Transparency = goldpart4.Transparency + .05 | |
610 | goldpart5.Anchored = true | |
611 | goldpart5.Size = goldpart5.Size + Vector3.new(.5,.5,.5) | |
612 | goldpart5.Transparency = goldpart5.Transparency + .05 | |
613 | end)() | |
614 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(math.rad(0),math.rad(12),math.rad(-40 - 6 * math.sin(sine/12))),.2) | |
615 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
616 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
617 | swait() | |
618 | end | |
619 | coroutine.wrap(function() | |
620 | goldpart:Remove() | |
621 | goldpart2:Remove() | |
622 | goldpart3:Remove() | |
623 | goldpart4:Remove() | |
624 | goldpart5:Remove() | |
625 | end)() | |
626 | coroutine.wrap(function() | |
627 | o1 = Instance.new("ParticleEmitter",Head) | |
628 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
629 | o1.Size = NumberSequence.new(0.0099999997764826,0.0099999997764826) | |
630 | o1.LightEmission = 0.30000001192093 | |
631 | o1.Texture = "rbxassetid://243740013" | |
632 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191)) | |
633 | o1.ZOffset = 1 | |
634 | o1.Lifetime = NumberRange.new(2,2) | |
635 | o1.Rate = 75 | |
636 | o1.RotSpeed = NumberRange.new(-100,100) | |
637 | o1.Speed = NumberRange.new(0,0) | |
638 | o1.VelocitySpread = 15 | |
639 | ||
640 | o1 = Instance.new("ParticleEmitter",Torso) | |
641 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
642 | o1.Size = NumberSequence.new(0.0099999997764826,0.0099999997764826) | |
643 | o1.LightEmission = 0.30000001192093 | |
644 | o1.Texture = "rbxassetid://243740013" | |
645 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191)) | |
646 | o1.ZOffset = 1 | |
647 | o1.Lifetime = NumberRange.new(2,2) | |
648 | o1.Rate = 75 | |
649 | o1.RotSpeed = NumberRange.new(-100,100) | |
650 | o1.Speed = NumberRange.new(0,0) | |
651 | o1.VelocitySpread = 15 | |
652 | ||
653 | o1 = Instance.new("ParticleEmitter",RightArm) | |
654 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
655 | o1.Size = NumberSequence.new(0.0099999997764826,0.0099999997764826) | |
656 | o1.LightEmission = 0.30000001192093 | |
657 | o1.Texture = "rbxassetid://243740013" | |
658 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191)) | |
659 | o1.ZOffset = 1 | |
660 | o1.Lifetime = NumberRange.new(2,2) | |
661 | o1.Rate = 75 | |
662 | o1.RotSpeed = NumberRange.new(-100,100) | |
663 | o1.Speed = NumberRange.new(0,0) | |
664 | o1.VelocitySpread = 15 | |
665 | ||
666 | o1 = Instance.new("ParticleEmitter",LeftArm) | |
667 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
668 | o1.Size = NumberSequence.new(0.0099999997764826,0.0099999997764826) | |
669 | o1.LightEmission = 0.30000001192093 | |
670 | o1.Texture = "rbxassetid://243740013" | |
671 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191)) | |
672 | o1.ZOffset = 1 | |
673 | o1.Lifetime = NumberRange.new(2,2) | |
674 | o1.Rate = 75 | |
675 | o1.RotSpeed = NumberRange.new(-100,100) | |
676 | o1.Speed = NumberRange.new(0,0) | |
677 | o1.VelocitySpread = 15 | |
678 | ||
679 | o1 = Instance.new("ParticleEmitter",LeftLeg) | |
680 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
681 | o1.Size = NumberSequence.new(0.0099999997764826,0.0099999997764826) | |
682 | o1.LightEmission = 0.30000001192093 | |
683 | o1.Texture = "rbxassetid://243740013" | |
684 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191)) | |
685 | o1.ZOffset = 1 | |
686 | o1.Lifetime = NumberRange.new(2,2) | |
687 | o1.Rate = 75 | |
688 | o1.RotSpeed = NumberRange.new(-100,100) | |
689 | o1.Speed = NumberRange.new(0,0) | |
690 | o1.VelocitySpread = 15 | |
691 | ||
692 | o1 = Instance.new("ParticleEmitter",RightLeg) | |
693 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
694 | o1.Size = NumberSequence.new(0.0099999997764826,0.0099999997764826) | |
695 | o1.LightEmission = 0.30000001192093 | |
696 | o1.Texture = "rbxassetid://243740013" | |
697 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191)) | |
698 | o1.ZOffset = 1 | |
699 | o1.Lifetime = NumberRange.new(2,2) | |
700 | o1.Rate = 75 | |
701 | - | o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1)) |
701 | + | |
702 | o1.Speed = NumberRange.new(0,0) | |
703 | o1.VelocitySpread = 15 | |
704 | ||
705 | o1 = Instance.new("ParticleEmitter",Head) | |
706 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
707 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
708 | o1.LightEmission = 0.30000001192093 | |
709 | o1.Texture = "rbxassetid://242102147" | |
710 | - | o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1)) |
710 | + | o1.Color = ColorSequence.new(Color3.new(255, 0, 191)) |
711 | o1.ZOffset = -2 | |
712 | o1.Lifetime = NumberRange.new(2,2) | |
713 | o1.Rate = 50 | |
714 | - | o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1)) |
714 | + | |
715 | o1.Speed = NumberRange.new(0,0) | |
716 | o1.VelocitySpread = 15 | |
717 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
718 | ||
719 | o1 = Instance.new("ParticleEmitter",RightArm) | |
720 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
721 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
722 | o1.LightEmission = 0.30000001192093 | |
723 | - | o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1)) |
723 | + | |
724 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191)) | |
725 | o1.ZOffset = -2 | |
726 | o1.Lifetime = NumberRange.new(2,2) | |
727 | - | o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1)) |
727 | + | |
728 | o1.RotSpeed = NumberRange.new(-100,100) | |
729 | o1.Speed = NumberRange.new(0,0) | |
730 | o1.VelocitySpread = 15 | |
731 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
732 | ||
733 | o1 = Instance.new("ParticleEmitter",LeftArm) | |
734 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
735 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
736 | - | o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1)) |
736 | + | |
737 | o1.Texture = "rbxassetid://242102147" | |
738 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191)) | |
739 | o1.ZOffset = -2 | |
740 | - | o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1)) |
740 | + | |
741 | o1.Rate = 50 | |
742 | o1.RotSpeed = NumberRange.new(-100,100) | |
743 | o1.Speed = NumberRange.new(0,0) | |
744 | o1.VelocitySpread = 15 | |
745 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
746 | ||
747 | o1 = Instance.new("ParticleEmitter",Torso) | |
748 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
749 | - | o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1)) |
749 | + | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) |
750 | o1.LightEmission = 0.30000001192093 | |
751 | o1.Texture = "rbxassetid://242102147" | |
752 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191)) | |
753 | - | o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1)) |
753 | + | |
754 | o1.Lifetime = NumberRange.new(2,2) | |
755 | o1.Rate = 50 | |
756 | o1.RotSpeed = NumberRange.new(-100,100) | |
757 | o1.Speed = NumberRange.new(0,0) | |
758 | o1.VelocitySpread = 15 | |
759 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
760 | ||
761 | o1 = Instance.new("ParticleEmitter",RightLeg) | |
762 | - | o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1)) |
762 | + | |
763 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
764 | o1.LightEmission = 0.30000001192093 | |
765 | o1.Texture = "rbxassetid://242102147" | |
766 | - | o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1)) |
766 | + | o1.Color = ColorSequence.new(Color3.new(255, 0, 191)) |
767 | o1.ZOffset = -2 | |
768 | o1.Lifetime = NumberRange.new(2,2) | |
769 | o1.Rate = 50 | |
770 | o1.RotSpeed = NumberRange.new(-100,100) | |
771 | o1.Speed = NumberRange.new(0,0) | |
772 | o1.VelocitySpread = 15 | |
773 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
774 | ||
775 | - | o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1)) |
775 | + | |
776 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
777 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
778 | o1.LightEmission = 0.30000001192093 | |
779 | o1.Texture = "rbxassetid://242102147" | |
780 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
781 | o1.ZOffset = -2 | |
782 | o1.Lifetime = NumberRange.new(2,2) | |
783 | o1.Rate = 50 | |
784 | o1.RotSpeed = NumberRange.new(-100,100) | |
785 | o1.Speed = NumberRange.new(0,0) | |
786 | o1.VelocitySpread = 15 | |
787 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
788 | ||
789 | o1 = Instance.new("ParticleEmitter",Head) | |
790 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
791 | o1.Size = NumberSequence.new(0.80000001192093,0.80000001192093) | |
792 | o1.LightEmission = 0.30000001192093 | |
793 | o1.Texture = "rbxassetid://242102147" | |
794 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
795 | o1.ZOffset = -3 | |
796 | o1.Lifetime = NumberRange.new(2,2) | |
797 | o1.Rate = 50 | |
798 | o1.RotSpeed = NumberRange.new(-100,100) | |
799 | o1.Speed = NumberRange.new(0,0) | |
800 | o1.VelocitySpread = 15 | |
801 | ||
802 | o1 = Instance.new("ParticleEmitter",Torso) | |
803 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
804 | o1.Size = NumberSequence.new(0.80000001192093,0.80000001192093) | |
805 | o1.LightEmission = 0.30000001192093 | |
806 | o1.Texture = "rbxassetid://242102147" | |
807 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
808 | o1.ZOffset = -3 | |
809 | o1.Lifetime = NumberRange.new(2,2) | |
810 | o1.Rate = 50 | |
811 | o1.RotSpeed = NumberRange.new(-100,100) | |
812 | o1.Speed = NumberRange.new(0,0) | |
813 | o1.VelocitySpread = 15 | |
814 | ||
815 | o1 = Instance.new("ParticleEmitter",RightArm) | |
816 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
817 | o1.Size = NumberSequence.new(0.80000001192093,0.80000001192093) | |
818 | o1.LightEmission = 0.30000001192093 | |
819 | o1.Texture = "rbxassetid://242102147" | |
820 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
821 | o1.ZOffset = -3 | |
822 | o1.Lifetime = NumberRange.new(2,2) | |
823 | o1.Rate = 50 | |
824 | o1.RotSpeed = NumberRange.new(-100,100) | |
825 | o1.Speed = NumberRange.new(0,0) | |
826 | o1.VelocitySpread = 15 | |
827 | ||
828 | o1 = Instance.new("ParticleEmitter",LeftArm) | |
829 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
830 | o1.Size = NumberSequence.new(0.80000001192093,0.80000001192093) | |
831 | o1.LightEmission = 0.30000001192093 | |
832 | o1.Texture = "rbxassetid://242102147" | |
833 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
834 | o1.ZOffset = -3 | |
835 | o1.Lifetime = NumberRange.new(2,2) | |
836 | o1.Rate = 50 | |
837 | o1.RotSpeed = NumberRange.new(-100,100) | |
838 | o1.Speed = NumberRange.new(0,0) | |
839 | o1.VelocitySpread = 15 | |
840 | ||
841 | o1 = Instance.new("ParticleEmitter",RightLeg) | |
842 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
843 | o1.Size = NumberSequence.new(0.80000001192093,0.80000001192093) | |
844 | o1.LightEmission = 0.30000001192093 | |
845 | o1.Texture = "rbxassetid://242102147" | |
846 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
847 | o1.ZOffset = -3 | |
848 | o1.Lifetime = NumberRange.new(2,2) | |
849 | o1.Rate = 50 | |
850 | o1.RotSpeed = NumberRange.new(-100,100) | |
851 | o1.Speed = NumberRange.new(0,0) | |
852 | o1.VelocitySpread = 15 | |
853 | ||
854 | o1 = Instance.new("ParticleEmitter",LeftLeg) | |
855 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
856 | o1.Size = NumberSequence.new(0.80000001192093,0.80000001192093) | |
857 | o1.LightEmission = 0.30000001192093 | |
858 | o1.Texture = "rbxassetid://242102147" | |
859 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
860 | o1.ZOffset = -3 | |
861 | o1.Lifetime = NumberRange.new(2,2) | |
862 | o1.Rate = 50 | |
863 | o1.RotSpeed = NumberRange.new(-100,100) | |
864 | o1.Speed = NumberRange.new(0,0) | |
865 | o1.VelocitySpread = 15 | |
866 | ||
867 | o1 = Instance.new("ParticleEmitter",Head) | |
868 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
869 | o1.Size = NumberSequence.new(0.60000002384186,0.60000002384186) | |
870 | o1.LightEmission = 0.30000001192093 | |
871 | o1.Texture = "rbxassetid://242102147" | |
872 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
873 | o1.ZOffset = -1 | |
874 | o1.Lifetime = NumberRange.new(2,2) | |
875 | o1.Rate = 50 | |
876 | o1.RotSpeed = NumberRange.new(-100,100) | |
877 | o1.Speed = NumberRange.new(0,0) | |
878 | o1.VelocitySpread = 15 | |
879 | ||
880 | o1 = Instance.new("ParticleEmitter",Torso) | |
881 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
882 | o1.Size = NumberSequence.new(0.60000002384186,0.60000002384186) | |
883 | o1.LightEmission = 0.30000001192093 | |
884 | o1.Texture = "rbxassetid://242102147" | |
885 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
886 | o1.ZOffset = -1 | |
887 | o1.Lifetime = NumberRange.new(2,2) | |
888 | o1.Rate = 50 | |
889 | o1.RotSpeed = NumberRange.new(-100,100) | |
890 | o1.Speed = NumberRange.new(0,0) | |
891 | o1.VelocitySpread = 15 | |
892 | ||
893 | o1 = Instance.new("ParticleEmitter",RightArm) | |
894 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
895 | o1.Size = NumberSequence.new(0.60000002384186,0.60000002384186) | |
896 | o1.LightEmission = 0.30000001192093 | |
897 | o1.Texture = "rbxassetid://242102147" | |
898 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
899 | o1.ZOffset = -1 | |
900 | o1.Lifetime = NumberRange.new(2,2) | |
901 | o1.Rate = 50 | |
902 | o1.RotSpeed = NumberRange.new(-100,100) | |
903 | o1.Speed = NumberRange.new(0,0) | |
904 | o1.VelocitySpread = 15 | |
905 | ||
906 | o1 = Instance.new("ParticleEmitter",LeftArm) | |
907 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
908 | o1.Size = NumberSequence.new(0.60000002384186,0.60000002384186) | |
909 | o1.LightEmission = 0.30000001192093 | |
910 | o1.Texture = "rbxassetid://242102147" | |
911 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
912 | o1.ZOffset = -1 | |
913 | o1.Lifetime = NumberRange.new(2,2) | |
914 | o1.Rate = 50 | |
915 | o1.RotSpeed = NumberRange.new(-100,100) | |
916 | o1.Speed = NumberRange.new(0,0) | |
917 | o1.VelocitySpread = 15 | |
918 | ||
919 | o1 = Instance.new("ParticleEmitter",RightLeg) | |
920 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
921 | o1.Size = NumberSequence.new(0.60000002384186,0.60000002384186) | |
922 | o1.LightEmission = 0.30000001192093 | |
923 | o1.Texture = "rbxassetid://242102147" | |
924 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
925 | o1.ZOffset = -1 | |
926 | o1.Lifetime = NumberRange.new(2,2) | |
927 | o1.Rate = 50 | |
928 | o1.RotSpeed = NumberRange.new(-100,100) | |
929 | o1.Speed = NumberRange.new(0,0) | |
930 | o1.VelocitySpread = 15 | |
931 | ||
932 | o1 = Instance.new("ParticleEmitter",LeftLeg) | |
933 | o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1) | |
934 | o1.Size = NumberSequence.new(0.60000002384186,0.60000002384186) | |
935 | o1.LightEmission = 0.30000001192093 | |
936 | o1.Texture = "rbxassetid://242102147" | |
937 | o1.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191),Color3.new(0, 0, 0),Color3.new(255, 0, 191)) | |
938 | o1.ZOffset = -1 | |
939 | o1.Lifetime = NumberRange.new(2,2) | |
940 | o1.Rate = 50 | |
941 | o1.RotSpeed = NumberRange.new(-100,100) | |
942 | o1.Speed = NumberRange.new(0,0) | |
943 | o1.VelocitySpread = 15 | |
944 | end)() | |
945 | for i = 1, 50 do | |
946 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(math.rad(0),math.rad(12),math.rad(-40 - 6 * math.sin(sine/12))),.2) | |
947 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
948 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
949 | swait() | |
950 | end | |
951 | for i = 1, 20 do | |
952 | coroutine.wrap(function() | |
953 | local sk = Instance.new("Part",Torso) | |
954 | sk.CanCollide = false | |
955 | sk.Anchored = true | |
956 | sk.BrickColor = BrickColor.new("White") | |
957 | sk.Name = "sk" | |
958 | sk.CFrame = halo.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
959 | local skmesh = Instance.new("SpecialMesh",sk) | |
960 | skmesh.MeshId = "rbxassetid://662586858" | |
961 | skmesh.Name = "wave" | |
962 | skmesh.Scale = Vector3.new(.5,.001,.5) | |
963 | for i = 1, 10 do | |
964 | skmesh.Scale = skmesh.Scale - Vector3.new(.05,0,.05) | |
965 | sk.Transparency = sk.Transparency + .05 | |
966 | swait() | |
967 | end | |
968 | sk:Remove() | |
969 | end)() | |
970 | coroutine.wrap(function() | |
971 | local wshockwave = Instance.new("Part", Torso) | |
972 | wshockwave.Size = Vector3.new(1,1,1) | |
973 | wshockwave.CanCollide = false | |
974 | wshockwave.Anchored = true | |
975 | wshockwave.Transparency = .45 | |
976 | wshockwave.BrickColor = BrickColor.new("White") | |
977 | wshockwave.CFrame = CFrame.new(halo.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
978 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
979 | wshockwavemesh.Scale = Vector3.new(50,.05,50) | |
980 | wshockwavemesh.Name = "wswm" | |
981 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
982 | removeuseless:AddItem(wshockwave,2) | |
983 | for i = 1, 20 do | |
984 | wshockwavemesh.Scale = wshockwavemesh.Scale - Vector3.new(5,0.05,5) | |
985 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
986 | swait() | |
987 | end | |
988 | wshockwave:Remove() | |
989 | end)() | |
990 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(math.rad(0),math.rad(12),math.rad(-40 - 6 * math.sin(sine/12))),.2) | |
991 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
992 | halomesh.Scale = halomesh.Scale - Vector3.new(.5,.5,.5) | |
993 | halo.Transparency = halo.Transparency - .05 | |
994 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
995 | swait() | |
996 | end | |
997 | ||
998 | ||
999 | mouse.KeyDown:connect(function(Press) | |
1000 | Press=Press:lower() | |
1001 | ||
1002 | ||
1003 | ||
1004 | ||
1005 | if Press=='e' then | |
1006 | if debounce then return end | |
1007 | debounce = true | |
1008 | attacking = true | |
1009 | SOUND(Torso,1229838347,8,false,3) | |
1010 | g1 = Instance.new("BodyGyro", Root) | |
1011 | g1.D = 175 | |
1012 | g1.P = 20000 | |
1013 | g1.MaxTorque = Vector3.new(9000000,9000000,9000000) | |
1014 | ws = 8 | |
1015 | sooht = Instance.new("Sound") | |
1016 | sooht.SoundId = "rbxassetid://1146688617" | |
1017 | sooht.Volume = 8 | |
1018 | coroutine.wrap(function() | |
1019 | for i = 1, 5 do | |
1020 | haloweld.C0 = haloweld.C0 * CFrame.new(0,-1,0) | |
1021 | halomesh.Scale = halomesh.Scale + Vector3.new(.25,.25,.25) | |
1022 | swait() | |
1023 | end | |
1024 | end)() | |
1025 | coroutine.wrap(function() | |
1026 | for i = 1, 15 do | |
1027 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(5 * math.sin(sine/12)),math.rad(-40),math.rad(0)),.2) | |
1028 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
1029 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2) | |
1030 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2) | |
1031 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(math.rad(0),math.rad(20),math.rad(-140)),.3) | |
1032 | swait() | |
1033 | end | |
1034 | for i = 1, 20 do | |
1035 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(5 * math.sin(sine/12)),math.rad(-0 * math.sin(sine/12)),math.rad(0)),.2) | |
1036 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
1037 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2) | |
1038 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2) | |
1039 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.4) | |
1040 | swait() | |
1041 | end | |
1042 | end)() | |
1043 | for i = 1, 30 do | |
1044 | haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-9.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4) | |
1045 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
1046 | local bladeofjustice = Instance.new("Part",Torso) | |
1047 | bladeofjustice.Anchored = true | |
1048 | bladeofjustice.CanCollide = false | |
1049 | bladeofjustice.Name = "blad" | |
1050 | bladeofjustice.Transparency = 1 | |
1051 | bladeofjustice.Size = Vector3.new(1,1,1) | |
1052 | bladeofjustice.BrickColor = BrickColor.new("Really red") | |
1053 | bladeofjustice.Material = "Neon" | |
1054 | bladeofjustice.CFrame = Root.CFrame * CFrame.new(math.random(-8,8),math.random(-5,5),math.random(-2,2)) | |
1055 | local bladeofjusticemesh = Instance.new("SpecialMesh",bladeofjustice) | |
1056 | bladeofjusticemesh.MeshId = "rbxassetid://2624209310" | |
1057 | bladeofjusticemesh.Scale = Vector3.new(1,1,1) | |
1058 | coroutine.wrap(function() | |
1059 | local hitted = false | |
1060 | for i = 1, 20 do | |
1061 | bladeofjustice.Transparency = bladeofjustice.Transparency - .05 | |
1062 | swait() | |
1063 | end | |
1064 | bladeofjustice.Anchored = false | |
1065 | sooht.Parent = bladeofjustice | |
1066 | sooht:Play() | |
1067 | coroutine.wrap(function() | |
1068 | for i = 1, 300 do | |
1069 | if hitted then break end | |
1070 | swait() | |
1071 | end | |
1072 | if not hitted then | |
1073 | bladeofjustice:Remove() | |
1074 | end | |
1075 | end)() | |
1076 | local bov = Instance.new("BodyVelocity",bladeofjustice) | |
1077 | bov.maxForce = Vector3.new(99999,99999,99999) | |
1078 | bladeofjustice.CFrame = CFrame.new(bladeofjustice.Position,mouse.Hit.p) | |
1079 | bov.velocity = bladeofjustice.CFrame.lookVector*220 | |
1080 | bladeofjustice.Touched:connect(function(hit) | |
1081 | if hit:IsA("Part") and hit.Parent ~= Character and hit.Name ~= "blad" and hit.Parent.Parent ~= Character then | |
1082 | if hitted then return end | |
1083 | hitted = true | |
1084 | bov:Remove() | |
1085 | bladeofjustice.Anchored = true | |
1086 | wait(2) | |
1087 | bladeofjustice.Transparency = 1 | |
1088 | Hit = damagealll(14,bladeofjustice.Position) | |
1089 | for _,v in pairs(Hit) do | |
1090 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1091 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1092 | slachtoffer:TakeDamage(math.random(29,43)) | |
1093 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1094 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1095 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1096 | vel.velocity = CFrame.new(bladeofjustice.Position,torso.Position).lookVector*125 | |
1097 | removeuseless:AddItem(vel,.1) | |
1098 | end | |
1099 | end | |
1100 | for i = 1, 3 do | |
1101 | coroutine.wrap(function() | |
1102 | local sk = Instance.new("Part",Torso) | |
1103 | sk.CanCollide = false | |
1104 | sk.Anchored = true | |
1105 | sk.BrickColor = BrickColor.new("White") | |
1106 | sk.Name = "sk" | |
1107 | sk.CFrame = bladeofjustice.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1108 | local skmesh = Instance.new("SpecialMesh",sk) | |
1109 | skmesh.MeshId = "rbxassetid://662586858" | |
1110 | skmesh.Name = "wave" | |
1111 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
1112 | for i = 1, 20 do | |
1113 | skmesh.Scale = skmesh.Scale + Vector3.new(.03,0,.03) | |
1114 | sk.Transparency = sk.Transparency + .05 | |
1115 | swait() | |
1116 | end | |
1117 | sk:Remove() | |
1118 | end)() | |
1119 | coroutine.wrap(function() | |
1120 | local wshockwave = Instance.new("Part", Torso) | |
1121 | wshockwave.Size = Vector3.new(1,1,1) | |
1122 | wshockwave.CanCollide = false | |
1123 | wshockwave.Anchored = true | |
1124 | wshockwave.Transparency = .45 | |
1125 | wshockwave.BrickColor = BrickColor.new("White") | |
1126 | wshockwave.CFrame = CFrame.new(bladeofjustice.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1127 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
1128 | wshockwavemesh.Scale = Vector3.new(.1,.005,.1) | |
1129 | wshockwavemesh.Name = "wswm" | |
1130 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
1131 | removeuseless:AddItem(wshockwave,2) | |
1132 | for i = 1, 20 do | |
1133 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(5.5,0,5.5) | |
1134 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
1135 | swait() | |
1136 | end | |
1137 | wshockwave:Remove() | |
1138 | end)() | |
1139 | coroutine.wrap(function() | |
1140 | local exploshap = Instance.new("Part",Torso) | |
1141 | exploshap.Size = Vector3.new(1,1,1) | |
1142 | exploshap.Shape = "Ball" | |
1143 | exploshap.Material = "Neon" | |
1144 | exploshap.CFrame = bladeofjustice.CFrame | |
1145 | exploshap.BrickColor = BrickColor.new("Really red") | |
1146 | exploshap.CanCollide = false | |
1147 | exploshap.Anchored = true | |
1148 | for i = 1, 20 do | |
1149 | exploshap.Size = exploshap.Size + Vector3.new(2,2,2) | |
1150 | exploshap.Transparency = exploshap.Transparency + .05 | |
1151 | swait() | |
1152 | end | |
1153 | bladeofjustice:Remove() | |
1154 | exploshap:Remove() | |
1155 | end)() | |
1156 | swait() | |
1157 | end | |
1158 | end | |
1159 | end) | |
1160 | end)() | |
1161 | swait(.5) | |
1162 | end | |
1163 | for i = 1, 5 do | |
1164 | haloweld.C0 = haloweld.C0 * CFrame.new(0,1,0) | |
1165 | halomesh.Scale = halomesh.Scale - Vector3.new(.25,.25,.25) | |
1166 | swait() | |
1167 | end | |
1168 | removeuseless:AddItem(g1,.001) | |
1169 | - | FACEMYDIVINEWRATH.SoundId = "rbxassetid://2638717446" |
1169 | + | |
1170 | debounce = false | |
1171 | attacking = false | |
1172 | elseif Press=='t' then | |
1173 | if dedlaff then return end | |
1174 | if tauntdebounce == true then return end | |
1175 | tauntdebounce = true | |
1176 | rdnm = soundtable[math.random(1,#soundtable)] | |
1177 | tauntsound = Instance.new("Sound", Head) | |
1178 | tauntsound.Volume = 10 | |
1179 | tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm | |
1180 | tauntsound.Looped = false | |
1181 | tauntsound:Play() | |
1182 | wait(3) | |
1183 | wait(tauntsound.TimeLength) | |
1184 | - | SOUND(holywrath,2644268083,10,false,6) |
1184 | + | |
1185 | wait(1) | |
1186 | tauntdebounce = false | |
1187 | elseif Press=='u' then | |
1188 | - | holywrath.BrickColor = BrickColor.new("Bright orange") |
1188 | + | |
1189 | debounce = true | |
1190 | attacking = true | |
1191 | g1 = Instance.new("BodyGyro", Root) | |
1192 | g1.D = 175 | |
1193 | - | holywrathaura.SoundId = "rbxassetid://2643712818" |
1193 | + | |
1194 | g1.MaxTorque = Vector3.new(0,9000000,0) | |
1195 | ws = 0 | |
1196 | local FACEMYDIVINEWRATH = Instance.new("Sound",Torso) | |
1197 | FACEMYDIVINEWRATH.SoundId = "rbxassetid://2124080151" | |
1198 | FACEMYDIVINEWRATH.Volume = 10 | |
1199 | FACEMYDIVINEWRATH:Play() | |
1200 | removeuseless:AddItem(FACEMYDIVINEWRATH,5) | |
1201 | for i = 1, 20 do | |
1202 | haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4) | |
1203 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
1204 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2) | |
1205 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2) | |
1206 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
1207 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(0)),.3) | |
1208 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2, 1.5, .5) * CFrame.Angles(math.rad(-85 - 3 * math.sin(sine/12)), math.rad(40 + 5 * math.sin(sine/12)), math.rad(0)), 0.25) | |
1209 | swait() | |
1210 | end | |
1211 | local holywrath = Instance.new("Part",RightArm) | |
1212 | SOUND(holywrath,2123165301,10,false,6) | |
1213 | holywrath.Size = Vector3.new(.1,.1,.1) | |
1214 | holywrath.CanCollide = false | |
1215 | holywrath.Anchored = true | |
1216 | holywrath.BrickColor = BrickColor.new("Hot pink") | |
1217 | holywrath.Material = "Neon" | |
1218 | holywrath.Shape = "Ball" | |
1219 | holywrath.CFrame = rightlocation.CFrame * CFrame.new(0,0,-2) | |
1220 | local holywrathaura = Instance.new("Sound",holywrath) | |
1221 | holywrathaura.SoundId = "rbxassetid://2123165301" | |
1222 | holywrathaura.Looped = true | |
1223 | holywrathaura.Volume = 0 | |
1224 | holywrathaura:Play() | |
1225 | local holywrath2 = Instance.new("Part",RightArm) | |
1226 | holywrath2.Size = Vector3.new(.3,.3,.3) | |
1227 | holywrath2.CanCollide = false | |
1228 | holywrath2.Anchored = true | |
1229 | holywrath2.Transparency = .7 | |
1230 | holywrath2.BrickColor = BrickColor.new("Really red") | |
1231 | holywrath2.Material = "Neon" | |
1232 | holywrath2.Shape = "Ball" | |
1233 | holywrath2.CFrame = rightlocation.CFrame * CFrame.new(0,0,-2) | |
1234 | for i = 1, 30 do | |
1235 | haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4) | |
1236 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
1237 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2) | |
1238 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2) | |
1239 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
1240 | coroutine.wrap(function() | |
1241 | hwc = holywrathcolors[math.random(1,#holywrathcolors)] | |
1242 | local energyballs = Instance.new("Part",Torso) | |
1243 | energyballs.BrickColor = BrickColor.new(hwc) | |
1244 | energyballs.Anchored = true | |
1245 | energyballs.CanCollide = false | |
1246 | energyballs.CFrame = holywrath.CFrame * CFrame.new(math.random(-4,4),math.random(-4,4),math.random(-4,4)) | |
1247 | energyballs.Shape = "Ball" | |
1248 | energyballs.Material = "Neon" | |
1249 | energyballs.Size = Vector3.new(.4,.4,.4) | |
1250 | for i = 1, 10 do | |
1251 | energyballs.CFrame = energyballs.CFrame:lerp(CFrame.new(holywrath.Position),.3) | |
1252 | swait() | |
1253 | end | |
1254 | energyballs:Remove() | |
1255 | end)() | |
1256 | end | |
1257 | for i = 1, 20 do | |
1258 | haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4) | |
1259 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
1260 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2) | |
1261 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2) | |
1262 | holywrath2.CFrame = rightlocation.CFrame * CFrame.new(0,0,-2) | |
1263 | holywrath2.Size = holywrath2.Size + Vector3.new(.1,.1,.1) | |
1264 | holywrath.CFrame = rightlocation.CFrame * CFrame.new(0,0,-2) | |
1265 | holywrath.Size = holywrath.Size + Vector3.new(.1,.1,.1) | |
1266 | swait() | |
1267 | end | |
1268 | for i = 1, 10 do | |
1269 | haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4) | |
1270 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
1271 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2) | |
1272 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2) | |
1273 | holywrath2.CFrame = rightlocation.CFrame * CFrame.new(0,0,-2) | |
1274 | holywrath.CFrame = rightlocation.CFrame * CFrame.new(0,0,-2) | |
1275 | swait() | |
1276 | end | |
1277 | enbig = 0 | |
1278 | enbig2 = 0 | |
1279 | enbigger = .25 | |
1280 | SOUND(holywrath,2644340882,10,false,6) | |
1281 | for i = 1, 60 do | |
1282 | enbigger = enbigger + .02 | |
1283 | coroutine.wrap(function() | |
1284 | local sk = Instance.new("Part",Torso) | |
1285 | sk.CanCollide = false | |
1286 | sk.Anchored = true | |
1287 | sk.BrickColor = BrickColor.new("White") | |
1288 | sk.Name = "sk" | |
1289 | sk.CFrame = holywrath.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1290 | local skmesh = Instance.new("SpecialMesh",sk) | |
1291 | skmesh.MeshId = "rbxassetid://662586858" | |
1292 | skmesh.Name = "wave" | |
1293 | skmesh.Scale = Vector3.new(.05,.005,.05) | |
1294 | for i = 1, 20 do | |
1295 | skmesh.Scale = skmesh.Scale + Vector3.new(enbigger,0,enbigger) | |
1296 | sk.Transparency = sk.Transparency + .05 | |
1297 | swait() | |
1298 | end | |
1299 | sk:Remove() | |
1300 | end)() | |
1301 | haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4) | |
1302 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
1303 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2) | |
1304 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2) | |
1305 | holywrathaura.Volume = holywrathaura.Volume + .2 | |
1306 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
1307 | enbig = enbig + 2 | |
1308 | enbig2 = enbig2 + 1 | |
1309 | holywrath.Size = holywrath.Size + Vector3.new(4,4,4) | |
1310 | holywrath2.Size = holywrath2.Size + Vector3.new(4,4,4) | |
1311 | holywrath2.CFrame = rightlocation.CFrame * CFrame.new(0,-5 - enbig,-5 - enbig2) | |
1312 | holywrath.CFrame = rightlocation.CFrame * CFrame.new(0,-5 - enbig,-5 - enbig2) | |
1313 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(-40),math.rad(0)),.3) | |
1314 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.22, 1.32, .4) * CFrame.Angles(math.rad(40 + 1 * math.sin(sine/5)), math.rad(3 + 1 * math.sin(sine/4)), math.rad(-160 - 2 * math.sin(sine/9))), 0.25) | |
1315 | swait() | |
1316 | end | |
1317 | for i = 1, 30 do | |
1318 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.98,-.15,.5) * CFrame.Angles(math.rad(-70 - 5 * math.sin(sine/12)),math.rad(40 - 5 * math.sin(sine/12)),math.rad(-20)),.25) | |
1319 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(25),math.rad(-50),math.rad(0)),.3) | |
1320 | swait() | |
1321 | end | |
1322 | local hitboxwrath = Instance.new("Part",Torso) | |
1323 | hitboxwrath.Size = Vector3.new(1,1,1) | |
1324 | hitboxwrath.CanCollide = false | |
1325 | hitboxwrath.Transparency = 1 | |
1326 | hitboxwrath.Anchored = false | |
1327 | hitboxwrath.Name = "hb" | |
1328 | hitboxwrath.CFrame = holywrath.CFrame | |
1329 | local bov = Instance.new("BodyVelocity",hitboxwrath) | |
1330 | bov.maxForce = Vector3.new(99999,99999,99999) | |
1331 | holywrath.CFrame = CFrame.new(holywrath.Position,mouse.Hit.p) | |
1332 | bov.velocity = holywrath.CFrame.lookVector*60 | |
1333 | local hitted = false | |
1334 | local function explo() | |
1335 | hitted = true | |
1336 | hitboxwrath.Anchored = true | |
1337 | SOUND(hitboxwrath,2011915907,10,false,6) | |
1338 | shock = holywrath:Clone() shock.Parent = Torso | |
1339 | coroutine.wrap(function() | |
1340 | for i = 1, 20 do | |
1341 | shock.Size = shock.Size + Vector3.new(5,5,5) | |
1342 | shock.Transparency = shock.Transparency + .05 | |
1343 | swait() | |
1344 | end | |
1345 | shock:Remove() | |
1346 | end)() | |
1347 | local taks = 0 | |
1348 | local wavebigger = true | |
1349 | coroutine.wrap(function() | |
1350 | local deadlyring = Instance.new("Part", Torso) | |
1351 | deadlyring.Size = Vector3.new(5, 5, 5) | |
1352 | deadlyring.Transparency = .5 | |
1353 | deadlyring.BrickColor = BrickColor.new("White") | |
1354 | deadlyring.Anchored = true | |
1355 | deadlyring.CanCollide = false | |
1356 | deadlyring.CFrame = hitboxwrath.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180))) | |
1357 | local deadlyringh = Instance.new("SpecialMesh", deadlyring) | |
1358 | deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1359 | deadlyringh.Scale = Vector3.new(330, 330, .1) | |
1360 | local deadlyring2 = Instance.new("Part", Torso) | |
1361 | deadlyring2.Size = Vector3.new(5, 5, 5) | |
1362 | deadlyring2.Transparency = .5 | |
1363 | deadlyring2.BrickColor = BrickColor.new("White") | |
1364 | deadlyring2.Anchored = true | |
1365 | deadlyring2.CanCollide = false | |
1366 | deadlyring2.CFrame = hitboxwrath.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180))) | |
1367 | local deadlyringh2 = Instance.new("SpecialMesh", deadlyring2) | |
1368 | deadlyringh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1369 | deadlyringh2.Scale = Vector3.new(360, 360, .1) | |
1370 | while wavebigger do | |
1371 | Hit = damagealll(187,hitboxwrath.Position) | |
1372 | for _,v in pairs(Hit) do | |
1373 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1374 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1375 | slachtoffer:TakeDamage(math.random(3,7)) | |
1376 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1377 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1378 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1379 | vel.velocity = CFrame.new(hitboxwrath.Position,torso.Position).lookVector*330 | |
1380 | removeuseless:AddItem(vel,.1) | |
1381 | end | |
1382 | end | |
1383 | deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+7),math.rad(0-7),math.rad(0+7)) | |
1384 | deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-7),math.rad(0+7),math.rad(0-7)) | |
1385 | deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(2,2,0) | |
1386 | deadlyringh.Scale = deadlyringh.Scale + Vector3.new(2,2,0) | |
1387 | holywrath2.Size = holywrath2.Size + Vector3.new(.25,.25,.25) | |
1388 | holywrath.Size = holywrath.Size + Vector3.new(.25,.25,.25) | |
1389 | swait() | |
1390 | end | |
1391 | for i = 1, 50 do | |
1392 | holywrathaura.Volume = holywrathaura.Volume - .5 | |
1393 | deadlyringh.Scale = deadlyringh.Scale + Vector3.new(5,5,0) | |
1394 | deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(5,5,0) | |
1395 | deadlyring.Transparency = deadlyring.Transparency + .025 | |
1396 | deadlyring2.Transparency = deadlyring2.Transparency + .025 | |
1397 | holywrath.Transparency = holywrath.Transparency + .025 | |
1398 | holywrath2.Transparency = holywrath2.Transparency + .025 | |
1399 | swait() | |
1400 | end | |
1401 | holywrathaura:Remove() | |
1402 | hitboxwrath:Remove() | |
1403 | holywrath:Remove() | |
1404 | holywrath2:Remove() | |
1405 | deadlyring:Remove() | |
1406 | deadlyring2:Remove() | |
1407 | end)() | |
1408 | for i = 1, 150 do | |
1409 | taks = taks + .1 | |
1410 | coroutine.wrap(function() | |
1411 | local shockwave = Instance.new("Part", Torso) | |
1412 | shockwave.Size = Vector3.new(1,1,1) | |
1413 | shockwave.CanCollide = false | |
1414 | shockwave.Anchored = true | |
1415 | shockwave.Transparency = .5 | |
1416 | shockwave.BrickColor = BrickColor.new("White") | |
1417 | shockwave.CFrame = CFrame.new(hitboxwrath.Position) | |
1418 | local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
1419 | shockwavemesh.Scale = Vector3.new(7,3,7) | |
1420 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
1421 | local shockwave2 = Instance.new("Part", Torso) | |
1422 | shockwave2.Size = Vector3.new(1,1,1) | |
1423 | shockwave2.CanCollide = false | |
1424 | shockwave2.Anchored = true | |
1425 | shockwave2.Transparency = .5 | |
1426 | shockwave2.BrickColor = BrickColor.new("White") | |
1427 | shockwave2.CFrame = CFrame.new(hitboxwrath.Position) | |
1428 | local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
1429 | shockwavemesh2.Scale = Vector3.new(5,3,5) | |
1430 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
1431 | for i = 1, 40 do | |
1432 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0) | |
1433 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0) | |
1434 | shockwave.Transparency = shockwave.Transparency + 0.025 | |
1435 | shockwave2.Transparency = shockwave2.Transparency + 0.025 | |
1436 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(18 + taks,6 + taks/2,18 + taks) | |
1437 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(18+taks,3 + taks/2,18+taks) | |
1438 | swait() | |
1439 | end | |
1440 | shockwave:Remove() | |
1441 | shockwave2:Remove() | |
1442 | end)() | |
1443 | swait(2.4) | |
1444 | end | |
1445 | wavebigger = false | |
1446 | end | |
1447 | coroutine.wrap(function() | |
1448 | local hitted = false | |
1449 | hitboxwrath.Touched:connect(function(hit) | |
1450 | if hit:IsA("Part") and hit.Parent ~= Character and hit.Name ~= "blad" and hit.Parent.Parent ~= Character then | |
1451 | if hitted then return end | |
1452 | explo() | |
1453 | end | |
1454 | end) | |
1455 | while true do | |
1456 | if hitted then break end | |
1457 | holywrath2.CFrame = hitboxwrath.CFrame | |
1458 | holywrath.CFrame = hitboxwrath.CFrame | |
1459 | swait() | |
1460 | end | |
1461 | end)() | |
1462 | coroutine.wrap(function() | |
1463 | for i = 1, 1100 do | |
1464 | if hitted then break end | |
1465 | swait() | |
1466 | end | |
1467 | if not hitted then | |
1468 | explo() | |
1469 | end | |
1470 | end)() | |
1471 | for i = 1, 22 do | |
1472 | haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4) | |
1473 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
1474 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2) | |
1475 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2) | |
1476 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
1477 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(.2,.2,.2) * CFrame.Angles(0,0,0),.2) | |
1478 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 1.1, 0.4) * CFrame.Angles(math.rad(-75), math.rad(-15), math.rad(4)), 0.2) | |
1479 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
1480 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-25),math.rad(50),math.rad(0)),.3) | |
1481 | swait() | |
1482 | end | |
1483 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) | |
1484 | removeuseless:AddItem(g1,.001) | |
1485 | debounce = false | |
1486 | attacking = false | |
1487 | ws = 90 | |
1488 | elseif Press=='y' then | |
1489 | if debounce then return end | |
1490 | debounce = true | |
1491 | attacking = true | |
1492 | local trev = true | |
1493 | change = .6 | |
1494 | coroutine.wrap(function() | |
1495 | while true do | |
1496 | if trev == false then break end | |
1497 | haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4) | |
1498 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(5 * math.sin(sine/12)),math.rad(-0 * math.sin(sine/12)),math.rad(0)),.2) | |
1499 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2) | |
1500 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2) | |
1501 | swait() | |
1502 | end | |
1503 | end)() | |
1504 | ws = 0 | |
1505 | local speech = Instance.new("Sound",Head) | |
1506 | speech.SoundId = "rbxassetid://2638520204" | |
1507 | speech.Volume = 10 | |
1508 | speech:Play() | |
1509 | removeuseless:AddItem(speech,5) | |
1510 | coroutine.wrap(function() | |
1511 | for i = 1, 35 do | |
1512 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(100)), 0.25) | |
1513 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-100)), 0.25) | |
1514 | swait() | |
1515 | end | |
1516 | end)() | |
1517 | coroutine.wrap(function() | |
1518 | local blwav = Instance.new("Part",Torso) | |
1519 | blwav.Size = Vector3.new(1,1,1) | |
1520 | blwav.Shape = "Ball" | |
1521 | blwav.BrickColor = BrickColor.new("Dark blue") | |
1522 | blwav.CanCollide = false | |
1523 | blwav.CFrame = Root.CFrame | |
1524 | blwav.Anchored = true | |
1525 | blwav.Material = "Neon" | |
1526 | for i = 1, 50 do | |
1527 | blwav.Size = blwav.Size + Vector3.new(4,4,4) | |
1528 | blwav.Transparency = blwav.Transparency + .05 | |
1529 | swait() | |
1530 | end | |
1531 | blwav:Remove() | |
1532 | end)() | |
1533 | eagle = Instance.new("Part", Torso) | |
1534 | eagle.Size = Vector3.new(1,1,1) | |
1535 | eagle.CanCollide = false | |
1536 | eagle.Anchored = false | |
1537 | eagle.Material = "Neon" | |
1538 | eagle.Transparency = .58 | |
1539 | eagle.BrickColor = BrickColor.new("Dark blue") | |
1540 | eagle.CFrame = CFrame.new(halo.Position) * CFrame.new(0,115,0) * CFrame.Angles(math.rad(90),0,0) | |
1541 | local eaglemesh = Instance.new("SpecialMesh", eagle) | |
1542 | eaglemesh.MeshId = "rbxassetid://120647529" | |
1543 | eaglemesh.Scale = Vector3.new(0,0,0) | |
1544 | eagleweld = weldBetween(eagle,Root) | |
1545 | eagleweld.C0 = CFrame.new(0,0,105) * CFrame.Angles(math.rad(-90),0,0) | |
1546 | local eagle2 = Instance.new("Part", Torso) | |
1547 | eagle2.Size = Vector3.new(1,1,1) | |
1548 | eagle2.CanCollide = false | |
1549 | eagle2.Anchored = false | |
1550 | eagle2.Material = "Neon" | |
1551 | eagle2.Transparency = .49 | |
1552 | eagle2.BrickColor = BrickColor.new("Pastel violet") | |
1553 | eagle2.CFrame = CFrame.new(halo.Position) * CFrame.new(0,115,0) * CFrame.Angles(math.rad(90),0,0) | |
1554 | local eaglemesh2 = Instance.new("SpecialMesh", eagle2) | |
1555 | eaglemesh2.MeshId = "rbxassetid://120647529" | |
1556 | eaglemesh2.Scale = Vector3.new(0,0,0) | |
1557 | eagleweld2 = weldBetween(eagle2,Root) | |
1558 | eagleweld2.C0 = CFrame.new(0,0,105) * CFrame.Angles(math.rad(-90),0,0) | |
1559 | local eagle3 = Instance.new("Part", Torso) | |
1560 | eagle3.Size = Vector3.new(1,1,1) | |
1561 | eagle3.CanCollide = false | |
1562 | eagle3.Anchored = false | |
1563 | eagle3.Material = "Neon" | |
1564 | eagle3.Transparency = .65 | |
1565 | eagle3.BrickColor = BrickColor.new("Mulberry") | |
1566 | eagle3.CFrame = CFrame.new(halo.Position) * CFrame.new(0,115,0) * CFrame.Angles(math.rad(90),0,0) | |
1567 | local eaglemesh3 = Instance.new("SpecialMesh", eagle3) | |
1568 | eaglemesh3.MeshId = "rbxassetid://120647529" | |
1569 | eaglemesh3.Scale = Vector3.new(0,0,0) | |
1570 | eagleweld3 = weldBetween(eagle3,Root) | |
1571 | eagleweld3.C0 = CFrame.new(0,0,105) * CFrame.Angles(math.rad(-90),0,0) | |
1572 | circlelocation = Instance.new("Part",Torso) | |
1573 | circlelocation.Size = Vector3.new(1,1,1) | |
1574 | circlelocation.CFrame = Root.CFrame | |
1575 | circlelocation.Anchored = false | |
1576 | circlelocation.Transparency = 1 | |
1577 | circlelocation.CanCollide = false | |
1578 | circlelocationweld = weldBetween(circlelocation,Root) | |
1579 | circlelocationweld.C0 = CFrame.new(0,-56,-15) | |
1580 | lighttable = {} | |
1581 | val = 0 | |
1582 | for i = 1, 250 do | |
1583 | val = val + 5 | |
1584 | lightpart = Instance.new("Part",Torso) | |
1585 | lightpart.Anchored = false | |
1586 | lightpart.CanCollide = false | |
1587 | lightpart.Size = Vector3.new(2,.5,2.35) | |
1588 | lightpart.Material = "Neon" | |
1589 | lightpart.Transparency = 1 | |
1590 | lightpart.BrickColor = BrickColor.new("Gold") | |
1591 | lightpartweld = weldBetween(lightpart,circlelocation) | |
1592 | lightpartweld.C0 = CFrame.new(25,0,0) * CFrame.Angles(0,math.rad(val),0) | |
1593 | table.insert(lighttable,lightpart) | |
1594 | end | |
1595 | coroutine.wrap(function() | |
1596 | wait(1.76) | |
1597 | for i = 1, 120 do | |
1598 | for i,v in pairs(lighttable) do | |
1599 | v.Transparency = v.Transparency - .01 | |
1600 | end | |
1601 | swait() | |
1602 | end | |
1603 | end)() | |
1604 | introvog = true | |
1605 | coroutine.wrap(function() | |
1606 | for i = 1, 63 do | |
1607 | eaglemesh3.Scale = eaglemesh3.Scale + Vector3.new(0,1,1) | |
1608 | swait() | |
1609 | end | |
1610 | for i = 1, 32 do | |
1611 | eaglemesh3.Scale = eaglemesh3.Scale + Vector3.new(2,0,0) | |
1612 | swait() | |
1613 | end | |
1614 | for i = 1, 50 do | |
1615 | hum.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
1616 | coroutine.wrap(function() | |
1617 | local wshockwave = Instance.new("Part", Torso) | |
1618 | wshockwave.Size = Vector3.new(1,1,1) | |
1619 | wshockwave.CanCollide = false | |
1620 | wshockwave.Anchored = true | |
1621 | wshockwave.Transparency = .45 | |
1622 | wshockwave.BrickColor = BrickColor.new("White") | |
1623 | wshockwave.CFrame = CFrame.new(eagle.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1624 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
1625 | wshockwavemesh.Scale = Vector3.new(1,.005,1) | |
1626 | wshockwavemesh.Name = "wswm" | |
1627 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
1628 | removeuseless:AddItem(wshockwave,2) | |
1629 | for i = 1, 20 do | |
1630 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(29.5,0,29.5) | |
1631 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
1632 | swait() | |
1633 | end | |
1634 | wshockwave:Remove() | |
1635 | end)() | |
1636 | coroutine.wrap(function() | |
1637 | local sk = Instance.new("Part",Torso) | |
1638 | sk.CanCollide = false | |
1639 | sk.Anchored = true | |
1640 | sk.BrickColor = BrickColor.new("White") | |
1641 | sk.Name = "sk" | |
1642 | sk.CFrame = eagle.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1643 | local skmesh = Instance.new("SpecialMesh",sk) | |
1644 | skmesh.MeshId = "rbxassetid://662586858" | |
1645 | skmesh.Name = "wave" | |
1646 | skmesh.Scale = Vector3.new(.05,.005,.05) | |
1647 | for i = 1, 20 do | |
1648 | skmesh.Scale = skmesh.Scale + Vector3.new(.25,0,.25) | |
1649 | sk.Transparency = sk.Transparency + .05 | |
1650 | swait() | |
1651 | end | |
1652 | sk:Remove() | |
1653 | end)() | |
1654 | swait() | |
1655 | end | |
1656 | introvog = false | |
1657 | hum.CameraOffset = Vector3.new(0,0,0) | |
1658 | end)() | |
1659 | coroutine.wrap(function() | |
1660 | for i = 1, 54 do | |
1661 | eaglemesh2.Scale = eaglemesh2.Scale + Vector3.new(0,1,1) | |
1662 | swait() | |
1663 | end | |
1664 | local eaglesound = Instance.new("Sound",eagle) | |
1665 | eaglesound.SoundId = "rbxassetid://923172614" | |
1666 | eaglesound.Volume = 10 | |
1667 | eaglesound:Play() | |
1668 | removeuseless:AddItem(eaglesound,5) | |
1669 | for i = 1, 27 do | |
1670 | eaglemesh2.Scale = eaglemesh2.Scale + Vector3.new(2,0,0) | |
1671 | swait() | |
1672 | end | |
1673 | end)() | |
1674 | coroutine.wrap(function() | |
1675 | for i = 1, 59 do | |
1676 | eaglemesh.Scale = eaglemesh.Scale + Vector3.new(0,1,1) | |
1677 | swait() | |
1678 | end | |
1679 | for i = 1, 30 do | |
1680 | eaglemesh.Scale = eaglemesh.Scale + Vector3.new(2,0,0) | |
1681 | swait() | |
1682 | end | |
1683 | end)() | |
1684 | while wait() do | |
1685 | if introvog == false then break end | |
1686 | end | |
1687 | bleedattacking = true | |
1688 | g1 = Instance.new("BodyGyro", Root) | |
1689 | g1.D = 175 | |
1690 | g1.P = 20000 | |
1691 | g1.MaxTorque = Vector3.new(0,9000000,0) | |
1692 | coroutine.wrap(function() | |
1693 | while bleedattacking do | |
1694 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.155) | |
1695 | swait() | |
1696 | end | |
1697 | removeuseless:AddItem(g1,.001) | |
1698 | end)() | |
1699 | coroutine.wrap(function() | |
1700 | local lnt = Instance.new("Sound",eagle) | |
1701 | lnt.SoundId = "rbxassetid://224339201" | |
1702 | lnt.Volume = 10 | |
1703 | lnt:Play() | |
1704 | removeuseless:AddItem(lnt,5) | |
1705 | wait(.3) | |
1706 | local lnt2 = Instance.new("Sound",eagle) | |
1707 | lnt2.SoundId = "rbxassetid://1539349118" | |
1708 | lnt2.Volume = 10 | |
1709 | lnt2:Play() | |
1710 | removeuseless:AddItem(lnt2,5) | |
1711 | end)() | |
1712 | for i = 1, 10 do | |
1713 | local bladeofjustice = Instance.new("Part",Torso) | |
1714 | bladeofjustice.Anchored = true | |
1715 | bladeofjustice.CanCollide = false | |
1716 | bladeofjustice.Name = "blad" | |
1717 | bladeofjustice.Transparency = 1 | |
1718 | bladeofjustice.Size = Vector3.new(2,2,2) | |
1719 | bladeofjustice.BrickColor = BrickColor.new("Pastel violet") | |
1720 | bladeofjustice.Material = "Neon" | |
1721 | bladeofjustice.CFrame = eagle.CFrame * CFrame.new(math.random(-139,139),math.random(-39,39),math.random(-15,15)) | |
1722 | local bladeofjusticemesh = Instance.new("SpecialMesh",bladeofjustice) | |
1723 | bladeofjusticemesh.MeshId = "rbxassetid://2624209310" | |
1724 | bladeofjusticemesh.Scale = Vector3.new(10,10,10) | |
1725 | local particlecolor = ColorSequence.new(Color3.new(255, 255, 255)) | |
1726 | local blwav = Instance.new("Part",Torso) | |
1727 | blwav.Size = Vector3.new(1,1,1) | |
1728 | blwav.Shape = "Ball" | |
1729 | blwav.BrickColor = BrickColor.new("Dark blue") | |
1730 | blwav.CanCollide = false | |
1731 | blwav.CFrame = bladeofjustice.CFrame | |
1732 | blwav.Anchored = true | |
1733 | blwav.Material = "Neon" | |
1734 | blwav.Size = blwav.Size + Vector3.new(4,4,4) | |
1735 | blwav.Transparency = blwav.Transparency + .05 | |
1736 | coroutine.wrap(function() | |
1737 | for i = 1, 5 do | |
1738 | local sk = Instance.new("Part",Torso) | |
1739 | sk.CanCollide = false | |
1740 | sk.Anchored = true | |
1741 | sk.BrickColor = BrickColor.new("White") | |
1742 | sk.Name = "sk" | |
1743 | sk.CFrame = bladeofjustice.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1744 | local skmesh = Instance.new("SpecialMesh",sk) | |
1745 | skmesh.MeshId = "rbxassetid://662586858" | |
1746 | skmesh.Name = "wave" | |
1747 | skmesh.Scale = Vector3.new(.05,.005,.05) | |
1748 | for i = 1, 20 do | |
1749 | skmesh.Scale = skmesh.Scale + Vector3.new(.05,0,.05) | |
1750 | sk.Transparency = sk.Transparency + .05 | |
1751 | swait() | |
1752 | end | |
1753 | sk:Remove() | |
1754 | end | |
1755 | end)() | |
1756 | coroutine.wrap(function() | |
1757 | for i = 1, 20 do | |
1758 | blwav.Size = blwav.Size + Vector3.new(10,10,10) | |
1759 | blwav.Transparency = blwav.Transparency + .05 | |
1760 | bladeofjustice.Transparency = bladeofjustice.Transparency - .05 | |
1761 | swait() | |
1762 | end | |
1763 | blwav:Remove() | |
1764 | end)() | |
1765 | local hitted = false | |
1766 | coroutine.wrap(function() | |
1767 | for i = 1, 300 do | |
1768 | if hitted then break end | |
1769 | swait() | |
1770 | end | |
1771 | if not hitted then | |
1772 | bladeofjustice:Remove() | |
1773 | end | |
1774 | end)() | |
1775 | bladeofjustice.Anchored = false | |
1776 | local bov = Instance.new("BodyVelocity",bladeofjustice) | |
1777 | bov.maxForce = Vector3.new(9999999,9999999,9999999) | |
1778 | bladeofjustice.CFrame = CFrame.new(bladeofjustice.Position,mouse.Hit.p) | |
1779 | bov.velocity = bladeofjustice.CFrame.lookVector*350 | |
1780 | bladeofjustice.Touched:connect(function(hit) | |
1781 | if hit:IsA("Part") and hit.Parent ~= Character and hit.Name ~= "blad" and hit.Parent.Parent ~= Character then | |
1782 | if hitted then return end | |
1783 | hitted = true | |
1784 | bov:Remove() | |
1785 | bladeofjustice.Anchored = true | |
1786 | wait(2) | |
1787 | removeuseless:AddItem(bladeofjustice,5) | |
1788 | coroutine.wrap(function() | |
1789 | for i = 1, 20 do | |
1790 | hum.CameraOffset = Vector3.new(math.random(-3,3),math.random(-3,3),math.random(-3,3)) | |
1791 | swait() | |
1792 | end | |
1793 | hum.CameraOffset = Vector3.new(0,0,0) | |
1794 | end)() | |
1795 | Hit = damagealll(144,bladeofjustice.Position) | |
1796 | for _,v in pairs(Hit) do | |
1797 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1798 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1799 | slachtoffer:TakeDamage(math.random(47,78)) | |
1800 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1801 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1802 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1803 | vel.velocity = CFrame.new(bladeofjustice.Position,torso.Position).lookVector*330 | |
1804 | removeuseless:AddItem(vel,.1) | |
1805 | end | |
1806 | end | |
1807 | local soundbox = Instance.new("Part",Torso) | |
1808 | soundbox.CFrame = bladeofjustice.CFrame | |
1809 | soundbox.Size = Vector3.new(1,1,1) | |
1810 | soundbox.Anchored = true | |
1811 | soundbox.CanCollide = false | |
1812 | soundbox.Transparency = 1 | |
1813 | removeuseless:AddItem(soundbox,5) | |
1814 | wabam = Instance.new("Sound",soundbox) | |
1815 | wabam.SoundId = "rbxassetid://2444802791" | |
1816 | wabam.Volume = 8 | |
1817 | wabam:Play() | |
1818 | bladeofjustice.Transparency = 1 | |
1819 | pobox = Instance.new("Part",Torso) | |
1820 | pobox.Anchored = true | |
1821 | pobox.CanCollide = false | |
1822 | pobox.Size = Vector3.new(1,1,1) | |
1823 | pobox.CFrame = bladeofjustice.CFrame | |
1824 | pobox.Transparency = 1 | |
1825 | for i = 1, 4 do | |
1826 | coroutine.wrap(function() | |
1827 | local shockwave = Instance.new("Part", Torso) | |
1828 | shockwave.Size = Vector3.new(1,1,1) | |
1829 | shockwave.CanCollide = false | |
1830 | shockwave.Anchored = true | |
1831 | shockwave.Transparency = .5 | |
1832 | shockwave.BrickColor = BrickColor.new("White") | |
1833 | shockwave.CFrame = CFrame.new(pobox.Position) | |
1834 | local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
1835 | shockwavemesh.Scale = Vector3.new(7,3,7) | |
1836 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
1837 | local shockwave2 = Instance.new("Part", Torso) | |
1838 | shockwave2.Size = Vector3.new(1,1,1) | |
1839 | shockwave2.CanCollide = false | |
1840 | shockwave2.Anchored = true | |
1841 | shockwave2.Transparency = .5 | |
1842 | shockwave2.BrickColor = BrickColor.new("White") | |
1843 | shockwave2.CFrame = CFrame.new(pobox.Position) | |
1844 | local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
1845 | shockwavemesh2.Scale = Vector3.new(5,3,5) | |
1846 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
1847 | for i = 1, 40 do | |
1848 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0) | |
1849 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0) | |
1850 | shockwave.Transparency = shockwave.Transparency + 0.025 | |
1851 | shockwave2.Transparency = shockwave2.Transparency + 0.025 | |
1852 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(18,6,18) | |
1853 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(18,3,18) | |
1854 | swait() | |
1855 | end | |
1856 | pobox:Remove() | |
1857 | shockwave:Remove() | |
1858 | shockwave2:Remove() | |
1859 | bladeofjustice:Remove() | |
1860 | end)() | |
1861 | coroutine.wrap(function() | |
1862 | local sk = Instance.new("Part",Torso) | |
1863 | sk.CanCollide = false | |
1864 | sk.Anchored = true | |
1865 | sk.BrickColor = BrickColor.new("White") | |
1866 | sk.Name = "sk" | |
1867 | sk.CFrame = bladeofjustice.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1868 | local skmesh = Instance.new("SpecialMesh",sk) | |
1869 | skmesh.MeshId = "rbxassetid://662586858" | |
1870 | skmesh.Name = "wave" | |
1871 | skmesh.Scale = Vector3.new(.06,.001,.06) | |
1872 | for i = 1, 20 do | |
1873 | skmesh.Scale = skmesh.Scale + Vector3.new(.13,0,.13) | |
1874 | sk.Transparency = sk.Transparency + .05 | |
1875 | swait() | |
1876 | end | |
1877 | sk:Remove() | |
1878 | end)() | |
1879 | coroutine.wrap(function() | |
1880 | local wshockwave = Instance.new("Part", Torso) | |
1881 | wshockwave.Size = Vector3.new(1,1,1) | |
1882 | wshockwave.CanCollide = false | |
1883 | wshockwave.Anchored = true | |
1884 | wshockwave.Transparency = .45 | |
1885 | wshockwave.BrickColor = BrickColor.new("White") | |
1886 | wshockwave.CFrame = CFrame.new(bladeofjustice.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1887 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
1888 | wshockwavemesh.Scale = Vector3.new(10,.05,10) | |
1889 | wshockwavemesh.Name = "wswm" | |
1890 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
1891 | for i = 1, 20 do | |
1892 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(30,0,30) | |
1893 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
1894 | swait() | |
1895 | end | |
1896 | wshockwave:Remove() | |
1897 | end)() | |
1898 | coroutine.wrap(function() | |
1899 | local blwav = Instance.new("Part",Torso) | |
1900 | blwav.Size = Vector3.new(1,1,1) | |
1901 | blwav.Shape = "Ball" | |
1902 | blwav.BrickColor = BrickColor.new("Dark blue") | |
1903 | blwav.CanCollide = false | |
1904 | blwav.CFrame = bladeofjustice.CFrame | |
1905 | blwav.Anchored = true | |
1906 | blwav.Material = "Neon" | |
1907 | for i = 1, 20 do | |
1908 | blwav.Size = blwav.Size + Vector3.new(18,18,18) | |
1909 | blwav.Transparency = blwav.Transparency + .05 | |
1910 | swait() | |
1911 | end | |
1912 | blwav:Remove() | |
1913 | end)() | |
1914 | swait() | |
1915 | end | |
1916 | end | |
1917 | end) | |
1918 | swait(10) | |
1919 | end | |
1920 | bleedattacking = false | |
1921 | eagleweld:Remove() | |
1922 | eagleweld2:Remove() | |
1923 | eagleweld3:Remove() | |
1924 | eagle.Anchored = true | |
1925 | eagle2.Anchored = true | |
1926 | eagle3.Anchored = true | |
1927 | coroutine.wrap(function() | |
1928 | for i = 1, 30 do | |
1929 | for i,v in pairs(lighttable) do | |
1930 | v.Transparency = v.Transparency + .05 | |
1931 | end | |
1932 | swait() | |
1933 | end | |
1934 | for i,v in pairs(lighttable) do | |
1935 | v:Remove() | |
1936 | end | |
1937 | circlelocation:Remove() | |
1938 | lighttable = {} | |
1939 | end)() | |
1940 | for i = 1, 80 do | |
1941 | eagle.CFrame = eagle.CFrame * CFrame.new(0,0,-6) * CFrame.Angles(0,math.rad(0),math.rad(7)) | |
1942 | eagle.Transparency = eagle.Transparency + .0125 | |
1943 | eagle2.CFrame = eagle2.CFrame * CFrame.new(0,0,-4) * CFrame.Angles(0,math.rad(0),math.rad(-7)) | |
1944 | eagle2.Transparency = eagle2.Transparency + .0125 | |
1945 | eagle3.CFrame = eagle3.CFrame * CFrame.new(0,0,-3) * CFrame.Angles(0,math.rad(0),math.rad(7)) | |
1946 | eagle3.Transparency = eagle3.Transparency + .0125 | |
1947 | swait() | |
1948 | end | |
1949 | eagle:Remove() | |
1950 | eagle2:Remove() | |
1951 | eagle3:Remove() | |
1952 | ws = 90 | |
1953 | trev = false | |
1954 | debounce = false | |
1955 | attacking = false | |
1956 | elseif Press=='r' then | |
1957 | if debounce then return end | |
1958 | debounce = true | |
1959 | attacking = true | |
1960 | ws = 8 | |
1961 | coroutine.wrap(function() | |
1962 | g1 = Instance.new("BodyGyro", Root) | |
1963 | g1.D = 175 | |
1964 | g1.P = 20000 | |
1965 | g1.MaxTorque = Vector3.new(0,9000000,0) | |
1966 | for i = 1, 50 do | |
1967 | haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4) | |
1968 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(5 * math.sin(sine/12)),math.rad(-0 * math.sin(sine/12)),math.rad(0)),.2) | |
1969 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
1970 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2) | |
1971 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2) | |
1972 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(math.rad(0),math.rad(20),math.rad(-140)),.3) | |
1973 | swait() | |
1974 | end | |
1975 | removeuseless:AddItem(g1,.001) | |
1976 | debounce = false | |
1977 | attacking = false | |
1978 | ws = 90 | |
1979 | end)() | |
1980 | local lightofdeath = Instance.new("Part",Torso) | |
1981 | angelic = Instance.new("Sound",lightofdeath) | |
1982 | angelic.Pitch = 1 | |
1983 | angelic.Volume = 10 | |
1984 | angelic.SoundId = "rbxassetid://1837929946" | |
1985 | angelic:Play() | |
1986 | lightofdeath.Size = Vector3.new(1000000,25,25) | |
1987 | lightofdeath.CanCollide = false | |
1988 | lightofdeath.Material = "Neon" | |
1989 | lightofdeath.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90)) | |
1990 | lightofdeath.Shape = "Cylinder" | |
1991 | lightofdeath.Transparency = 1 | |
1992 | lightofdeath.Anchored = true | |
1993 | local lightofdeath2 = Instance.new("Part",Torso) | |
1994 | lightofdeath2.Size = Vector3.new(1000000,50,50) | |
1995 | lightofdeath2.CanCollide = false | |
1996 | lightofdeath2.Material = "Neon" | |
1997 | lightofdeath2.CFrame = CFrame.new(lightofdeath.Position) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90)) | |
1998 | lightofdeath2.Shape = "Cylinder" | |
1999 | lightofdeath2.Transparency = 1 | |
2000 | lightofdeath2.CanCollide = false | |
2001 | lightofdeath2.Anchored = true | |
2002 | local pobox = Instance.new("Part",Torso) | |
2003 | pobox.Size = Vector3.new(1,1,1) | |
2004 | pobox.Transparency = 1 | |
2005 | pobox.Anchored = true | |
2006 | pobox.CanCollide = false | |
2007 | pobox.CFrame = CFrame.new(mouse.Hit.p) | |
2008 | coroutine.wrap(function() | |
2009 | for i = 1, 20 do | |
2010 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,lightofdeath.Position),.4) | |
2011 | lightofdeath.Transparency = lightofdeath.Transparency - .025 | |
2012 | lightofdeath2.Transparency = lightofdeath2.Transparency - .0125 | |
2013 | swait() | |
2014 | end | |
2015 | end)() | |
2016 | for i = 1, 100 do | |
2017 | lightofdeath.Size = lightofdeath.Size - Vector3.new(0,.25,.25) | |
2018 | lightofdeath2.Size = lightofdeath2.Size - Vector3.new(0,.5,.5) | |
2019 | swait() | |
2020 | end | |
2021 | local soundbrick = Instance.new("Part",Torso) | |
2022 | soundbrick.Anchored = true | |
2023 | soundbrick.Size = Vector3.new(1,1,1) | |
2024 | soundbrick.CanCollide = false | |
2025 | soundbrick.Transparency = 1 | |
2026 | soundbrick.CFrame = pobox.CFrame | |
2027 | removeuseless:AddItem(soundbrick,10) | |
2028 | local bam = Instance.new("Sound",soundbrick) | |
2029 | bam.SoundId = "rbxassetid://1354014962" | |
2030 | bam.Volume = 10 | |
2031 | bam:Play() | |
2032 | Hit = damagealll(44,pobox.Position) | |
2033 | for _,v in pairs(Hit) do | |
2034 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
2035 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
2036 | slachtoffer:TakeDamage(math.random(42,68)) | |
2037 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
2038 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
2039 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
2040 | vel.velocity = CFrame.new(pobox.Position,torso.Position).lookVector*225 | |
2041 | removeuseless:AddItem(vel,.1) | |
2042 | end | |
2043 | end | |
2044 | lightofdeath:Remove() | |
2045 | lightofdeath2:Remove() | |
2046 | for i = 1, 3 do | |
2047 | coroutine.wrap(function() | |
2048 | local shockwave = Instance.new("Part", Torso) | |
2049 | shockwave.Size = Vector3.new(1,1,1) | |
2050 | shockwave.CanCollide = false | |
2051 | shockwave.Anchored = true | |
2052 | shockwave.Transparency = .5 | |
2053 | shockwave.BrickColor = BrickColor.new("White") | |
2054 | shockwave.CFrame = CFrame.new(pobox.Position) | |
2055 | local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
2056 | shockwavemesh.Scale = Vector3.new(7,3,7) | |
2057 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
2058 | local shockwave2 = Instance.new("Part", Torso) | |
2059 | shockwave2.Size = Vector3.new(1,1,1) | |
2060 | shockwave2.CanCollide = false | |
2061 | shockwave2.Anchored = true | |
2062 | shockwave2.Transparency = .5 | |
2063 | shockwave2.BrickColor = BrickColor.new("White") | |
2064 | shockwave2.CFrame = CFrame.new(pobox.Position) | |
2065 | local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
2066 | shockwavemesh2.Scale = Vector3.new(5,3,5) | |
2067 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
2068 | for i = 1, 40 do | |
2069 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0) | |
2070 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0) | |
2071 | shockwave.Transparency = shockwave.Transparency + 0.025 | |
2072 | shockwave2.Transparency = shockwave2.Transparency + 0.025 | |
2073 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(9,1.5,9) | |
2074 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(9,1.5,9) | |
2075 | swait() | |
2076 | end | |
2077 | shockwave:Remove() | |
2078 | shockwave2:Remove() | |
2079 | end)() | |
2080 | coroutine.wrap(function() | |
2081 | local sk = Instance.new("Part",Torso) | |
2082 | sk.CanCollide = false | |
2083 | sk.Anchored = true | |
2084 | sk.BrickColor = BrickColor.new("White") | |
2085 | sk.Name = "sk" | |
2086 | sk.CFrame = pobox.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
2087 | local skmesh = Instance.new("SpecialMesh",sk) | |
2088 | skmesh.MeshId = "rbxassetid://662586858" | |
2089 | skmesh.Name = "wave" | |
2090 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
2091 | for i = 1, 20 do | |
2092 | skmesh.Scale = skmesh.Scale + Vector3.new(.07,0,.07) | |
2093 | sk.Transparency = sk.Transparency + .05 | |
2094 | swait() | |
2095 | end | |
2096 | sk:Remove() | |
2097 | end)() | |
2098 | coroutine.wrap(function() | |
2099 | local wshockwave = Instance.new("Part", Torso) | |
2100 | wshockwave.Size = Vector3.new(1,1,1) | |
2101 | wshockwave.CanCollide = false | |
2102 | wshockwave.Anchored = true | |
2103 | wshockwave.Transparency = .45 | |
2104 | wshockwave.BrickColor = BrickColor.new("White") | |
2105 | wshockwave.CFrame = CFrame.new(pobox.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
2106 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
2107 | wshockwavemesh.Scale = Vector3.new(.1,.005,.1) | |
2108 | wshockwavemesh.Name = "wswm" | |
2109 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
2110 | removeuseless:AddItem(wshockwave,2) | |
2111 | for i = 1, 20 do | |
2112 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(9.5,0,9.5) | |
2113 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
2114 | swait() | |
2115 | end | |
2116 | wshockwave:Remove() | |
2117 | end)() | |
2118 | local boom = Instance.new("Part",Torso) | |
2119 | boom.Size = Vector3.new(6,6,6) | |
2120 | boom.Transparency = .1 | |
2121 | boom.Shape = "Ball" | |
2122 | boom.BrickColor = BrickColor.new("White") | |
2123 | boom.CanCollide = false | |
2124 | boom.Anchored = true | |
2125 | boom.CFrame = CFrame.new(pobox.Position) | |
2126 | boom.Material = "Neon" | |
2127 | coroutine.wrap(function() | |
2128 | for i = 1, 20 do | |
2129 | boom.Size = boom.Size + Vector3.new(7,7,7) | |
2130 | boom.Transparency = boom.Transparency + .05 | |
2131 | swait() | |
2132 | end | |
2133 | boom:Remove() | |
2134 | end)() | |
2135 | swait() | |
2136 | end | |
2137 | end | |
2138 | end) | |
2139 | ||
2140 | checks1 = coroutine.wrap(function() -------Checks | |
2141 | while true do | |
2142 | if Root.Velocity.Magnitude < 5 and running == false then | |
2143 | position = "Idle" | |
2144 | elseif Root.Velocity.Magnitude > 5 and running == false then | |
2145 | position = "Walking" | |
2146 | else | |
2147 | end | |
2148 | wait() | |
2149 | end | |
2150 | end) | |
2151 | checks1() | |
2152 | ||
2153 | function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
2154 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
2155 | end | |
2156 | ||
2157 | function ray2(StartPos, EndPos, Distance, Ignore) | |
2158 | local DIRECTION = CFrame.new(StartPos,EndPos).lookVector | |
2159 | return ray(StartPos, DIRECTION, Distance, Ignore) | |
2160 | end | |
2161 | ||
2162 | OrgnC0 = Neck.C0 | |
2163 | local movelimbs = coroutine.wrap(function() | |
2164 | while RunSrv.RenderStepped:wait() do | |
2165 | TrsoLV = Torso.CFrame.lookVector | |
2166 | Dist = nil | |
2167 | Diff = nil | |
2168 | if not MseGuide then | |
2169 | print("Failed to recognize") | |
2170 | else | |
2171 | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
2172 | Dist = (Head.CFrame.p-Point).magnitude | |
2173 | Diff = Head.CFrame.Y-Point.Y | |
2174 | local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
2175 | Dist2 = (LeftArm.CFrame.p-Point).magnitude | |
2176 | Diff2 = LeftArm.CFrame.Y-Point.Y | |
2177 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2178 | Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1) | |
2179 | end | |
2180 | end | |
2181 | end) | |
2182 | movelimbs() | |
2183 | immortal = {} | |
2184 | for i,v in pairs(Character:GetDescendants()) do | |
2185 | if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then | |
2186 | if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then | |
2187 | v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
2188 | end | |
2189 | table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency}) | |
2190 | elseif v:IsA("JointInstance") then | |
2191 | table.insert(immortal,{v,v.Parent,nil,nil,nil}) | |
2192 | end | |
2193 | end | |
2194 | for e = 1, #immortal do | |
2195 | if immortal[e] ~= nil then | |
2196 | local STUFF = immortal[e] | |
2197 | local PART = STUFF[1] | |
2198 | local PARENT = STUFF[2] | |
2199 | local MATERIAL = STUFF[3] | |
2200 | local COLOR = STUFF[4] | |
2201 | local TRANSPARENCY = STUFF[5] | |
2202 | if levitate then | |
2203 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
2204 | PART.Material = MATERIAL | |
2205 | PART.Color = COLOR | |
2206 | PART.Transparency = TRANSPARENCY | |
2207 | end | |
2208 | PART.AncestryChanged:connect(function() | |
2209 | PART.Parent = PARENT | |
2210 | end) | |
2211 | else | |
2212 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
2213 | PART.Material = MATERIAL | |
2214 | PART.Color = COLOR | |
2215 | PART.Transparency = TRANSPARENCY | |
2216 | end | |
2217 | PART.AncestryChanged:connect(function() | |
2218 | PART.Parent = PARENT | |
2219 | end) | |
2220 | end | |
2221 | end | |
2222 | end | |
2223 | function immortality() | |
2224 | for e = 1, #immortal do | |
2225 | if immortal[e] ~= nil then | |
2226 | local STUFF = immortal[e] | |
2227 | local PART = STUFF[1] | |
2228 | local PARENT = STUFF[2] | |
2229 | local MATERIAL = STUFF[3] | |
2230 | local COLOR = STUFF[4] | |
2231 | local TRANSPARENCY = STUFF[5] | |
2232 | if PART.ClassName == "Part" and PART == Root then | |
2233 | PART.Material = MATERIAL | |
2234 | PART.Color = COLOR | |
2235 | PART.Transparency = TRANSPARENCY | |
2236 | end | |
2237 | if PART.Parent ~= PARENT then | |
2238 | hum:Remove() | |
2239 | PART.Parent = PARENT | |
2240 | hum = Instance.new("Humanoid",Character) | |
2241 | if levitate then | |
2242 | eyo1:Remove() | |
2243 | eyo2:Remove() | |
2244 | end | |
2245 | hum.Name = "noneofurbusiness" | |
2246 | end | |
2247 | end | |
2248 | end | |
2249 | end | |
2250 | coroutine.wrap(function() | |
2251 | while true do | |
2252 | if hum.Health < .1 then | |
2253 | immortality() | |
2254 | end | |
2255 | wait() | |
2256 | end | |
2257 | end)() | |
2258 | ||
2259 | leftlocation = Instance.new("Part",LeftArm) | |
2260 | leftlocation.Size = Vector3.new(1,1,1) | |
2261 | leftlocation.Transparency = 1 | |
2262 | leftlocationweld = weldBetween(leftlocation,LeftArm) | |
2263 | leftlocationweld.C0 = CFrame.new(0,1.2,0) | |
2264 | rightlocation = Instance.new("Part",RightArm) | |
2265 | rightlocation.Size = Vector3.new(1,1,1) | |
2266 | rightlocation.Transparency = 1 | |
2267 | rightlocationweld = weldBetween(rightlocation,RightArm) | |
2268 | rightlocationweld.C0 = CFrame.new(0,1.2,0) | |
2269 | ||
2270 | coroutine.wrap(function() | |
2271 | while true do | |
2272 | hpheight = 4 + 1 * math.sin(sine/12) | |
2273 | hum.HipHeight = hpheight | |
2274 | swait() | |
2275 | end | |
2276 | end)() | |
2277 | ||
2278 | local anims = coroutine.wrap(function() | |
2279 | while true do | |
2280 | settime = 0.05 | |
2281 | sine = sine + change | |
2282 | if position == "Walking" and attacking == false and running == false then | |
2283 | change = .5 | |
2284 | walking = true | |
2285 | haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4) | |
2286 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.25) | |
2287 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.25) | |
2288 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.98,-.15,.5) * CFrame.Angles(math.rad(-70 - 5 * math.sin(sine/12)),math.rad(40 - 5 * math.sin(sine/12)),math.rad(-20)),.25) | |
2289 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5 - .1 * -math.sin(sine/12), 0) * CFrame.Angles(math.rad(35 - 2 * math.sin(sine/12)), math.rad(0), math.rad(-25 - 5 * math.sin(sine/12))), 0.25) | |
2290 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-41 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 9, math.cos(10 * math.cos(sine/10))), 0.25) | |
2291 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.25) | |
2292 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.25) | |
2293 | elseif position == "Idle" and attacking == false and running == false then | |
2294 | change = .5 | |
2295 | haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4) | |
2296 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(5 * math.sin(sine/12)),math.rad(2 * math.sin(sine/16)),math.rad(0)),.2) | |
2297 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(math.rad(0),math.rad(12),math.rad(-40 - 6 * math.sin(sine/12))),.2) | |
2298 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2) | |
2299 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2) | |
2300 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2) | |
2301 | end | |
2302 | swait() | |
2303 | end | |
2304 | end) | |
2305 | anims() | |
2306 | warn("Justice given form. Made by Supr14") |