SHOW:
|
|
- or go back to the newest paste.
1 | -----------//INFLUX\\----------- | |
2 | --[[Movelist | |
3 | Mouseclick = 3 attacks | |
4 | Attack 1 = Basic swipe | |
5 | Attack 2 = Lunge | |
6 | Attack 3 = Whirlwind | |
7 | E = Waterball | |
8 | R = Orbital Cannon(WILL CAUSE LAG AND ANNIHILATES ALMOST EVERYTHING!, DO THIS IN PLACE 2 TO PREVENT BANS!!!) | |
9 | ---------]] | |
10 | ||
11 | --Whoever thought it was funny to decompile my best work and leak it deserves to get shot in his leg.-- | |
12 | --I've seen alot of scripters quit lately, i won't be one of them though, i still find enjoyment out of scripting.-- | |
13 | --Influx! Yes the brother of Reflux! Even though it's alot smaller than Reflux... Stupid FE!-- | |
14 | ||
15 | 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 = {} | |
16 | do | |
17 | script.Parent = owner.Character | |
18 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
19 | local function NewFakeEvent() | |
20 | local Bind = Instance.new("BindableEvent") | |
21 | local Fake;Fake = {Connections = {}, | |
22 | fakeEvent=true; | |
23 | Connect=function(self,Func) | |
24 | Bind.Event:connect(Func) | |
25 | self.Connections[Bind] = true | |
26 | return setmetatable({Connected = true},{ | |
27 | __index = function (self,Index) | |
28 | if Index:lower() == "disconnect" then | |
29 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
30 | end | |
31 | return Fake[Index] | |
32 | end; | |
33 | __tostring = function() return "Connection" end; | |
34 | }) | |
35 | end} | |
36 | Fake.connect = Fake.Connect;return Fake; | |
37 | end | |
38 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
39 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
40 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
41 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
42 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
43 | local function TriggerEvent(self,Event,...) | |
44 | local Trigger = Mouse[Event] | |
45 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
46 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
47 | end | |
48 | end | |
49 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
50 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
51 | if FiredBy.Name ~= owner.Name then return end | |
52 | if Input.MouseEvent then | |
53 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
54 | else | |
55 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
56 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
57 | for _,Action in pairs(ContextActionService.Actions) do | |
58 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
59 | end | |
60 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
61 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
62 | end | |
63 | end) | |
64 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
65 | Event.Parent = NLS([[ | |
66 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
67 | local Input = function(Input,gameProcessedEvent) | |
68 | if gameProcessedEvent then return end | |
69 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
70 | end | |
71 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
72 | local Hit,Target | |
73 | while wait(1/30) do | |
74 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
75 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
76 | end | |
77 | end | |
78 | ]],owner.Character) | |
79 | end | |
80 | RealGame = game;game = setmetatable({},{ | |
81 | __index = function (self,Index) | |
82 | local Sandbox = function (Thing) | |
83 | if Thing:IsA("Player") then | |
84 | local RealPlayer = Thing | |
85 | return setmetatable({},{ | |
86 | __index = function (self,Index) | |
87 | local Type = type(RealPlayer[Index]) | |
88 | if Type == "function" then | |
89 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
90 | return function (self)return InternalData["Mouse"] end | |
91 | end | |
92 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
93 | end | |
94 | return RealPlayer[Index] | |
95 | end; | |
96 | __tostring = function(self) return RealPlayer.Name end | |
97 | }) | |
98 | end | |
99 | end | |
100 | if RealGame[Index] then | |
101 | local Type = type(RealGame[Index]) | |
102 | if Type == "function" then | |
103 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
104 | return function (self,Service) | |
105 | local FakeServices = { | |
106 | ["players"] = function() | |
107 | return setmetatable({},{ | |
108 | __index = function (self2,Index2) | |
109 | local RealService = RealGame:GetService(Service) | |
110 | local Type2 = type(Index2) | |
111 | if Type2 == "function" then | |
112 | return function (self,...) return RealService[Index2](RealService,...)end | |
113 | else | |
114 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
115 | return RealService[Index2] | |
116 | end | |
117 | end; | |
118 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
119 | }) | |
120 | end; | |
121 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
122 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
123 | ["runservice"] = function() | |
124 | return setmetatable({},{ | |
125 | __index = function(self2,Index2) | |
126 | local RealService = RealGame:GetService(Service) | |
127 | local Type2 = type(Index2) | |
128 | if Type2 == "function" then | |
129 | return function (self,...) return RealService[Index2](RealService,...) end | |
130 | else | |
131 | local RunServices = { | |
132 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
133 | ["renderstepped"] = function() return RealService["Stepped"] end | |
134 | } | |
135 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
136 | return RealService[Index2] | |
137 | end | |
138 | end | |
139 | }) | |
140 | end | |
141 | } | |
142 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
143 | return RealGame:GetService(Service) | |
144 | end | |
145 | end | |
146 | return function (self,...) return RealGame[Index](RealGame,...) end | |
147 | else | |
148 | if game:GetService(Index) then return game:GetService(Index) end | |
149 | return RealGame[Index] | |
150 | end | |
151 | end | |
152 | return nil | |
153 | end | |
154 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...") | |
155 | ||
156 | Player=game.Players.LocalPlayer | |
157 | Character=Player.Character | |
158 | Character.Humanoid.Name = "noneofurbusiness" | |
159 | hum = Character.noneofurbusiness | |
160 | LeftArm=Character["Left Arm"] | |
161 | LeftLeg=Character["Left Leg"] | |
162 | RightArm=Character["Right Arm"] | |
163 | RightLeg=Character["Right Leg"] | |
164 | Root=Character["HumanoidRootPart"] | |
165 | Head=Character["Head"] | |
166 | Torso=Character["Torso"] | |
167 | Neck=Torso["Neck"] | |
168 | mouse = Player:GetMouse() | |
169 | walking = false | |
170 | hitdebounce = false | |
171 | debounce = false | |
172 | jumping = false | |
173 | attacking = false | |
174 | firsttime = false | |
175 | tauntdebounce = false | |
176 | position = nil | |
177 | MseGuide = true | |
178 | running = false | |
179 | settime = 0 | |
180 | sine = 0 | |
181 | t = 0 | |
182 | throwballv = false | |
183 | ws = 18 | |
184 | change = 1 | |
185 | wtr1 = false | |
186 | combo1 = true | |
187 | equip = false | |
188 | dgs = 75 | |
189 | combo2 = false | |
190 | switch1 = true | |
191 | switch2 = false | |
192 | firsttime2 = false | |
193 | combo3 = false | |
194 | gunallowance = false | |
195 | orbitalcannon = false | |
196 | shooting = false | |
197 | RunSrv = game:GetService("RunService") | |
198 | RenderStepped = game:GetService("RunService").RenderStepped | |
199 | removeuseless = game:GetService("Debris") | |
200 | ||
201 | screenGui = Instance.new("ScreenGui") | |
202 | screenGui.Parent = script.Parent | |
203 | ||
204 | local HEADLERP = Instance.new("ManualWeld") | |
205 | HEADLERP.Parent = Head | |
206 | HEADLERP.Part0 = Head | |
207 | HEADLERP.Part1 = Head | |
208 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
209 | ||
210 | local TORSOLERP = Instance.new("ManualWeld") | |
211 | TORSOLERP.Parent = Root | |
212 | TORSOLERP.Part0 = Torso | |
213 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
214 | ||
215 | local ROOTLERP = Instance.new("ManualWeld") | |
216 | ROOTLERP.Parent = Root | |
217 | ROOTLERP.Part0 = Root | |
218 | ROOTLERP.Part1 = Torso | |
219 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
220 | ||
221 | local RIGHTARMLERP = Instance.new("ManualWeld") | |
222 | RIGHTARMLERP.Parent = RightArm | |
223 | RIGHTARMLERP.Part0 = RightArm | |
224 | RIGHTARMLERP.Part1 = Torso | |
225 | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
226 | ||
227 | local LEFTARMLERP = Instance.new("ManualWeld") | |
228 | LEFTARMLERP.Parent = LeftArm | |
229 | LEFTARMLERP.Part0 = LeftArm | |
230 | LEFTARMLERP.Part1 = Torso | |
231 | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
232 | ||
233 | local RIGHTLEGLERP = Instance.new("ManualWeld") | |
234 | RIGHTLEGLERP.Parent = RightLeg | |
235 | RIGHTLEGLERP.Part0 = RightLeg | |
236 | RIGHTLEGLERP.Part1 = Torso | |
237 | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
238 | ||
239 | local LEFTLEGLERP = Instance.new("ManualWeld") | |
240 | LEFTLEGLERP.Parent = LeftLeg | |
241 | LEFTLEGLERP.Part0 = LeftLeg | |
242 | LEFTLEGLERP.Part1 = Torso | |
243 | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
244 | ||
245 | local function weldBetween(a, b) | |
246 | local weld = Instance.new("ManualWeld", a) | |
247 | weld.Part0 = a | |
248 | weld.Part1 = b | |
249 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
250 | return weld | |
251 | end | |
252 | ||
253 | leftlocation = Instance.new("Part",LeftArm) | |
254 | leftlocation.Size = Vector3.new(1,1,1) | |
255 | leftlocation.Transparency = 1 | |
256 | leftlocationweld = weldBetween(leftlocation,LeftArm) | |
257 | leftlocation.Name = "leftloc" | |
258 | leftlocationweld.C0 = CFrame.new(0,1.2,0) | |
259 | ||
260 | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) | |
261 | A = Instance.new("Attachment", PARENT) | |
262 | A.Position = POSITION1 | |
263 | A.Name = "A" | |
264 | B = Instance.new("Attachment", PARENT) | |
265 | B.Position = POSITION2 | |
266 | B.Name = "B" | |
267 | tr1 = Instance.new("Trail", PARENT) | |
268 | tr1.Attachment0 = A | |
269 | tr1.Attachment1 = B | |
270 | tr1.Enabled = true | |
271 | tr1.Lifetime = LIFETIME | |
272 | tr1.TextureMode = "Static" | |
273 | tr1.LightInfluence = 0 | |
274 | tr1.Color = COLOR | |
275 | tr1.Transparency = NumberSequence.new(0, 1) | |
276 | end | |
277 | ||
278 | leftlocation = Instance.new("Part",LeftArm) | |
279 | leftlocation.Size = Vector3.new(1,1,1) | |
280 | leftlocation.Transparency = 1 | |
281 | leftlocationweld = weldBetween(leftlocation,LeftArm) | |
282 | - | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1591925990" |
282 | + | |
283 | - | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1819336634" |
283 | + | rightlocation = Instance.new("Part",RightArm) |
284 | rightlocation.Size = Vector3.new(1,1,1) | |
285 | rightlocation.Transparency = 1 | |
286 | rightlocationweld = weldBetween(rightlocation,RightArm) | |
287 | rightlocationweld.C0 = CFrame.new(0,1.2,0) | |
288 | ||
289 | shirt = Instance.new("Shirt", Character) | |
290 | shirt.Name = "Shirt" | |
291 | pants = Instance.new("Pants", Character) | |
292 | pants.Name = "Pants" | |
293 | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=676428254" | |
294 | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=676428351" | |
295 | ||
296 | skull = Instance.new("Part",Character) | |
297 | - | mskull.MeshId,mskull.TextureId = 'http://www.roblox.com/asset/?id=116524125','http://www.roblox.com/asset/?id=116524213' |
297 | + | |
298 | skull.CFrame = Head.CFrame | |
299 | - | johndoe = Instance.new("Part",Head) |
299 | + | |
300 | - | johndoe.Shape = "Ball" |
300 | + | |
301 | - | johndoe.Material = "Neon" |
301 | + | |
302 | - | johndoe.BrickColor = BrickColor.new("Cyan") |
302 | + | |
303 | - | johndoe.Size = Vector3.new(1.68,1.68,1.68) |
303 | + | |
304 | - | johndoeweld = weldBetween(johndoe,Head) |
304 | + | |
305 | - | johndoeweld.C0 = CFrame.new(0,-.15,.1) |
305 | + | |
306 | mskull.Scale = Vector3.new(1.25, 1.25, 1.25) | |
307 | mskull.VertexColor = Vector3.new(0,0,25) | |
308 | mskull.MeshId,mskull.TextureId = 'http://www.roblox.com/asset/?id=13640868','http://www.roblox.com/asset/?id=18987684' | |
309 | ||
310 | local aces = {1880203893,1881287656,1881287420,1881288034} | |
311 | ace = #aces | |
312 | ||
313 | daggersheet = Instance.new("Sound", Torso) | |
314 | - | seacutlassweld.C0 = seacutlass.CFrame:inverse() * RightArm.CFrame * CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45)) |
314 | + | daggersheet.SoundId = "rbxassetid://62339698" |
315 | daggersheet.Volume = 3 | |
316 | ||
317 | step = Instance.new("Sound", Torso) | |
318 | step.SoundId = "rbxassetid://337064700" | |
319 | step.Volume = 3 | |
320 | ||
321 | seacutlass = Instance.new("Part",Character) | |
322 | seacutlass.Size = Vector3.new(2,2,2) | |
323 | seacutlass.CFrame = RightArm.CFrame | |
324 | seacutlass.CanCollide = false | |
325 | seacutlassweld = Instance.new("Weld",seacutlass) | |
326 | seacutlassweld.Part0 = seacutlass | |
327 | seacutlassweld.Part1 = RightArm | |
328 | seacutlassweld.C0 = seacutlass.CFrame:inverse() * RightArm.CFrame * CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45)) | |
329 | mseacutlass = Instance.new("SpecialMesh", seacutlass) | |
330 | mseacutlass.MeshType = "FileMesh" | |
331 | mseacutlass.Scale = Vector3.new(1, 1, 1) | |
332 | mseacutlass.MeshId,mseacutlass.TextureId = 'http://www.roblox.com/asset/?id=155403991','http://www.roblox.com/asset/?id=155403949' | |
333 | ||
334 | local soundtable = {263033191,263032252,263032172,263032182,263032221} | |
335 | local lmon3 = {"My scythe will tear you apart.","Come a bit closer...","Die from my scythe.","Futile.","Take this scythe.","Where do you want your scar?","My scythe wants to introduce itself.","Feel honored to even touch my scythe.","Flee while you can.","Don't even try.","Slicing time!"} | |
336 | local lmon = {"Feeling Lucky?","I will direct this personally.","Just stay right where you are...","Let's play catch.","Where is that confidence now?","This will hurt...","Remember this.","My power is rising.","Playtime is over.","I'm gonna wipe that smug off your face.","Don't even bother to run.","All of your actions remain futile"} | |
337 | local lmon5 = {"DARK BLADES!","Dont dare return!.","HMMMMMMMM","Hey,you forgot sharp my knives!","Come on then!","Are you beginning to sweat?","Whoops!","Look into this blades","Like a hot knife through butter..."} | |
338 | local lmon7 = {"Are you afraid?","Take this!","Can't dodge this.","Kaboom.","Hope is irrelevant.","Why don't you take this head on?","I'm not finished.","Dare to underestimate my power again?","Shoo.","Begone.","Out of my way!"} | |
339 | local secrettalk = {"And now you'll cease to exist.","This is the last time you've ridiculed my power.","End of the chapter for you.","I will send you to the next world with this.","I had enough of your attitude.","Consider this as a gift.","Fatality.","Another one bites the dust...","Don't come back.","Let me show you true power."} | |
340 | local mostrandomsoundtable = {527970724,1026907795,12222058,1282729525,165431824,167293985,717192545,150245085,143796003,948494432,1434756150,130801781,138124641,132470328,602163388,174658105,220042720,292838651,949987327,142347633,141679994,223147718,130759239,257642130,224299497} | |
341 | local glassshatter = {566476056,566477077,566476547,566476140,566475199,566476026} | |
342 | rdnm = #soundtable | |
343 | mostrandom = #mostrandomsoundtable | |
344 | lmon2 = #lmon | |
345 | lmon4 = #lmon3 | |
346 | lmon6 = #lmon5 | |
347 | lmon8 = #lmon7 | |
348 | secret = #secrettalk | |
349 | glasss = #glassshatter | |
350 | removeuseless = game:GetService("Debris") | |
351 | damageall={} | |
352 | Repeater={} | |
353 | Repeater2={} | |
354 | nonmeshRepeater={} | |
355 | nonmeshRepeater2={} | |
356 | dmgii={} | |
357 | DamageAll2={} | |
358 | SlowlyFade={} | |
359 | th1={} | |
360 | th2={} | |
361 | th3={} | |
362 | Extreme={} | |
363 | ExtremeM={} | |
364 | ExtremeM2={} | |
365 | m3={} | |
366 | th4={} | |
367 | th5={} | |
368 | UpMover={} | |
369 | openshocktable={} | |
370 | LessSize={} | |
371 | ForwardMover={} | |
372 | signtable={} | |
373 | signtransparency={} | |
374 | signmover={} | |
375 | signrotator={} | |
376 | TheColor = BrickColor.new("Lime green") | |
377 | ||
378 | hitbox = Instance.new("Part",seacutlass) | |
379 | hitbox.Size = Vector3.new(1,4,1) | |
380 | - | tr1.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White")) |
380 | + | |
381 | hitbox.Transparency = 1 | |
382 | hitboxweld = weldBetween(hitbox,seacutlass) | |
383 | hitboxweld.C0 = CFrame.new(0,-1,.25) * CFrame.Angles(math.rad(40),0,0) | |
384 | ||
385 | swordslash1 = Instance.new("Sound",seacutlass) | |
386 | swordslash1.SoundId = "rbxassetid://553461718" | |
387 | swordslash1.Volume = 4 | |
388 | swordslash1.Name = "swordslash1" | |
389 | swordslash1.Pitch = 1 | |
390 | ||
391 | swordslash2 = Instance.new("Sound",seacutlass) | |
392 | swordslash2.SoundId = "rbxassetid://553461718" | |
393 | swordslash2.Volume = 4 | |
394 | swordslash2.Name = "swordslash2" | |
395 | swordslash2.Pitch = .85 | |
396 | ||
397 | swordslash3 = Instance.new("Sound",seacutlass) | |
398 | swordslash3.SoundId = "rbxassetid://553461718" | |
399 | swordslash3.Volume = 4 | |
400 | swordslash3.Name = "swordslash3" | |
401 | swordslash3.Pitch = 1.15 | |
402 | ||
403 | seacutlass.ChildRemoved:connect(function(removed) | |
404 | if removed.Name == "swordslash1" then | |
405 | swordslash1 = Instance.new("Sound",seacutlass) | |
406 | swordslash1.SoundId = "rbxassetid://553461718" | |
407 | swordslash1.Name = "swordslash1" | |
408 | swordslash1.Volume = 4 | |
409 | swordslash1.Pitch = 1 | |
410 | elseif removed.Name == "swordslash2" then | |
411 | swordslash2 = Instance.new("Sound",seacutlass) | |
412 | swordslash2.SoundId = "rbxassetid://553461718" | |
413 | swordslash2.Volume = 4 | |
414 | swordslash2.Name = "swordslash2" | |
415 | swordslash2.Pitch = .85 | |
416 | elseif removed.Name == "swordslash3" then | |
417 | swordslash3 = Instance.new("Sound",seacutlass) | |
418 | swordslash3.SoundId = "rbxassetid://553461718" | |
419 | swordslash3.Volume = 4 | |
420 | swordslash3.Name = "swordslash3" | |
421 | swordslash3.Pitch = 1.15 | |
422 | end | |
423 | end) | |
424 | ||
425 | A = Instance.new("Attachment", seacutlass) | |
426 | A.Position = Vector3.new(0,2.25,0) | |
427 | A.Name = "A" | |
428 | B = Instance.new("Attachment", seacutlass) | |
429 | B.Position = Vector3.new(0,-.50,0) | |
430 | B.Name = "B" | |
431 | tr1 = Instance.new("Trail", seacutlass) | |
432 | tr1.Attachment0 = A | |
433 | tr1.Attachment1 = B | |
434 | tr1.Enabled = false | |
435 | tr1.Lifetime = 1 | |
436 | tr1.TextureMode = "Static" | |
437 | tr1.LightInfluence = 0 | |
438 | tr1.Color = ColorSequence.new(BrickColor.new("Really black").Color,BrickColor.new("Really black")) | |
439 | tr1.Transparency = NumberSequence.new(0, 1) | |
440 | ||
441 | coroutine.wrap(function() | |
442 | while wait() do | |
443 | hum.WalkSpeed = ws | |
444 | LeftArm.BrickColor = BrickColor.new("Really black") | |
445 | RightArm.BrickColor = BrickColor.new("Really black") | |
446 | Head.BrickColor = BrickColor.new("Really black") | |
447 | end | |
448 | end)() | |
449 | godmode = coroutine.wrap(function() | |
450 | for i,v in pairs(Character:GetChildren()) do | |
451 | if v:IsA("BasePart") and v ~= Root then | |
452 | v.Anchored = false | |
453 | end | |
454 | end | |
455 | while true do | |
456 | hum.MaxHealth = math.huge | |
457 | wait(0.0000001) | |
458 | hum.Health = math.huge | |
459 | wait() | |
460 | end | |
461 | end) | |
462 | godmode() | |
463 | ff = Instance.new("ForceField", Character) | |
464 | ff.Visible = false | |
465 | ||
466 | coroutine.wrap(function() | |
467 | for i,v in pairs(Character:GetChildren()) do | |
468 | if v.Name == "Animate" then v:Remove() | |
469 | end | |
470 | end | |
471 | end)() | |
472 | ||
473 | function damagealll(Radius,Position) | |
474 | local Returning = {} | |
475 | for _,v in pairs(workspace:GetChildren()) do | |
476 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then | |
477 | if v:FindFirstChild("Torso") then | |
478 | local Mag = (v.Torso.Position - Position).magnitude | |
479 | if Mag < Radius then | |
480 | table.insert(Returning,v) | |
481 | end | |
482 | elseif v:FindFirstChild("UpperTorso") then | |
483 | - | doomtheme.SoundId = "rbxassetid://2136330117" |
483 | + | |
484 | if Mag < Radius then | |
485 | table.insert(Returning,v) | |
486 | end | |
487 | end | |
488 | end | |
489 | end | |
490 | return Returning | |
491 | end | |
492 | - | doomtheme.SoundId = "rbxassetid://2136330117" |
492 | + | |
493 | ArtificialHB = Instance.new("BindableEvent", script) | |
494 | ArtificialHB.Name = "Heartbeat" | |
495 | script:WaitForChild("Heartbeat") | |
496 | ||
497 | frame = 1 / 60 | |
498 | tf = 0 | |
499 | allowframeloss = false | |
500 | tossremainder = false | |
501 | ||
502 | ||
503 | lastframe = tick() | |
504 | script.Heartbeat:Fire() | |
505 | ||
506 | ||
507 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
508 | tf = tf + s | |
509 | if tf >= frame then | |
510 | if allowframeloss then | |
511 | script.Heartbeat:Fire() | |
512 | lastframe = tick() | |
513 | else | |
514 | for i = 1, math.floor(tf / frame) do | |
515 | script.Heartbeat:Fire() | |
516 | end | |
517 | lastframe = tick() | |
518 | end | |
519 | if tossremainder then | |
520 | tf = 0 | |
521 | else | |
522 | tf = tf - frame * math.floor(tf / frame) | |
523 | end | |
524 | end | |
525 | end) | |
526 | ||
527 | function swait(num) | |
528 | if num == 0 or num == nil then | |
529 | game:service("RunService").Stepped:wait(0) | |
530 | else | |
531 | for i = 0, num do | |
532 | game:service("RunService").Stepped:wait(0) | |
533 | end | |
534 | end | |
535 | end | |
536 | ||
537 | Head.face.Texture = "rbxassetid://403870689" | |
538 | ||
539 | doomtheme = Instance.new("Sound", Torso) | |
540 | doomtheme.Volume = 3 | |
541 | doomtheme.Name = "doomtheme" | |
542 | doomtheme.Looped = true | |
543 | doomtheme.SoundId = "rbxassetid://407749940" | |
544 | doomtheme:Play() | |
545 | ||
546 | Torso.ChildRemoved:connect(function(removed) | |
547 | if removed.Name == "doomtheme" then | |
548 | doomtheme = Instance.new("Sound", Torso) | |
549 | doomtheme.Volume = 1 | |
550 | doomtheme.Name = "doomtheme" | |
551 | doomtheme.Looped = true | |
552 | doomtheme.SoundId = "rbxassetid://407749940" | |
553 | doomtheme:Play() | |
554 | end | |
555 | end) | |
556 | ||
557 | for _,n in pairs(Character:GetChildren()) do | |
558 | if n:IsA("Accessory") then n:Remove() end | |
559 | end | |
560 | for _,x in pairs(Character:GetChildren()) do | |
561 | if x:IsA("Decal") then x:Remove() end | |
562 | end | |
563 | ||
564 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
565 | - | trail.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White")) |
565 | + | |
566 | so.Parent = PARENT | |
567 | so.SoundId = "rbxassetid://"..ID | |
568 | so.Volume = VOL | |
569 | so.Looped = LOOP | |
570 | so:Play() | |
571 | removeuseless:AddItem(so,REMOVE) | |
572 | end | |
573 | ||
574 | locpart = Instance.new("Part",Torso) | |
575 | locpart.Size = Vector3.new(1.1,1.1,1.1) | |
576 | locpart.Transparency = 1 | |
577 | locpart.CanCollide = false | |
578 | locweld = weldBetween(locpart,Torso) | |
579 | ||
580 | circlepart = Instance.new("Part",Torso) | |
581 | - | trail2.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White")) |
581 | + | |
582 | circlepart.Transparency = 1 | |
583 | circlepart.CanCollide = false | |
584 | circlepart.Anchored = false | |
585 | circlepart.Name = "c1" | |
586 | circlepartweld = weldBetween(circlepart,locpart) | |
587 | ||
588 | circlepart2 = Instance.new("Part",Torso) | |
589 | circlepart2.Size = Vector3.new(1,1,1) | |
590 | circlepart2.Transparency = 1 | |
591 | circlepart2.CanCollide = false | |
592 | circlepart2.Anchored = false | |
593 | circlepart2.Name = "c2" | |
594 | circlepart2weld = weldBetween(circlepart2,locpart) | |
595 | ||
596 | circlepart3 = Instance.new("Part",Torso) | |
597 | circlepart3.Size = Vector3.new(1,1,1) | |
598 | - | trail3.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White")) |
598 | + | |
599 | circlepart3.CanCollide = false | |
600 | circlepart3.Anchored = false | |
601 | circlepart3.Name = "c3" | |
602 | circlepart3weld = weldBetween(circlepart3,locpart) | |
603 | ||
604 | circlepart4 = Instance.new("Part",Torso) | |
605 | circlepart4.Size = Vector3.new(1,1,1) | |
606 | circlepart4.Transparency = 1 | |
607 | circlepart4.CanCollide = false | |
608 | circlepart4.Anchored = false | |
609 | circlepart4.Name = "c4" | |
610 | circlepart4weld = weldBetween(circlepart4,locpart) | |
611 | ||
612 | A = Instance.new("Attachment", circlepart3) | |
613 | A.Position = Vector3.new(0,.05,0) | |
614 | - | trail4.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White")) |
614 | + | |
615 | B = Instance.new("Attachment", circlepart3) | |
616 | B.Position = Vector3.new(0,-.05,0) | |
617 | B.Name = "B" | |
618 | trail = Instance.new("Trail", circlepart3) | |
619 | trail.Attachment0 = A | |
620 | trail.Attachment1 = B | |
621 | trail.Enabled = true | |
622 | trail.Lifetime = 2.5 | |
623 | trail.TextureMode = "Static" | |
624 | trail.LightInfluence = 0 | |
625 | trail.Color = ColorSequence.new(BrickColor.new("Really black").Color,BrickColor.new("Really black")) | |
626 | trail.Transparency = NumberSequence.new(0, 1) | |
627 | ||
628 | A2 = Instance.new("Attachment", circlepart4) | |
629 | A2.Position = Vector3.new(0,.05,0) | |
630 | A.Name = "A" | |
631 | B2 = Instance.new("Attachment", circlepart4) | |
632 | B2.Position = Vector3.new(0,-.05,0) | |
633 | B.Name = "B" | |
634 | trail2 = Instance.new("Trail", circlepart4) | |
635 | - | wind.BrickColor = BrickColor.new("Cyan") |
635 | + | |
636 | trail2.Attachment1 = B2 | |
637 | trail2.Enabled = true | |
638 | trail2.Lifetime = 2.5 | |
639 | trail2.TextureMode = "Static" | |
640 | trail2.LightInfluence = 0 | |
641 | trail2.Color = ColorSequence.new(BrickColor.new("Really black").Color,BrickColor.new("Really black")) | |
642 | trail2.Transparency = NumberSequence.new(0, 1) | |
643 | ||
644 | ||
645 | A = Instance.new("Attachment", circlepart) | |
646 | A.Position = Vector3.new(0,.05,0) | |
647 | A.Name = "A" | |
648 | B = Instance.new("Attachment", circlepart) | |
649 | B.Position = Vector3.new(0,-.05,0) | |
650 | B.Name = "B" | |
651 | trail3 = Instance.new("Trail", circlepart) | |
652 | trail3.Attachment0 = A | |
653 | trail3.Attachment1 = B | |
654 | trail3.Enabled = true | |
655 | trail3.Lifetime = 1 | |
656 | trail3.TextureMode = "Static" | |
657 | trail3.LightInfluence = 0 | |
658 | trail3.Color = ColorSequence.new(BrickColor.new("Really black").Color,BrickColor.new("Really black")) | |
659 | trail3.Transparency = NumberSequence.new(0, 1) | |
660 | ||
661 | A2 = Instance.new("Attachment", circlepart2) | |
662 | A2.Position = Vector3.new(0,.05,0) | |
663 | A.Name = "A" | |
664 | B2 = Instance.new("Attachment", circlepart2) | |
665 | B2.Position = Vector3.new(0,-.05,0) | |
666 | B.Name = "B" | |
667 | trail4 = Instance.new("Trail", circlepart2) | |
668 | trail4.Attachment0 = A2 | |
669 | trail4.Attachment1 = B2 | |
670 | trail4.Enabled = true | |
671 | trail4.Lifetime = 1 | |
672 | trail4.TextureMode = "Static" | |
673 | trail4.LightInfluence = 0 | |
674 | trail4.Color = ColorSequence.new(BrickColor.new("Really black").Color,BrickColor.new("Really black")) | |
675 | trail4.Transparency = NumberSequence.new(0, 1) | |
676 | ||
677 | x = 0 | |
678 | g = 0 | |
679 | range = 2.5 | |
680 | range2 = 5 | |
681 | ||
682 | coroutine.wrap(function() | |
683 | while true do | |
684 | x = x + 2 | |
685 | g = g + 1 | |
686 | swait() | |
687 | circlepartweld.C0 = CFrame.new(range,0,0) * CFrame.Angles(math.rad(0),math.rad(x),math.rad(0)) | |
688 | circlepart2weld.C0 = CFrame.new(-range,0,0) * CFrame.Angles(math.rad(0),math.rad(x),math.rad(0)) | |
689 | circlepart3weld.C0 = CFrame.new(-range2,0,0) * CFrame.Angles(math.rad(0),math.rad(g),math.rad(0)) | |
690 | circlepart4weld.C0 = CFrame.new(range2,0,0) * CFrame.Angles(math.rad(0),math.rad(g),math.rad(0)) | |
691 | end | |
692 | end)() | |
693 | ||
694 | wind = Instance.new("Part", Torso) | |
695 | wind.BrickColor = BrickColor.new("Really black") | |
696 | wind.Size = Vector3.new(5,5,5) | |
697 | wind.CanCollide = false | |
698 | wind.Anchored = true | |
699 | wind.Name = "wind" | |
700 | wind.Transparency = .75 | |
701 | wind.Material = "Neon" | |
702 | windmesh = Instance.new("SpecialMesh", wind) | |
703 | windmesh.Scale = Vector3.new(.5,.8,.5) | |
704 | windmesh.MeshId = "rbxassetid://168892432" | |
705 | n = 0 | |
706 | ||
707 | ||
708 | coroutine.wrap(function() | |
709 | while true do | |
710 | swait() | |
711 | n = n + 3 | |
712 | wind.CFrame = Root.CFrame * CFrame.new(0,-1,-1.5) * CFrame.Angles(math.rad(0),math.rad(n),0) | |
713 | end | |
714 | end)() | |
715 | coroutine.wrap(function() | |
716 | while true do | |
717 | swait() | |
718 | if spin then | |
719 | trail.Enabled = true | |
720 | trail2.Enabled = true | |
721 | trail3.Enabled = true | |
722 | trail4.Enabled = true | |
723 | while wind.Transparency > .75 do | |
724 | if not spin then break end | |
725 | swait() | |
726 | wind.Transparency = wind.Transparency - .025 | |
727 | end | |
728 | elseif not spin then | |
729 | trail.Enabled = false | |
730 | trail2.Enabled = false | |
731 | trail3.Enabled = false | |
732 | trail4.Enabled = false | |
733 | while wind.Transparency < 1 do | |
734 | if spin then break end | |
735 | swait() | |
736 | wind.Transparency = wind.Transparency + .025 | |
737 | end | |
738 | end | |
739 | end | |
740 | end)() | |
741 | ||
742 | checks1 = coroutine.wrap(function() -------Checks | |
743 | while true do | |
744 | if Root.Velocity.y > 1 then | |
745 | position = "Jump" | |
746 | elseif Root.Velocity.y < -1 then | |
747 | position = "Falling" | |
748 | elseif Root.Velocity.Magnitude < 2 then | |
749 | position = "Idle" | |
750 | elseif Root.Velocity.Magnitude < 20 then | |
751 | position = "Walking" | |
752 | elseif Root.Velocity.Magnitude > 20 then | |
753 | position = "Running" | |
754 | else | |
755 | end | |
756 | wait() | |
757 | end | |
758 | end) | |
759 | checks1() | |
760 | ||
761 | mouse.Button1Down:connect(function() | |
762 | if debounce then return end | |
763 | debounce = true | |
764 | attacking = true | |
765 | spin = false | |
766 | if combo1 then | |
767 | combo1 = false | |
768 | combo3 = false | |
769 | combo2 = true | |
770 | ws = 12 | |
771 | g1 = Instance.new("BodyGyro", Root) | |
772 | g1.D = 175 | |
773 | g1.P = 20000 | |
774 | g1.MaxTorque = Vector3.new(0,9000,0) | |
775 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
776 | for i = 1, 12 do | |
777 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1) | |
778 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3) | |
779 | seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1.5,1.5) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(240)),.3) | |
780 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.3) | |
781 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(20),math.rad(5),math.rad(20)),.3) | |
782 | swait() | |
783 | end | |
784 | hitdebounce = false | |
785 | swordslash1:Play() | |
786 | tr1.Enabled = true | |
787 | hitbox.Touched:connect(function(hit) | |
788 | if hit.Parent:FindFirstChildOfClass("Humanoid") then | |
789 | slachtoffer = hit.Parent:FindFirstChildOfClass("Humanoid") | |
790 | if slachtoffer.Parent.Name ~= Player.Name then | |
791 | if hitdebounce then return end | |
792 | hitdebounce = true | |
793 | slachtoffer:TakeDamage(math.random(17,26)) | |
794 | end | |
795 | end | |
796 | end) | |
797 | for i = 1, 12 do | |
798 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3) | |
799 | seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-2.2,1.4) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(200)),.15) | |
800 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1.35,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.3) | |
801 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(-20),math.rad(5),math.rad(20)),.3) | |
802 | swait() | |
803 | end | |
804 | removeuseless:AddItem(g1,.01) | |
805 | tr1.Enabled = false | |
806 | attacking = false | |
807 | hitdebounce = true | |
808 | debounce = false | |
809 | spin = true | |
810 | ws = 18 | |
811 | elseif combo2 then | |
812 | combo3 = true | |
813 | combo2 = false | |
814 | combo1 = false | |
815 | ws = 12 | |
816 | g1 = Instance.new("BodyGyro", Root) | |
817 | g1.D = 175 | |
818 | g1.P = 20000 | |
819 | g1.MaxTorque = Vector3.new(0,9000,0) | |
820 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
821 | for i = 1, 12 do | |
822 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1) | |
823 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.3) | |
824 | seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1.8,2) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(-130)),.3) | |
825 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.3) | |
826 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(20),math.rad(5),math.rad(20)),.3) | |
827 | swait() | |
828 | end | |
829 | hitdebounce = false | |
830 | tr1.Enabled = true | |
831 | swordslash2:Play() | |
832 | hitbox.Touched:connect(function(hit) | |
833 | if hit.Parent:FindFirstChildOfClass("Humanoid") then | |
834 | slachtoffer = hit.Parent:FindFirstChildOfClass("Humanoid") | |
835 | if slachtoffer.Parent.Name ~= Player.Name then | |
836 | if hitdebounce then return end | |
837 | hitdebounce = true | |
838 | slachtoffer:TakeDamage(math.random(31,42)) | |
839 | end | |
840 | end | |
841 | end) | |
842 | ws = 7 | |
843 | for i = 1, 12 do | |
844 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1) | |
845 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
846 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3) | |
847 | seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1.8,2) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(-130)),.3) | |
848 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.25,1.75,.5) * CFrame.Angles(math.rad(-90),math.rad(70),math.rad(0)), 0.3) | |
849 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(20),math.rad(7),math.rad(12)),.3) | |
850 | swait() | |
851 | end | |
852 | removeuseless:AddItem(g1,.01) | |
853 | ws = 18 | |
854 | tr1.Enabled = false | |
855 | attacking = false | |
856 | hitdebounce = true | |
857 | debounce = false | |
858 | spin = true | |
859 | elseif combo3 then | |
860 | combo1 = true | |
861 | combo2 = false | |
862 | combo3 = false | |
863 | z = 0 | |
864 | ws = 4 | |
865 | tr1.Enabled = true | |
866 | for i = 1, 10 do | |
867 | swait() | |
868 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55, .15) * CFrame.Angles(math.rad(0), math.rad(2), math.rad(-2)), .3) | |
869 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.8, .2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2)), .3) | |
870 | - | powerball.BrickColor = BrickColor.new("Cyan") |
870 | + | |
871 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.25,1.75,.5) * CFrame.Angles(math.rad(-90),math.rad(70),math.rad(0)), 0.3) | |
872 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(20),math.rad(7),math.rad(12)),.3) | |
873 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3) | |
874 | end | |
875 | hitdebounce = false | |
876 | hitbox.Touched:connect(function(hit2) | |
877 | if hit2.Parent:FindFirstChildOfClass("Humanoid") then | |
878 | slachtoffer = hit2.Parent:FindFirstChildOfClass("Humanoid") | |
879 | if slachtoffer.Parent.Name ~= Player.Name then | |
880 | if hitdebounce then return end | |
881 | slachtoffer:TakeDamage(math.random(1,5)) | |
882 | end | |
883 | end | |
884 | end) | |
885 | coroutine.wrap(function() | |
886 | for i = 1, 9 do | |
887 | swordslash3:Play() | |
888 | swait(5) | |
889 | end | |
890 | end)() | |
891 | for i = 1, 50 do | |
892 | z = z + 50 | |
893 | swait() | |
894 | seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-0,1) * CFrame.Angles(math.rad(z),math.rad(0),math.rad(0)),.8) | |
895 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.25,1.75,.5) * CFrame.Angles(math.rad(-90),math.rad(70),math.rad(0)), 0.3) | |
896 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(20),math.rad(7),math.rad(12)),.3) | |
897 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3) | |
898 | end | |
899 | hitdebounce = true | |
900 | - | LightOfDeath.BrickColor = BrickColor.new("Cyan") |
900 | + | |
901 | attacking = false | |
902 | debounce = false | |
903 | tr1.Enabled = false | |
904 | spin = true | |
905 | end | |
906 | end) | |
907 | ||
908 | ||
909 | mouse.KeyDown:connect(function(Press) | |
910 | Press=Press:lower() | |
911 | if Press=='h' then | |
912 | if debounce then return end | |
913 | debounce = true | |
914 | attacking = true | |
915 | step:Play() | |
916 | hum.WalkSpeed = 0 | |
917 | lmon6 = lmon5[math.random(1,#lmon5)] | |
918 | local b1 = Instance.new("BillboardGui",Head) | |
919 | b1.Size = UDim2.new(0,100,0,40) | |
920 | b1.StudsOffset = Vector3.new(0,3,0) | |
921 | b1.Adornee = Head | |
922 | local b2 = Instance.new("TextLabel",b1) | |
923 | b2.BackgroundTransparency = 1 | |
924 | b2.Text = ""..lmon6 | |
925 | b2.Font = "Garamond" | |
926 | b2.TextSize = 0 | |
927 | b2.TextStrokeTransparency = 1 | |
928 | b2.TextColor3 = BrickColor.new("Lime green").Color | |
929 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
930 | b2.Size = UDim2.new(1,0,0.5,0) | |
931 | billboardcour = coroutine.wrap(function() | |
932 | for i = 1, 10 do | |
933 | b2.TextStrokeTransparency = b2.TextStrokeTransparency - 0.1 | |
934 | b2.TextSize = b2.TextSize + 3 | |
935 | wait() | |
936 | end | |
937 | wait(1) | |
938 | for i = 1, 10 do | |
939 | b2.TextStrokeTransparency = b2.TextStrokeTransparency + 0.1 | |
940 | b2.TextSize = b2.TextSize - 3 | |
941 | wait() | |
942 | end | |
943 | b1:Remove() | |
944 | - | explosionc.BrickColor = BrickColor.new("Cyan") |
944 | + | |
945 | billboardcour() | |
946 | Dagga = Instance.new("Part", Torso) | |
947 | Dagga.Size = Vector3.new(.2, .2, .2) | |
948 | Dagga.Material = "Neon" | |
949 | Dagga.BrickColor = TheColor | |
950 | Dagga.Transparency = 1 | |
951 | Dagga.CanCollide = false | |
952 | DaggaMESH = Instance.new("SpecialMesh", Dagga) | |
953 | DaggaMESH.Scale = Vector3.new(.8,.8,.8) | |
954 | DaggaMESH.MeshId = "rbxassetid://62275962" | |
955 | DaggaWeld = weldBetween(Dagga,RightArm) | |
956 | DaggaWeld.C0 = CFrame.new(0,-1.8,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)) | |
957 | courou = coroutine.wrap(function() | |
958 | for i = 1, 20 do | |
959 | Dagga.Transparency = Dagga.Transparency - .05 | |
960 | wait() | |
961 | - | sk.BrickColor = BrickColor.new("Cyan") |
961 | + | |
962 | end) | |
963 | courou() | |
964 | for i = 1, 15 do | |
965 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.58, 0.1, 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(-8)), .3) | |
966 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)), 0.3) | |
967 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .3) | |
968 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(1), math.rad(-2)), .3) | |
969 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)), .3) | |
970 | wait() | |
971 | end | |
972 | for i = 1, 6 do | |
973 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,1.3,0) * CFrame.Angles(math.rad(180),math.rad(2),math.rad(6)), 0.6) | |
974 | wait() | |
975 | end | |
976 | Dagga2 = Instance.new("Part", Torso) | |
977 | Dagga2.Size = Vector3.new(.2, .2, .2) | |
978 | Dagga2.Material = "Neon" | |
979 | Dagga2.BrickColor = TheColor | |
980 | Dagga2.Transparency = 0 | |
981 | Dagga2.CanCollide = false | |
982 | DaggaMESH2 = Instance.new("SpecialMesh", Dagga2) | |
983 | DaggaMESH2.Scale = Vector3.new(.8,.8,.8) | |
984 | DaggaMESH2.MeshId = "rbxassetid://62275962" | |
985 | DaggaWeld2 = weldBetween(Dagga2,RightArm) | |
986 | DaggaWeld2.C0 = CFrame.new(0,-1.8,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)) | |
987 | Dagga3 = Instance.new("Part", Torso) | |
988 | Dagga3.Size = Vector3.new(.2, .2, .2) | |
989 | Dagga3.Material = "Neon" | |
990 | Dagga3.BrickColor = TheColor | |
991 | Dagga3.Transparency = 0 | |
992 | Dagga3.CanCollide = false | |
993 | DaggaMESH3 = Instance.new("SpecialMesh", Dagga3) | |
994 | DaggaMESH3.Scale = Vector3.new(.8,.8,.8) | |
995 | DaggaMESH3.MeshId = "rbxassetid://62275962" | |
996 | DaggaWeld3 = weldBetween(Dagga3,RightArm) | |
997 | DaggaWeld3.C0 = CFrame.new(0,-1.8,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)) | |
998 | daggersheet:Play() | |
999 | for i = 1, 4 do | |
1000 | DaggaWeld2.C0 = DaggaWeld2.C0:lerp(CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(-30)),.5) | |
1001 | DaggaWeld3.C0 = DaggaWeld3.C0:lerp(CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(30)),.5) | |
1002 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,1,0) * CFrame.Angles(math.rad(180),math.rad(3),math.rad(12)), 0.5) | |
1003 | wait() | |
1004 | end | |
1005 | for i = 1, 6 do | |
1006 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,1.3,0) * CFrame.Angles(math.rad(180),math.rad(2),math.rad(6)), 0.5) | |
1007 | wait() | |
1008 | end | |
1009 | for i = 1, 6 do | |
1010 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.5) | |
1011 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.5) | |
1012 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(205), math.rad(0)), 0.3) | |
1013 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4) | |
1014 | wait() | |
1015 | end | |
1016 | quicklerp = coroutine.wrap(function() | |
1017 | for i = 1, 8 do | |
1018 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55, .15) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)), .4) | |
1019 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.8, .2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2)), .4) | |
1020 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, .5, 0), 0.4) | |
1021 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.8,1.3,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4) | |
1022 | wait() | |
1023 | end | |
1024 | end) | |
1025 | quicklerp() | |
1026 | n = 0 | |
1027 | movethem = coroutine.wrap(function() | |
1028 | htbox1 = Instance.new("Part",Torso) | |
1029 | - | waterballs.BrickColor = BrickColor.new("Cyan") |
1029 | + | htbox1.CanCollide = false |
1030 | htbox1.Transparency = 1 | |
1031 | htbox1.Size = Vector3.new(2,2,2) | |
1032 | htbox1weld = weldBetween(htbox1,Dagga) | |
1033 | htbox2 = Instance.new("Part",Torso) | |
1034 | htbox2.CanCollide = false | |
1035 | htbox2.Transparency = 1 | |
1036 | htbox2.Size = Vector3.new(2,2,2) | |
1037 | htbox2weld = weldBetween(htbox2,Dagga2) | |
1038 | htbox3 = Instance.new("Part",Torso) | |
1039 | - | sk.BrickColor = BrickColor.new("Cyan") |
1039 | + | htbox3.CanCollide = false |
1040 | htbox3.Transparency = 1 | |
1041 | htbox3.Size = Vector3.new(2,2,2) | |
1042 | htbox3weld = weldBetween(htbox3,Dagga3) | |
1043 | removeuseless:AddItem(Dagga,5) | |
1044 | removeuseless:AddItem(Dagga2,5) | |
1045 | removeuseless:AddItem(Dagga3,5) | |
1046 | removeuseless:AddItem(htbox,5) | |
1047 | removeuseless:AddItem(htbox2,5) | |
1048 | removeuseless:AddItem(htbox3,5) | |
1049 | DaggaWeld:Remove() | |
1050 | DaggaWeld2:Remove() | |
1051 | DaggaWeld3:Remove() | |
1052 | DaggaMESH.MeshId = "rbxassetid://202083123" | |
1053 | DaggaMESH2.MeshId = "rbxassetid://202083123" | |
1054 | DaggaMESH3.MeshId = "rbxassetid://202083123" | |
1055 | DaggaMESH.Scale = Vector3.new(1.1,1.1,1.1) | |
1056 | DaggaMESH2.Scale = Vector3.new(1.1,1.1,1.1) | |
1057 | DaggaMESH3.Scale = Vector3.new(1.1,1.1,1.1) | |
1058 | local BodyVel=Instance.new('BodyVelocity',Dagga) | |
1059 | BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1060 | local BodyGyro=Instance.new('BodyGyro',Dagga) | |
1061 | BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
1062 | BodyGyro.P=2e4 | |
1063 | coroutine.wrap(function() | |
1064 | RenderStepped:connect(function() | |
1065 | BodyGyro.cframe=CFrame.new(Dagga.Position,mouse.Hit.p) | |
1066 | BodyVel.velocity=Dagga.CFrame.lookVector*dgs | |
1067 | end) | |
1068 | end)() | |
1069 | ||
1070 | local BodyVel2=Instance.new('BodyVelocity',Dagga2) | |
1071 | BodyVel2.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1072 | local BodyGyro2=Instance.new('BodyGyro',Dagga2) | |
1073 | BodyGyro2.maxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
1074 | BodyGyro2.P=2e4 | |
1075 | coroutine.wrap(function() | |
1076 | RenderStepped:connect(function() | |
1077 | BodyGyro2.cframe=CFrame.new(Dagga2.Position,mouse.Hit.p) | |
1078 | BodyVel2.velocity=Dagga2.CFrame.lookVector*dgs | |
1079 | end) | |
1080 | end)() | |
1081 | ||
1082 | local BodyVel3=Instance.new('BodyVelocity',Dagga3) | |
1083 | BodyVel3.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1084 | local BodyGyro3=Instance.new('BodyGyro',Dagga3) | |
1085 | BodyGyro3.maxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
1086 | BodyGyro3.P=2e4 | |
1087 | coroutine.wrap(function() | |
1088 | RenderStepped:connect(function() | |
1089 | BodyGyro3.cframe=CFrame.new(Dagga3.Position,mouse.Hit.p) | |
1090 | BodyVel3.velocity=Dagga3.CFrame.lookVector*dgs | |
1091 | - | throwball.BrickColor = BrickColor.new("Cyan") |
1091 | + | |
1092 | end)() | |
1093 | ||
1094 | damagedebounce = false | |
1095 | damagedebounce2 = false | |
1096 | damagedebounce3 = false | |
1097 | htbox1.Touched:connect(function(hit1) | |
1098 | if hit1.Parent.Name == game.Players.LocalPlayer.Name then | |
1099 | elseif hit1.Parent:IsA("Part") then | |
1100 | elseif hit1.Parent:IsA("SpecialMesh") then | |
1101 | elseif hit1.Parent:findFirstChildOfClass("Humanoid") then | |
1102 | if damagedebounce == true then return end | |
1103 | damagedebounce = true | |
1104 | removeuseless:AddItem(slashwound,2) | |
1105 | Dagga.Anchored = false | |
1106 | BodyVel:Remove() | |
1107 | BodyGyro:Remove() | |
1108 | Dagga.CanCollide = true | |
1109 | - | sk.BrickColor = BrickColor.new("Cyan") |
1109 | + | Slachtoffer = hit1.Parent:findFirstChildOfClass("Humanoid") |
1110 | rdnm = soundtable[math.random(1,#soundtable)] | |
1111 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
1112 | slashwound.SoundId = "rbxassetid://"..rdnm | |
1113 | slashwound.Volume = 4 | |
1114 | slashwound:Play() | |
1115 | if absoluteannihilation then | |
1116 | Slachtoffer.Parent:BreakJoints() | |
1117 | else | |
1118 | Slachtoffer:TakeDamage(15) | |
1119 | end | |
1120 | end | |
1121 | end) | |
1122 | htbox2.Touched:connect(function(hit1) | |
1123 | if hit1.Parent.Name == game.Players.LocalPlayer.Name then | |
1124 | elseif hit1.Parent:IsA("Part") then | |
1125 | elseif hit1.Parent:IsA("SpecialMesh") then | |
1126 | elseif hit1.Parent:findFirstChildOfClass("Humanoid") then | |
1127 | if damagedebounce2 == true then return end | |
1128 | damagedebounce2 = true | |
1129 | removeuseless:AddItem(slashwound,2) | |
1130 | Dagga2.Anchored = false | |
1131 | - | explosion.BrickColor = BrickColor.new("Cyan") |
1131 | + | BodyVel2:Remove() |
1132 | BodyGyro2:Remove() | |
1133 | Dagga2.CanCollide = true | |
1134 | Slachtoffer = hit1.Parent:findFirstChildOfClass("Humanoid") | |
1135 | rdnm = soundtable[math.random(1,#soundtable)] | |
1136 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
1137 | slashwound.SoundId = "rbxassetid://"..rdnm | |
1138 | - | explosion2.BrickColor = BrickColor.new("Cyan") |
1138 | + | slashwound.Volume = 4 |
1139 | slashwound:Play() | |
1140 | if absoluteannihilation then | |
1141 | Slachtoffer.Parent:BreakJoints() | |
1142 | else | |
1143 | Slachtoffer:TakeDamage(15) | |
1144 | end | |
1145 | end | |
1146 | end) | |
1147 | htbox3.Touched:connect(function(hit1) | |
1148 | if hit1.Parent.Name == game.Players.LocalPlayer.Name then | |
1149 | elseif hit1.Parent:IsA("Part") then | |
1150 | elseif hit1.Parent:IsA("SpecialMesh") then | |
1151 | elseif hit1.Parent:findFirstChildOfClass("Humanoid") then | |
1152 | if damagedebounce3 == true then return end | |
1153 | damagedebounce3 = true | |
1154 | removeuseless:AddItem(slashwound,2) | |
1155 | Dagga3.Anchored = false | |
1156 | BodyVel3:Remove() | |
1157 | BodyGyro3:Remove() | |
1158 | Dagga3.CanCollide = true | |
1159 | Slachtoffer = hit1.Parent:findFirstChildOfClass("Humanoid") | |
1160 | rdnm = soundtable[math.random(1,#soundtable)] | |
1161 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
1162 | slashwound.SoundId = "rbxassetid://"..rdnm | |
1163 | slashwound.Volume = 4 | |
1164 | slashwound:Play() | |
1165 | if absoluteannihilation then | |
1166 | Slachtoffer.Parent:BreakJoints() | |
1167 | else | |
1168 | Slachtoffer:TakeDamage(15) | |
1169 | end | |
1170 | end | |
1171 | - | watblock.BrickColor = BrickColor.new("Cyan") |
1171 | + | |
1172 | end) | |
1173 | movethem() | |
1174 | t = 0 | |
1175 | hum.WalkSpeed = 18 | |
1176 | for i = 1, 7 do | |
1177 | t = t - 50 | |
1178 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(205 + t), math.rad(0)), 0.3) | |
1179 | wait() | |
1180 | end | |
1181 | t = 0 | |
1182 | quickcour2 = coroutine.wrap(function() | |
1183 | for i = 1, 10 do | |
1184 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.58, 0.1, 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(-8)), .5) | |
1185 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0),.5) | |
1186 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .5) | |
1187 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.5) | |
1188 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.5) | |
1189 | wait() | |
1190 | end | |
1191 | end) | |
1192 | quickcour2() | |
1193 | for i = 1, 10 do | |
1194 | t = t - 22 | |
1195 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(205 - t), math.rad(0)), 0.3) | |
1196 | wait() | |
1197 | end | |
1198 | attacking = false | |
1199 | debounce = false | |
1200 | damagedebounce = false | |
1201 | damagedebounce2 = false | |
1202 | damagedebounce3 = false | |
1203 | end | |
1204 | end) | |
1205 | ||
1206 | mouse.KeyDown:connect(function(Press) | |
1207 | Press=Press:lower() | |
1208 | if Press=='t' then | |
1209 | if levitate then | |
1210 | if tauntdebounce then return end | |
1211 | tauntdebounce = true | |
1212 | laughing = true | |
1213 | coroutine.wrap(function() | |
1214 | while laughing do | |
1215 | local b1 = Instance.new("BillboardGui",Head) | |
1216 | b1.Size = UDim2.new(0,4,0,1.6) | |
1217 | b1.StudsOffset = Vector3.new(0,0,0) | |
1218 | b1.Name = "laff" | |
1219 | b1.AlwaysOnTop = true | |
1220 | b1.Adornee = Head | |
1221 | removeuseless:AddItem(b1,3) | |
1222 | local b2 = Instance.new("TextLabel",b1) | |
1223 | b2.BackgroundTransparency = 1 | |
1224 | b2.Text = "HaHaHaHaHaHa..." | |
1225 | b2.Font = "Garamond" | |
1226 | b2.TextSize = 0 | |
1227 | b2.Name = "lafftext" | |
1228 | b2.TextStrokeTransparency = 0 | |
1229 | b2.TextColor3 = BrickColor.new("Really red").Color | |
1230 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
1231 | b2.Size = UDim2.new(1,0,.5,0) | |
1232 | table.insert(laughingtable,b2) | |
1233 | removeuseless:AddItem(b1,2) | |
1234 | coroutine.wrap(function() | |
1235 | if zxc then return end | |
1236 | zxc = true | |
1237 | while true do | |
1238 | swait() | |
1239 | for i,v in pairs(Head:GetChildren()) do | |
1240 | if v.Name == "laff" then | |
1241 | v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2)) | |
1242 | end | |
1243 | end | |
1244 | for i,v in pairs(laughingtable) do | |
1245 | v.TextTransparency = v.TextTransparency + .025 | |
1246 | v.TextStrokeTransparency = v.TextStrokeTransparency + 0.25 | |
1247 | v.TextSize = v.TextSize + 2 | |
1248 | v.Rotation = v.Rotation + .1 | |
1249 | end | |
1250 | end | |
1251 | end)() | |
1252 | swait(10) | |
1253 | end | |
1254 | end)() | |
1255 | laugh = laughs[math.random(1,#laughs)] | |
1256 | laughy = Instance.new("Sound",Head) | |
1257 | laughy.SoundId = "rbxassetid://"..laugh | |
1258 | laughy.Volume = 10 | |
1259 | laughy:Play() | |
1260 | wait(1) | |
1261 | wait(laughy.TimeLength) | |
1262 | laughing = false | |
1263 | laughy:Remove() | |
1264 | tauntdebounce = false | |
1265 | else | |
1266 | if mouse.Target ~= nil then | |
1267 | if debounce then return end | |
1268 | attacking = true | |
1269 | tps = Instance.new("Sound", Torso) | |
1270 | tps.Volume = 5 | |
1271 | tps.SoundId = "rbxassetid://1894958339" | |
1272 | tps:Play() | |
1273 | removeuseless:AddItem(tps,2) | |
1274 | g1 = Instance.new("BodyGyro", Root) | |
1275 | g1.D = 175 | |
1276 | g1.P = 20000 | |
1277 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1278 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
1279 | removeuseless:AddItem(g1,.05) | |
1280 | Root.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,3.3,0) | |
1281 | wait(.1) | |
1282 | attacking = false | |
1283 | debounce = false | |
1284 | end | |
1285 | end | |
1286 | end | |
1287 | end) | |
1288 | ||
1289 | ||
1290 | mouse.KeyDown:connect(function(Press) | |
1291 | Press=Press:lower() | |
1292 | if Press=='r' then | |
1293 | if orbitalcannon then return end | |
1294 | if debounce then return end | |
1295 | orbitalcannon = true | |
1296 | debounce = true | |
1297 | uhoh = true | |
1298 | attacking = true | |
1299 | ws = 0 | |
1300 | coroutine.wrap(function() | |
1301 | for i = 1, 15 do | |
1302 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-.5,2,0) * CFrame.Angles(math.rad(0),math.rad(-20),math.rad(140)),.3) | |
1303 | swait() | |
1304 | end | |
1305 | end)() | |
1306 | powerball = Instance.new("Part",Torso) | |
1307 | powerball.Anchored = true | |
1308 | powerball.CanCollide = false | |
1309 | powerball.Size = Vector3.new(1,1,1) | |
1310 | powerball.Transparency = 1 | |
1311 | powerball.Material = "Neon" | |
1312 | powerball.BrickColor = BrickColor.new("Really black") | |
1313 | powerball.CFrame = leftlocation.CFrame * CFrame.new(-40,0,0) | |
1314 | powerball.Shape = "Ball" | |
1315 | gz = Instance.new("Sound", powerball) | |
1316 | gz.SoundId = "rbxassetid://907530407" | |
1317 | gz.Looped = true | |
1318 | gz.Volume = 0 | |
1319 | gz:Play() | |
1320 | for i = 1, 300 do | |
1321 | gz.Volume = gz.Volume + .25 | |
1322 | powerball.CFrame = leftlocation.CFrame * CFrame.new(0,-40,0) | |
1323 | seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45)),.8) | |
1324 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
1325 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90 - 3 * math.sin(sine/12)),math.rad(-40),math.rad(0)), 0.1) | |
1326 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1327 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1) | |
1328 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1329 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
1330 | powerball.Size = powerball.Size + Vector3.new(.25,.25,.25) | |
1331 | powerball.Transparency = powerball.Transparency - .025 | |
1332 | swait() | |
1333 | end | |
1334 | gz:Remove() | |
1335 | g1 = Instance.new("BodyGyro", Root) | |
1336 | g1.D = 175 | |
1337 | g1.P = 20000 | |
1338 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1339 | LightOfDeath = Instance.new("Part", Torso) | |
1340 | LightOfDeath.Size = Vector3.new(0.5, 0.5, 0.5) | |
1341 | LightOfDeath.Material = "Neon" | |
1342 | LightOfDeath.BrickColor = BrickColor.new("Really black") | |
1343 | LightOfDeath.Transparency = 1 | |
1344 | LightOfDeath.Anchored = true | |
1345 | LightOfDeath.CanCollide = false | |
1346 | LightOfDeathMESH = Instance.new("SpecialMesh", LightOfDeath) | |
1347 | LightOfDeathMESH.MeshType = "Cylinder" | |
1348 | LightOfDeathMESH.Scale = Vector3.new(1000,3,3) | |
1349 | LightOfDeath.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)) | |
1350 | coroutine.wrap(function() | |
1351 | wait(9) | |
1352 | uhoh = false | |
1353 | end)() | |
1354 | soundofdoom = Instance.new("Sound", powerball) | |
1355 | soundofdoom.SoundId = "rbxassetid://1545630949" | |
1356 | soundofdoom.Volume = 10 | |
1357 | soundofdoom:Play() | |
1358 | ws = 0 | |
1359 | while uhoh do | |
1360 | if mouse.Target ~= nil then | |
1361 | LightOfDeath.CFrame = LightOfDeath.CFrame:lerp(CFrame.new(mouse.Hit.p) * CFrame.Angles(0,0,math.rad(90)),.1) | |
1362 | powerball.CFrame = powerball.CFrame:lerp(CFrame.new(mouse.Hit.p) * CFrame.new(0,250,0),.1) | |
1363 | end | |
1364 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1365 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
1366 | LEFTARMLERP.C0 = LEFTARMLERP.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.3) | |
1367 | LightOfDeath.Transparency = LightOfDeath.Transparency - .05 | |
1368 | swait() | |
1369 | end | |
1370 | coroutine.wrap(function() | |
1371 | coroutine.wrap(function() | |
1372 | for i = 1, 400 do | |
1373 | Hit = damagealll(200,LightOfDeath.Position) | |
1374 | for _,v in pairs(Hit) do | |
1375 | v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints() | |
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(LightOfDeath.Position,torso.Position).lookVector*875 | |
1380 | removeuseless:AddItem(vel,.1) | |
1381 | end | |
1382 | explosionc = Instance.new("Part",Torso) | |
1383 | explosionc.Anchored = true | |
1384 | explosionc.CanCollide = false | |
1385 | explosionc.Size = Vector3.new(1,1,1) | |
1386 | explosionc.BrickColor = BrickColor.new("Really black") | |
1387 | explosionc.Material = "Neon" | |
1388 | explosionc.CFrame = CFrame.new(LightOfDeath.Position) | |
1389 | explosionc.Shape = "Ball" | |
1390 | explosionc.Name = "explob" | |
1391 | removeuseless:AddItem(explosionc,2) | |
1392 | swait(.1) | |
1393 | end | |
1394 | end)() | |
1395 | powerball.Transparency = 0 | |
1396 | LightOfDeath.Transparency = 0 | |
1397 | for i = 1, 400 do | |
1398 | powerball.Transparency = powerball.Transparency + .05 | |
1399 | LightOfDeath.Transparency = LightOfDeath.Transparency + .05 | |
1400 | sk = Instance.new("Part",Torso) | |
1401 | sk.CanCollide = false | |
1402 | sk.Anchored = true | |
1403 | sk.BrickColor = BrickColor.new("Really black") | |
1404 | sk.Name = "sk" | |
1405 | sk.CFrame = LightOfDeath.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1406 | skmesh = Instance.new("SpecialMesh",sk) | |
1407 | - | warn("The power of water. Made by Supr14") |
1407 | + | |
1408 | skmesh.Name = "waterwave" | |
1409 | skmesh.Scale = Vector3.new(.04,.01,.04) | |
1410 | removeuseless:AddItem(sk,2) | |
1411 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then | |
1412 | v.Scale = v.Scale + Vector3.new(.2,0,.2) | |
1413 | v.Parent.Transparency = v.Parent.Transparency + .05 | |
1414 | end | |
1415 | end | |
1416 | for i,v in pairs(Torso:GetChildren()) do | |
1417 | if v.Name == "explob" then | |
1418 | v.Size = v.Size + Vector3.new(20,20,20) | |
1419 | v.Transparency = v.Transparency + .05 | |
1420 | end | |
1421 | end | |
1422 | swait() | |
1423 | end | |
1424 | for i = 1, 50 do | |
1425 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then | |
1426 | v.Scale = v.Scale + Vector3.new(.2,0,.2) | |
1427 | v.Parent.Transparency = v.Parent.Transparency + .05 | |
1428 | end | |
1429 | end | |
1430 | for i,v in pairs(Torso:GetChildren()) do | |
1431 | if v.Name == "explob" then | |
1432 | v.Size = v.Size + Vector3.new(20,20,20) | |
1433 | v.Transparency = v.Transparency + .05 | |
1434 | end | |
1435 | end | |
1436 | swait() | |
1437 | end | |
1438 | powerball:Remove() | |
1439 | LightOfDeath:Remove() | |
1440 | orbitalcannon = false | |
1441 | end)() | |
1442 | for i = 1, 35 do | |
1443 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, .8, 0.4) * CFrame.Angles(math.rad(-60 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3) | |
1444 | swait() | |
1445 | end | |
1446 | removeuseless:AddItem(g1,.001) | |
1447 | ws = 18 | |
1448 | attacking = false | |
1449 | debounce = false | |
1450 | end | |
1451 | end) | |
1452 | ||
1453 | mouse.KeyDown:connect(function(Press) | |
1454 | Press=Press:lower() | |
1455 | if Press=='e' then | |
1456 | if debounce then return end | |
1457 | debounce = true | |
1458 | attacking = true | |
1459 | ws = 2 | |
1460 | g1 = Instance.new("BodyGyro", Root) | |
1461 | g1.D = 175 | |
1462 | g1.P = 20000 | |
1463 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1464 | SOUND(leftlocation,214876666,8,false,6) | |
1465 | coroutine.wrap(function() | |
1466 | for i = 1, 49 do | |
1467 | waterballs = Instance.new("Part",Torso) | |
1468 | waterballs.Anchored = true | |
1469 | waterballs.CanCollide = false | |
1470 | waterballs.Shape = "Ball" | |
1471 | waterballs.BrickColor = BrickColor.new("Really black") | |
1472 | waterballs.Material = "Neon" | |
1473 | waterballs.Transparency = .6 | |
1474 | waterballs.CFrame = leftlocation.CFrame | |
1475 | waterballs.Size = Vector3.new(10,10,10) | |
1476 | waterballs.Name = "wter" | |
1477 | removeuseless:AddItem(waterballs,2) | |
1478 | sk = Instance.new("Part",Torso) | |
1479 | sk.CanCollide = false | |
1480 | sk.Anchored = true | |
1481 | sk.BrickColor = BrickColor.new("Really black") | |
1482 | sk.Name = "sk" | |
1483 | sk.CFrame = leftlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1484 | skmesh = Instance.new("SpecialMesh",sk) | |
1485 | skmesh.MeshId = "rbxassetid://662586858" | |
1486 | skmesh.Name = "waterwave" | |
1487 | skmesh.Scale = Vector3.new(.04,.01,.04) | |
1488 | removeuseless:AddItem(sk,2) | |
1489 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then | |
1490 | v.Scale = v.Scale + Vector3.new(.02,0,.02) | |
1491 | v.Parent.Transparency = v.Parent.Transparency + .05 | |
1492 | end | |
1493 | end | |
1494 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "wter" then | |
1495 | v.Size = v.Size - Vector3.new(1,1,1) | |
1496 | v.Transparency = v.Transparency + .05 | |
1497 | end | |
1498 | end | |
1499 | swait() | |
1500 | end | |
1501 | for i = 1, 40 do | |
1502 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "wter" then | |
1503 | v.Size = v.Size - Vector3.new(1,1,1) | |
1504 | v.Transparency = v.Transparency + .05 | |
1505 | end | |
1506 | end | |
1507 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then | |
1508 | v.Scale = v.Scale + Vector3.new(.02,0,.01) | |
1509 | v.Parent.Transparency = v.Parent.Transparency + .05 | |
1510 | end | |
1511 | end | |
1512 | swait() | |
1513 | end | |
1514 | end)() | |
1515 | for i = 1, 50 do | |
1516 | seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1,1.5) * CFrame.Angles(math.rad(-315),math.rad(0),math.rad(0)),.8) | |
1517 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.55,0) * CFrame.Angles(math.rad(-20),math.rad(-5),math.rad(-20)),.3) | |
1518 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
1519 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5) | |
1520 | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
1521 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(-14), math.rad(-20), math.rad(90)), 0.3) | |
1522 | swait() | |
1523 | end | |
1524 | ws = 0 | |
1525 | coroutine.wrap(function() | |
1526 | local throwball = Instance.new("Part",Torso) | |
1527 | throwball.Anchored = false | |
1528 | throwball.CanCollide = false | |
1529 | throwball.Size = Vector3.new(1,1,1) | |
1530 | throwball.Material = "Neon" | |
1531 | throwball.Shape = "Ball" | |
1532 | throwball.CFrame = leftlocation.CFrame | |
1533 | throwball.BrickColor = BrickColor.new("Really black") | |
1534 | throwball.Name = "throwball" | |
1535 | removeuseless:AddItem(throwball,4) | |
1536 | throwball.Touched:connect(function(hit) | |
1537 | if hit.Name ~= "watblock" and hit.Name ~= "sk" and hit.Name ~= "wter" and hit.Name ~= "leftloc" and hit.Name ~= "c1" and hit.Name ~= "c2" and hit.Name ~= "c3" and hit.Name ~= "c4" and hit.Parent ~= "Torso" and hit.Parent ~= "LeftArm" and hit.Parent ~= "RightArm" and hit.Parent ~= "Head" and hit.Name ~= "wind" then | |
1538 | if throwballv then return end | |
1539 | throwballv = true | |
1540 | explo = Instance.new("Sound",throwball) | |
1541 | explo.SoundId = "rbxassetid://821439273" | |
1542 | explo.Volume = 8 | |
1543 | explo.Pitch = 1.3 | |
1544 | explo:Play() | |
1545 | hit.Transparency = 0 | |
1546 | throwball.Anchored = true | |
1547 | for i = 1, 15 do | |
1548 | sk = Instance.new("Part",Torso) | |
1549 | sk.CanCollide = false | |
1550 | sk.Anchored = true | |
1551 | sk.BrickColor = BrickColor.new("Really black") | |
1552 | sk.Name = "sk" | |
1553 | sk.CFrame = throwball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1554 | skmesh = Instance.new("SpecialMesh",sk) | |
1555 | skmesh.MeshId = "rbxassetid://662586858" | |
1556 | skmesh.Name = "waterwave2" | |
1557 | skmesh.Scale = Vector3.new(.04,.01,.04) | |
1558 | removeuseless:AddItem(sk,2) | |
1559 | end | |
1560 | Hit = damagealll(25,throwball.Position) | |
1561 | for _,v in pairs(Hit) do | |
1562 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(39,52)) | |
1563 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1564 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1565 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1566 | vel.velocity = CFrame.new(throwball.Position,torso.Position).lookVector*125 | |
1567 | removeuseless:AddItem(vel,.1) | |
1568 | end | |
1569 | explosion = Instance.new("Part",Torso) | |
1570 | explosion.Anchored = true | |
1571 | explosion.CanCollide = false | |
1572 | explosion.Shape = "Ball" | |
1573 | explosion.BrickColor = BrickColor.new("Really black") | |
1574 | explosion.Material = "Neon" | |
1575 | explosion.CFrame = throwball.CFrame | |
1576 | explosion2 = Instance.new("Part",Torso) | |
1577 | explosion2.Anchored = true | |
1578 | explosion2.CanCollide = false | |
1579 | explosion2.Shape = "Ball" | |
1580 | explosion2.BrickColor = BrickColor.new("Really black") | |
1581 | explosion2.Material = "Neon" | |
1582 | explosion2.CFrame = throwball.CFrame | |
1583 | for i = 1, 30 do | |
1584 | explo.Volume = explo.Volume - .5 | |
1585 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave2" then | |
1586 | v.Scale = v.Scale + Vector3.new(.02,0,.02) | |
1587 | v.Parent.Transparency = v.Parent.Transparency + .05 | |
1588 | end | |
1589 | end | |
1590 | explosion.Size = explosion.Size + Vector3.new(2,2,2) | |
1591 | explosion.Transparency = explosion.Transparency + .05 | |
1592 | explosion2.Size = explosion2.Size + Vector3.new(1,1,1) | |
1593 | explosion2.Transparency = explosion2.Transparency + .045 | |
1594 | swait() | |
1595 | end | |
1596 | explosion:Remove() | |
1597 | explosion2:Remove() | |
1598 | throwball:Remove() | |
1599 | throwballv = false | |
1600 | end | |
1601 | end) | |
1602 | local bov = Instance.new("BodyVelocity",throwball) | |
1603 | bov.maxForce = Vector3.new(99999,99999,99999) | |
1604 | throwball.CFrame = CFrame.new(throwball.Position,mouse.Hit.p) | |
1605 | bov.velocity = throwball.CFrame.lookVector*215 | |
1606 | if wtr1 then return end | |
1607 | wtr1 = true | |
1608 | while true do | |
1609 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "throwball" then | |
1610 | watblock = Instance.new("Part",Torso) | |
1611 | watblock.Size = Vector3.new(3,3,3) | |
1612 | watblock.CanCollide = false | |
1613 | watblock.BrickColor = BrickColor.new("Really black") | |
1614 | watblock.Anchored = false | |
1615 | watblock.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
1616 | watblock.Material = "Neon" | |
1617 | watblock.Name = "watblock" | |
1618 | removeuseless:AddItem(watblock,2) | |
1619 | end | |
1620 | end | |
1621 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "watblock" then | |
1622 | v.Size = v.Size - Vector3.new(.25,.25,.25) | |
1623 | v.Transparency = v.Transparency - .05 | |
1624 | end | |
1625 | end | |
1626 | swait() | |
1627 | end | |
1628 | end)() | |
1629 | for i = 1, 12 do | |
1630 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5) | |
1631 | LEFTARMLERP.C1 = CFrame.new(0,0,0) | |
1632 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(25),math.rad(0)), 0.5) | |
1633 | swait() | |
1634 | end | |
1635 | removeuseless:AddItem(g1,.001) | |
1636 | ws = 18 | |
1637 | attacking = false | |
1638 | debounce = false | |
1639 | end | |
1640 | end) | |
1641 | ||
1642 | function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
1643 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
1644 | end | |
1645 | ||
1646 | function ray2(StartPos, EndPos, Distance, Ignore) | |
1647 | local DIRECTION = CFrame.new(StartPos,EndPos).lookVector | |
1648 | return ray(StartPos, DIRECTION, Distance, Ignore) | |
1649 | end | |
1650 | ||
1651 | OrgnC0 = Neck.C0 | |
1652 | local movelimbs = coroutine.wrap(function() | |
1653 | while RunSrv.RenderStepped:wait() do | |
1654 | TrsoLV = Torso.CFrame.lookVector | |
1655 | Dist = nil | |
1656 | Diff = nil | |
1657 | if not MseGuide then | |
1658 | print("Failed to recognize") | |
1659 | else | |
1660 | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
1661 | Dist = (Head.CFrame.p-Point).magnitude | |
1662 | Diff = Head.CFrame.Y-Point.Y | |
1663 | local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
1664 | Dist2 = (LeftArm.CFrame.p-Point).magnitude | |
1665 | Diff2 = LeftArm.CFrame.Y-Point.Y | |
1666 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1667 | 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) | |
1668 | end | |
1669 | end | |
1670 | end) | |
1671 | movelimbs() | |
1672 | immortal = {} | |
1673 | for i,v in pairs(Character:GetDescendants()) do | |
1674 | if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then | |
1675 | 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 | |
1676 | v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1677 | end | |
1678 | table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency}) | |
1679 | elseif v:IsA("JointInstance") then | |
1680 | table.insert(immortal,{v,v.Parent,nil,nil,nil}) | |
1681 | end | |
1682 | end | |
1683 | for e = 1, #immortal do | |
1684 | if immortal[e] ~= nil then | |
1685 | local STUFF = immortal[e] | |
1686 | local PART = STUFF[1] | |
1687 | local PARENT = STUFF[2] | |
1688 | local MATERIAL = STUFF[3] | |
1689 | local COLOR = STUFF[4] | |
1690 | local TRANSPARENCY = STUFF[5] | |
1691 | if levitate then | |
1692 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
1693 | PART.Material = MATERIAL | |
1694 | PART.Color = COLOR | |
1695 | PART.Transparency = TRANSPARENCY | |
1696 | end | |
1697 | PART.AncestryChanged:connect(function() | |
1698 | PART.Parent = PARENT | |
1699 | end) | |
1700 | else | |
1701 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
1702 | PART.Material = MATERIAL | |
1703 | PART.Color = COLOR | |
1704 | PART.Transparency = TRANSPARENCY | |
1705 | end | |
1706 | PART.AncestryChanged:connect(function() | |
1707 | PART.Parent = PARENT | |
1708 | end) | |
1709 | end | |
1710 | end | |
1711 | end | |
1712 | function immortality() | |
1713 | for e = 1, #immortal do | |
1714 | if immortal[e] ~= nil then | |
1715 | local STUFF = immortal[e] | |
1716 | local PART = STUFF[1] | |
1717 | local PARENT = STUFF[2] | |
1718 | local MATERIAL = STUFF[3] | |
1719 | local COLOR = STUFF[4] | |
1720 | local TRANSPARENCY = STUFF[5] | |
1721 | if PART.ClassName == "Part" and PART == Root then | |
1722 | PART.Material = MATERIAL | |
1723 | PART.Color = COLOR | |
1724 | PART.Transparency = TRANSPARENCY | |
1725 | end | |
1726 | if PART.Parent ~= PARENT then | |
1727 | hum:Remove() | |
1728 | PART.Parent = PARENT | |
1729 | hum = Instance.new("Humanoid",Character) | |
1730 | hum.Name = "noneofurbusiness" | |
1731 | end | |
1732 | end | |
1733 | end | |
1734 | end | |
1735 | coroutine.wrap(function() | |
1736 | while true do | |
1737 | if hum.Health < .1 then | |
1738 | deadsound = Instance.new("Sound", Torso) | |
1739 | deadsound.Volume = 6 | |
1740 | deadsound.SoundId = "rbxassetid://1411352723" | |
1741 | deadsound:Play() | |
1742 | immortality() | |
1743 | end | |
1744 | wait() | |
1745 | end | |
1746 | end)() | |
1747 | ||
1748 | local anims = coroutine.wrap(function() | |
1749 | while true do | |
1750 | settime = 0.05 | |
1751 | sine = sine + change | |
1752 | if position == "Jump" and attacking == false then | |
1753 | change = 1 | |
1754 | spin = false | |
1755 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1756 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1757 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
1758 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
1759 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4) | |
1760 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
1761 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
1762 | elseif position == "Jump2" and attacking == false then | |
1763 | change = 1 | |
1764 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) | |
1765 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
1766 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
1767 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) | |
1768 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) | |
1769 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
1770 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3) | |
1771 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3) | |
1772 | elseif position == "Falling" and attacking == false then | |
1773 | change = 1 | |
1774 | spin = false | |
1775 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1776 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1777 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
1778 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
1779 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
1780 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
1781 | elseif position == "Falling2" and attacking == false then | |
1782 | change = 1 | |
1783 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) | |
1784 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
1785 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
1786 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) | |
1787 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) | |
1788 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
1789 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3) | |
1790 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3) | |
1791 | elseif position == "Walking" and attacking == false and running == false then | |
1792 | change = 1.2 | |
1793 | walking = true | |
1794 | spin = false | |
1795 | seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1,1.5) * CFrame.Angles(math.rad(-315),math.rad(0),math.rad(0)),.8) | |
1796 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5 + Root.RotVelocity.Y / 85,.35,-.5*math.sin(sine/8)) * CFrame.Angles(math.rad(35*math.sin(sine/8)),math.rad(0*math.sin(sine/8)),math.rad(-10 + Root.RotVelocity.Y / 10, math.sin(-20 * math.sin(sine/4)))),.3) | |
1797 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1798 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1799 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,.35,.5*math.sin(sine/8)) * CFrame.Angles(math.rad(-35*math.sin(sine/8)),math.rad(0*math.sin(sine/8)),math.rad(10 + Root.RotVelocity.Y / 10, math.sin(20 * math.sin(sine/4)))),.3) | |
1800 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.1) | |
1801 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.3) | |
1802 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.3) | |
1803 | elseif position == "Idle" and attacking == false and running == false then | |
1804 | change = .5 | |
1805 | spin = true | |
1806 | seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45)),.8) | |
1807 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
1808 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,0,.5) * CFrame.Angles(math.rad(-90 - 3 * math.sin(sine/12)),math.rad(40),math.rad(0)), 0.1) | |
1809 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90 - 3 * math.sin(sine/12)),math.rad(-40),math.rad(0)), 0.1) | |
1810 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1811 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1) | |
1812 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1813 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
1814 | elseif position == "Idle2" and attacking == false and running == false then | |
1815 | change = .75 | |
1816 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1) | |
1817 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1818 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1) | |
1819 | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
1820 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4) | |
1821 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4) | |
1822 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4) | |
1823 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4) | |
1824 | elseif position == "Walking2" and attacking == false and running == false then | |
1825 | ws = 50 | |
1826 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) | |
1827 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
1828 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
1829 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) | |
1830 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) | |
1831 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
1832 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3) | |
1833 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3) | |
1834 | elseif position == "Running" and attacking == false then | |
1835 | change = 1 | |
1836 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3) | |
1837 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3) | |
1838 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1839 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3) | |
1840 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3) | |
1841 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3) | |
1842 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3) | |
1843 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3) | |
1844 | end | |
1845 | swait() | |
1846 | end | |
1847 | end) | |
1848 | anims() | |
1849 | warn("Power of Darkness. Made by Supr14") |