SHOW:
|
|
- or go back to the newest paste.
1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,game,owner = owner,game | |
4 | local RealPlayer = Player | |
5 | do | |
6 | print("FE Compatibility code V2 by Mokiros") | |
7 | local RealPlayer = RealPlayer | |
8 | script.Parent = RealPlayer.Character | |
9 | ||
10 | --Fake event to make stuff like Mouse.KeyDown work | |
11 | local Disconnect_Function = function(this) | |
12 | this[1].Functions[this[2]] = nil | |
13 | end | |
14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}} | |
15 | local FakeEvent_Metatable = {__index={ | |
16 | Connect = function(this,f) | |
17 | local i = tostring(math.random(0,10000)) | |
18 | while this.Functions[i] do | |
19 | i = tostring(math.random(0,10000)) | |
20 | end | |
21 | this.Functions[i] = f | |
22 | return setmetatable({this,i},Disconnect_Metatable) | |
23 | end | |
24 | }} | |
25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
26 | local function fakeEvent() | |
27 | return setmetatable({Functions={}},FakeEvent_Metatable) | |
28 | end | |
29 | ||
30 | --Creating fake input objects with fake variables | |
31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()} | |
32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
37 | end} | |
38 | --Merged 2 functions into one by checking amount of arguments | |
39 | CAS.UnbindAction = CAS.BindAction | |
40 | ||
41 | --This function will trigger the events that have been :Connect()'ed | |
42 | local function TriggerEvent(self,ev,...) | |
43 | for _,f in pairs(self[ev].Functions) do | |
44 | f(...) | |
45 | end | |
46 | end | |
47 | FakeMouse.TriggerEvent = TriggerEvent | |
48 | UIS.TriggerEvent = TriggerEvent | |
49 | ||
50 | --Client communication | |
51 | local Event = Instance.new("RemoteEvent") | |
52 | Event.Name = "UserInput_Event" | |
53 | Event.OnServerEvent:Connect(function(plr,io) | |
54 | if plr~=RealPlayer then return end | |
55 | FakeMouse.Target = io.Target | |
56 | FakeMouse.Hit = io.Hit | |
57 | if not io.isMouse then | |
58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
61 | end | |
62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
64 | end | |
65 | for _,t in pairs(CAS.Actions) do | |
66 | for _,k in pairs(t.Keys) do | |
67 | if k==io.KeyCode then | |
68 | t.Function(t.Name,io.UserInputState,io) | |
69 | end | |
70 | end | |
71 | end | |
72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
74 | end | |
75 | end) | |
76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event") | |
77 | local Mouse = owner:GetMouse() | |
78 | local UIS = game:GetService("UserInputService") | |
79 | local input = function(io,RobloxHandled) | |
80 | if RobloxHandled then return end | |
81 | --Since InputObject is a client-side instance, we create and pass table instead | |
82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
83 | end | |
84 | UIS.InputBegan:Connect(input) | |
85 | UIS.InputEnded:Connect(input) | |
86 | ||
87 | local h,t | |
88 | --Give the server mouse data every second frame, but only if the values changed | |
89 | --If player is not moving their mouse, client won't fire events | |
90 | local HB = game:GetService("RunService").Heartbeat | |
91 | while true do | |
92 | if h~=Mouse.Hit or t~=Mouse.Target then | |
93 | h,t=Mouse.Hit,Mouse.Target | |
94 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
95 | end | |
96 | --Wait 2 frames | |
97 | for i=1,2 do | |
98 | HB:Wait() | |
99 | end | |
100 | end]==],script) | |
101 | ||
102 | ----Sandboxed game object that allows the usage of client-side methods and services | |
103 | --Real game object | |
104 | local RealGame = game | |
105 | ||
106 | --Metatable for fake service | |
107 | local FakeService_Metatable = { | |
108 | __index = function(self,k) | |
109 | local s = rawget(self,"_RealService") | |
110 | if s then | |
111 | return typeof(s[k])=="function" | |
112 | and function(_,...)return s[k](s,...)end or s[k] | |
113 | end | |
114 | end, | |
115 | __newindex = function(self,k,v) | |
116 | local s = rawget(self,"_RealService") | |
117 | if s then s[k]=v end | |
118 | end | |
119 | } | |
120 | local function FakeService(t,RealService) | |
121 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
122 | return setmetatable(t,FakeService_Metatable) | |
123 | end | |
124 | ||
125 | --Fake game object | |
126 | local FakeGame = { | |
127 | GetService = function(self,s) | |
128 | return rawget(self,s) or RealGame:GetService(s) | |
129 | end, | |
130 | Players = FakeService({ | |
131 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player) | |
132 | },"Players"), | |
133 | UserInputService = FakeService(UIS,"UserInputService"), | |
134 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
135 | RunService = FakeService({ | |
136 | _btrs = {}, | |
137 | RenderStepped = RealGame:GetService("RunService").Heartbeat, | |
138 | BindToRenderStep = function(self,name,_,fun) | |
139 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
140 | end, | |
141 | UnbindFromRenderStep = function(self,name) | |
142 | self._btrs[name]:Disconnect() | |
143 | end, | |
144 | },"RunService") | |
145 | } | |
146 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
147 | FakeGame.service = FakeGame.GetService | |
148 | FakeService(FakeGame,game) | |
149 | --Changing owner to fake player object to support owner:GetMouse() | |
150 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
151 | end | |
152 | ||
153 | --Script made by Pedrorb03 | |
154 | ||
155 | wait(1) | |
156 | --Converted with ttyyuu12345's model to script plugin v4 | |
157 | function sandbox(var,func) | |
158 | local env = getfenv(func) | |
159 | local newenv = setmetatable({},{ | |
160 | __index = function(self,k) | |
161 | if k=="script" then | |
162 | return var | |
163 | else | |
164 | return env[k] | |
165 | end | |
166 | end, | |
167 | }) | |
168 | setfenv(func,newenv) | |
169 | return func | |
170 | end | |
171 | cors = {} | |
172 | mas = Instance.new("Model",game:GetService("Lighting")) | |
173 | HopperBin0 = Instance.new("HopperBin") | |
174 | LocalScript1 = Instance.new("LocalScript") | |
175 | ||
176 | for i,v in pairs(mas:GetChildren()) do | |
177 | v.Parent = workspace | |
178 | pcall(function() v:MakeJoints() end) | |
179 | end | |
180 | mas:Destroy() | |
181 | for i,v in pairs(cors) do | |
182 | spawn(function() | |
183 | pcall(v) | |
184 | end) | |
185 | end | |
186 | ||
187 | growingList = {} | |
188 | degrowingList = {} | |
189 | local Player = game.Players.localPlayer | |
190 | function chatfunc(text) | |
191 | local chat = coroutine.wrap(function() | |
192 | local m8n = game.Players.LocalPlayer.Character | |
193 | if m8n:FindFirstChild("TalkingBillBoard")~= nil then | |
194 | m8n:FindFirstChild("TalkingBillBoard"):destroy() | |
195 | end | |
196 | local naeeym2 = Instance.new("BillboardGui",m8n) | |
197 | naeeym2.Size = UDim2.new(0,100,0,40) | |
198 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
199 | naeeym2.Adornee = m8n.Head | |
200 | naeeym2.Name = "TalkingBillBoard" | |
201 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
202 | tecks2.BackgroundTransparency = 1 | |
203 | tecks2.BorderSizePixel = 0 | |
204 | tecks2.Text = "" | |
205 | tecks2.Font = "Cartoon" | |
206 | tecks2.TextSize = 30 | |
207 | tecks2.TextStrokeTransparency = 0 | |
208 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
209 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
210 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
211 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
212 | tecks3.BackgroundTransparency = 1 | |
213 | tecks3.BorderSizePixel = 0 | |
214 | tecks3.Text = "" | |
215 | tecks3.Font = "Cartoon" | |
216 | tecks3.TextSize = 30 | |
217 | tecks3.TextStrokeTransparency = 0 | |
218 | tecks3.TextColor3 = Color3.new(.6,0,0) | |
219 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
220 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
221 | tecks2.Text = text | |
222 | tecks3.Text = text | |
223 | wait(5) | |
224 | for i = 1, 50 do | |
225 | wait(0.1) | |
226 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
227 | tecks2.Rotation = tecks2.Rotation - .8 | |
228 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
229 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
230 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
231 | tecks3.Rotation = tecks2.Rotation + .8 | |
232 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
233 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
234 | end | |
235 | naeeym2:Destroy() | |
236 | end) | |
237 | chat() | |
238 | end | |
239 | function onChatted(msg) | |
240 | chatfunc(msg) | |
241 | end | |
242 | Player.Chatted:connect(onChatted) | |
243 | ||
244 | torso = Instance.new("Part") torso.Size = Vector3.new(0,0,0) torso.CanCollide = false | |
245 | torso.Anchored = true | |
246 | local mesh = Instance.new("SpecialMesh",torso) mesh.MeshId = "rbxassetid://1198391230" mesh.TextureId = "rbxassetid://1198391349" mesh.Scale = Vector3.new(0.01,0.01,0.01) | |
247 | ||
248 | arm = Instance.new("Part") arm.Size = Vector3.new(0,0,0) arm.CanCollide = false | |
249 | arm.Anchored = true | |
250 | local mesh = Instance.new("SpecialMesh",arm) mesh.MeshId = "rbxassetid://1198392540" mesh.TextureId = "rbxassetid://1198391349" mesh.Scale = Vector3.new(0.02,0.02,0.02) | |
251 | ||
252 | leg1 = Instance.new("Part") leg1.Size = Vector3.new(0,0,0) leg1.CanCollide = false | |
253 | leg1.Anchored = true | |
254 | local mesh = Instance.new("SpecialMesh",leg1) mesh.MeshId = "rbxassetid://1198394446" mesh.TextureId = "rbxassetid://1198391349" mesh.Scale = Vector3.new(0.01,0.01,0.01) | |
255 | ||
256 | leg2 = Instance.new("Part") leg2.Size = Vector3.new(0,0,0) leg2.CanCollide = false | |
257 | leg2.Anchored = true | |
258 | local mesh = Instance.new("SpecialMesh",leg2) mesh.MeshId = "rbxassetid://1198393506" mesh.TextureId = "rbxassetid://1198391349" mesh.Scale = Vector3.new(0.02,0.02,0.02) | |
259 | ||
260 | headd = Instance.new("Part") headd.Size = Vector3.new(1,1,1) headd.CanCollide = false | |
261 | local mesh = Instance.new("SpecialMesh",headd) mesh.Scale = Vector3.new(1.25,1.25,1.25) mesh.MeshType = Enum.MeshType.Head | |
262 | headd.BrickColor = BrickColor.new("Pastel brown") | |
263 | ||
264 | game:GetService("RunService").RenderStepped:connect(function() | |
265 | for _,grow in pairs(growingList) do | |
266 | local cframe = grow.CFrame | |
267 | grow.Size = grow.Size+Vector3.new(1,1,1) | |
268 | grow.Transparency = grow.Transparency+0.04 | |
269 | end | |
270 | for _,degrow in pairs(degrowingList) do | |
271 | local cframe = degrow.CFrame | |
272 | degrow.Size = degrow.Size-Vector3.new(1,1,1) | |
273 | degrow.Transparency = degrow.Transparency+0.04 | |
274 | end | |
275 | end) | |
276 | ||
277 | ||
278 | ||
279 | ||
280 | Basesong = Instance.new("Sound") | |
281 | ||
282 | hair = Instance.new("Part",game.Players.LocalPlayer.Character) hair.Size = Vector3.new(1,1,1) hair.CanCollide = false | |
283 | ||
284 | beforesong = Basesong:Clone() | |
285 | beforesong.Parent = game.Players.LocalPlayer.Character | |
286 | beforesong.Looped = true | |
287 | beforesong.Volume = 3 | |
288 | beforesong.SoundId = "rbxassetid://1100971847" | |
289 | beforesong:Play() | |
290 | ||
291 | if game.Players.LocalPlayer.Character:FindFirstChild("Body Colors") then | |
292 | game.Players.LocalPlayer.Character["Body Colors"]:remove() | |
293 | end | |
294 | if game.Players.LocalPlayer.Character:FindFirstChild("Shirt Graphic") then | |
295 | game.Players.LocalPlayer.Character["Shirt Graphic"]:remove() | |
296 | end | |
297 | if game.Players.LocalPlayer.Character:FindFirstChild("Shirt") then | |
298 | game.Players.LocalPlayer.Character["Shirt"]:remove() | |
299 | end | |
300 | if game.Players.LocalPlayer.Character:FindFirstChild("Pants") then | |
301 | game.Players.LocalPlayer.Character["Pants"]:remove() | |
302 | end | |
303 | for i=1,5 do | |
304 | wait() | |
305 | for _,hat in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
306 | if hat.ClassName == "Accessory" then | |
307 | hat:remove() | |
308 | end | |
309 | if hat:IsA("BasePart") then | |
310 | hat.BrickColor = BrickColor.new("Pastel brown") | |
311 | end | |
312 | end | |
313 | end | |
314 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 | |
315 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50 | |
316 | ||
317 | ||
318 | Basepart = Instance.new("Part") | |
319 | ||
320 | ||
321 | Baseparticle = Instance.new("ParticleEmitter") | |
322 | Basemesh = Instance.new("SpecialMesh") | |
323 | local mesh = Basemesh:Clone() | |
324 | mesh.Parent = hair | |
325 | mesh.MeshId = "rbxassetid://1143041061" | |
326 | Baseweld = Instance.new("Weld") | |
327 | local weld = Baseweld:Clone() | |
328 | weld.Part0 = hair | |
329 | weld.Part1 = game.Players.LocalPlayer.Character.Head | |
330 | hair.Color = Color3.fromRGB(153, 125, 61) | |
331 | weld.C0 = CFrame.new(0,-0.25,0)*CFrame.Angles(0,math.rad(180),0) | |
332 | weld.Parent = hair | |
333 | ||
334 | shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character) | |
335 | shirt.ShirtTemplate = "rbxassetid://804894303" | |
336 | pants = Instance.new("Pants",game.Players.LocalPlayer.Character) | |
337 | pants.PantsTemplate = "rbxassetid://189943600" | |
338 | ||
339 | game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=1142979747" | |
340 | wait(1) | |
341 | ||
342 | ||
343 | local punched1 = true | |
344 | local punched2 = false | |
345 | local punched3 = false | |
346 | local punched4 = false | |
347 | local beamgo4 = 2.2 | |
348 | local beamgo3 = 1 | |
349 | local trans = 1 | |
350 | local ssj1 = false | |
351 | local ssj2 = false | |
352 | local transforming1 = false | |
353 | local transforming2 = false | |
354 | local transforming3 = false | |
355 | local transforming4 = false | |
356 | local onaura = true | |
357 | local num = 0 | |
358 | local enabled = true | |
359 | local beamgo = 2.2 | |
360 | local beamgo1 = 1 | |
361 | local p = owner | |
362 | local char = p.Character | |
363 | local mouse = p:GetMouse() | |
364 | local larm = char["Left Arm"] | |
365 | local rarm = char["Right Arm"] | |
366 | local lleg = char["Left Leg"] | |
367 | local rleg = char["Right Leg"] | |
368 | local hed = char.Head | |
369 | local torso = char.Torso | |
370 | local hum = char.Humanoid | |
371 | local root = char.HumanoidRootPart | |
372 | local canattack = true | |
373 | local canwalk = true | |
374 | local canwalk1 = true | |
375 | local canidle = true | |
376 | local rs = game:GetService("RunService").RenderStepped | |
377 | local new = Instance.new | |
378 | local v3 = Vector3.new | |
379 | local ns = NumberSequence.new | |
380 | local nr = NumberRange.new | |
381 | local bc = BrickColor.new | |
382 | local cf = CFrame.new | |
383 | local cfa = CFrame.Angles | |
384 | local rad = math.rad | |
385 | local startk = false | |
386 | local beam1 = false | |
387 | local beam2 = false | |
388 | local powering = false | |
389 | stop = false | |
390 | local start = false | |
391 | Mrandom = math.random | |
392 | local DebrisModel = Instance.new("Model",char) | |
393 | DebrisModel.Name = "Debris" | |
394 | C3 = Color3.new | |
395 | local base = true | |
396 | local super = false | |
397 | local super2 = false | |
398 | local super3 = false | |
399 | local god = false | |
400 | local blue = false | |
401 | local slow = false | |
402 | local ui = false | |
403 | local kaioken = false | |
404 | local dodge = false | |
405 | local transformed = false | |
406 | local muiable = false | |
407 | cooldown = true | |
408 | canfly = false | |
409 | ||
410 | -- Scripts | |
411 | -- Objects | |
412 | ||
413 | local HealthGUI = Instance.new("ScreenGui") | |
414 | local TextLabel = Instance.new("TextLabel") | |
415 | local Frame2 = Instance.new("Frame") | |
416 | local Slot2 = Instance.new("TextLabel") | |
417 | local Slot3 = Instance.new("TextLabel") | |
418 | local Slot4 = Instance.new("TextLabel") | |
419 | local Slot5 = Instance.new("TextLabel") | |
420 | local Slot6 = Instance.new("TextLabel") | |
421 | local Slot7 = Instance.new("TextLabel") | |
422 | local Slot8 = Instance.new("TextLabel") | |
423 | local Slot9 = Instance.new("TextLabel") | |
424 | local Slot10 = Instance.new("TextLabel") | |
425 | local Slot11 = Instance.new("TextLabel") | |
426 | local Slot12 = Instance.new("TextLabel") | |
427 | ||
428 | -- Properties | |
429 | PlayerGui = p.PlayerGui | |
430 | HealthGUI.Name = "HealthGUI" | |
431 | HealthGUI = Instance.new("ScreenGui", PlayerGui) | |
432 | ||
433 | TextLabel.Parent = HealthGUI | |
434 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
435 | TextLabel.BackgroundTransparency = 1 | |
436 | TextLabel.Position = UDim2.new(0, 0, 0.959999979, 0) | |
437 | TextLabel.Size = UDim2.new(0.0900000036, 0, 0.0500000007, 0) | |
438 | TextLabel.ZIndex = 3 | |
439 | TextLabel.Font = Enum.Font.Cartoon | |
440 | TextLabel.Text = "[H] Flight" | |
441 | TextLabel.TextColor3 = Color3.new(0, 0, 0) | |
442 | TextLabel.TextScaled = true | |
443 | TextLabel.TextSize = 10 | |
444 | TextLabel.TextStrokeColor3 = Color3.new(1, 0.294118, 0.294118) | |
445 | TextLabel.TextStrokeTransparency = 0 | |
446 | TextLabel.TextWrapped = true | |
447 | ||
448 | Frame2.Name = "Frame2" | |
449 | Frame2.Parent = HealthGUI | |
450 | Frame2.BackgroundColor3 = Color3.new(1, 1, 1) | |
451 | Frame2.BackgroundTransparency = 1 | |
452 | Frame2.Position = UDim2.new(-0.00146412884, 0, 0.00607902743, 0) | |
453 | Frame2.Size = UDim2.new(0.5, 0, 0.5, 0) | |
454 | ||
455 | Slot2.Name = "Slot2" | |
456 | Slot2.Parent = Frame2 | |
457 | Slot2.BackgroundColor3 = Color3.new(1, 1, 1) | |
458 | Slot2.BackgroundTransparency = 1 | |
459 | Slot2.Position = UDim2.new(1.72187495, 0, 1.34546447, 0) | |
460 | Slot2.Rotation = -1 | |
461 | Slot2.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
462 | Slot2.Font = Enum.Font.ArialBold | |
463 | Slot2.Text = "[U] UI" | |
464 | Slot2.TextColor3 = Color3.new(1, 1, 1) | |
465 | Slot2.TextScaled = true | |
466 | Slot2.TextSize = 30 | |
467 | Slot2.TextStrokeColor3 = Color3.new(0, 0.333333, 1) | |
468 | Slot2.TextStrokeTransparency = 0 | |
469 | Slot2.TextWrapped = true | |
470 | ||
471 | Slot3.Name = "Slot3" | |
472 | Slot3.Parent = Frame2 | |
473 | Slot3.BackgroundColor3 = Color3.new(1, 1, 1) | |
474 | Slot3.BackgroundTransparency = 1 | |
475 | Slot3.Position = UDim2.new(1.722, 0, 1.20500004, 0) | |
476 | Slot3.Rotation = -1 | |
477 | Slot3.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
478 | Slot3.Font = Enum.Font.ArialBold | |
479 | Slot3.Text = "[Y] MUI" | |
480 | Slot3.TextColor3 = Color3.new(1, 1, 1) | |
481 | Slot3.TextScaled = true | |
482 | Slot3.TextSize = 100 | |
483 | Slot3.TextStrokeColor3 = Color3.new(0, 0.333333, 1) | |
484 | Slot3.TextStrokeTransparency = 0 | |
485 | Slot3.TextWrapped = true | |
486 | ||
487 | Slot4.Name = "Slot4" | |
488 | Slot4.Parent = Frame2 | |
489 | Slot4.BackgroundColor3 = Color3.new(1, 1, 1) | |
490 | Slot4.BackgroundTransparency = 1 | |
491 | Slot4.Position = UDim2.new(1.722, 0, 1.10500002, 0) | |
492 | Slot4.Rotation = -1 | |
493 | Slot4.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
494 | Slot4.Font = Enum.Font.ArialBold | |
495 | Slot4.Text = "[P] Energy Charge" | |
496 | Slot4.TextColor3 = Color3.new(1, 1, 1) | |
497 | Slot4.TextScaled = true | |
498 | Slot4.TextSize = 100 | |
499 | Slot4.TextStrokeColor3 = Color3.new(0, 0.333333, 1) | |
500 | Slot4.TextStrokeTransparency = 0 | |
501 | Slot4.TextWrapped = true | |
502 | ||
503 | Slot5.Name = "Slot5" | |
504 | Slot5.Parent = Frame2 | |
505 | Slot5.BackgroundColor3 = Color3.new(1, 1, 1) | |
506 | Slot5.BackgroundTransparency = 1 | |
507 | Slot5.Position = UDim2.new(1.722, 0, 1.005, 0) | |
508 | Slot5.Rotation = -1 | |
509 | Slot5.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
510 | Slot5.Font = Enum.Font.ArialBold | |
511 | Slot5.Text = "[Q] Kamehameha" | |
512 | Slot5.TextColor3 = Color3.new(1, 1, 1) | |
513 | Slot5.TextScaled = true | |
514 | Slot5.TextSize = 100 | |
515 | Slot5.TextStrokeColor3 = Color3.new(0, 1, 1) | |
516 | Slot5.TextStrokeTransparency = 0 | |
517 | Slot5.TextWrapped = true | |
518 | ||
519 | Slot6.Name = "Slot6" | |
520 | Slot6.Parent = Frame2 | |
521 | Slot6.BackgroundColor3 = Color3.new(1, 1, 1) | |
522 | Slot6.BackgroundTransparency = 1 | |
523 | Slot6.Position = UDim2.new(1.722, 0, 1.505, 0) | |
524 | Slot6.Rotation = -1 | |
525 | Slot6.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
526 | Slot6.Font = Enum.Font.ArialBold | |
527 | Slot6.Text = "[R] Guard" | |
528 | Slot6.TextColor3 = Color3.new(1, 1, 1) | |
529 | Slot6.TextScaled = true | |
530 | Slot6.TextSize = 100 | |
531 | Slot6.TextStrokeColor3 = Color3.new(1, 0, 0) | |
532 | Slot6.TextStrokeTransparency = 0 | |
533 | Slot6.TextWrapped = true | |
534 | ||
535 | Slot7.Name = "Slot7" | |
536 | Slot7.Parent = Frame2 | |
537 | Slot7.BackgroundColor3 = Color3.new(1, 1, 1) | |
538 | Slot7.BackgroundTransparency = 1 | |
539 | Slot7.Position = UDim2.new(1.722, 0, 1.60500002, 0) | |
540 | Slot7.Rotation = -1 | |
541 | Slot7.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
542 | Slot7.Font = Enum.Font.ArialBold | |
543 | Slot7.Text = "[E] Combat" | |
544 | Slot7.TextColor3 = Color3.new(1, 1, 1) | |
545 | Slot7.TextScaled = true | |
546 | Slot7.TextSize = 100 | |
547 | Slot7.TextStrokeColor3 = Color3.new(1, 0, 0) | |
548 | Slot7.TextStrokeTransparency = 0 | |
549 | Slot7.TextWrapped = true | |
550 | ||
551 | Slot8.Name = "Slot8" | |
552 | Slot8.Parent = Frame2 | |
553 | Slot8.BackgroundColor3 = Color3.new(1, 1, 1) | |
554 | Slot8.BackgroundTransparency = 1 | |
555 | Slot8.Position = UDim2.new(1.722, 0, 1.70500004, 0) | |
556 | Slot8.Rotation = -1 | |
557 | Slot8.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
558 | Slot8.Font = Enum.Font.ArialBold | |
559 | Slot8.Text = "[X] Super God Fist" | |
560 | Slot8.TextColor3 = Color3.new(1, 1, 1) | |
561 | Slot8.TextScaled = true | |
562 | Slot8.TextSize = 100 | |
563 | Slot8.TextStrokeColor3 = Color3.new(1, 0.333333, 0) | |
564 | Slot8.TextStrokeTransparency = 0 | |
565 | Slot8.TextWrapped = true | |
566 | ||
567 | Slot9.Name = "Slot9" | |
568 | Slot9.Parent = Frame2 | |
569 | Slot9.BackgroundColor3 = Color3.new(1, 1, 1) | |
570 | Slot9.BackgroundTransparency = 1 | |
571 | Slot9.Position = UDim2.new(1.722, 0, 1.80499995, 0) | |
572 | Slot9.Rotation = -1 | |
573 | Slot9.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
574 | Slot9.Font = Enum.Font.ArialBold | |
575 | Slot9.Text = "[V] Grab" | |
576 | Slot9.TextColor3 = Color3.new(1, 1, 1) | |
577 | Slot9.TextScaled = true | |
578 | Slot9.TextSize = 100 | |
579 | Slot9.TextStrokeColor3 = Color3.new(1, 0, 0) | |
580 | Slot9.TextStrokeTransparency = 0 | |
581 | Slot9.TextWrapped = true | |
582 | ||
583 | Slot10.Name = "Slot10" | |
584 | Slot10.Parent = Frame2 | |
585 | Slot10.BackgroundColor3 = Color3.new(1, 1, 1) | |
586 | Slot10.BackgroundTransparency = 1 | |
587 | Slot10.Position = UDim2.new(1.722, 0, 0.704999983, 0) | |
588 | Slot10.Rotation = -1 | |
589 | Slot10.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
590 | Slot10.Font = Enum.Font.ArialBold | |
591 | Slot10.Text = "[3] Z-Vanish" | |
592 | Slot10.TextColor3 = Color3.new(1, 1, 1) | |
593 | Slot10.TextScaled = true | |
594 | Slot10.TextSize = 100 | |
595 | Slot10.TextStrokeTransparency = 0 | |
596 | Slot10.TextWrapped = true | |
597 | ||
598 | Slot11.Name = "Slot 11" | |
599 | Slot11.Parent = Frame2 | |
600 | Slot11.BackgroundColor3 = Color3.new(1, 1, 1) | |
601 | Slot11.BackgroundTransparency = 1 | |
602 | Slot11.Position = UDim2.new(1.62199998, 0, 0.104999997, 0) | |
603 | Slot11.Rotation = -1 | |
604 | Slot11.Size = UDim2.new(0.308999985, 0, 0.164000005, 0) | |
605 | Slot11.Font = Enum.Font.ArialBold | |
606 | Slot11.Text = "UI Avatar made by venturiansonic" | |
607 | Slot11.TextColor3 = Color3.new(0, 1, 1) | |
608 | Slot11.TextScaled = true | |
609 | Slot11.TextSize = 100 | |
610 | Slot11.TextStrokeColor3 = Color3.new(0, 0, 1) | |
611 | Slot11.TextStrokeTransparency = 0.89999997615814 | |
612 | Slot11.TextTransparency = 0.89999997615814 | |
613 | Slot11.TextWrapped = true | |
614 | ||
615 | Slot12.Name = "Slot12" | |
616 | Slot12.Parent = Frame2 | |
617 | Slot12.BackgroundColor3 = Color3.new(1, 1, 1) | |
618 | Slot12.BackgroundTransparency = 1 | |
619 | Slot12.Position = UDim2.new(1.62199998, 0, 0.305000007, 0) | |
620 | Slot12.Rotation = -1 | |
621 | Slot12.Size = UDim2.new(0.308999985, 0, 0.164000005, 0) | |
622 | Slot12.Font = Enum.Font.ArialBold | |
623 | Slot12.Text = " venturiansonic#3801" | |
624 | Slot12.TextColor3 = Color3.new(0, 1, 1) | |
625 | Slot12.TextScaled = true | |
626 | Slot12.TextSize = 100 | |
627 | Slot12.TextStrokeColor3 = Color3.new(1, 0, 0) | |
628 | Slot12.TextStrokeTransparency = 0.89999997615814 | |
629 | Slot12.TextTransparency = 0.89999997615814 | |
630 | Slot12.TextWrapped = true | |
631 | ||
632 | ||
633 | ----------------------------------- | |
634 | --god/health | |
635 | hum:SetStateEnabled("Dead",false) | |
636 | hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
637 | Instance.new("ForceField",char).Visible = false | |
638 | hum.MaxHealth = 100000 | |
639 | hum.Health = 100000 | |
640 | ||
641 | ||
642 | ----------------------------------- | |
643 | function Lerp(c1,c2,al) | |
644 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
645 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
646 | for i,v in pairs(com1) do | |
647 | com1[i] = v+(com2[i]-v)*al | |
648 | end | |
649 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
650 | end | |
651 | ---------------------------------------------------------------------------------------------------- | |
652 | local maincolor = BrickColor.new("Cyan") | |
653 | function Eviscerate(dude) | |
654 | if dude.Name ~= char then | |
655 | local bgf = Instance.new("BodyGyro", dude.Head) | |
656 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(rad(-90), 0, 0) | |
657 | local val = Instance.new("BoolValue", dude) | |
658 | val.Name = "IsHit" | |
659 | local ds = coroutine.wrap(function() | |
660 | dude:WaitForChild("Head"):BreakJoints() | |
661 | ||
662 | ||
663 | coroutine.resume(coroutine.create(function() | |
664 | for i, v in pairs(dude:GetChildren()) do | |
665 | if v:IsA("Accessory") then | |
666 | v:Destroy() | |
667 | end | |
668 | if v:IsA("Humanoid") then | |
669 | v:Destroy() | |
670 | end | |
671 | if v:IsA("CharacterMesh") then | |
672 | v:Destroy() | |
673 | end | |
674 | if v:IsA("Model") then | |
675 | v:Destroy() | |
676 | end | |
677 | if v:IsA("Part") or v:IsA("MeshPart") then | |
678 | for x, o in pairs(v:GetChildren()) do | |
679 | if o:IsA("Decal") then | |
680 | o:Destroy() | |
681 | end | |
682 | end | |
683 | coroutine.resume(coroutine.create(function() | |
684 | v.Material = "Neon" | |
685 | v.CanCollide = false | |
686 | local PartEmmit1 = Instance.new("ParticleEmitter", v) | |
687 | PartEmmit1.LightEmission = 1 | |
688 | PartEmmit1.Texture = "rbxassetid://284205403" | |
689 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
690 | PartEmmit1.Rate = 150 | |
691 | PartEmmit1.Lifetime = NumberRange.new(1) | |
692 | PartEmmit1.Size = NumberSequence.new({ | |
693 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
694 | NumberSequenceKeypoint.new(1, 0, 0) | |
695 | }) | |
696 | PartEmmit1.Transparency = NumberSequence.new({ | |
697 | NumberSequenceKeypoint.new(0, 0, 0), | |
698 | NumberSequenceKeypoint.new(1, 1, 0) | |
699 | }) | |
700 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
701 | PartEmmit1.VelocitySpread = 30000 | |
702 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
703 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
704 | local BodPoss = Instance.new("BodyPosition", v) | |
705 | BodPoss.P = 3000 | |
706 | BodPoss.D = 1000 | |
707 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
708 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
709 | v.Color = maincolor.Color | |
710 | coroutine.resume(coroutine.create(function() | |
711 | for i = 0, 49 do | |
712 | swait(1) | |
713 | v.Transparency = v.Transparency + 0.08 | |
714 | end | |
715 | wait(0.5) | |
716 | PartEmmit1.Enabled = false | |
717 | wait(3) | |
718 | v:Destroy() | |
719 | dude:Destroy() | |
720 | end)) | |
721 | end)) | |
722 | end | |
723 | end | |
724 | end)) | |
725 | end) | |
726 | ds() | |
727 | end | |
728 | end | |
729 | ---------------------------------------------------------------------------------------------------- | |
730 | --Hair | |
731 | ||
732 | a8 = new("Part",char) | |
733 | a8.Name = "Hair" | |
734 | a8.Size = v3(2.92, 2.58, 2.72) | |
735 | a8.BrickColor = bc("Really black") | |
736 | a8.Material = "Neon" | |
737 | a8.Transparency = 1 | |
738 | aa8 = new("SpecialMesh",a8) | |
739 | aa8.MeshType = "FileMesh" | |
740 | aa8.Scale = v3(7.3,7.3,7.3) | |
741 | aa8.MeshId = "rbxassetid://455100513" | |
742 | aaa8 =new("Weld",a8) | |
743 | aaa8.Part0 = hed | |
744 | aaa8.Part1 = a8 | |
745 | aaa8.C0 = cf(-0.15,.9,-0.1) * cfa(rad(0),rad(0),rad(0)) | |
746 | ||
747 | ||
748 | ||
749 | ||
750 | ||
751 | ||
752 | Lightning = function(Start,End,Times,Offset,Color,Thickness) | |
753 | ||
754 | ||
755 | ||
756 | ||
757 | local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset} | |
758 | ||
759 | ||
760 | ||
761 | ||
762 | for i=1,Times do | |
763 | ||
764 | ||
765 | ||
766 | ||
767 | local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true | |
768 | ||
769 | ||
770 | ||
771 | ||
772 | li.Material = "Neon" | |
773 | ||
774 | ||
775 | ||
776 | ||
777 | ||
778 | ||
779 | ||
780 | ||
781 | ||
782 | ||
783 | ||
784 | ||
785 | ||
786 | li.Transparency = 0 li.BrickColor = Color | |
787 | ||
788 | ||
789 | ||
790 | ||
791 | li.formFactor = "Custom" li.CanCollide = false | |
792 | ||
793 | ||
794 | ||
795 | ||
796 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
797 | ||
798 | ||
799 | ||
800 | ||
801 | local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
802 | ||
803 | ||
804 | ||
805 | ||
806 | local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz | |
807 | ||
808 | ||
809 | ||
810 | ||
811 | if Times == i then | |
812 | ||
813 | ||
814 | ||
815 | ||
816 | local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2) | |
817 | ||
818 | ||
819 | ||
820 | ||
821 | li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2) | |
822 | ||
823 | ||
824 | ||
825 | ||
826 | else | |
827 | ||
828 | ||
829 | ||
830 | ||
831 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
832 | ||
833 | ||
834 | ||
835 | ||
836 | end | |
837 | ||
838 | ||
839 | ||
840 | ||
841 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p Spawn(function() for i=1,10 do wait() | |
842 | ||
843 | ||
844 | ||
845 | ||
846 | ||
847 | ||
848 | ||
849 | ||
850 | ||
851 | ||
852 | ||
853 | ||
854 | ||
855 | li.Transparency = li.Transparency+tra end li:Destroy() end) | |
856 | ||
857 | ||
858 | ||
859 | ||
860 | end | |
861 | ||
862 | ||
863 | ||
864 | ||
865 | end | |
866 | ||
867 | ||
868 | - | --Clothes |
868 | + | |
869 | - | if char.Shirt == nil then |
869 | + | |
870 | - | Instance.new("Shirt",char) |
870 | + | |
871 | --Sounds | |
872 | - | if char.Pants == nil then |
872 | + | |
873 | - | Instance.new("Pants",char) |
873 | + | |
874 | soundfolder.Name = "Sound Folder" | |
875 | --Sounds | |
876 | kamecharge = Instance.new("Sound",torso) | |
877 | - | local instinct = false |
877 | + | |
878 | kamecharge.Name = "kamecharge" | |
879 | kamecharge.Looped = false | |
880 | kamecharge.SoundId = "rbxassetid://908489666" | |
881 | kamefire = Instance.new("Sound",torso) | |
882 | kamefire.Volume = 1 | |
883 | kamefire.Name = "kamefire" | |
884 | kamefire.Looped = false | |
885 | kamefire.SoundId = "rbxassetid://908474188" | |
886 | kamehit = Instance.new("Sound",torso) | |
887 | kamehit.Volume = 30 | |
888 | kamehit.Name = "kamehit" | |
889 | kamehit.Looped = false | |
890 | kamehit.SoundId = "rbxassetid://908484148" | |
891 | ssjaura = Instance.new("Sound",torso) | |
892 | ssjaura.Volume = 10 | |
893 | ssjaura.Name = "ssjaura" | |
894 | ssjaura.Looped = true | |
895 | ssjaura.SoundId = "rbxassetid://891397456" | |
896 | ssjauraburst = Instance.new("Sound",torso) | |
897 | ssjauraburst.Volume = math.huge | |
898 | ssjauraburst.Name = "ssjauraburst" | |
899 | ssjauraburst.Looped =false | |
900 | ssjauraburst.SoundId = "rbxassetid://437393965" | |
901 | ssjmusic = Instance.new("Sound",torso) | |
902 | ssjmusic.Volume = 10 | |
903 | ssjmusic.Name = "ssjmusic" | |
904 | ssjmusic.Looped = true | |
905 | ssjmusic.SoundId = "rbxassetid://194135434" | |
906 | ssj2music = Instance.new("Sound",torso) | |
907 | ssj2music.Volume = 10 | |
908 | ssj2music.Name = "ssj2music" | |
909 | ssj2music.Looped = true | |
910 | ssj2music.SoundId = "rbxassetid://144377132" | |
911 | ssj2aura = Instance.new("Sound",torso) | |
912 | ssj2aura.Volume = 10 | |
913 | ssj2aura.Name = "ssj2aura" | |
914 | ssj2aura.Looped = true | |
915 | ssj2aura.SoundId = "rbxassetid://262498455" | |
916 | ||
917 | fahersonstart = Instance.new("Sound",torso) | |
918 | fahersonstart.Volume = math.huge | |
919 | fahersonstart.Name = "fahersonstart" | |
920 | fahersonstart.Looped = false | |
921 | fahersonstart.SoundId = "rbxassetid://958391048" | |
922 | fahersonend = Instance.new("Sound",torso) | |
923 | fahersonend.Volume = math.huge | |
924 | fahersonend.Name = "fahersonend" | |
925 | fahersonend.Looped = false | |
926 | fahersonend.SoundId = "rbxassetid://958391222" | |
927 | punchsound = Instance.new("Sound",torso) | |
928 | punchsound.Volume = 10 | |
929 | punchsound.Name = "punchsound" | |
930 | punchsound.Looped = false | |
931 | punchsound.SoundId = "rbxassetid://896246498" | |
932 | punchsound1 = Instance.new("Sound",torso) | |
933 | punchsound1.Volume = 10 | |
934 | punchsound1.Name = "punchsound1" | |
935 | punchsound1.Looped = false | |
936 | punchsound1.SoundId = "rbxassetid://137579113" | |
937 | ||
938 | ||
939 | ||
940 | ||
941 | ||
942 | NewInstance = function(instance,parent,properties) | |
943 | local inst = Instance.new(instance) | |
944 | inst.Parent = parent | |
945 | if(properties)then | |
946 | for i,v in next, properties do | |
947 | pcall(function() inst[i] = v end) | |
948 | end | |
949 | end | |
950 | return inst; | |
951 | end | |
952 | ||
953 | ||
954 | ||
955 | ||
956 | ||
957 | ---------------------------------------------------- | |
958 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
959 | local wld = Instance.new("Weld", wp1) | |
960 | wld.Part0 = wp0 | |
961 | wld.Part1 = wp1 | |
962 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
963 | end | |
964 | newWeld(torso, larm, -1.5, 0.5, 0) | |
965 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
966 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
967 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
968 | newWeld(torso, hed, 0, 1.5, 0) | |
969 | newWeld(torso, lleg, -0.5, -1, 0) | |
970 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
971 | newWeld(torso, rleg, 0.5, -1, 0) | |
972 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
973 | newWeld(root, torso, 0, -1, 0) | |
974 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
975 | --Animations | |
976 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
977 | ||
978 | ||
979 | hum.WalkSpeed = 20 | |
980 | ||
981 | ||
982 | ||
983 | ||
984 | ||
985 | ||
986 | ||
987 | ||
988 | ||
989 | ||
990 | ||
991 | ||
992 | ||
993 | ||
994 | ||
995 | ||
996 | ||
997 | ||
998 | ||
999 | ||
1000 | function firsthit() | |
1001 | local SFXZ = Instance.new("Sound",torso) | |
1002 | SFXZ.SoundId = "rbxassetid://169259383" | |
1003 | SFXZ.Volume = 1 | |
1004 | SFXZ.Pitch = 1.5 | |
1005 | SFXZ.Looped = false | |
1006 | wait(0.01) | |
1007 | SFXZ:Play() | |
1008 | ||
1009 | for i = 1,5 do | |
1010 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
1011 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(0)), .5)--torso | |
1012 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(20)), .5)--arm | |
1013 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm | |
1014 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
1015 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
1016 | wait() | |
1017 | end | |
1018 | ||
1019 | ||
1020 | ag = new("Part",char) | |
1021 | ag.Name = "NewPart" | |
1022 | ag.Size = v3(2,2,2) | |
1023 | ag.CanCollide = false | |
1024 | ag.Position = v3(999,999,999) | |
1025 | ag.BrickColor = bc("Color") | |
1026 | ag.Material = "Neon" | |
1027 | ag.Transparency = 1 | |
1028 | aaag =new("Weld",ag) | |
1029 | aaag.Part0 = rarm | |
1030 | aaag.Part1 = ag | |
1031 | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
1032 | ||
1033 | ||
1034 | ag.Touched:connect(function(hit) | |
1035 | for i,v in pairs(hit.Parent:GetChildren()) do | |
1036 | if v:IsA("Humanoid") then | |
1037 | ag.TouchInterest:Destroy() | |
1038 | if ssj1 == false and ssj2 == false then | |
1039 | v.Health = v.Health - 40 | |
1040 | end | |
1041 | if blue == true and ssj2 == true then | |
1042 | v.Health = v.Health - 1500 | |
1043 | end | |
1044 | if ui == true then | |
1045 | v.Health = v.Health - 3000000000000000000000000000000 | |
1046 | end | |
1047 | ||
1048 | local Cloud3 = Instance.new("Part",char) | |
1049 | Cloud3.Size = Vector3.new(1,1,1) | |
1050 | Cloud3.BrickColor = BrickColor.new("Medium stone grey") | |
1051 | Cloud3.Anchored = true | |
1052 | Cloud3.Material = "Neon" | |
1053 | Cloud3.CanCollide = false | |
1054 | Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
1055 | local Cloud4 = Instance.new("SpecialMesh",Cloud3) | |
1056 | Cloud4.MeshId = "rbxassetid://3270017" | |
1057 | Cloud4.Scale = Vector3.new(1,1,0.4) | |
1058 | ||
1059 | ||
1060 | ||
1061 | coroutine.resume(coroutine.create(function() | |
1062 | for i = 3,650 do | |
1063 | ||
1064 | ||
1065 | ||
1066 | ||
1067 | Cloud3.Transparency = Cloud3.Transparency + 0.03 | |
1068 | Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2) | |
1069 | ||
1070 | ||
1071 | ||
1072 | ||
1073 | wait(0.00000000001) | |
1074 | end | |
1075 | end)) | |
1076 | local SFXZ = Instance.new("Sound",hed) | |
1077 | SFXZ.SoundId = "rbxassetid://260430060" | |
1078 | SFXZ.Volume = 1 | |
1079 | SFXZ.Pitch = 1 | |
1080 | SFXZ.Looped = false | |
1081 | wait(0.01) | |
1082 | SFXZ:Play() | |
1083 | ||
1084 | ||
1085 | end | |
1086 | end | |
1087 | end) | |
1088 | ||
1089 | ||
1090 | ||
1091 | ||
1092 | for i= 1,5 do | |
1093 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
1094 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(50), math.rad(0)), .5)--torso | |
1095 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.8)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), .5)--arm | |
1096 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), .5)--arm | |
1097 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .5)--leg | |
1098 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
1099 | wait() | |
1100 | end | |
1101 | ag:Destroy() | |
1102 | end | |
1103 | function secondhit() | |
1104 | ||
1105 | local SFXZ = Instance.new("Sound",torso) | |
1106 | SFXZ.SoundId = "rbxassetid://169259383" | |
1107 | SFXZ.Volume = 1 | |
1108 | SFXZ.Pitch = 1.5 | |
1109 | SFXZ.Looped = false | |
1110 | wait(0.01) | |
1111 | SFXZ:Play() | |
1112 | ||
1113 | for i = 1,5 do | |
1114 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
1115 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(0)), .5)--torso | |
1116 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm | |
1117 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), .5)--arm | |
1118 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
1119 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
1120 | wait() | |
1121 | end | |
1122 | ||
1123 | ||
1124 | ||
1125 | ag = new("Part",char) | |
1126 | ag.Name = "NewPart" | |
1127 | ag.Size = v3(2,2,2) | |
1128 | ag.CanCollide = false | |
1129 | ag.Position = v3(999,999,999) | |
1130 | ag.BrickColor = bc("Color") | |
1131 | ag.Material = "Neon" | |
1132 | ag.Transparency = 1 | |
1133 | aaag =new("Weld",ag) | |
1134 | aaag.Part0 = larm | |
1135 | aaag.Part1 = ag | |
1136 | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
1137 | ||
1138 | ||
1139 | ||
1140 | ag.Touched:connect(function(hit) | |
1141 | for i,v in pairs(hit.Parent:GetChildren()) do | |
1142 | if v:IsA("Humanoid") then | |
1143 | ag.TouchInterest:Destroy() | |
1144 | if ssj1 == false and ssj2 == false then | |
1145 | v.Health = v.Health - 100 | |
1146 | end | |
1147 | if blue == true and ssj2 == false then | |
1148 | v.Health = v.Health - 1500 | |
1149 | end | |
1150 | if ui == true then | |
1151 | v.Health = v.Health - 3000000000000000000000000000000 | |
1152 | end | |
1153 | local Cloud3 = Instance.new("Part",char) | |
1154 | Cloud3.Size = Vector3.new(1,1,1) | |
1155 | Cloud3.BrickColor = BrickColor.new("Medium stone grey") | |
1156 | Cloud3.Anchored = true | |
1157 | Cloud3.Material = "Neon" | |
1158 | Cloud3.CanCollide = false | |
1159 | Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
1160 | local Cloud4 = Instance.new("SpecialMesh",Cloud3) | |
1161 | Cloud4.MeshId = "rbxassetid://3270017" | |
1162 | Cloud4.Scale = Vector3.new(1,1,0.4) | |
1163 | ||
1164 | ||
1165 | ||
1166 | coroutine.resume(coroutine.create(function() | |
1167 | for i = 3,650 do | |
1168 | ||
1169 | ||
1170 | ||
1171 | ||
1172 | Cloud3.Transparency = Cloud3.Transparency + 0.03 | |
1173 | Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2) | |
1174 | ||
1175 | ||
1176 | ||
1177 | ||
1178 | wait(0.00000000001) | |
1179 | end | |
1180 | end)) | |
1181 | local SFXZ = Instance.new("Sound",hed) | |
1182 | SFXZ.SoundId = "rbxassetid://260430060" | |
1183 | SFXZ.Volume = 1 | |
1184 | SFXZ.Pitch = 1.1 | |
1185 | SFXZ.Looped = false | |
1186 | wait(0.01) | |
1187 | SFXZ:Play() | |
1188 | ||
1189 | ||
1190 | end | |
1191 | end | |
1192 | end) | |
1193 | ||
1194 | ||
1195 | ||
1196 | ||
1197 | ||
1198 | ||
1199 | ||
1200 | ||
1201 | for i= 1,5 do | |
1202 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
1203 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso | |
1204 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm | |
1205 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm | |
1206 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg | |
1207 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg | |
1208 | wait() | |
1209 | end | |
1210 | ag:Destroy() | |
1211 | end | |
1212 | function thirdhit() | |
1213 | local SFXZ = Instance.new("Sound",torso) | |
1214 | SFXZ.SoundId = "rbxassetid://169259383" | |
1215 | SFXZ.Volume = 1 | |
1216 | SFXZ.Pitch = 1.5 | |
1217 | SFXZ.Looped = false | |
1218 | wait(0.01) | |
1219 | SFXZ:Play() | |
1220 | ||
1221 | for i = 1,5 do | |
1222 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
1223 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-60), math.rad(0)), .5)--torso | |
1224 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), .5)--arm | |
1225 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm | |
1226 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
1227 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
1228 | wait() | |
1229 | end | |
1230 | ||
1231 | ||
1232 | ag = new("Part",char) | |
1233 | ag.Name = "NewPart" | |
1234 | ag.Size = v3(2,2,2) | |
1235 | ag.CanCollide = false | |
1236 | ag.Position = v3(999,999,999) | |
1237 | ag.BrickColor = bc("Color") | |
1238 | ag.Material = "Neon" | |
1239 | ag.Transparency = 1 | |
1240 | aaag =new("Weld",ag) | |
1241 | aaag.Part0 = rleg | |
1242 | aaag.Part1 = ag | |
1243 | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
1244 | ||
1245 | ||
1246 | ||
1247 | ag.Touched:connect(function(hit) | |
1248 | for i,v in pairs(hit.Parent:GetChildren()) do | |
1249 | if v:IsA("Humanoid") then | |
1250 | ag.TouchInterest:Destroy() | |
1251 | if ssj1 == false and ssj2 == false then | |
1252 | v.Health = v.Health - 30 | |
1253 | end | |
1254 | if blue == true and ssj2 == false then | |
1255 | v.Health = v.Health - 5500 | |
1256 | end | |
1257 | if ui == true then | |
1258 | v.Health = v.Health - 3000000000000000000000000000000 | |
1259 | end | |
1260 | ||
1261 | local Cloud3 = Instance.new("Part",char) | |
1262 | Cloud3.Size = Vector3.new(1,1,1) | |
1263 | Cloud3.BrickColor = BrickColor.new("Medium stone grey") | |
1264 | Cloud3.Anchored = true | |
1265 | Cloud3.Material = "Neon" | |
1266 | Cloud3.CanCollide = false | |
1267 | Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
1268 | local Cloud4 = Instance.new("SpecialMesh",Cloud3) | |
1269 | Cloud4.MeshId = "rbxassetid://3270017" | |
1270 | Cloud4.Scale = Vector3.new(1,1,0.4) | |
1271 | ||
1272 | ||
1273 | ||
1274 | coroutine.resume(coroutine.create(function() | |
1275 | for i = 3,650 do | |
1276 | ||
1277 | ||
1278 | ||
1279 | ||
1280 | Cloud3.Transparency = Cloud3.Transparency + 0.03 | |
1281 | Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2) | |
1282 | ||
1283 | ||
1284 | ||
1285 | ||
1286 | wait(0.00000000001) | |
1287 | end | |
1288 | end)) | |
1289 | local SFXZ = Instance.new("Sound",hed) | |
1290 | SFXZ.SoundId = "rbxassetid://260430060" | |
1291 | SFXZ.Volume = 1 | |
1292 | SFXZ.Pitch = 0.96 | |
1293 | SFXZ.Looped = false | |
1294 | wait(0.01) | |
1295 | SFXZ:Play() | |
1296 | ||
1297 | ||
1298 | end | |
1299 | end | |
1300 | end) | |
1301 | ||
1302 | ||
1303 | ||
1304 | ||
1305 | ||
1306 | ||
1307 | ||
1308 | ||
1309 | ||
1310 | ||
1311 | ||
1312 | ||
1313 | ||
1314 | ||
1315 | ||
1316 | ||
1317 | ||
1318 | for i = 1,5 do | |
1319 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
1320 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(50), math.rad(0)), .5)--torso | |
1321 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), .5)--arm | |
1322 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm | |
1323 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
1324 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(120), math.rad(20), math.rad(-30)),.5)--leg | |
1325 | wait() | |
1326 | end | |
1327 | ag:Destroy() | |
1328 | end | |
1329 | function lasthit() | |
1330 | ||
1331 | local SFXZ = Instance.new("Sound",torso) | |
1332 | SFXZ.SoundId = "rbxassetid://169259383" | |
1333 | SFXZ.Volume = 1 | |
1334 | SFXZ.Pitch = 1.5 | |
1335 | SFXZ.Looped = false | |
1336 | wait(0.01) | |
1337 | SFXZ:Play() | |
1338 | for i = 1,5 do | |
1339 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-40),math.rad(0)), .5)--head | |
1340 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(80), math.rad(0)), .5)--torso | |
1341 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), .5)--arm | |
1342 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), .5)--arm | |
1343 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg | |
1344 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg | |
1345 | wait() | |
1346 | end | |
1347 | ||
1348 | ||
1349 | ||
1350 | ||
1351 | ||
1352 | ||
1353 | ||
1354 | ||
1355 | ||
1356 | ||
1357 | ||
1358 | ag = new("Part",char) | |
1359 | ag.Name = "NewPart" | |
1360 | ag.Size = v3(2,2,2) | |
1361 | ag.CanCollide = false | |
1362 | ag.Position = v3(999,999,999) | |
1363 | ag.BrickColor = bc("Color") | |
1364 | ag.Material = "Neon" | |
1365 | ag.Transparency = 1 | |
1366 | aaag =new("Weld",ag) | |
1367 | aaag.Part0 = lleg | |
1368 | aaag.Part1 = ag | |
1369 | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
1370 | ||
1371 | ||
1372 | ||
1373 | ag.Touched:connect(function(hit) | |
1374 | for i,v in pairs(hit.Parent:GetChildren()) do | |
1375 | if v:IsA("Humanoid") then | |
1376 | ag.TouchInterest:Destroy() | |
1377 | if ssj1 == false and ssj2 == false then | |
1378 | v.Health = v.Health - 1000 | |
1379 | end | |
1380 | if blue == true and ssj2 == false then | |
1381 | v.Health = v.Health - 1900 | |
1382 | end | |
1383 | if ui == true then | |
1384 | v.Health = v.Health - 3000000000000000000000000000000 | |
1385 | end | |
1386 | ||
1387 | ||
1388 | local SFXZ = Instance.new("Sound",hed) | |
1389 | SFXZ.SoundId = "rbxassetid://260430060" | |
1390 | SFXZ.Volume = 1 | |
1391 | SFXZ.Pitch = 1.1 | |
1392 | SFXZ.Looped = false | |
1393 | wait(0.01) | |
1394 | SFXZ:Play() | |
1395 | local Cloud3 = Instance.new("Part",char) | |
1396 | Cloud3.Size = Vector3.new(1,1,1) | |
1397 | Cloud3.BrickColor = BrickColor.new("Medium stone grey") | |
1398 | Cloud3.Anchored = true | |
1399 | Cloud3.Material = "Neon" | |
1400 | Cloud3.CanCollide = false | |
1401 | Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
1402 | local Cloud4 = Instance.new("SpecialMesh",Cloud3) | |
1403 | Cloud4.MeshId = "rbxassetid://3270017" | |
1404 | Cloud4.Scale = Vector3.new(1,1,0.4) | |
1405 | ||
1406 | ||
1407 | ||
1408 | coroutine.resume(coroutine.create(function() | |
1409 | for i = 3,650 do | |
1410 | ||
1411 | ||
1412 | ||
1413 | ||
1414 | Cloud3.Transparency = Cloud3.Transparency + 0.03 | |
1415 | Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2) | |
1416 | ||
1417 | ||
1418 | ||
1419 | ||
1420 | wait(0.00000000001) | |
1421 | end | |
1422 | end)) | |
1423 | ||
1424 | end | |
1425 | end | |
1426 | end) | |
1427 | ||
1428 | ||
1429 | ||
1430 | ||
1431 | ||
1432 | ||
1433 | ||
1434 | ||
1435 | for i = 1,5 do | |
1436 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(30),math.rad(0)), .5)--head | |
1437 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(-60), math.rad(0)), .5)--torso | |
1438 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), .5)--arm | |
1439 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm | |
1440 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.6) * CFrame.Angles(math.rad(120), math.rad(-30), math.rad(20)), .5)--leg | |
1441 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
1442 | wait() | |
1443 | end | |
1444 | ag:Destroy() | |
1445 | end | |
1446 | ||
1447 | ||
1448 | ||
1449 | local jumped = false | |
1450 | bg = Instance.new("BodyGyro",root) | |
1451 | bg.P = 100000 | |
1452 | bg.D = 100 | |
1453 | ||
1454 | ||
1455 | ||
1456 | ||
1457 | ||
1458 | ||
1459 | ||
1460 | ||
1461 | ||
1462 | ||
1463 | ||
1464 | ||
1465 | ||
1466 | ||
1467 | ||
1468 | ||
1469 | ||
1470 | function startkamehameha() | |
1471 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--head | |
1472 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)--torso | |
1473 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--arm | |
1474 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--arm | |
1475 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)--leg | |
1476 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)--leg | |
1477 | ||
1478 | for i = 1, 20 do | |
1479 | wait() | |
1480 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)), 0.1)--head | |
1481 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.1)--torso | |
1482 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(30)), 0.1)--arm | |
1483 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(65),math.rad(0),math.rad(-30)), 0.1)--arm | |
1484 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-3)), 0.1)--leg | |
1485 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(3)), 0.1)--leg | |
1486 | end | |
1487 | for i = 1, 20 do | |
1488 | wait() | |
1489 | ||
1490 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)), 0.1)--head | |
1491 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.1)--torso | |
1492 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.7,-0.5)*CFrame.Angles(math.rad(85),math.rad(-10),math.rad(-30)), 0.1)--arm | |
1493 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1,0.3,-0.5)*CFrame.Angles(math.rad(85),math.rad(10),math.rad(30)), 0.1)--arm | |
1494 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-3)), 0.1)--leg | |
1495 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(3)), 0.1)--leg | |
1496 | end | |
1497 | kamecharge:Play() | |
1498 | ||
1499 | coroutine.resume(coroutine.create(function() | |
1500 | for i = 3,22 do | |
1501 | local Ball = Instance.new("Part",char) | |
1502 | Ball.Size = Vector3.new(1,1,1) | |
1503 | Ball.BrickColor = BrickColor.new("Cyan") | |
1504 | Ball.Material = "Neon" | |
1505 | Ball.Anchored = true | |
1506 | Ball.CanCollide = false | |
1507 | Ball.Transparency = 0 | |
1508 | Ball.CFrame = a.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
1509 | local Ball2 = Instance.new("SpecialMesh",Ball) | |
1510 | Ball2.MeshType = 3 | |
1511 | Ball2.Scale = Vector3.new(2,2,2) | |
1512 | ||
1513 | ||
1514 | ||
1515 | ||
1516 | coroutine.resume(coroutine.create(function() | |
1517 | for i = 1,15 do | |
1518 | Ball2.Scale = Ball2.Scale + Vector3.new(0.4,0.4,0.4) | |
1519 | Ball.Transparency = Ball.Transparency + 0.06 | |
1520 | wait(0.00000000001) | |
1521 | end | |
1522 | Ball:Destroy() | |
1523 | ||
1524 | ||
1525 | end)) | |
1526 | wait(0.2) | |
1527 | end | |
1528 | end)) | |
1529 | ||
1530 | startk = true | |
1531 | ||
1532 | for i = 1, 100 do | |
1533 | wait() | |
1534 | ||
1535 | ||
1536 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.1)--head | |
1537 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), math.rad(5)), 0.1)--torso | |
1538 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.7,-0.5)*CFrame.Angles(math.rad(50),math.rad(-10),math.rad(-30)), 0.1)--arm | |
1539 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1,0.3,-0.5)*CFrame.Angles(math.rad(65),math.rad(10),math.rad(30)), 0.1)--arm | |
1540 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.1)--leg | |
1541 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 0.1)--leg | |
1542 | end | |
1543 | end | |
1544 | function endkamehameha() | |
1545 | for i = 1, 10 do | |
1546 | wait() | |
1547 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)--head | |
1548 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)--torso | |
1549 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.7,-0.5)*CFrame.Angles(math.rad(95),math.rad(-10),math.rad(-30)), 0.5)--arm | |
1550 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1,0.3,-0.5)*CFrame.Angles(math.rad(75),math.rad(10),math.rad(30)), 0.5)--arm | |
1551 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.5)--leg | |
1552 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 0.5)--leg | |
1553 | end | |
1554 | end | |
1555 | function fatherson() | |
1556 | for i = 1,50 do | |
1557 | wait() | |
1558 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .1)--head | |
1559 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .1)--torso | |
1560 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), .1)--arm | |
1561 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)), .1)--arm | |
1562 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), .1)--leg | |
1563 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), .1)--leg | |
1564 | end | |
1565 | wait(2) | |
1566 | for i = 1,50 do | |
1567 | wait() | |
1568 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(40),math.rad(0)), .1)--head | |
1569 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(-60), math.rad(0)), .1)--torso | |
1570 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0.5)*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(10)), .1)--arm | |
1571 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-20)), .1)--arm | |
1572 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), .1)--leg | |
1573 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(5)), .1)--leg | |
1574 | end | |
1575 | end | |
1576 | function fathersonfire() | |
1577 | for i = 1,10 do | |
1578 | wait() | |
1579 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .4)--head | |
1580 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)--torso | |
1581 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), .4)--arm | |
1582 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-10)), .4)--arm | |
1583 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), .4)--leg | |
1584 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), .4)--leg | |
1585 | end | |
1586 | end | |
1587 | ||
1588 | ||
1589 | ||
1590 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
1591 | a = new("Part",char) | |
1592 | a.Name = "NewPart" | |
1593 | a.Size = v3(0.1,0.1,0.1) | |
1594 | a.Shape = "Ball" | |
1595 | a.Position = v3(999,999,999) | |
1596 | a.BrickColor = bc("bright Blue") | |
1597 | a.Material = "Neon" | |
1598 | a.Transparency = 1 | |
1599 | aa = new("SpecialMesh",a) | |
1600 | aa.Scale = v3(1,1,1) | |
1601 | aaa =new("Weld",a) | |
1602 | aaa.Part0 = torso | |
1603 | aaa.Part1 = a | |
1604 | aaa.C0 = cf(0,0,-1.6) * cfa(rad(0),rad(0),rad(0)) | |
1605 | aaaa = new("ParticleEmitter",a) | |
1606 | aaaa.Size = ns(1) | |
1607 | aaaa.Rate = 5 | |
1608 | aaaa.Texture = "rbxassetid://0" | |
1609 | aaaa.ZOffset = 1 | |
1610 | aaaa.Lifetime = nr(5) | |
1611 | aaaa.Transparency = ns(1) | |
1612 | aaaa.LockedToPart = true | |
1613 | aaaa.Speed = nr(0) | |
1614 | aw = new("Part",char) | |
1615 | aw.Name = "NewPart" | |
1616 | aw.Size = v3(0.1,0.1,0.1) | |
1617 | aw.Shape = "Ball" | |
1618 | aw.Position = v3(999,999,999) | |
1619 | aw.BrickColor = bc("bright Blue") | |
1620 | aw.Material = "Neon" | |
1621 | aw.Transparency = 1 | |
1622 | aaw = new("SpecialMesh",aw) | |
1623 | aaw.Scale = v3(1,1,1) | |
1624 | aaaw =new("Weld",aw) | |
1625 | aaaw.Part0 = torso | |
1626 | aaaw.Part1 = aw | |
1627 | aaaw.C0 = cf(0,0,-1.6) * cfa(rad(0),rad(0),rad(0)) | |
1628 | aaaaw = new("ParticleEmitter",aw) | |
1629 | aaaaw.Size = ns(5) | |
1630 | aaaaw.Rate = 5 | |
1631 | aaaaw.Color = ColorSequence.new(Color3.fromRGB(149,190,255)) | |
1632 | aaaaw.Texture = "rbxassetid://0" | |
1633 | aaaaw.ZOffset = -1 | |
1634 | aaaaw.Lifetime = nr(5) | |
1635 | aaaaw.RotSpeed = nr(50) | |
1636 | aaaaw.Transparency = ns(1) | |
1637 | aaaaw.LockedToPart = true | |
1638 | aaaaw.Speed = nr(0) | |
1639 | ||
1640 | ||
1641 | ||
1642 | ae = new("Part",char) | |
1643 | ae.Name = "NewPart" | |
1644 | ae.Size = v3(0.1,0.1,0.1) | |
1645 | ae.Shape = "Ball" | |
1646 | ae.Position = v3(999,999,999) | |
1647 | ae.BrickColor = bc("bright Blue") | |
1648 | ae.Material = "Neon" | |
1649 | ae.Transparency = 1 | |
1650 | aaae =new("Weld",ae) | |
1651 | aaae.Part0 = torso | |
1652 | aaae.Part1 = ae | |
1653 | aaae.C0 = cf(0,7,0) * cfa(rad(0),rad(0),rad(0)) | |
1654 | aaaae = new("ParticleEmitter",ae) | |
1655 | aaaae.Size = ns(15) | |
1656 | aaaae.Rate = 5 | |
1657 | aaaae.Color = ColorSequence.new(Color3.fromRGB(231,255,111)) | |
1658 | aaaae.ZOffset = -2 | |
1659 | aaaae.Lifetime = nr(5) | |
1660 | aaaae.Transparency = ns(1) | |
1661 | aaaae.LockedToPart = true | |
1662 | aaaae.Speed = nr(0) | |
1663 | ||
1664 | ad = new("Part",char) | |
1665 | ad.Name = "NewPart" | |
1666 | ad.Size = v3(10,10,10) | |
1667 | ad.CanCollide = false | |
1668 | ad.Anchored = true | |
1669 | ad.Position = torso.Position - v3(0,3,0) | |
1670 | ad.BrickColor = bc("bright Blue") | |
1671 | ad.Material = "Neon" | |
1672 | ad.Transparency = 1 | |
1673 | aad = new("Decal",ad) | |
1674 | aad.Texture = "rbxassetid://110711859" | |
1675 | aad.Face = "Top" | |
1676 | aad.Transparency = 1 | |
1677 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
1678 | --Functions | |
1679 | function kamehameha() | |
1680 | enabled = true | |
1681 | ||
1682 | ||
1683 | kamefire.Volume = 5 | |
1684 | ||
1685 | startkamehameha() | |
1686 | ||
1687 | ||
1688 | wait(1) | |
1689 | ||
1690 | endkamehameha() | |
1691 | coroutine.resume(coroutine.create(function() | |
1692 | for i = 1,100 do | |
1693 | CamShakeAll(32,270,torso) | |
1694 | game:GetService("RunService").RenderStepped:wait() | |
1695 | end | |
1696 | end)) | |
1697 | a1 = new("Part",char) | |
1698 | a1.Name = "Beam" | |
1699 | a1.Anchored = true | |
1700 | a1.Size = v3(6,6,6) | |
1701 | a1.CanCollide = false | |
1702 | a1.Locked = true | |
1703 | a1.Position = v3(999,999,999) | |
1704 | a1.BrickColor = bc("Cyan") | |
1705 | a1.Material = "Neon" | |
1706 | a1.Transparency = 0 | |
1707 | aa1 = new("SpecialMesh",a1) | |
1708 | aa1.MeshType = "Cylinder" | |
1709 | aa1.Scale = v3(1,1,1) | |
1710 | local FZcharge3 = Instance.new("ParticleEmitter",a1) | |
1711 | FZcharge3.Texture = "rbxassetid://174073769" | |
1712 | FZcharge3.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
1713 | FZcharge3.EmissionDirection = "Top" | |
1714 | FZcharge3.Speed = NumberRange.new(5) | |
1715 | FZcharge3.Size = NumberSequence.new(10,0) | |
1716 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
1717 | FZcharge3.Drag = 1.2 | |
1718 | FZcharge3.LockedToPart = false | |
1719 | FZcharge3.Lifetime = NumberRange.new(2) | |
1720 | FZcharge3.Rate = 305 | |
1721 | FZcharge3.LightEmission = 0.8 | |
1722 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
1723 | FZcharge3.VelocitySpread = 100 | |
1724 | FZcharge3.ZOffset = 1 | |
1725 | local Aaaa = Instance.new("ParticleEmitter",a3) | |
1726 | Aaaa.Texture = "rbxassetid://174073769" | |
1727 | Aaaa.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
1728 | Aaaa.EmissionDirection = "Top" | |
1729 | Aaaa.Speed = NumberRange.new(5) | |
1730 | Aaaa.Size = NumberSequence.new(20,0) | |
1731 | Aaaa.Transparency = NumberSequence.new(0,1) | |
1732 | Aaaa.Drag = 1.2 | |
1733 | Aaaa.LockedToPart = false | |
1734 | Aaaa.Lifetime = NumberRange.new(1) | |
1735 | Aaaa.Rate = 305 | |
1736 | Aaaa.LightEmission = 0.8 | |
1737 | Aaaa.Rotation = NumberRange.new(-360,360) | |
1738 | Aaaa.VelocitySpread = 100 | |
1739 | Aaaa.ZOffset = 1 | |
1740 | a2 = new("Part",char) | |
1741 | a2.Name = "Beam" | |
1742 | a2.Anchored = true | |
1743 | a2.Locked = true | |
1744 | a2.Size = v3(0.1,0.1,0.1) | |
1745 | a2.CanCollide = false | |
1746 | a2.Position = v3(999,999,999) | |
1747 | a2.BrickColor = bc("Cyan") | |
1748 | a2.Material = "Neon" | |
1749 | a2.Transparency = 0 | |
1750 | aa2 = new("SpecialMesh",a2) | |
1751 | aa2.MeshType = 3 | |
1752 | aa2.Scale = v3(150,150,150) | |
1753 | a3 = new("Part",char) | |
1754 | a3.Name = "Beam" | |
1755 | a3.Locked = true | |
1756 | a3.Anchored = true | |
1757 | a3.Size = v3(0.1,0.1,0.1) | |
1758 | a3.CanCollide = false | |
1759 | a3.Position = v3(999,999,999) | |
1760 | a3.BrickColor = bc("Cyan") | |
1761 | a3.Material = "Neon" | |
1762 | a3.Transparency = 0 | |
1763 | aa3 = new("SpecialMesh",a3) | |
1764 | aa3.MeshType = 3 | |
1765 | aa3.Scale = v3(200,200,200) | |
1766 | local Chase = Instance.new("ParticleEmitter",a2) | |
1767 | Chase.Texture = "rbxassetid://924746519" | |
1768 | Chase.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1769 | Chase.EmissionDirection = "Top" | |
1770 | Chase.Speed = NumberRange.new(5) | |
1771 | Chase.Size = NumberSequence.new(30,42) | |
1772 | Chase.Transparency = NumberSequence.new(0,0.3) | |
1773 | Chase.Drag = 1.2 | |
1774 | Chase.LockedToPart = false | |
1775 | Chase.Lifetime = NumberRange.new(0.2) | |
1776 | Chase.Rate = 110 | |
1777 | Chase.LightEmission = 0.3 | |
1778 | Chase.Rotation = NumberRange.new(-360,360) | |
1779 | Chase.VelocitySpread = 100 | |
1780 | Chase.ZOffset = 1 | |
1781 | ||
1782 | coroutine.resume(coroutine.create(function() | |
1783 | for i = 1,9 do | |
1784 | ||
1785 | local H = Instance.new("Part",a3) | |
1786 | H.Size = Vector3.new(1,1,1) | |
1787 | H.BrickColor = BrickColor.new("White") | |
1788 | H.CanCollide = false | |
1789 | H.Anchored = true | |
1790 | H.CFrame = a3.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0) | |
1791 | local H2 = Instance.new("SpecialMesh",H) | |
1792 | H2.MeshId = "rbxassetid://3270017" | |
1793 | H2.Scale = Vector3.new(1.5,1.5,1.5) | |
1794 | g = Instance.new("Explosion") | |
1795 | ||
1796 | coroutine.resume(coroutine.create(function() | |
1797 | for i = 1,120 do | |
1798 | ||
1799 | H2.Scale = H2.Scale + Vector3.new(1.2,1.2,1.2) | |
1800 | H.Transparency = H.Transparency + 0.04 | |
1801 | wait(0.00000000001) | |
1802 | end | |
1803 | ||
1804 | H2:Destroy() | |
1805 | H:Destroy() | |
1806 | ||
1807 | end)) | |
1808 | ||
1809 | wait(0.3) | |
1810 | ||
1811 | end | |
1812 | ||
1813 | end)) | |
1814 | coroutine.resume(coroutine.create(function() | |
1815 | for i = 1,30 do | |
1816 | local HQ = Instance.new("Part",a3) | |
1817 | HQ.Size = Vector3.new(1,1,1) | |
1818 | HQ.BrickColor = BrickColor.new("Cyan") | |
1819 | HQ.Material = Enum.Material.Glass | |
1820 | HQ.Anchored = true | |
1821 | HQ.CanCollide = false | |
1822 | HQ.Transparency = 0 | |
1823 | HQ.CFrame = a3.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55) | |
1824 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
1825 | HQ2.MeshId = "rbxassetid://20329976" | |
1826 | HQ2.Scale = Vector3.new(4.5,4.5,4.5) | |
1827 | g.Parent = workspace | |
1828 | g.Position = HQ.Position | |
1829 | g.BlastRadius = 28 | |
1830 | g.BlastPressure = 4006200 | |
1831 | g.Visible = false | |
1832 | coroutine.resume(coroutine.create(function() | |
1833 | for i = 1,90 do | |
1834 | ||
1835 | HQ2.Scale = HQ2.Scale + Vector3.new(1.2,1.2,1.2) | |
1836 | HQ.Transparency = HQ.Transparency + 0.05 | |
1837 | ||
1838 | wait(0.00000000001) | |
1839 | end | |
1840 | HQ:Destroy() | |
1841 | ||
1842 | HQ2:Destroy() | |
1843 | ||
1844 | end)) | |
1845 | ||
1846 | wait(0.07) | |
1847 | ||
1848 | end | |
1849 | ||
1850 | end)) | |
1851 | kamecharge:Stop() | |
1852 | kamefire:Play() | |
1853 | root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z)) | |
1854 | local HQ = Instance.new("Part",a) | |
1855 | HQ.Size = Vector3.new(1,0,1) | |
1856 | HQ.BrickColor = BrickColor.new("Toothpaste") | |
1857 | HQ.Material = "Neon" | |
1858 | HQ.Anchored = true | |
1859 | HQ.CanCollide = false | |
1860 | HQ.CFrame = a1.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
1861 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
1862 | HQ2.MeshId = "rbxassetid://20329976" | |
1863 | HQ2.Scale = Vector3.new(10,10,10) | |
1864 | ||
1865 | ||
1866 | coroutine.resume(coroutine.create(function() | |
1867 | for i = 3,650 do | |
1868 | ||
1869 | ||
1870 | ||
1871 | ||
1872 | HQ2.Scale = HQ2.Scale + Vector3.new(0,0,0) | |
1873 | HQ.Transparency = HQ.Transparency + 0.02 | |
1874 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0) | |
1875 | ||
1876 | ||
1877 | ||
1878 | wait(0.00000000001) | |
1879 | end | |
1880 | end)) | |
1881 | hed.Anchored = true | |
1882 | a8.Anchored = true | |
1883 | ae.Anchored = true | |
1884 | startk = false | |
1885 | ||
1886 | ||
1887 | --Damages | |
1888 | ----------------------------------------------------------------------------------------- | |
1889 | a1.Touched:connect(function(hit) | |
1890 | ||
1891 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 then | |
1892 | ||
1893 | ||
1894 | ||
1895 | if hit.Parent:IsA("Model") then | |
1896 | hit.Parent.Humanoid:TakeDamage(2500000000) | |
1897 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
1898 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1899 | Fl.velocity = root.CFrame.lookVector*80 | |
1900 | wait(0.05) | |
1901 | Fl:remove() | |
1902 | ||
1903 | end | |
1904 | ||
1905 | if enabled == true then | |
1906 | enabled = false | |
1907 | num = num + 1 | |
1908 | ||
1909 | a21 = new("Part",char) | |
1910 | a21.Name = "Beam"..num | |
1911 | a21.Locked = true | |
1912 | a21.Size = v3(0,0,0) | |
1913 | a21.CanCollide = false | |
1914 | a21.Position = v3(999,999,999) | |
1915 | a21.BrickColor = bc("Cyan") | |
1916 | a21.Material = "Neon" | |
1917 | a21.Transparency = 0 | |
1918 | aa21 = new("SpecialMesh",a21) | |
1919 | a21.Anchored = true | |
1920 | a21.Position = hit.Position | |
1921 | aa21.MeshType = "Sphere" | |
1922 | aa21.Scale = v3(0,0,0) | |
1923 | ||
1924 | for i = 1,90 do | |
1925 | wait() | |
1926 | ||
1927 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(0,0,0) | |
1928 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
1929 | end | |
1930 | enabled = true | |
1931 | char["Beam"..num]:Destroy() | |
1932 | end | |
1933 | ||
1934 | end | |
1935 | ||
1936 | end) | |
1937 | ||
1938 | ||
1939 | ||
1940 | ||
1941 | ||
1942 | ||
1943 | ||
1944 | beam2 = true | |
1945 | beam1 = true | |
1946 | wait(2) | |
1947 | FZcharge3.Rate = 0 | |
1948 | beam1 = false | |
1949 | ||
1950 | repeat | |
1951 | wait() | |
1952 | a1.Size = a1.Size - v3(0.2,0.2,0.2) | |
1953 | aa2.Scale = aa2.Scale - v3(3,3,3) | |
1954 | aa3.Scale = aa3.Scale - v3(3,3,3) | |
1955 | until | |
1956 | a1.Size.y < 0.1 | |
1957 | ||
1958 | beamgo = 2.2 | |
1959 | beamgo1 = 1 | |
1960 | a1:Destroy() | |
1961 | a2:Destroy() | |
1962 | a3:Destroy() | |
1963 | for i = 1,10 do | |
1964 | wait() | |
1965 | ||
1966 | kamefire.Volume = kamefire.Volume - 0.5 | |
1967 | end | |
1968 | kamefire:Stop() | |
1969 | ||
1970 | hed.Anchored = false | |
1971 | a8.Anchored = false | |
1972 | ae.Anchored = false | |
1973 | end | |
1974 | ||
1975 | function BlueKame() | |
1976 | enabled = true | |
1977 | ||
1978 | ||
1979 | kamefire.Volume = 5 | |
1980 | ||
1981 | startkamehameha() | |
1982 | ||
1983 | ||
1984 | wait(1) | |
1985 | ||
1986 | endkamehameha() | |
1987 | ||
1988 | a1 = new("Part",char) | |
1989 | a1.Name = "Beam" | |
1990 | a1.Anchored = true | |
1991 | a1.Size = v3(6,6,6) | |
1992 | a1.CanCollide = false | |
1993 | a1.Locked = true | |
1994 | a1.Position = v3(999,999,999) | |
1995 | a1.BrickColor = bc("Cyan") | |
1996 | a1.Material = "Neon" | |
1997 | a1.Transparency = 0 | |
1998 | aa1 = new("SpecialMesh",a1) | |
1999 | aa1.MeshType = "Cylinder" | |
2000 | aa1.Scale = v3(1,1,1) | |
2001 | local FZcharge3 = Instance.new("ParticleEmitter",a1) | |
2002 | FZcharge3.Texture = "rbxassetid://174073769" | |
2003 | FZcharge3.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2004 | FZcharge3.EmissionDirection = "Top" | |
2005 | FZcharge3.Speed = NumberRange.new(5) | |
2006 | FZcharge3.Size = NumberSequence.new(15,0) | |
2007 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
2008 | FZcharge3.Drag = 1.2 | |
2009 | FZcharge3.LockedToPart = false | |
2010 | FZcharge3.Lifetime = NumberRange.new(2) | |
2011 | FZcharge3.Rate = 305 | |
2012 | FZcharge3.LightEmission = 0.8 | |
2013 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
2014 | FZcharge3.VelocitySpread = 100 | |
2015 | FZcharge3.ZOffset = 1 | |
2016 | local Aaaa = Instance.new("ParticleEmitter",a3) | |
2017 | Aaaa.Texture = "rbxassetid://174073769" | |
2018 | Aaaa.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2019 | Aaaa.EmissionDirection = "Top" | |
2020 | Aaaa.Speed = NumberRange.new(5) | |
2021 | Aaaa.Size = NumberSequence.new(20,0) | |
2022 | Aaaa.Transparency = NumberSequence.new(0,1) | |
2023 | Aaaa.Drag = 1.2 | |
2024 | Aaaa.LockedToPart = false | |
2025 | Aaaa.Lifetime = NumberRange.new(1) | |
2026 | Aaaa.Rate = 305 | |
2027 | Aaaa.LightEmission = 0.8 | |
2028 | Aaaa.Rotation = NumberRange.new(-360,360) | |
2029 | Aaaa.VelocitySpread = 100 | |
2030 | Aaaa.ZOffset = 1 | |
2031 | a2 = new("Part",char) | |
2032 | a2.Name = "Beam" | |
2033 | a2.Anchored = true | |
2034 | a2.Locked = true | |
2035 | a2.Size = v3(0.1,0.1,0.1) | |
2036 | a2.CanCollide = false | |
2037 | a2.Position = v3(999,999,999) | |
2038 | a2.BrickColor = bc("Cyan") | |
2039 | a2.Material = "Neon" | |
2040 | a2.Transparency = 0 | |
2041 | aa2 = new("SpecialMesh",a2) | |
2042 | aa2.MeshType = 3 | |
2043 | aa2.Scale = v3(150,150,150) | |
2044 | a3 = new("Part",char) | |
2045 | a3.Name = "Beam" | |
2046 | a3.Locked = true | |
2047 | a3.Anchored = true | |
2048 | a3.Size = v3(0.1,0.1,0.1) | |
2049 | a3.CanCollide = false | |
2050 | a3.Position = v3(999,999,999) | |
2051 | a3.BrickColor = bc("Cyan") | |
2052 | a3.Material = "Neon" | |
2053 | a3.Transparency = 0 | |
2054 | aa3 = new("SpecialMesh",a3) | |
2055 | aa3.MeshType = 3 | |
2056 | aa3.Scale = v3(200,200,200) | |
2057 | local Chase = Instance.new("ParticleEmitter",a2) | |
2058 | Chase.Texture = "rbxassetid://924746519" | |
2059 | Chase.Color = ColorSequence.new(BrickColor.new("White").Color) | |
2060 | Chase.EmissionDirection = "Top" | |
2061 | Chase.Speed = NumberRange.new(5) | |
2062 | Chase.Size = NumberSequence.new(30,42) | |
2063 | Chase.Transparency = NumberSequence.new(0,0.3) | |
2064 | Chase.Drag = 1.2 | |
2065 | Chase.LockedToPart = false | |
2066 | Chase.Lifetime = NumberRange.new(0.2) | |
2067 | Chase.Rate = 110 | |
2068 | Chase.LightEmission = 0.3 | |
2069 | Chase.Rotation = NumberRange.new(-360,360) | |
2070 | Chase.VelocitySpread = 100 | |
2071 | Chase.ZOffset = 1 | |
2072 | ||
2073 | coroutine.resume(coroutine.create(function() | |
2074 | for i = 1,9 do | |
2075 | ||
2076 | local H = Instance.new("Part",a3) | |
2077 | H.Size = Vector3.new(1,1,1) | |
2078 | H.BrickColor = BrickColor.new("White") | |
2079 | H.CanCollide = false | |
2080 | H.Anchored = true | |
2081 | H.CFrame = a3.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0) | |
2082 | local H2 = Instance.new("SpecialMesh",H) | |
2083 | H2.MeshId = "rbxassetid://3270017" | |
2084 | H2.Scale = Vector3.new(6.5,6.5,6.5) | |
2085 | ||
2086 | ||
2087 | coroutine.resume(coroutine.create(function() | |
2088 | for i = 1,120 do | |
2089 | ||
2090 | H2.Scale = H2.Scale + Vector3.new(1.2,1.2,1.2) | |
2091 | H.Transparency = H.Transparency + 0.04 | |
2092 | wait(0.00000000001) | |
2093 | end | |
2094 | ||
2095 | H2:Destroy() | |
2096 | H:Destroy() | |
2097 | ||
2098 | end)) | |
2099 | ||
2100 | wait(0.3) | |
2101 | ||
2102 | end | |
2103 | ||
2104 | end)) | |
2105 | coroutine.resume(coroutine.create(function() | |
2106 | for i = 1,20 do | |
2107 | local HQ = Instance.new("Part",a3) | |
2108 | HQ.Size = Vector3.new(1,1,1) | |
2109 | HQ.BrickColor = BrickColor.new("Cyan") | |
2110 | HQ.Material = Enum.Material.Glass | |
2111 | HQ.Anchored = true | |
2112 | HQ.CanCollide = false | |
2113 | HQ.Transparency = 0 | |
2114 | HQ.CFrame = a3.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55) | |
2115 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
2116 | HQ2.MeshId = "rbxassetid://20329976" | |
2117 | HQ2.Scale = Vector3.new(14.5,14.5,14.5) | |
2118 | g = Instance.new("Explosion") | |
2119 | g.Parent = workspace | |
2120 | g.Position = HQ.Position | |
2121 | g.BlastRadius = 30 | |
2122 | g.BlastPressure = 6500200 | |
2123 | g.Visible = false | |
2124 | coroutine.resume(coroutine.create(function() | |
2125 | for i = 1,90 do | |
2126 | ||
2127 | HQ2.Scale = HQ2.Scale + Vector3.new(1.2,1.2,1.2) | |
2128 | HQ.Transparency = HQ.Transparency + 0.05 | |
2129 | ||
2130 | wait(0.00000000001) | |
2131 | end | |
2132 | HQ:Destroy() | |
2133 | ||
2134 | HQ2:Destroy() | |
2135 | ||
2136 | end)) | |
2137 | ||
2138 | wait(0.1) | |
2139 | ||
2140 | end | |
2141 | ||
2142 | end)) | |
2143 | kamecharge:Stop() | |
2144 | kamefire:Play() | |
2145 | root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z)) | |
2146 | local HQ = Instance.new("Part",a) | |
2147 | HQ.Size = Vector3.new(1,0,1) | |
2148 | HQ.BrickColor = BrickColor.new("Toothpaste") | |
2149 | HQ.Material = "Neon" | |
2150 | HQ.Anchored = true | |
2151 | HQ.CanCollide = false | |
2152 | HQ.CFrame = a1.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
2153 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
2154 | HQ2.MeshId = "rbxassetid://20329976" | |
2155 | HQ2.Scale = Vector3.new(25,25,25) | |
2156 | ||
2157 | ||
2158 | coroutine.resume(coroutine.create(function() | |
2159 | for i = 3,650 do | |
2160 | ||
2161 | ||
2162 | ||
2163 | ||
2164 | HQ2.Scale = HQ2.Scale + Vector3.new(0,0,0) | |
2165 | HQ.Transparency = HQ.Transparency + 0.02 | |
2166 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0) | |
2167 | ||
2168 | ||
2169 | ||
2170 | wait(0.00000000001) | |
2171 | end | |
2172 | end)) | |
2173 | hed.Anchored = true | |
2174 | a8.Anchored = true | |
2175 | ae.Anchored = true | |
2176 | startk = false | |
2177 | ||
2178 | ||
2179 | --Damages | |
2180 | ----------------------------------------------------------------------------------------- | |
2181 | a1.Touched:connect(function(hit) | |
2182 | ||
2183 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 then | |
2184 | ||
2185 | ||
2186 | ||
2187 | if hit.Parent:IsA("Model") then | |
2188 | hit.Parent.Humanoid:TakeDamage(150000000000000000000000000000000000000000000000000000000000000000000) | |
2189 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
2190 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2191 | Fl.velocity = root.CFrame.lookVector*100 | |
2192 | wait(0.05) | |
2193 | Fl:remove() | |
2194 | ||
2195 | end | |
2196 | ||
2197 | if enabled == true then | |
2198 | enabled = false | |
2199 | num = num + 1 | |
2200 | ||
2201 | a21 = new("Part",char) | |
2202 | a21.Name = "Beam"..num | |
2203 | a21.Locked = true | |
2204 | a21.Size = v3(0,0,0) | |
2205 | a21.CanCollide = false | |
2206 | a21.Position = v3(999,999,999) | |
2207 | a21.BrickColor = bc("Cyan") | |
2208 | a21.Material = "Neon" | |
2209 | a21.Transparency = 0 | |
2210 | aa21 = new("SpecialMesh",a21) | |
2211 | a21.Anchored = true | |
2212 | a21.Position = hit.Position | |
2213 | aa21.MeshType = "Sphere" | |
2214 | aa21.Scale = v3(0,0,0) | |
2215 | ||
2216 | for i = 1,90 do | |
2217 | wait() | |
2218 | ||
2219 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(0,0,0) | |
2220 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
2221 | end | |
2222 | enabled = true | |
2223 | char["Beam"..num]:Destroy() | |
2224 | end | |
2225 | ||
2226 | end | |
2227 | ||
2228 | end) | |
2229 | ||
2230 | ||
2231 | ||
2232 | ||
2233 | ||
2234 | ||
2235 | ||
2236 | beamb = true | |
2237 | beamb2 = true | |
2238 | wait(3) | |
2239 | FZcharge3.Rate = 0 | |
2240 | beamui1 = false | |
2241 | ||
2242 | repeat | |
2243 | wait() | |
2244 | a1.Size = a1.Size - v3(1,1,1) | |
2245 | aa2.Scale = aa2.Scale - v3(5,5,5) | |
2246 | aa3.Scale = aa3.Scale - v3(5,5,5) | |
2247 | until | |
2248 | a1.Size.y < 0.1 | |
2249 | ||
2250 | beamgo = 2.2 | |
2251 | beamgo1 = 1 | |
2252 | a1:Destroy() | |
2253 | a2:Destroy() | |
2254 | a3:Destroy() | |
2255 | for i = 1,10 do | |
2256 | wait() | |
2257 | ||
2258 | kamefire.Volume = kamefire.Volume - 0.5 | |
2259 | end | |
2260 | kamefire:Stop() | |
2261 | ||
2262 | hed.Anchored = false | |
2263 | a8.Anchored = false | |
2264 | ae.Anchored = false | |
2265 | end | |
2266 | ||
2267 | ||
2268 | function UIKame() | |
2269 | enabled = true | |
2270 | ||
2271 | ||
2272 | kamefire.Volume = 5 | |
2273 | ||
2274 | ||
2275 | ||
2276 | endkamehameha() | |
2277 | coroutine.resume(coroutine.create(function() | |
2278 | for i = 1,100 do | |
2279 | CamShakeAll(32,270,torso) | |
2280 | game:GetService("RunService").RenderStepped:wait() | |
2281 | end | |
2282 | end)) | |
2283 | a1 = new("Part",char) | |
2284 | a1.Name = "Beam" | |
2285 | a1.Anchored = true | |
2286 | a1.Size = v3(6,6,6) | |
2287 | a1.CanCollide = false | |
2288 | a1.Locked = true | |
2289 | a1.Position = v3(999,999,999) | |
2290 | a1.BrickColor = bc("Cyan") | |
2291 | a1.Material = "Neon" | |
2292 | a1.Transparency = 0 | |
2293 | aa1 = new("SpecialMesh",a1) | |
2294 | aa1.MeshType = "Cylinder" | |
2295 | aa1.Scale = v3(1,1,1) | |
2296 | local FZcharge3 = Instance.new("ParticleEmitter",a1) | |
2297 | FZcharge3.Texture = "rbxassetid://174073769" | |
2298 | FZcharge3.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2299 | FZcharge3.EmissionDirection = "Top" | |
2300 | FZcharge3.Speed = NumberRange.new(5) | |
2301 | FZcharge3.Size = NumberSequence.new(15,0) | |
2302 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
2303 | FZcharge3.Drag = 1.2 | |
2304 | FZcharge3.LockedToPart = false | |
2305 | FZcharge3.Lifetime = NumberRange.new(2) | |
2306 | FZcharge3.Rate = 305 | |
2307 | FZcharge3.LightEmission = 0.8 | |
2308 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
2309 | FZcharge3.VelocitySpread = 100 | |
2310 | FZcharge3.ZOffset = 1 | |
2311 | local Aaaa = Instance.new("ParticleEmitter",a3) | |
2312 | Aaaa.Texture = "rbxassetid://174073769" | |
2313 | Aaaa.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2314 | Aaaa.EmissionDirection = "Top" | |
2315 | Aaaa.Speed = NumberRange.new(5) | |
2316 | Aaaa.Size = NumberSequence.new(20,0) | |
2317 | Aaaa.Transparency = NumberSequence.new(0,1) | |
2318 | Aaaa.Drag = 1.2 | |
2319 | Aaaa.LockedToPart = false | |
2320 | Aaaa.Lifetime = NumberRange.new(1) | |
2321 | Aaaa.Rate = 305 | |
2322 | Aaaa.LightEmission = 0.8 | |
2323 | Aaaa.Rotation = NumberRange.new(-360,360) | |
2324 | Aaaa.VelocitySpread = 100 | |
2325 | Aaaa.ZOffset = 1 | |
2326 | a2 = new("Part",char) | |
2327 | a2.Name = "Beam" | |
2328 | a2.Anchored = true | |
2329 | a2.Locked = true | |
2330 | a2.Size = v3(0.1,0.1,0.1) | |
2331 | a2.CanCollide = false | |
2332 | a2.Position = v3(999,999,999) | |
2333 | a2.BrickColor = bc("Cyan") | |
2334 | a2.Material = "Neon" | |
2335 | a2.Transparency = 0 | |
2336 | aa2 = new("SpecialMesh",a2) | |
2337 | aa2.MeshType = 3 | |
2338 | aa2.Scale = v3(150,150,150) | |
2339 | a3 = new("Part",char) | |
2340 | a3.Name = "Beam" | |
2341 | a3.Locked = true | |
2342 | a3.Anchored = true | |
2343 | a3.Size = v3(0.1,0.1,0.1) | |
2344 | a3.CanCollide = false | |
2345 | a3.Position = v3(999,999,999) | |
2346 | a3.BrickColor = bc("Cyan") | |
2347 | a3.Material = "Neon" | |
2348 | a3.Transparency = 0 | |
2349 | aa3 = new("SpecialMesh",a3) | |
2350 | aa3.MeshType = 3 | |
2351 | aa3.Scale = v3(200,200,200) | |
2352 | local Chase = Instance.new("ParticleEmitter",a2) | |
2353 | Chase.Texture = "rbxassetid://924746519" | |
2354 | Chase.Color = ColorSequence.new(BrickColor.new("White").Color) | |
2355 | Chase.EmissionDirection = "Top" | |
2356 | Chase.Speed = NumberRange.new(5) | |
2357 | Chase.Size = NumberSequence.new(30,42) | |
2358 | Chase.Transparency = NumberSequence.new(0,0.3) | |
2359 | Chase.Drag = 1.2 | |
2360 | Chase.LockedToPart = false | |
2361 | Chase.Lifetime = NumberRange.new(0.2) | |
2362 | Chase.Rate = 110 | |
2363 | Chase.LightEmission = 0.3 | |
2364 | Chase.Rotation = NumberRange.new(-360,360) | |
2365 | Chase.VelocitySpread = 100 | |
2366 | Chase.ZOffset = 1 | |
2367 | ||
2368 | coroutine.resume(coroutine.create(function() | |
2369 | for i = 1,9 do | |
2370 | ||
2371 | local H = Instance.new("Part",a3) | |
2372 | H.Size = Vector3.new(1,1,1) | |
2373 | H.BrickColor = BrickColor.new("White") | |
2374 | H.CanCollide = false | |
2375 | H.Anchored = true | |
2376 | H.CFrame = a3.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0) | |
2377 | local H2 = Instance.new("SpecialMesh",H) | |
2378 | H2.MeshId = "rbxassetid://3270017" | |
2379 | H2.Scale = Vector3.new(6.5,6.5,6.5) | |
2380 | ||
2381 | ||
2382 | coroutine.resume(coroutine.create(function() | |
2383 | for i = 1,120 do | |
2384 | ||
2385 | H2.Scale = H2.Scale + Vector3.new(1.2,1.2,1.2) | |
2386 | H.Transparency = H.Transparency + 0.04 | |
2387 | wait(0.00000000001) | |
2388 | end | |
2389 | ||
2390 | H2:Destroy() | |
2391 | H:Destroy() | |
2392 | ||
2393 | end)) | |
2394 | ||
2395 | wait(0.3) | |
2396 | ||
2397 | end | |
2398 | ||
2399 | end)) | |
2400 | coroutine.resume(coroutine.create(function() | |
2401 | for i = 1,20 do | |
2402 | local HQ = Instance.new("Part",a3) | |
2403 | HQ.Size = Vector3.new(1,1,1) | |
2404 | HQ.BrickColor = BrickColor.new("Cyan") | |
2405 | HQ.Material = Enum.Material.Glass | |
2406 | HQ.Anchored = true | |
2407 | HQ.CanCollide = false | |
2408 | HQ.Transparency = 0 | |
2409 | HQ.CFrame = a3.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55) | |
2410 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
2411 | HQ2.MeshId = "rbxassetid://20329976" | |
2412 | HQ2.Scale = Vector3.new(19.5,19.5,19.5) | |
2413 | g = Instance.new("Explosion") | |
2414 | g.Parent = workspace | |
2415 | g.Position = HQ.Position | |
2416 | g.BlastRadius = 35 | |
2417 | g.BlastPressure = 7 | |
2418 | g.Visible = false | |
2419 | coroutine.resume(coroutine.create(function() | |
2420 | for i = 1,90 do | |
2421 | ||
2422 | HQ2.Scale = HQ2.Scale + Vector3.new(1.2,1.2,1.2) | |
2423 | HQ.Transparency = HQ.Transparency + 0.05 | |
2424 | ||
2425 | wait(0.00000000001) | |
2426 | end | |
2427 | HQ:Destroy() | |
2428 | ||
2429 | HQ2:Destroy() | |
2430 | ||
2431 | end)) | |
2432 | ||
2433 | wait(0.1) | |
2434 | ||
2435 | end | |
2436 | ||
2437 | end)) | |
2438 | kamecharge:Stop() | |
2439 | kamefire:Play() | |
2440 | root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z)) | |
2441 | local HQ = Instance.new("Part",a) | |
2442 | HQ.Size = Vector3.new(1,0,1) | |
2443 | HQ.BrickColor = BrickColor.new("Toothpaste") | |
2444 | HQ.Material = "Neon" | |
2445 | HQ.Anchored = true | |
2446 | HQ.CanCollide = false | |
2447 | HQ.CFrame = a1.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
2448 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
2449 | HQ2.MeshId = "rbxassetid://20329976" | |
2450 | HQ2.Scale = Vector3.new(25,25,25) | |
2451 | ||
2452 | ||
2453 | coroutine.resume(coroutine.create(function() | |
2454 | for i = 3,650 do | |
2455 | ||
2456 | ||
2457 | ||
2458 | ||
2459 | HQ2.Scale = HQ2.Scale + Vector3.new(0,0,0) | |
2460 | HQ.Transparency = HQ.Transparency + 0.02 | |
2461 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0) | |
2462 | ||
2463 | ||
2464 | ||
2465 | wait(0.00000000001) | |
2466 | end | |
2467 | end)) | |
2468 | hed.Anchored = true | |
2469 | a8.Anchored = true | |
2470 | ae.Anchored = true | |
2471 | startk = false | |
2472 | ||
2473 | ||
2474 | --Damages | |
2475 | ----------------------------------------------------------------------------------------- | |
2476 | a1.Touched:connect(function(hit) | |
2477 | ||
2478 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 then | |
2479 | ||
2480 | ||
2481 | ||
2482 | if hit.Parent:IsA("Model") then | |
2483 | hit.Parent:BreakJoints() | |
2484 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
2485 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2486 | Fl.velocity = root.CFrame.lookVector*920 | |
2487 | wait(0.05) | |
2488 | Fl:remove() | |
2489 | ||
2490 | end | |
2491 | ||
2492 | if enabled == true then | |
2493 | enabled = false | |
2494 | num = num + 1 | |
2495 | ||
2496 | a21 = new("Part",char) | |
2497 | a21.Name = "Beam"..num | |
2498 | a21.Locked = true | |
2499 | a21.Size = v3(0,0,0) | |
2500 | a21.CanCollide = false | |
2501 | a21.Position = v3(999,999,999) | |
2502 | a21.BrickColor = bc("Cyan") | |
2503 | a21.Material = "Neon" | |
2504 | a21.Transparency = 0 | |
2505 | aa21 = new("SpecialMesh",a21) | |
2506 | a21.Anchored = true | |
2507 | a21.Position = hit.Position | |
2508 | aa21.MeshType = "Sphere" | |
2509 | aa21.Scale = v3(0,0,0) | |
2510 | ||
2511 | for i = 1,90 do | |
2512 | wait() | |
2513 | ||
2514 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(0,0,0) | |
2515 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
2516 | end | |
2517 | enabled = true | |
2518 | char["Beam"..num]:Destroy() | |
2519 | end | |
2520 | ||
2521 | end | |
2522 | ||
2523 | end) | |
2524 | ||
2525 | ||
2526 | ||
2527 | ||
2528 | ||
2529 | ||
2530 | ||
2531 | beamui2 = true | |
2532 | beamui1 = true | |
2533 | wait(3) | |
2534 | FZcharge3.Rate = 0 | |
2535 | beamui1 = false | |
2536 | ||
2537 | repeat | |
2538 | wait() | |
2539 | a1.Size = a1.Size - v3(1,1,1) | |
2540 | aa2.Scale = aa2.Scale - v3(5,5,5) | |
2541 | aa3.Scale = aa3.Scale - v3(5,5,5) | |
2542 | until | |
2543 | a1.Size.y < 0.1 | |
2544 | ||
2545 | beamgo = 2.2 | |
2546 | beamgo1 = 1 | |
2547 | a1:Destroy() | |
2548 | a2:Destroy() | |
2549 | a3:Destroy() | |
2550 | for i = 1,10 do | |
2551 | wait() | |
2552 | ||
2553 | kamefire.Volume = kamefire.Volume - 0.5 | |
2554 | end | |
2555 | kamefire:Stop() | |
2556 | ||
2557 | hed.Anchored = false | |
2558 | a8.Anchored = false | |
2559 | ae.Anchored = false | |
2560 | end | |
2561 | ||
2562 | ||
2563 | ||
2564 | ||
2565 | function superkamehameha() | |
2566 | enabled = true | |
2567 | ||
2568 | ||
2569 | kamefire.Volume = 5 | |
2570 | ||
2571 | startkamehameha() | |
2572 | ||
2573 | ||
2574 | wait(1) | |
2575 | ||
2576 | endkamehameha() | |
2577 | ||
2578 | a1 = new("Part",char) | |
2579 | a1.Name = "Beam" | |
2580 | a1.Anchored = true | |
2581 | a1.Size = v3(5,5,5) | |
2582 | a1.CanCollide = false | |
2583 | a1.Locked = true | |
2584 | a1.Position = v3(999,999,999) | |
2585 | a1.BrickColor = bc("Cyan") | |
2586 | a1.Material = "Neon" | |
2587 | a1.Transparency = 0 | |
2588 | aa1 = new("SpecialMesh",a1) | |
2589 | aa1.MeshType = "Cylinder" | |
2590 | aa1.Scale = v3(5,5,5) | |
2591 | local FZcharge3 = Instance.new("ParticleEmitter",a1) | |
2592 | FZcharge3.Texture = "rbxassetid://174073769" | |
2593 | FZcharge3.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2594 | FZcharge3.EmissionDirection = "Top" | |
2595 | FZcharge3.Speed = NumberRange.new(5) | |
2596 | FZcharge3.Size = NumberSequence.new(15,0) | |
2597 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
2598 | FZcharge3.Drag = 1.2 | |
2599 | FZcharge3.LockedToPart = false | |
2600 | FZcharge3.Lifetime = NumberRange.new(2) | |
2601 | FZcharge3.Rate = 305 | |
2602 | FZcharge3.LightEmission = 0.8 | |
2603 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
2604 | FZcharge3.VelocitySpread = 100 | |
2605 | FZcharge3.ZOffset = 1 | |
2606 | a2 = new("Part",char) | |
2607 | a2.Name = "Beam" | |
2608 | a2.Anchored = true | |
2609 | a2.Locked = true | |
2610 | a2.Size = v3(0.2,0.2,0.2) | |
2611 | a2.CanCollide = false | |
2612 | a2.Position = v3(999,999,999) | |
2613 | a2.BrickColor = bc("Cyan") | |
2614 | a2.Material = "Neon" | |
2615 | a2.Transparency = 0 | |
2616 | aa2 = new("SpecialMesh",a2) | |
2617 | aa2.MeshType = 3 | |
2618 | aa2.Scale = v3(150,150,150) | |
2619 | a3 = new("Part",char) | |
2620 | a3.Name = "Beam" | |
2621 | a3.Locked = true | |
2622 | a3.Anchored = true | |
2623 | a3.Size = v3(0.2,0.2,0.2) | |
2624 | a3.CanCollide = false | |
2625 | a3.Position = v3(999,999,999) | |
2626 | a3.BrickColor = bc("Cyan") | |
2627 | a3.Material = "Neon" | |
2628 | a3.Transparency = 0 | |
2629 | aa3 = new("SpecialMesh",a3) | |
2630 | aa3.MeshType = 3 | |
2631 | aa3.Scale = v3(200,200,200) | |
2632 | local Chase = Instance.new("ParticleEmitter",a2) | |
2633 | Chase.Texture = "rbxassetid://924746519" | |
2634 | Chase.Color = ColorSequence.new(BrickColor.new("White").Color) | |
2635 | Chase.EmissionDirection = "Top" | |
2636 | Chase.Speed = NumberRange.new(5) | |
2637 | Chase.Size = NumberSequence.new(30,42) | |
2638 | Chase.Transparency = NumberSequence.new(0,0.3) | |
2639 | Chase.Drag = 1.2 | |
2640 | Chase.LockedToPart = false | |
2641 | Chase.Lifetime = NumberRange.new(0.2) | |
2642 | Chase.Rate = 110 | |
2643 | Chase.LightEmission = 0.3 | |
2644 | Chase.Rotation = NumberRange.new(-360,360) | |
2645 | Chase.VelocitySpread = 100 | |
2646 | Chase.ZOffset = 1 | |
2647 | a1.CFrame = torso.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(0)) | |
2648 | local HQ = Instance.new("Part",a) | |
2649 | HQ.Size = Vector3.new(1,0,1) | |
2650 | HQ.BrickColor = BrickColor.new("Toothpaste") | |
2651 | HQ.Material = "Neon" | |
2652 | HQ.Anchored = true | |
2653 | HQ.CanCollide = false | |
2654 | HQ.CFrame = a.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
2655 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
2656 | HQ2.MeshId = "rbxassetid://20329976" | |
2657 | HQ2.Scale = Vector3.new(10,10,10) | |
2658 | ||
2659 | ||
2660 | coroutine.resume(coroutine.create(function() | |
2661 | for i = 3,650 do | |
2662 | ||
2663 | ||
2664 | ||
2665 | ||
2666 | HQ2.Scale = HQ2.Scale + Vector3.new(0,0,0) | |
2667 | HQ.Transparency = HQ.Transparency + 0.02 | |
2668 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0) | |
2669 | ||
2670 | ||
2671 | ||
2672 | wait(0.00000000001) | |
2673 | end | |
2674 | end)) | |
2675 | ||
2676 | kamecharge:Stop() | |
2677 | kamefire:Play() | |
2678 | hed.Anchored = true | |
2679 | a8.Anchored = true | |
2680 | ae.Anchored = true | |
2681 | startk = false | |
2682 | ||
2683 | ||
2684 | --Damages | |
2685 | ----------------------------------------------------------------------------------------- | |
2686 | a1.Touched:connect(function(hit) | |
2687 | ||
2688 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 then | |
2689 | ||
2690 | ||
2691 | ||
2692 | if hit.Parent:IsA("Model") then | |
2693 | hit.Parent.Humanoid:TakeDamage(1000000000000000000000000000000000000000) | |
2694 | end | |
2695 | ||
2696 | if enabled == true then | |
2697 | enabled = false | |
2698 | num = num + 1 | |
2699 | ||
2700 | a21 = new("Part",char) | |
2701 | a21.Name = "Beam"..num | |
2702 | a21.Locked = true | |
2703 | a21.Size = v3(0,0,0) | |
2704 | a21.CanCollide = false | |
2705 | a21.Position = v3(999,999,999) | |
2706 | a21.BrickColor = bc("Cyan") | |
2707 | a21.Material = "Neon" | |
2708 | a21.Transparency = 0 | |
2709 | aa21 = new("SpecialMesh",a21) | |
2710 | a21.Anchored = true | |
2711 | a21.Position = hit.Position | |
2712 | aa21.MeshType = "Sphere" | |
2713 | aa21.Scale = v3(0,0,0) | |
2714 | ||
2715 | for i = 1,90 do | |
2716 | wait() | |
2717 | a1.CFrame = torso.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2718 | a1.Position = v3(999,999,999) | |
2719 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(0,0,0) | |
2720 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
2721 | end | |
2722 | enabled = true | |
2723 | char["Beam"..num]:Destroy() | |
2724 | end | |
2725 | ||
2726 | end | |
2727 | ||
2728 | end) | |
2729 | ||
2730 | ||
2731 | ||
2732 | ||
2733 | ||
2734 | ||
2735 | ||
2736 | beam2 = true | |
2737 | beam1 = true | |
2738 | wait(2) | |
2739 | FZcharge3.Rate = 0 | |
2740 | beam1 = false | |
2741 | ||
2742 | repeat | |
2743 | wait() | |
2744 | a1.Size = a1.Size - v3(0,0.2,0.2) | |
2745 | aa2.Scale = aa2.Scale - v3(3,3,3) | |
2746 | aa3.Scale = aa3.Scale - v3(3,3,3) | |
2747 | until | |
2748 | a1.Size.y < 0.4 | |
2749 | ||
2750 | beamgo = 2.2 | |
2751 | beamgo1 = 1 | |
2752 | a1:Destroy() | |
2753 | a2:Destroy() | |
2754 | a3:Destroy() | |
2755 | for i = 1,10 do | |
2756 | wait() | |
2757 | ||
2758 | kamefire.Volume = kamefire.Volume - 0.5 | |
2759 | end | |
2760 | kamefire:Stop() | |
2761 | ||
2762 | hed.Anchored = false | |
2763 | a8.Anchored = false | |
2764 | ae.Anchored = false | |
2765 | end | |
2766 | ||
2767 | ||
2768 | ||
2769 | ||
2770 | ||
2771 | ||
2772 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
2773 | --RenderedStep | |
2774 | rs:connect(function() | |
2775 | --kamehameha | |
2776 | ------------------------------------------------------------------ | |
2777 | if startk == true then | |
2778 | aaaa.Transparency = ns(0) | |
2779 | aaaaw.Transparency = ns(0) | |
2780 | aaaa.Size = ns(math.random(1,2)) | |
2781 | else | |
2782 | aaaa.Transparency = ns(1) | |
2783 | aaaaw.Transparency = ns(1) | |
2784 | end | |
2785 | ||
2786 | if beam1 == true then | |
2787 | ||
2788 | ||
2789 | beamgo = beamgo + 2 | |
2790 | beamgo1 = beamgo1 + 4 | |
2791 | a3.CFrame = root.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + root.CFrame.lookVector * beamgo * 2 | |
2792 | a1.CFrame = root.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + root.CFrame.lookVector * beamgo | |
2793 | a1.Size = v3(beamgo1,6,6) | |
2794 | aa2.Scale = v3(150,math.random(150,150),math.random(150,150)) | |
2795 | aa3.Scale = v3(150,math.random(150,150),math.random(150,150)) | |
2796 | ||
2797 | end | |
2798 | ||
2799 | ||
2800 | ||
2801 | if beamui1 == true then | |
2802 | ||
2803 | ||
2804 | beamgo = beamgo + 2 | |
2805 | beamgo1 = beamgo1 + 4 | |
2806 | a3.CFrame = root.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + root.CFrame.lookVector * beamgo * 2 | |
2807 | a1.CFrame = root.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + root.CFrame.lookVector * beamgo | |
2808 | a1.Size = v3(beamgo1,26,26) | |
2809 | aa2.Scale = v3(290,math.random(290,290),math.random(290,290)) | |
2810 | aa3.Scale = v3(290,math.random(290,290),math.random(290,290)) | |
2811 | ||
2812 | end | |
2813 | if beamb == true then | |
2814 | ||
2815 | ||
2816 | beamgo = beamgo + 2 | |
2817 | beamgo1 = beamgo1 + 4 | |
2818 | a3.CFrame = root.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + root.CFrame.lookVector * beamgo * 2 | |
2819 | a1.CFrame = root.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + root.CFrame.lookVector * beamgo | |
2820 | a1.Size = v3(beamgo1,15,15) | |
2821 | aa2.Scale = v3(190,math.random(190,190),math.random(190,190)) | |
2822 | aa3.Scale = v3(190,math.random(190,190),math.random(190,190)) | |
2823 | ||
2824 | end | |
2825 | if beam2 == true then | |
2826 | a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo | |
2827 | a2.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8 | |
2828 | a3.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo * 1.93 | |
2829 | end | |
2830 | if beamui2 == true then | |
2831 | a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo | |
2832 | a2.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8 | |
2833 | a3.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo * 2 | |
2834 | end | |
2835 | if beamb2 == true then | |
2836 | a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo | |
2837 | a2.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8 | |
2838 | a3.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo * 2 | |
2839 | end | |
2840 | ----------------------------------------------------------------------- | |
2841 | ||
2842 | ||
2843 | ||
2844 | ||
2845 | if hum.MoveDirection.x == 0 then | |
2846 | if canidle == true then | |
2847 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)--head | |
2848 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)--torso | |
2849 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(10)), 0.1)--arm | |
2850 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-10)), 0.1)--arm | |
2851 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)), 0.1)--leg | |
2852 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)--leg | |
2853 | end | |
2854 | end | |
2855 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2856 | ||
2857 | if canwalk1 == true then | |
2858 | canwalk1 = false | |
2859 | for i = 1,10 do | |
2860 | wait() | |
2861 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2862 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .1)--head | |
2863 | end | |
2864 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2865 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0)), .1)--torso | |
2866 | end | |
2867 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2868 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(5)), .1)--arm | |
2869 | end | |
2870 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2871 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-5)), .1)--arm | |
2872 | end | |
2873 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2874 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), .1)--leg | |
2875 | end | |
2876 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2877 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), .1)--leg | |
2878 | end | |
2879 | end | |
2880 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2881 | for i = 1,10 do | |
2882 | wait() | |
2883 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2884 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .1)--head | |
2885 | end | |
2886 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2887 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0)), .1)--torso | |
2888 | end | |
2889 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2890 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(5)), .1)--arm | |
2891 | end | |
2892 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2893 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-5)), .1)--arm | |
2894 | end | |
2895 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2896 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), .1)--leg | |
2897 | end | |
2898 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
2899 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), .1)--leg | |
2900 | end | |
2901 | end | |
2902 | end | |
2903 | canwalk1 = true | |
2904 | end | |
2905 | ||
2906 | ||
2907 | end | |
2908 | ||
2909 | if block == true then | |
2910 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
2911 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)--torso | |
2912 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(-10)), 0.4)--arm | |
2913 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(10)), 0.4)--arm | |
2914 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)), 0.4)--leg | |
2915 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.4, -0.1, -0.7) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(2)), 0.4)--leg | |
2916 | ||
2917 | ||
2918 | end | |
2919 | -------------------------------------------------- | |
2920 | ||
2921 | -- | |
2922 | --Aura | |
2923 | if onaura == true then | |
2924 | onaura =false | |
2925 | ||
2926 | wait(0.1) | |
2927 | aaaae.Texture = "rbxassetid://926705964" | |
2928 | wait(0.1) | |
2929 | aaaae.Texture = "rbxassetid://926709486" | |
2930 | wait(0.1) | |
2931 | aaaae.Texture = "rbxassetid://926711720" | |
2932 | wait(0.1) | |
2933 | aaaae.Texture = "rbxassetid://926712235" | |
2934 | onaura =true | |
2935 | end | |
2936 | ||
2937 | if transforming1 == true then | |
2938 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), 0.1)--head | |
2939 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)--torso | |
2940 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(10)), 0.1)--arm | |
2941 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-10)), 0.1)--arm | |
2942 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)), 0.1)--leg | |
2943 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)--leg | |
2944 | ||
2945 | end | |
2946 | ||
2947 | if slow == true then | |
2948 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.2)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.1)--head | |
2949 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)--torso | |
2950 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(10)), 0.1)--arm | |
2951 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-10)), 0.1)--arm | |
2952 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)), 0.1)--leg | |
2953 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)--leg | |
2954 | ||
2955 | end | |
2956 | ||
2957 | if transforming2 == true then | |
2958 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.1)--head | |
2959 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)--torso | |
2960 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
2961 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
2962 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg | |
2963 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg | |
2964 | ||
2965 | end | |
2966 | ||
2967 | if dodge == true then | |
2968 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
2969 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(0)), .5)--torso | |
2970 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm | |
2971 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), .5)--arm | |
2972 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
2973 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
2974 | ||
2975 | end | |
2976 | if transforming3 == true then | |
2977 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.3)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.1)--head | |
2978 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.1)--torso | |
2979 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(10)), 0.1)--arm | |
2980 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-10)), 0.1)--arm | |
2981 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.3) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-5)), 0.1)--leg | |
2982 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.3) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(5)), 0.1)--leg | |
2983 | ||
2984 | end | |
2985 | ||
2986 | if powering == true then | |
2987 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)), 0.1)--head | |
2988 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)--torso | |
2989 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(40),math.rad(-20),math.rad(10)), 0.1)--arm | |
2990 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(-10)), 0.1)--arm | |
2991 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)--leg | |
2992 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)--leg | |
2993 | ||
2994 | end | |
2995 | if start == true then | |
2996 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)), 0.1)--head | |
2997 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)--torso | |
2998 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(-3),math.rad(-60)), 0.1)--arm | |
2999 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(3),math.rad(60)), 0.1)--arm | |
3000 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)--leg | |
3001 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)--leg | |
3002 | ||
3003 | end | |
3004 | if beam3 == true then | |
3005 | beamgo4 = beamgo4 + 1 | |
3006 | beamgo3 = beamgo3 + 0.018 | |
3007 | a1s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 | |
3008 | aa1s.Scale = v3(1,math.random(1,1.2),math.random(1,1.2)) | |
3009 | a3s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 * 5 | |
3010 | a1s.Size = a1s.Size + v3(beamgo3,0,0) | |
3011 | aa2s.Scale = v3(200,math.random(150,170),math.random(150,170)) | |
3012 | aa3s.Scale = v3(250,math.random(150,170),math.random(150,170)) | |
3013 | a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 | |
3014 | a2s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) - torso.CFrame.lookVector * 1 | |
3015 | end | |
3016 | if beam4 == true then | |
3017 | a1s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 | |
3018 | a2s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8 | |
3019 | a3s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 * 1.93 | |
3020 | end | |
3021 | ||
3022 | ||
3023 | end) | |
3024 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
3025 | --Kamehameha | |
3026 | --------------------------------------------------------------------- | |
3027 | --InstantTramission | |
3028 | ---- | |
3029 | ||
3030 | ||
3031 | tp = true | |
3032 | mouse.KeyDown:connect(function(key) | |
3033 | if key == "3" then | |
3034 | if tp == true then | |
3035 | tp = true | |
3036 | local Teleport = Instance.new("Sound",hed) | |
3037 | Teleport.SoundId = "rbxassetid://1055279036" | |
3038 | Teleport.Pitch = 1 | |
3039 | Teleport.Looped = false | |
3040 | Teleport.Volume = 2 | |
3041 | wait(0.0001) | |
3042 | Teleport:Play() | |
3043 | ||
3044 | Zanzoken = Instance.new("Part",root) | |
3045 | Zanzoken.Anchored = true | |
3046 | Zanzoken.CanCollide = false | |
3047 | Zanzoken.Position = v3(999,999,999) | |
3048 | Zanzoken.CFrame = root.CFrame | |
3049 | game.Debris:AddItem(Zanzoken,0.5) | |
3050 | Zanzoken.Transparency = 1 | |
3051 | wait() | |
3052 | idk = Instance.new("BillboardGui",Zanzoken) | |
3053 | idk.Size = UDim2.new(10,0,15,0) | |
3054 | idk.AlwaysOnTop = false | |
3055 | idk1 = Instance.new("ImageLabel",idk) | |
3056 | idk1.BackgroundTransparency = 1 | |
3057 | idk.ExtentsOffset = v3(0,0,0) | |
3058 | idk1.ImageTransparency = 0 | |
3059 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
3060 | idk1.Size = UDim2.new(2,0,1,0) | |
3061 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
3062 | idk1.Image = "rbxassetid://319554883" | |
3063 | wait() | |
3064 | root.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
3065 | Zanzoken = Instance.new("Part",char) | |
3066 | Zanzoken.Anchored = true | |
3067 | Zanzoken.CanCollide = false | |
3068 | Zanzoken.Position = v3(999,999,999) | |
3069 | Zanzoken.CFrame = root.CFrame | |
3070 | game.Debris:AddItem(Zanzoken,0.5) | |
3071 | Zanzoken.Transparency = 1 | |
3072 | wait() | |
3073 | idk = Instance.new("BillboardGui",Zanzoken) | |
3074 | idk.Size = UDim2.new(20,0,20,0) | |
3075 | idk.AlwaysOnTop = false | |
3076 | idk1 = Instance.new("ImageLabel",idk) | |
3077 | idk1.BackgroundTransparency = 1 | |
3078 | idk.ExtentsOffset = v3(0,0,0) | |
3079 | idk1.ImageTransparency = 0 | |
3080 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
3081 | idk1.Size = UDim2.new(2,0,1,0) | |
3082 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
3083 | idk1.Image = "rbxassetid://319554883" | |
3084 | ||
3085 | ||
3086 | ||
3087 | wait(0) | |
3088 | ||
3089 | tp = true | |
3090 | ||
3091 | ||
3092 | end | |
3093 | end | |
3094 | end) | |
3095 | --- | |
3096 | --LockOn | |
3097 | --- | |
3098 | ||
3099 | ||
3100 | mouse.KeyDown:connect(function(key) | |
3101 | if key == '1' then | |
3102 | LockOn() | |
3103 | end | |
3104 | end) | |
3105 | ||
3106 | function LockOn() | |
3107 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
3108 | TargetSelect(mouse.Target.Parent) | |
3109 | end | |
3110 | end | |
3111 | function swait(num) | |
3112 | if num == 0 or num == nil then | |
3113 | ArtificialHB.Event:wait() | |
3114 | else | |
3115 | for i = 0, num do | |
3116 | ArtificialHB.Event:wait() | |
3117 | end | |
3118 | end | |
3119 | end | |
3120 | ||
3121 | ArtificialHB = Instance.new("BindableEvent", script) | |
3122 | ArtificialHB.Name = "Heartbeat" | |
3123 | ||
3124 | script:WaitForChild("Heartbeat") | |
3125 | ||
3126 | function TargetSelect(person) | |
3127 | local dd=coroutine.wrap(function() | |
3128 | if targetted ~= person then | |
3129 | targetted = person | |
3130 | for i = 0, 2, 0.1 do | |
3131 | swait() | |
3132 | end | |
3133 | end | |
3134 | end) | |
3135 | dd() | |
3136 | end | |
3137 | ||
3138 | function HomingAttack() | |
3139 | ||
3140 | ||
3141 | ||
3142 | ||
3143 | if targetted == nil then | |
3144 | ||
3145 | end | |
3146 | ||
3147 | ||
3148 | local Music2 = Instance.new("Sound",torso) | |
3149 | Music2.SoundId = "rbxassetid://1055279036" | |
3150 | Music2.Pitch = 1 | |
3151 | Music2.Looped = false | |
3152 | Music2.Volume = 3.2 | |
3153 | wait(0.0001) | |
3154 | Music2:Play() | |
3155 | root.CFrame = targetted.Head.CFrame * CFrame.new(0,1.5,3.1) | |
3156 | Zanzoken = Instance.new("Part",root) | |
3157 | Zanzoken.Anchored = true | |
3158 | Zanzoken.CanCollide = false | |
3159 | Zanzoken.Position = v3(999,999,999) | |
3160 | Zanzoken.CFrame = root.CFrame | |
3161 | game.Debris:AddItem(Zanzoken,0.5) | |
3162 | Zanzoken.Transparency = 1 | |
3163 | wait() | |
3164 | idk = Instance.new("BillboardGui",Zanzoken) | |
3165 | idk.Size = UDim2.new(10,0,15,0) | |
3166 | idk.AlwaysOnTop = false | |
3167 | idk1 = Instance.new("ImageLabel",idk) | |
3168 | idk1.BackgroundTransparency = 1 | |
3169 | idk.ExtentsOffset = v3(0,0,0) | |
3170 | idk1.ImageTransparency = 0 | |
3171 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
3172 | idk1.Size = UDim2.new(2,0,1,0) | |
3173 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
3174 | idk1.Image = "rbxassetid://319554883" | |
3175 | wait() | |
3176 | Zanzoken = Instance.new("Part",char) | |
3177 | Zanzoken.Anchored = true | |
3178 | Zanzoken.CanCollide = false | |
3179 | Zanzoken.Position = v3(999,999,999) | |
3180 | Zanzoken.CFrame = root.CFrame | |
3181 | game.Debris:AddItem(Zanzoken,0.5) | |
3182 | Zanzoken.Transparency = 1 | |
3183 | wait() | |
3184 | idk = Instance.new("BillboardGui",Zanzoken) | |
3185 | idk.Size = UDim2.new(20,0,20,0) | |
3186 | idk.AlwaysOnTop = false | |
3187 | idk1 = Instance.new("ImageLabel",idk) | |
3188 | idk1.BackgroundTransparency = 1 | |
3189 | idk.ExtentsOffset = v3(0,0,0) | |
3190 | idk1.ImageTransparency = 0 | |
3191 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
3192 | idk1.Size = UDim2.new(2,0,1,0) | |
3193 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
3194 | idk1.Image = "rbxassetid://319554883" | |
3195 | ||
3196 | ||
3197 | ||
3198 | end | |
3199 | mouse.KeyDown:connect(function(key) | |
3200 | if key == 'c' and ui == false and kaioken == false then | |
3201 | ||
3202 | GodFist() | |
3203 | end | |
3204 | end) | |
3205 | ||
3206 | mouse.KeyDown:connect(function(key) | |
3207 | if key == 'c' and kaioken == true then | |
3208 | ||
3209 | KaiokenRush() | |
3210 | end | |
3211 | end) | |
3212 | ||
3213 | mouse.KeyDown:connect(function(key) | |
3214 | if key == 'c' and ui == true and kaioken == false then | |
3215 | ||
3216 | FinalAttack() | |
3217 | end | |
3218 | end) | |
3219 | ||
3220 | mouse.KeyDown:connect(function(key) | |
3221 | if key == '2' then | |
3222 | HomingAttack() | |
3223 | end | |
3224 | end) | |
3225 | ------- | |
3226 | ||
3227 | function GodFist() | |
3228 | ||
3229 | canattack = false | |
3230 | canidle = false | |
3231 | canwalk = false | |
3232 | ||
3233 | ||
3234 | ||
3235 | local bv = Instance.new("BodyVelocity") | |
3236 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3237 | bv.velocity = mouse.Hit.lookVector * 250 | |
3238 | bv.Parent = root | |
3239 | ||
3240 | local Aura = Instance.new('ParticleEmitter') | |
3241 | Aura.Name = "Aura" | |
3242 | Aura.Texture = "rbxassetid://411939841" | |
3243 | Aura.Parent = torso | |
3244 | Aura.LightEmission = 1 | |
3245 | Aura.Transparency = NumberSequence.new(0.2,1) | |
3246 | Aura.Color = ColorSequence.new(BrickColor.new("White").Color) | |
3247 | Aura.Size = NumberSequence.new(9,0) | |
3248 | Aura.LockedToPart = false | |
3249 | Aura.Lifetime = NumberRange.new(0.3) | |
3250 | Aura.Rate = 150 | |
3251 | Aura.Speed = NumberRange.new(2.3) | |
3252 | Aura.EmissionDirection = "Top" | |
3253 | Aura.Rotation = NumberRange.new(-80, 80) | |
3254 | local Grab = Instance.new("Part",torso) | |
3255 | Grab.Size = Vector3.new(4,4,4) | |
3256 | Grab.CanCollide = false | |
3257 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3258 | Grab.Transparency = math.huge | |
3259 | local Grabo = Instance.new("Weld",Grab) | |
3260 | Grabo.Part0 = torso | |
3261 | Grabo.Part1 = Grab | |
3262 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
3263 | local SFXZ = Instance.new("Sound",torso) | |
3264 | SFXZ.SoundId = "rbxassetid://1056625824" | |
3265 | SFXZ.Volume = 1 | |
3266 | SFXZ.Pitch = 1 | |
3267 | SFXZ.Looped = false | |
3268 | wait(0.01) | |
3269 | SFXZ:Play() | |
3270 | Grab.Touched:connect(function(hit) | |
3271 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then | |
3272 | Grab:Destroy() | |
3273 | root.Anchored = true | |
3274 | hit.Parent.Humanoid:TakeDamage(155555555555555555575) | |
3275 | bv:Destroy() | |
3276 | canattack = true | |
3277 | canidle = true | |
3278 | canwalk = true | |
3279 | local SFXZ = Instance.new("Sound",root) | |
3280 | SFXZ.SoundId = "rbxassetid://1699290293" | |
3281 | SFXZ.Volume = 7 | |
3282 | SFXZ.Pitch = 1 | |
3283 | SFXZ.Looped = false | |
3284 | wait(0.01) | |
3285 | SFXZ:Play() | |
3286 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
3287 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3288 | Fl.velocity = root.CFrame.lookVector*10 | |
3289 | wait(0.05) | |
3290 | Fl:remove() | |
3291 | root.Anchored = false | |
3292 | end | |
3293 | end) | |
3294 | for i = 1, 50 do | |
3295 | wait() | |
3296 | ||
3297 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head | |
3298 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso | |
3299 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
3300 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
3301 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg | |
3302 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg | |
3303 | end | |
3304 | bv:Destroy() | |
3305 | canattack = true | |
3306 | canidle = true | |
3307 | canwalk = true | |
3308 | root.Anchored = false | |
3309 | Aura.Enabled = false | |
3310 | Grab:Destroy() | |
3311 | ||
3312 | end | |
3313 | ||
3314 | ||
3315 | ||
3316 | function FinalAttack() | |
3317 | ||
3318 | canattack = false | |
3319 | canidle = false | |
3320 | canwalk = false | |
3321 | ||
3322 | ||
3323 | ||
3324 | local bv = Instance.new("BodyVelocity") | |
3325 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3326 | bv.velocity = mouse.Hit.lookVector * 250 | |
3327 | bv.Parent = root | |
3328 | coroutine.resume(coroutine.create(function() | |
3329 | for i = 1,100 do | |
3330 | CamShakeAll(32,230,torso) | |
3331 | game:GetService("RunService").RenderStepped:wait() | |
3332 | end | |
3333 | end)) | |
3334 | local Aura = Instance.new('ParticleEmitter') | |
3335 | Aura.Name = "Aura" | |
3336 | Aura.Texture = "rbxassetid://1200947142" | |
3337 | Aura.Parent = torso | |
3338 | Aura.LightEmission = 1 | |
3339 | Aura.Transparency = NumberSequence.new(0.2,1) | |
3340 | Aura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3341 | Aura.Size = NumberSequence.new(9,0) | |
3342 | Aura.LockedToPart = false | |
3343 | Aura.Lifetime = NumberRange.new(0.3) | |
3344 | Aura.Rate = 350 | |
3345 | Aura.Speed = NumberRange.new(2.3) | |
3346 | Aura.EmissionDirection = "Top" | |
3347 | Aura.Rotation = NumberRange.new(-80, 80) | |
3348 | local Grab = Instance.new("Part",torso) | |
3349 | Grab.Size = Vector3.new(4,4,4) | |
3350 | Grab.CanCollide = false | |
3351 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3352 | Grab.Transparency = math.huge | |
3353 | local Grabo = Instance.new("Weld",Grab) | |
3354 | Grabo.Part0 = torso | |
3355 | Grabo.Part1 = Grab | |
3356 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
3357 | local SFXZ = Instance.new("Sound",torso) | |
3358 | SFXZ.SoundId = "rbxassetid://1056625824" | |
3359 | SFXZ.Volume = 1 | |
3360 | SFXZ.Pitch = 1 | |
3361 | SFXZ.Looped = false | |
3362 | wait(0.01) | |
3363 | SFXZ:Play() | |
3364 | Grab.Touched:connect(function(hit) | |
3365 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then | |
3366 | Grab:Destroy() | |
3367 | root.Anchored = true | |
3368 | hit.Parent:BreakJoints() | |
3369 | bv:Destroy() | |
3370 | canattack = true | |
3371 | canidle = true | |
3372 | canwalk = true | |
3373 | local SFXZ = Instance.new("Sound",root) | |
3374 | SFXZ.SoundId = "rbxassetid://1699290293" | |
3375 | SFXZ.Volume = 7 | |
3376 | SFXZ.Pitch = 1 | |
3377 | SFXZ.Looped = false | |
3378 | wait(0.01) | |
3379 | SFXZ:Play() | |
3380 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
3381 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3382 | Fl.velocity = root.CFrame.lookVector*10 | |
3383 | wait(0.05) | |
3384 | Fl:remove() | |
3385 | root.Anchored = false | |
3386 | end | |
3387 | end) | |
3388 | for i = 1, 20 do | |
3389 | wait() | |
3390 | ||
3391 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head | |
3392 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso | |
3393 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
3394 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
3395 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg | |
3396 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg | |
3397 | end | |
3398 | bv:Destroy() | |
3399 | canattack = true | |
3400 | canidle = true | |
3401 | canwalk = true | |
3402 | root.Anchored = false | |
3403 | Aura.Enabled = false | |
3404 | Grab:Destroy() | |
3405 | ||
3406 | end | |
3407 | ||
3408 | ||
3409 | ||
3410 | function KaiokenRush() | |
3411 | ||
3412 | canattack = false | |
3413 | canidle = false | |
3414 | canwalk = false | |
3415 | ||
3416 | ||
3417 | ||
3418 | local bv = Instance.new("BodyVelocity") | |
3419 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3420 | bv.velocity = mouse.Hit.lookVector * 250 | |
3421 | bv.Parent = root | |
3422 | ||
3423 | local Aura = Instance.new('ParticleEmitter') | |
3424 | Aura.Name = "Aura" | |
3425 | Aura.Texture = "rbxassetid://411939841" | |
3426 | Aura.Parent = torso | |
3427 | Aura.LightEmission = 1 | |
3428 | Aura.Transparency = NumberSequence.new(0.2,1) | |
3429 | Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
3430 | Aura.Size = NumberSequence.new(9,0) | |
3431 | Aura.LockedToPart = false | |
3432 | Aura.Lifetime = NumberRange.new(1) | |
3433 | Aura.Rate = 350 | |
3434 | Aura.Speed = NumberRange.new(2.3) | |
3435 | Aura.EmissionDirection = "Top" | |
3436 | Aura.Rotation = NumberRange.new(-80, 80) | |
3437 | local Grab = Instance.new("Part",torso) | |
3438 | Grab.Size = Vector3.new(4,4,4) | |
3439 | Grab.CanCollide = false | |
3440 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3441 | Grab.Transparency = math.huge | |
3442 | local Grabo = Instance.new("Weld",Grab) | |
3443 | Grabo.Part0 = torso | |
3444 | Grabo.Part1 = Grab | |
3445 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
3446 | local SFXZ = Instance.new("Sound",torso) | |
3447 | SFXZ.SoundId = "rbxassetid://1056625824" | |
3448 | SFXZ.Volume = 1 | |
3449 | SFXZ.Pitch = 1 | |
3450 | SFXZ.Looped = false | |
3451 | wait(0.01) | |
3452 | SFXZ:Play() | |
3453 | Grab.Touched:connect(function(hit) | |
3454 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then | |
3455 | Grab:Destroy() | |
3456 | ||
3457 | ||
3458 | hit.Parent.Humanoid:TakeDamage(150000000000000000000000000000000) | |
3459 | ||
3460 | ||
3461 | local SFXZ = Instance.new("Sound",root) | |
3462 | SFXZ.SoundId = "rbxassetid://1699290293" | |
3463 | SFXZ.Volume = 7 | |
3464 | SFXZ.Pitch = 1 | |
3465 | SFXZ.Looped = false | |
3466 | wait(0.01) | |
3467 | SFXZ:Play() | |
3468 | ||
3469 | ||
3470 | ||
3471 | ||
3472 | end | |
3473 | end) | |
3474 | for i = 1, 20 do | |
3475 | wait() | |
3476 | ||
3477 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head | |
3478 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso | |
3479 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
3480 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
3481 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg | |
3482 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg | |
3483 | end | |
3484 | wait(4) | |
3485 | bv:Destroy() | |
3486 | canattack = true | |
3487 | canidle = true | |
3488 | canwalk = true | |
3489 | root.Anchored = false | |
3490 | Aura.Enabled = false | |
3491 | Grab:Destroy() | |
3492 | ||
3493 | end | |
3494 | ||
3495 | ||
3496 | ||
3497 | -- | |
3498 | ||
3499 | ||
3500 | mouse.KeyDown:connect(function(key) | |
3501 | if key == "q" and ui == false and blue == false then | |
3502 | if canattack == true then | |
3503 | canattack = false | |
3504 | canidle = false | |
3505 | canwalk = false | |
3506 | kamehameha() | |
3507 | canattack = true | |
3508 | canwalk = true | |
3509 | canidle = true | |
3510 | end | |
3511 | end | |
3512 | end) | |
3513 | mouse.KeyDown:connect(function(key) | |
3514 | if key == "q" and ui == true and blue == false then | |
3515 | if canattack == true then | |
3516 | canattack = false | |
3517 | canidle = false | |
3518 | canwalk = false | |
3519 | UIKame() | |
3520 | canattack = true | |
3521 | canwalk = true | |
3522 | canidle = true | |
3523 | end | |
3524 | end | |
3525 | end) | |
3526 | mouse.KeyDown:connect(function(key) | |
3527 | if key == "q" and ui == false and blue == true then | |
3528 | if canattack == true then | |
3529 | canattack = false | |
3530 | canidle = false | |
3531 | canwalk = false | |
3532 | BlueKame() | |
3533 | canattack = true | |
3534 | canwalk = true | |
3535 | canidle = true | |
3536 | end | |
3537 | end | |
3538 | end) | |
3539 | ||
3540 | ------------------------------------------------------------------ | |
3541 | --Blocking | |
3542 | ---------------------------------------------------------------- | |
3543 | mouse.KeyDown:connect(function(key) | |
3544 | if key == "r" and ui == false then | |
3545 | if canattack == true then | |
3546 | canattack = false | |
3547 | canidle = false | |
3548 | canwalk = false | |
3549 | hum.MaxHealth = 1.0E298 | |
3550 | root.Anchored = true | |
3551 | hum.Health = 1.0E298 | |
3552 | local SFXZ = Instance.new("Sound",hed) | |
3553 | SFXZ.SoundId = "rbxassetid://865151637" | |
3554 | SFXZ.Volume = 3 | |
3555 | SFXZ.Pitch = 1 | |
3556 | SFXZ.Looped = false | |
3557 | wait(0.01) | |
3558 | SFXZ:Play() | |
3559 | local Grab = Instance.new("Part",root) | |
3560 | Grab.Size = Vector3.new(5.2,5.8,3.9) | |
3561 | Grab.CanCollide = false | |
3562 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3563 | Grab.Transparency = 1 | |
3564 | local Grabo = Instance.new("Weld",Grab) | |
3565 | Grabo.Part0 = root | |
3566 | Grabo.Part1 = Grab | |
3567 | Grabo.C0 = CFrame.new(0,0.3,-2.8) | |
3568 | ||
3569 | local AuraB = Instance.new("Part",root) | |
3570 | AuraB.Size = Vector3.new(2,1,2) | |
3571 | AuraB.CanCollide = false | |
3572 | AuraB.BrickColor = BrickColor.new("Deep orange") | |
3573 | AuraB.Transparency = 1 | |
3574 | local AuraBo = Instance.new("Weld",AuraB) | |
3575 | AuraBo.Part0 = root | |
3576 | AuraBo.Part1 = AuraB | |
3577 | AuraBo.C0 = CFrame.new(0,-0.6,0) | |
3578 | block = true | |
3579 | ||
3580 | end | |
3581 | end | |
3582 | end) | |
3583 | mouse.KeyUp:connect(function(key) | |
3584 | if key == "r" and ui == false then | |
3585 | if canattack == false then | |
3586 | canattack = true | |
3587 | canidle = true | |
3588 | block = false | |
3589 | canwalk = true | |
3590 | hum.MaxHealth = 100000 | |
3591 | hum.Health = 100000 | |
3592 | root.Anchored = false | |
3593 | for i, v in pairs(root:GetChildren()) do | |
3594 | if v:IsA("Part")then | |
3595 | v:Remove() | |
3596 | end | |
3597 | end | |
3598 | ||
3599 | end | |
3600 | end | |
3601 | end) | |
3602 | mouse.KeyDown:connect(function(key) | |
3603 | if key == "r" and ui == true then | |
3604 | if canattack == true then | |
3605 | canattack = false | |
3606 | canidle = false | |
3607 | canwalk = false | |
3608 | hum.MaxHealth = 1.0E298 | |
3609 | root.Anchored = true | |
3610 | hum.Health = 1.0E298 | |
3611 | local SFXZ = Instance.new("Sound",hed) | |
3612 | SFXZ.SoundId = "rbxassetid://865151637" | |
3613 | SFXZ.Volume = 3 | |
3614 | SFXZ.Pitch = 1 | |
3615 | SFXZ.Looped = false | |
3616 | wait(0.01) | |
3617 | SFXZ:Play() | |
3618 | local Grab = Instance.new("Part",root) | |
3619 | Grab.Size = Vector3.new(5.2,5.8,3.9) | |
3620 | Grab.CanCollide = false | |
3621 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3622 | Grab.Transparency = 1 | |
3623 | local Grabo = Instance.new("Weld",Grab) | |
3624 | Grabo.Part0 = root | |
3625 | Grabo.Part1 = Grab | |
3626 | Grabo.C0 = CFrame.new(0,0.3,-2.8) | |
3627 | ||
3628 | local AuraB = Instance.new("Part",root) | |
3629 | AuraB.Size = Vector3.new(2,1,2) | |
3630 | AuraB.CanCollide = false | |
3631 | AuraB.BrickColor = BrickColor.new("Deep orange") | |
3632 | AuraB.Transparency = 1 | |
3633 | local AuraBo = Instance.new("Weld",AuraB) | |
3634 | AuraBo.Part0 = root | |
3635 | AuraBo.Part1 = AuraB | |
3636 | AuraBo.C0 = CFrame.new(0,-0.6,0) | |
3637 | block = true | |
3638 | ||
3639 | end | |
3640 | end | |
3641 | end) | |
3642 | mouse.KeyUp:connect(function(key) | |
3643 | if key == "r" and ui == true then | |
3644 | if canattack == false then | |
3645 | canattack = true | |
3646 | canidle = true | |
3647 | block = false | |
3648 | canwalk = true | |
3649 | hum.MaxHealth = 10000000000000000000000000000000000000000000 | |
3650 | hum.Health = 10000000000000000000000000000000000000000000 | |
3651 | root.Anchored = false | |
3652 | for i, v in pairs(root:GetChildren()) do | |
3653 | if v:IsA("Part")then | |
3654 | v:Remove() | |
3655 | end | |
3656 | end | |
3657 | ||
3658 | end | |
3659 | end | |
3660 | end) | |
3661 | -------------------------------------------------------------------- | |
3662 | --Transformations | |
3663 | -------------------------------------------------------------------- | |
3664 | local cam = workspace.CurrentCamera | |
3665 | ||
3666 | function CamShake(who,times,intense,origin) | |
3667 | coroutine.wrap(function() | |
3668 | if(script:FindFirstChild'CamShake')then | |
3669 | local cam = script.CamShake:Clone() | |
3670 | cam:WaitForChild'intensity'.Value = intense | |
3671 | cam:WaitForChild'times'.Value = times | |
3672 | ||
3673 | if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end | |
3674 | cam.Parent = who | |
3675 | wait() | |
3676 | cam.Disabled = false | |
3677 | elseif(who == p or who == char or who:IsDescendantOf(p))then | |
3678 | local intensity = intense | |
3679 | ||
3680 | for i = 1, times do | |
3681 | local camDistFromOrigin | |
3682 | if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then | |
3683 | camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25 | |
3684 | elseif(typeof(origin) == 'Vector3')then | |
3685 | camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25 | |
3686 | end | |
3687 | if(camDistFromOrigin)then | |
3688 | intensity = math.min(intense, math.floor(intense/camDistFromOrigin)) | |
3689 | end | |
3690 | cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4) | |
3691 | swait() | |
3692 | end | |
3693 | end | |
3694 | end)() | |
3695 | end | |
3696 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) | |
3697 | local Plrs = S.Players | |
3698 | function CamShakeAll(times,intense,origin) | |
3699 | for _,v in next, Plrs:players() do | |
3700 | CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin) | |
3701 | end | |
3702 | end | |
3703 | ------------------------------------------------------- | |
3704 | local Player_Size = 4 | |
3705 | if Player_Size ~= 4 then | |
3706 | root.Size = root.Size * Player_Size | |
3707 | torso.Size = torso.Size * Player_Size | |
3708 | hed.Size = hed.Size * Player_Size | |
3709 | rarm.Size = rarm.Size * Player_Size | |
3710 | larm.Size = larm.Size * Player_Size | |
3711 | rleg.Size = rleg.Size * Player_Size | |
3712 | lleg.Size = lleg.Size * Player_Size | |
3713 | end | |
3714 | ---------------------------------------------------------------------------------- | |
3715 | local cycle2 = false | |
3716 | local Dodged = Instance.new("Sound",hed) | |
3717 | Dodged.SoundId = "rbxassetid://908217684" | |
3718 | Dodged.Pitch = 1 | |
3719 | Dodged.Looped = false | |
3720 | Dodged.Volume = 2 | |
3721 | local Dodged2 = Instance.new("Sound",hed) | |
3722 | Dodged2.SoundId = "rbxassetid://908217925" | |
3723 | Dodged2.Pitch = 1 | |
3724 | Dodged2.Looped = false | |
3725 | Dodged2.Volume = 2 | |
3726 | game:GetService("RunService"):BindToRenderStep("Bbae", 0, function() | |
3727 | if hum.Health > 0.1 and hum.Health < 100000 and cycle2 == false and instinct == true then | |
3728 | root.Anchored = true | |
3729 | hum.MaxHealth = 100000 | |
3730 | hum.Health = 100000 | |
3731 | dodge = true | |
3732 | ||
3733 | Dodged:Play() | |
3734 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(8, 0, 0) * CFrame.Angles(math.rad(20),math.rad(80),math.rad(0)), 0.4)--torso | |
3735 | dodge = false | |
3736 | ||
3737 | cycle2 = true | |
3738 | root.Anchored = false | |
3739 | ||
3740 | end | |
3741 | end) | |
3742 | game:GetService("RunService"):BindToRenderStep("Bbae", 0, function() | |
3743 | if hum.Health > 0.6 and hum.Health < 100000 and cycle2 == true and instinct == true then | |
3744 | root.Anchored = true | |
3745 | hum.MaxHealth = 100000 | |
3746 | hum.Health = 100000 | |
3747 | dodge = true | |
3748 | Dodged2:Play() | |
3749 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-10, 0, 0) * CFrame.Angles(math.rad(-30),math.rad(-80),math.rad(0)), 0.4)--torso | |
3750 | dodge = false | |
3751 | ||
3752 | cycle2 = false | |
3753 | root.Anchored = false | |
3754 | ||
3755 | ||
3756 | end | |
3757 | end) | |
3758 | local temppos = root.Position | |
3759 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) | |
3760 | local magz = (Part0 - Part1).magnitude | |
3761 | local curpos = Part0 | |
3762 | local trz = {-Offset,Offset} | |
3763 | for i=1,Times do | |
3764 | local li = Instance.new("Part", DebrisModel) | |
3765 | li.TopSurface =0 | |
3766 | li.Material = Enum.Material.Neon | |
3767 | li.BottomSurface = 0 | |
3768 | li.Anchored = true | |
3769 | li.Locked = true | |
3770 | li.Transparency = Trans or 0.4 | |
3771 | li.Color = Color | |
3772 | li.formFactor = "Custom" | |
3773 | li.CanCollide = false | |
3774 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
3775 | local lim = Instance.new("BlockMesh",li) | |
3776 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
3777 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
3778 | if Times == i then | |
3779 | local magz2 = (curpos - Part1).magnitude | |
3780 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
3781 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
3782 | else | |
3783 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
3784 | end | |
3785 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
3786 | li.Name = "LIGHTNING" | |
3787 | ||
3788 | end | |
3789 | end | |
3790 | function findAllNearestTorso(pos,dist) | |
3791 | local list = workspace:children() | |
3792 | local torso = {} | |
3793 | local temp = nil | |
3794 | local human = nil | |
3795 | local temp2 = nil | |
3796 | for x = 1, #list do | |
3797 | temp2 = list[x] | |
3798 | if (temp2.className == "Model") and (temp2 ~= char) then | |
3799 | temp = temp2:findFirstChild("Torso") | |
3800 | human = temp2:findFirstChildOfClass("Humanoid") | |
3801 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
3802 | if (temp.Position - pos).magnitude < dist then | |
3803 | table.insert(torso,temp) | |
3804 | dist = (temp.Position - pos).magnitude | |
3805 | end | |
3806 | end | |
3807 | end | |
3808 | end | |
3809 | return torso | |
3810 | end | |
3811 | function computeDirection(vec) | |
3812 | local lenSquared = vec.magnitude * vec.magnitude | |
3813 | local invSqrt = 1 / math.sqrt(lenSquared) | |
3814 | return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt) | |
3815 | end | |
3816 | local Charge = Instance.new("Sound",hed) | |
3817 | Charge.SoundId = "rbxassetid://1179254378" | |
3818 | Charge.Pitch = 1.2 | |
3819 | Charge.Looped = true | |
3820 | Charge.Volume = 5 | |
3821 | local Charge2 = Instance.new("Sound",hed) | |
3822 | Charge2.SoundId = "rbxassetid://908226507" | |
3823 | Charge2.Pitch = 1 | |
3824 | Charge2.Looped = true | |
3825 | Charge2.Volume = 2.5 | |
3826 | local Charge3 = Instance.new("Sound",hed) | |
3827 | Charge3.SoundId = "rbxassetid://1116208999" | |
3828 | Charge3.Pitch = 1 | |
3829 | Charge3.Looped = true | |
3830 | Charge3.Volume = 2.5 | |
3831 | ||
3832 | mouse.KeyDown:connect(function(key) | |
3833 | if key == "p" and ui == false then | |
3834 | canattack = false | |
3835 | canidle = false | |
3836 | canwalk = false | |
3837 | start = true | |
3838 | wait(0.4) | |
3839 | local Flame = Instance.new("ParticleEmitter",root) | |
3840 | Flame.Texture = "rbxassetid://1332922037" | |
3841 | Flame.Color = ColorSequence.new(BrickColor.new("White").Color) | |
3842 | Flame.EmissionDirection = "Top" | |
3843 | Flame.Speed = NumberRange.new(3) | |
3844 | Flame.Size = NumberSequence.new(5.5,4) | |
3845 | Flame.Transparency = NumberSequence.new(0.8,1) | |
3846 | Flame.Drag = 0.4 | |
3847 | Flame.LightInfluence = 0 | |
3848 | Flame.LockedToPart = true | |
3849 | Flame.Lifetime = NumberRange.new(1) | |
3850 | Flame.Rate = 65 | |
3851 | Flame.LightEmission = 1 | |
3852 | Flame.Rotation = NumberRange.new(-5,5) | |
3853 | Flame.VelocitySpread = 100 | |
3854 | Flame.Acceleration = Vector3.new(0,17,0) | |
3855 | Flame.ZOffset = -0.2 | |
3856 | local Soundd = Instance.new("Sound",hed) | |
3857 | Soundd.SoundId = "rbxassetid://917377181" | |
3858 | Soundd.Pitch = 1 | |
3859 | Soundd.Looped = false | |
3860 | Soundd.Volume = 8 | |
3861 | Soundd:Play() | |
3862 | start = false | |
3863 | transforming3 = true | |
3864 | Charge3:Play() | |
3865 | end | |
3866 | end) | |
3867 | mouse.KeyDown:connect(function(key) | |
3868 | if key == "p" and ui == true then | |
3869 | canattack = false | |
3870 | canidle = false | |
3871 | canwalk = false | |
3872 | start = true | |
3873 | local Soundd = Instance.new("Sound",hed) | |
3874 | Soundd.SoundId = "rbxassetid://1019054093" | |
3875 | Soundd.Pitch = 1 | |
3876 | Soundd.Looped = false | |
3877 | Soundd.Volume = 8 | |
3878 | Soundd:Play() | |
3879 | wait(0.4) | |
3880 | ||
3881 | Charge:Play() | |
3882 | Charge2:Play() | |
3883 | ||
3884 | start = true | |
3885 | local Soundd2 = Instance.new("Sound",hed) | |
3886 | Soundd2.SoundId = "rbxassetid://874183151" | |
3887 | Soundd2.Pitch = 1 | |
3888 | Soundd2.Looped = false | |
3889 | Soundd2.Volume = 8 | |
3890 | Soundd2:Play() | |
3891 | ||
3892 | ||
3893 | local AURU = Instance.new('ParticleEmitter') | |
3894 | AURU.Name = "Aura" | |
3895 | AURU.Texture = "rbxassetid://1200947142" | |
3896 | AURU.Parent = root | |
3897 | AURU.LightEmission = 0.9 | |
3898 | AURU.Transparency = NumberSequence.new(0.1,1) | |
3899 | AURU.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3900 | AURU.Size = NumberSequence.new(8,0) | |
3901 | AURU.LockedToPart = false | |
3902 | AURU.Lifetime = NumberRange.new(0.6) | |
3903 | AURU.Rate = 230 | |
3904 | AURU.Speed = NumberRange.new(40) | |
3905 | AURU.Rotation = NumberRange.new(-360,360) | |
3906 | AURU.EmissionDirection = "Top" | |
3907 | AURU.ZOffset = 1 | |
3908 | AURU.VelocitySpread = 100 | |
3909 | AURU.RotSpeed = NumberRange.new(-100,100) | |
3910 | AURU.Acceleration = Vector3.new(0,100,0) | |
3911 | ||
3912 | start = false | |
3913 | powering = true | |
3914 | ||
3915 | end | |
3916 | end) | |
3917 | mouse.KeyUp:connect(function(key) | |
3918 | if key == "p" and ui == false then | |
3919 | canattack = true | |
3920 | canidle = true | |
3921 | canwalk = true | |
3922 | transforming3 = false | |
3923 | for i, v in pairs(root:GetChildren()) do | |
3924 | if v:IsA("ParticleEmitter")then | |
3925 | v.Rate = 0 | |
3926 | end | |
3927 | end | |
3928 | local Auura = Instance.new("Sound",hed) | |
3929 | Auura.SoundId = "rbxassetid://550621034" | |
3930 | Auura.Pitch = 1 | |
3931 | Auura.Looped = false | |
3932 | Auura.Volume = 5 | |
3933 | Auura:Play() | |
3934 | Charge3:Stop() | |
3935 | end | |
3936 | end) | |
3937 | mouse.KeyUp:connect(function(key) | |
3938 | if key == "p" and ui == true then | |
3939 | canattack = true | |
3940 | canidle = true | |
3941 | canwalk = true | |
3942 | powering = false | |
3943 | for i, v in pairs(root:GetChildren()) do | |
3944 | if v:IsA("ParticleEmitter")then | |
3945 | v.Rate = 0 | |
3946 | end | |
3947 | end | |
3948 | local Auura = Instance.new("Sound",hed) | |
3949 | Auura.SoundId = "rbxassetid://922710675" | |
3950 | Auura.Pitch = 1 | |
3951 | Auura.Looped = false | |
3952 | Auura.Volume = 5 | |
3953 | Auura:Play() | |
3954 | Charge:Stop() | |
3955 | Charge2:Stop() | |
3956 | ||
3957 | end | |
3958 | end) | |
3959 | mouse.KeyDown:connect(function(key) | |
3960 | if key == "y" and ui == true and muiable == true then | |
3961 | instinct = false | |
3962 | for i, v in pairs(torso:GetChildren()) do | |
3963 | if v:IsA("Sound")then | |
3964 | v:Remove() | |
3965 | end | |
3966 | end | |
3967 | for i, v in pairs(hed:GetChildren()) do | |
3968 | if v:IsA("Sound")then | |
3969 | v:Remove() | |
3970 | end | |
3971 | end | |
3972 | ||
3973 | canattack = false | |
3974 | canidle = false | |
3975 | canwalk = false | |
3976 | transforming3 = true | |
3977 | local UltraInstinct = Instance.new("Sound",char) | |
3978 | UltraInstinct.SoundId = "rbxassetid://1419716650" | |
3979 | UltraInstinct.Pitch = 1 | |
3980 | UltraInstinct.Looped = false | |
3981 | UltraInstinct.Volume = 1.5 | |
3982 | UltraInstinct:Play() | |
3983 | local Auura = Instance.new("Sound",hed) | |
3984 | Auura.SoundId = "rbxassetid://1179254378" | |
3985 | Auura.Pitch = 1.3 | |
3986 | Auura.Looped = true | |
3987 | Auura.Volume = 8 | |
3988 | Auura:Play() | |
3989 | hum.WalkSpeed = 0 | |
3990 | coroutine.resume(coroutine.create(function() | |
3991 | for i = 1,380 do | |
3992 | CamShakeAll(32,80,torso) | |
3993 | game:GetService("RunService").RenderStepped:wait() | |
3994 | end | |
3995 | end)) | |
3996 | ||
3997 | local CHAINLINKS = {} | |
3998 | local POS = mouse.Hit.p | |
3999 | local CHAINS = false | |
4000 | local CHAINLINKS = {} | |
4001 | local A = Instance.new("Attachment",root) | |
4002 | A.Position = Vector3.new(1.5,-0.5,0)*Player_Size | |
4003 | A.Orientation = Vector3.new(-90, -89.982, 0) | |
4004 | local B = Instance.new("Attachment",root) | |
4005 | B.Position = Vector3.new(-1.5,-0.5,0)*Player_Size | |
4006 | B.Orientation = Vector3.new(-90, 89.988, 0) | |
4007 | local C = Instance.new("Attachment",root) | |
4008 | C.Position = Vector3.new(1.5,-0.5,0)*Player_Size | |
4009 | C.Orientation = Vector3.new(-90, -89.982, 0) | |
4010 | local D = Instance.new("Attachment",root) | |
4011 | D.Position = Vector3.new(-1.5,-0.5,0)*Player_Size | |
4012 | D.Orientation = Vector3.new(-90, 89.988, 0) | |
4013 | local LIGHT = Instance.new("Attachment",root) | |
4014 | LIGHT.Position = Vector3.new(1.5,-0.5,0)*Player_Size | |
4015 | local LIGHT2 = Instance.new("PointLight",larm) | |
4016 | LIGHT2.Range = 10 | |
4017 | LIGHT2.Brightness = 20 | |
4018 | LIGHT2.Color = Color3.new(0, 255, 255) | |
4019 | for i = 1, 2 do | |
4020 | local TWIST = 0 | |
4021 | local START = A | |
4022 | local END = B | |
4023 | if i == 1 then | |
4024 | START = B | |
4025 | END = A | |
4026 | end | |
4027 | local ChainLink = Instance.new("Beam",torso) | |
4028 | ChainLink.Texture = "rbxassetid://134532208" | |
4029 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
4030 | ChainLink.TextureSpeed = 5 | |
4031 | ChainLink.Width0 = 200 | |
4032 | ChainLink.Width1 = 200 | |
4033 | ChainLink.TextureLength = 9.5 | |
4034 | ChainLink.Attachment0 = START | |
4035 | ChainLink.Attachment1 = END | |
4036 | ChainLink.CurveSize0 = TWIST | |
4037 | ChainLink.CurveSize1 = TWIST | |
4038 | --ChainLink.FaceCamera = true | |
4039 | ChainLink.Segments = 185 | |
4040 | ChainLink.Transparency = NumberSequence.new(0.5) | |
4041 | table.insert(CHAINLINKS,ChainLink) | |
4042 | end | |
4043 | for _, c in pairs(char:GetDescendants()) do | |
4044 | if c and c.Parent then | |
4045 | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then | |
4046 | if c:FindFirstChildOfClass("SpecialMesh") then | |
4047 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
4048 | ||
4049 | c.Material = "Glass" | |
4050 | end | |
4051 | ||
4052 | end | |
4053 | end | |
4054 | end | |
4055 | ||
4056 | local AURU = Instance.new('ParticleEmitter') | |
4057 | AURU.Name = "Aura" | |
4058 | AURU.Texture = "rbxassetid://1200947142" | |
4059 | AURU.Parent = root | |
4060 | AURU.LightEmission = 0.6 | |
4061 | AURU.Transparency = NumberSequence.new(0.1,1) | |
4062 | AURU.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
4063 | AURU.Size = NumberSequence.new(5,0) | |
4064 | AURU.LockedToPart = false | |
4065 | AURU.Lifetime = NumberRange.new(1) | |
4066 | AURU.Rate = 530 | |
4067 | AURU.Speed = NumberRange.new(40) | |
4068 | AURU.Rotation = NumberRange.new(-360,360) | |
4069 | AURU.EmissionDirection = "Top" | |
4070 | AURU.ZOffset = 2 | |
4071 | AURU.VelocitySpread = 100 | |
4072 | AURU.RotSpeed = NumberRange.new(-100,100) | |
4073 | coroutine.resume(coroutine.create(function() | |
4074 | for i = 3,170 do | |
4075 | ||
4076 | ||
4077 | local HQG = Instance.new("Part",char) | |
4078 | HQG.Size = Vector3.new(1,0,1) | |
4079 | HQG.BrickColor = BrickColor.new("Ghost grey") | |
4080 | HQG.Material = "Neon" | |
4081 | HQG.Anchored = true | |
4082 | HQG.CanCollide = false | |
4083 | HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4084 | local HQG2 = Instance.new("SpecialMesh",HQG) | |
4085 | HQG2.MeshId = "rbxassetid://1726537151" | |
4086 | HQG2.Scale = Vector3.new(0.01,0.01,0.01) | |
4087 | ||
4088 | ||
4089 | coroutine.resume(coroutine.create(function() | |
4090 | for i = 1,200 do | |
4091 | ||
4092 | ||
4093 | HQG2.Scale = HQG2.Scale + Vector3.new(0.08,0.1,0.08) | |
4094 | HQG.Transparency = HQG.Transparency + 0.07 | |
4095 | HQG.CFrame = HQG.CFrame*CFrame.Angles(0,-0.3,0) | |
4096 | ||
4097 | wait(0.00000000001) | |
4098 | end | |
4099 | ||
4100 | HQG:Destroy() | |
4101 | HQG2:Destroy() | |
4102 | ||
4103 | end)) | |
4104 | ||
4105 | ||
4106 | wait(0.2) | |
4107 | end | |
4108 | end)) | |
4109 | wait(10) | |
4110 | AURU.Acceleration = Vector3.new(0,250,0) | |
4111 | AURU.Rate = 230 | |
4112 | wait(1) | |
4113 | coroutine.resume(coroutine.create(function() | |
4114 | for i = 1,130 do | |
4115 | CamShakeAll(32,180,torso) | |
4116 | game:GetService("RunService").RenderStepped:wait() | |
4117 | end | |
4118 | end)) | |
4119 | AURU.Size = NumberSequence.new(10,0) | |
4120 | wait(1) | |
4121 | coroutine.resume(coroutine.create(function() | |
4122 | for i = 1,30 do | |
4123 | CamShakeAll(32,200,torso) | |
4124 | game:GetService("RunService").RenderStepped:wait() | |
4125 | end | |
4126 | end)) | |
4127 | AURU.Size = NumberSequence.new(20,0) | |
4128 | wait(1) | |
4129 | coroutine.resume(coroutine.create(function() | |
4130 | for i = 1,970 do | |
4131 | CamShakeAll(32,490,torso) | |
4132 | game:GetService("RunService").RenderStepped:wait() | |
4133 | end | |
4134 | end)) | |
4135 | ||
4136 | ||
4137 | AURU.Size = NumberSequence.new(30,80) | |
4138 | Auura.Pitch = 1.5 | |
4139 | Auura.Volume = 10 | |
4140 | AURU.VelocitySpread = 100 | |
4141 | wait(7) | |
4142 | AURU.Rate = 100 | |
4143 | AURU.Size = NumberSequence.new(50,0) | |
4144 | AURU.Lifetime = NumberRange.new(100) | |
4145 | AURU.Acceleration = Vector3.new(0,0,0) | |
4146 | AURU.Speed = NumberRange.new(7) | |
4147 | ||
4148 | ||
4149 | ||
4150 | ||
4151 | wait(18) | |
4152 | local Grab = Instance.new("Part",hed) | |
4153 | Grab.Size = Vector3.new(3.9,5,3.9) | |
4154 | Grab.CanCollide = false | |
4155 | Grab.BrickColor = BrickColor.new("Deep orange") | |
4156 | Grab.Transparency = 1 | |
4157 | local Grabo = Instance.new("Weld",Grab) | |
4158 | Grabo.Part0 = hed | |
4159 | Grabo.Part1 = Grab | |
4160 | Grabo.C0 = CFrame.new(0,-1.5,0) | |
4161 | ||
4162 | local AuraB = Instance.new("Part",hed) | |
4163 | AuraB.Size = Vector3.new(2,1,2) | |
4164 | AuraB.CanCollide = false | |
4165 | AuraB.BrickColor = BrickColor.new("Deep orange") | |
4166 | AuraB.Transparency = 1 | |
4167 | local AuraBo = Instance.new("Weld",AuraB) | |
4168 | AuraBo.Part0 = hed | |
4169 | AuraBo.Part1 = AuraB | |
4170 | AuraBo.C0 = CFrame.new(0,-3.6,0) | |
4171 | ||
4172 | local FZcharge3 = Instance.new("ParticleEmitter",Grab) | |
4173 | FZcharge3.Texture = "rbxassetid://1460362359" | |
4174 | FZcharge3.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
4175 | FZcharge3.EmissionDirection = "Top" | |
4176 | FZcharge3.Speed = NumberRange.new(2) | |
4177 | FZcharge3.Size = NumberSequence.new(0.4,0) | |
4178 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
4179 | FZcharge3.Drag = 1.2 | |
4180 | FZcharge3.LockedToPart = true | |
4181 | FZcharge3.Lifetime = NumberRange.new(1) | |
4182 | FZcharge3.Rate = 35 | |
4183 | FZcharge3.LightEmission = 0.3 | |
4184 | FZcharge3.Rotation = NumberRange.new(-5,5) | |
4185 | FZcharge3.VelocitySpread = 0.2 | |
4186 | FZcharge3.ZOffset = 2.5 | |
4187 | Auura:Destroy() | |
4188 | canattack = true | |
4189 | canidle = true | |
4190 | canwalk = true | |
4191 | transforming3 = false | |
4192 | wait(0.1) | |
4193 | local Auura = Instance.new("Sound",hed) | |
4194 | Auura.SoundId = "rbxassetid://1504498051" | |
4195 | Auura.Pitch = 1 | |
4196 | Auura.Looped = true | |
4197 | Auura.Volume = 8 | |
4198 | Auura:Play() | |
4199 | AURU.Rate = 0 | |
4200 | UltraInstinct:Stop() | |
4201 | wait(0.1) | |
4202 | local Flame = Instance.new("ParticleEmitter",torso) | |
4203 | Flame.Texture = "rbxassetid://1332922037" | |
4204 | Flame.Color = ColorSequence.new(BrickColor.new("Dark blue").Color) | |
4205 | Flame.EmissionDirection = "Top" | |
4206 | Flame.Speed = NumberRange.new(3) | |
4207 | Flame.Size = NumberSequence.new(5.5,4) | |
4208 | Flame.Transparency = NumberSequence.new(0.8,1) | |
4209 | Flame.Drag = 0.4 | |
4210 | Flame.LightInfluence = 0 | |
4211 | Flame.LockedToPart = true | |
4212 | Flame.Lifetime = NumberRange.new(1) | |
4213 | Flame.Rate = 45 | |
4214 | Flame.LightEmission = 1 | |
4215 | Flame.Rotation = NumberRange.new(-5,5) | |
4216 | Flame.VelocitySpread = 100 | |
4217 | Flame.Acceleration = Vector3.new(0,17,0) | |
4218 | Flame.ZOffset = -1.1 | |
4219 | local Aura = Instance.new("ParticleEmitter",rarm) | |
4220 | Aura.Texture = "rbxassetid://1207853932" | |
4221 | Aura.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
4222 | Aura.EmissionDirection = "Top" | |
4223 | Aura.Speed = NumberRange.new(1) | |
4224 | Aura.Size = NumberSequence.new(1.2) | |
4225 | Aura.Transparency = NumberSequence.new(0.6,1) | |
4226 | Aura.Drag = 0.4 | |
4227 | Aura.LightInfluence = 0 | |
4228 | Aura.LockedToPart = true | |
4229 | Aura.Lifetime = NumberRange.new(1.2) | |
4230 | Aura.Rate = 18 | |
4231 | Aura.LightEmission = 1 | |
4232 | Aura.Rotation = NumberRange.new(-360,360) | |
4233 | Aura.VelocitySpread = 0 | |
4234 | Aura.Acceleration = Vector3.new(0,0,0) | |
4235 | Aura.ZOffset = 0.2 | |
4236 | local Aura2 = Instance.new("ParticleEmitter",larm) | |
4237 | Aura2.Texture = "rbxassetid://1207853932" | |
4238 | Aura2.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
4239 | Aura2.EmissionDirection = "Top" | |
4240 | Aura2.Speed = NumberRange.new(1) | |
4241 | Aura2.Size = NumberSequence.new(1.2) | |
4242 | Aura2.Transparency = NumberSequence.new(0.6,1) | |
4243 | Aura2.Drag = 0.4 | |
4244 | Aura2.LightInfluence = 0 | |
4245 | Aura2.LockedToPart = true | |
4246 | Aura2.Lifetime = NumberRange.new(1.2) | |
4247 | Aura2.Rate = 18 | |
4248 | Aura2.LightEmission = 1 | |
4249 | Aura2.Rotation = NumberRange.new(-360,360) | |
4250 | Aura2.VelocitySpread = 0 | |
4251 | Aura2.Acceleration = Vector3.new(0,0,0) | |
4252 | Aura2.ZOffset = 0.2 | |
4253 | local Aura3 = Instance.new("ParticleEmitter",torso) | |
4254 | Aura3.Texture = "rbxassetid://1207853932" | |
4255 | Aura3.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
4256 | Aura3.EmissionDirection = "Top" | |
4257 | Aura3.Speed = NumberRange.new(1) | |
4258 | Aura3.Size = NumberSequence.new(1.2) | |
4259 | Aura3.Transparency = NumberSequence.new(0.6,1) | |
4260 | Aura3.Drag = 0.4 | |
4261 | Aura3.LightInfluence = 0 | |
4262 | Aura3.LockedToPart = true | |
4263 | Aura3.Lifetime = NumberRange.new(1.2) | |
4264 | Aura3.Rate = 18 | |
4265 | Aura3.LightEmission = 1 | |
4266 | Aura3.Rotation = NumberRange.new(-360,360) | |
4267 | Aura3.VelocitySpread = 0 | |
4268 | Aura3.Acceleration = Vector3.new(0,0,0) | |
4269 | Aura3.ZOffset = 0.2 | |
4270 | local Aura4 = Instance.new("ParticleEmitter",hed) | |
4271 | Aura4.Texture = "rbxassetid://1207853932" | |
4272 | Aura4.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
4273 | Aura4.EmissionDirection = "Top" | |
4274 | Aura4.Speed = NumberRange.new(1) | |
4275 | Aura4.Size = NumberSequence.new(1.2) | |
4276 | Aura4.Transparency = NumberSequence.new(0.6,1) | |
4277 | Aura4.Drag = 0.4 | |
4278 | Aura4.LightInfluence = 0 | |
4279 | Aura4.LockedToPart = true | |
4280 | Aura4.Lifetime = NumberRange.new(1.2) | |
4281 | Aura4.Rate = 18 | |
4282 | Aura4.LightEmission = 1 | |
4283 | Aura4.Rotation = NumberRange.new(-360,360) | |
4284 | Aura4.VelocitySpread = 0 | |
4285 | Aura4.Acceleration = Vector3.new(0,0,0) | |
4286 | Aura4.ZOffset = 0.2 | |
4287 | local Aura5 = Instance.new("ParticleEmitter",torso) | |
4288 | Aura5.Texture = "rbxassetid://242255193" | |
4289 | Aura5.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
4290 | Aura5.EmissionDirection = "Top" | |
4291 | Aura5.Speed = NumberRange.new(4) | |
4292 | Aura5.Size = NumberSequence.new(4) | |
4293 | Aura5.Transparency = NumberSequence.new(0.9,1) | |
4294 | Aura5.Drag = 0.4 | |
4295 | Aura5.LightInfluence = 0 | |
4296 | Aura5.LockedToPart = true | |
4297 | Aura5.Lifetime = NumberRange.new(2) | |
4298 | Aura5.Rate = 18 | |
4299 | Aura5.LightEmission = 1 | |
4300 | Aura5.Rotation = NumberRange.new(-360,360) | |
4301 | Aura5.VelocitySpread = 1 | |
4302 | Aura5.Acceleration = Vector3.new(0,0,0) | |
4303 | Aura5.ZOffset = 2 | |
4304 | local Aura6 = Instance.new("ParticleEmitter",lleg) | |
4305 | Aura6.Texture = "rbxassetid://1207853932" | |
4306 | Aura6.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
4307 | Aura6.EmissionDirection = "Top" | |
4308 | Aura6.Speed = NumberRange.new(1) | |
4309 | Aura6.Size = NumberSequence.new(1.2) | |
4310 | Aura6.Transparency = NumberSequence.new(0.6,1) | |
4311 | Aura6.Drag = 0.4 | |
4312 | Aura6.LightInfluence = 0 | |
4313 | Aura6.LockedToPart = true | |
4314 | Aura6.Lifetime = NumberRange.new(1.2) | |
4315 | Aura6.Rate = 18 | |
4316 | Aura6.LightEmission = 1 | |
4317 | Aura6.Rotation = NumberRange.new(-360,360) | |
4318 | Aura6.VelocitySpread = 0 | |
4319 | Aura6.Acceleration = Vector3.new(0,0,0) | |
4320 | Aura6.ZOffset = 0.2 | |
4321 | local Aura7 = Instance.new("ParticleEmitter",rleg) | |
4322 | Aura7.Texture = "rbxassetid://1207853932" | |
4323 | Aura7.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
4324 | Aura7.EmissionDirection = "Top" | |
4325 | Aura7.Speed = NumberRange.new(1) | |
4326 | Aura7.Size = NumberSequence.new(1.2) | |
4327 | Aura7.Transparency = NumberSequence.new(0.6,1) | |
4328 | Aura7.Drag = 0.4 | |
4329 | Aura7.LightInfluence = 0 | |
4330 | Aura7.LockedToPart = true | |
4331 | Aura7.Lifetime = NumberRange.new(1.2) | |
4332 | Aura7.Rate = 18 | |
4333 | Aura7.LightEmission = 1 | |
4334 | Aura7.Rotation = NumberRange.new(-360,360) | |
4335 | Aura7.VelocitySpread = 0 | |
4336 | Aura7.Acceleration = Vector3.new(0,0,0) | |
4337 | Aura7.ZOffset = 0.2 | |
4338 | local UltraInstinct = Instance.new("Sound",torso) | |
4339 | UltraInstinct.SoundId = "rbxassetid://1475916014" | |
4340 | UltraInstinct.Pitch = 1 | |
4341 | UltraInstinct.Looped = false | |
4342 | UltraInstinct.Volume = 10 | |
4343 | UltraInstinct:Play() | |
4344 | hum.WalkSpeed = 20 | |
4345 | instinct = true | |
4346 | for i, v in pairs(torso:GetChildren()) do | |
4347 | if v:IsA("Beam")then | |
4348 | v:Remove() | |
4349 | end | |
4350 | end | |
4351 | for i, v in pairs(torso:GetChildren()) do | |
4352 | if v:IsA("PointLight")then | |
4353 | v:Remove() | |
4354 | end | |
4355 | end | |
4356 | local Grab = Instance.new("Part",hed) | |
4357 | Grab.Size = Vector3.new(3.9,5,3.9) | |
4358 | Grab.CanCollide = false | |
4359 | Grab.BrickColor = BrickColor.new("Deep orange") | |
4360 | Grab.Transparency = 1 | |
4361 | local Grabo = Instance.new("Weld",Grab) | |
4362 | Grabo.Part0 = hed | |
4363 | Grabo.Part1 = Grab | |
4364 | Grabo.C0 = CFrame.new(0,-1.5,0) | |
4365 | ||
4366 | local AuraB = Instance.new("Part",hed) | |
4367 | AuraB.Size = Vector3.new(2,1,2) | |
4368 | AuraB.CanCollide = false | |
4369 | AuraB.BrickColor = BrickColor.new("Deep orange") | |
4370 | AuraB.Transparency = 1 | |
4371 | local AuraBo = Instance.new("Weld",AuraB) | |
4372 | AuraBo.Part0 = hed | |
4373 | AuraBo.Part1 = AuraB | |
4374 | AuraBo.C0 = CFrame.new(0,-3.6,0) | |
4375 | local FZcharge3 = Instance.new("ParticleEmitter",Grab) | |
4376 | FZcharge3.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
4377 | FZcharge3.EmissionDirection = "Top" | |
4378 | FZcharge3.Speed = NumberRange.new(2) | |
4379 | FZcharge3.Size = NumberSequence.new(0.6,0) | |
4380 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
4381 | FZcharge3.Drag = 1.2 | |
4382 | FZcharge3.LockedToPart = true | |
4383 | FZcharge3.Lifetime = NumberRange.new(1) | |
4384 | FZcharge3.Rate = 55 | |
4385 | FZcharge3.LightEmission = 0.3 | |
4386 | FZcharge3.Rotation = NumberRange.new(-5,5) | |
4387 | FZcharge3.VelocitySpread = 0.2 | |
4388 | FZcharge3.ZOffset = 3.5 | |
4389 | FZcharge3.Texture = "rbxassetid://1509406387" | |
4390 | FZcharge3.Speed = NumberRange.new(0) | |
4391 | FZcharge3.Lifetime = NumberRange.new(0.5) | |
4392 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
4393 | FZcharge3.RotSpeed = NumberRange.new(-300,300) | |
4394 | ||
4395 | end | |
4396 | end) | |
4397 | ||
4398 | ||
4399 | ||
4400 | ||
4401 | ||
4402 | mouse.KeyDown:connect(function(key) | |
4403 | if key == "u" and base == true and transformed == false then | |
4404 | ||
4405 | canattack = false | |
4406 | canidle = false | |
4407 | canwalk = false | |
4408 | hum.WalkSpeed = 0 | |
4409 | transformed = true | |
4410 | ||
4411 | local UltraInstinct = Instance.new("Sound",char) | |
4412 | UltraInstinct.SoundId = "rbxassetid://1649969788" | |
4413 | UltraInstinct.Pitch = 1 | |
4414 | UltraInstinct.Looped = false | |
4415 | UltraInstinct.Volume = 4.5 | |
4416 | UltraInstinct:Play() | |
4417 | ||
4418 | wait(1) | |
4419 | ||
4420 | coroutine.resume(coroutine.create(function() | |
4421 | for i = 1,450 do | |
4422 | CamShakeAll(32,270,torso) | |
4423 | game:GetService("RunService").RenderStepped:wait() | |
4424 | end | |
4425 | end)) | |
4426 | ||
4427 | hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://340886253" | |
4428 | coroutine.resume(coroutine.create(function() | |
4429 | for i = 1,1000000000 do | |
4430 | hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://340886253" | |
4431 | wait(5) | |
4432 | hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://730551415" | |
4433 | wait(0.1) | |
4434 | hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://340886253" | |
4435 | coroutine.resume(coroutine.create(function() | |
4436 | for i = 1,90 do | |
4437 | ||
4438 | ||
4439 | wait(0.00000000001) | |
4440 | end | |
4441 | ||
4442 | ||
4443 | end)) | |
4444 | wait(0.3) | |
4445 | end | |
4446 | end)) | |
4447 | local Grab = Instance.new("Part",hed) | |
4448 | Grab.Size = Vector3.new(4.9,0.1,4.9) | |
4449 | Grab.CanCollide = false | |
4450 | Grab.BrickColor = BrickColor.new("Deep orange") | |
4451 | Grab.Transparency = 1 | |
4452 | local Grabo = Instance.new("Weld",Grab) | |
4453 | Grabo.Part0 = hed | |
4454 | Grabo.Part1 = Grab | |
4455 | Grabo.C0 = CFrame.new(0,-4,0) | |
4456 | ||
4457 | local AuraB = Instance.new("Part",hed) | |
4458 | AuraB.Size = Vector3.new(2,1,2) | |
4459 | AuraB.CanCollide = false | |
4460 | AuraB.BrickColor = BrickColor.new("Deep orange") | |
4461 | AuraB.Transparency = 1 | |
4462 | local AuraBo = Instance.new("Weld",AuraB) | |
4463 | AuraBo.Part0 = hed | |
4464 | AuraBo.Part1 = AuraB | |
4465 | AuraBo.C0 = CFrame.new(0,-3.6,0) | |
4466 | ||
4467 | ||
4468 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
4469 | if par then | |
4470 | local cfremz = CFrame.new(loc) | |
4471 | debris(cfremz, par, 50) | |
4472 | end | |
4473 | local Smoke = Instance.new('ParticleEmitter') | |
4474 | Smoke.Name = "Aura" | |
4475 | Smoke.Texture = "rbxassetid://242201991" | |
4476 | Smoke.Parent = Grab | |
4477 | Smoke.LightEmission = 0 | |
4478 | Smoke.Transparency = NumberSequence.new(0.3,1) | |
4479 | Smoke.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color) | |
4480 | Smoke.Size = NumberSequence.new(0,10) | |
4481 | Smoke.LockedToPart = false | |
4482 | Smoke.Lifetime = NumberRange.new(1) | |
4483 | Smoke.Rate = 48 | |
4484 | Smoke.Speed = NumberRange.new(40) | |
4485 | Smoke.Rotation = NumberRange.new(-360,360) | |
4486 | Smoke.EmissionDirection = "Left" | |
4487 | Smoke.ZOffset = 0 | |
4488 | local Smoke2 = Instance.new('ParticleEmitter') | |
4489 | Smoke2.Name = "Aura" | |
4490 | Smoke2.Texture = "rbxassetid://242201991" | |
4491 | Smoke2.Parent = Grab | |
4492 | Smoke2.LightEmission = 0 | |
4493 | Smoke2.Transparency = NumberSequence.new(0.3,1) | |
4494 | Smoke2.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color) | |
4495 | Smoke2.Size = NumberSequence.new(0,10) | |
4496 | Smoke2.LockedToPart = false | |
4497 | Smoke2.Lifetime = NumberRange.new(1) | |
4498 | Smoke2.Rate = 48 | |
4499 | Smoke2.Speed = NumberRange.new(40) | |
4500 | Smoke2.Rotation = NumberRange.new(-360,360) | |
4501 | Smoke2.EmissionDirection = "Right" | |
4502 | Smoke2.ZOffset = 0 | |
4503 | local Smoke3 = Instance.new('ParticleEmitter') | |
4504 | Smoke3.Name = "Aura" | |
4505 | Smoke3.Texture = "rbxassetid://242201991" | |
4506 | Smoke3.Parent = Grab | |
4507 | Smoke3.LightEmission = 0 | |
4508 | Smoke3.Transparency = NumberSequence.new(0.3,1) | |
4509 | Smoke3.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color) | |
4510 | Smoke3.Size = NumberSequence.new(0,10) | |
4511 | Smoke3.LockedToPart = false | |
4512 | Smoke3.Lifetime = NumberRange.new(1) | |
4513 | Smoke3.Rate = 48 | |
4514 | Smoke3.Speed = NumberRange.new(40) | |
4515 | Smoke3.Rotation = NumberRange.new(-360,360) | |
4516 | Smoke3.EmissionDirection = "Front" | |
4517 | Smoke3.ZOffset = 0 | |
4518 | local Smoke4 = Instance.new('ParticleEmitter') | |
4519 | Smoke4.Name = "Aura" | |
4520 | Smoke4.Texture = "rbxassetid://242201991" | |
4521 | Smoke4.Parent = Grab | |
4522 | Smoke4.LightEmission = 0 | |
4523 | Smoke4.Transparency = NumberSequence.new(0.3,1) | |
4524 | Smoke4.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color) | |
4525 | Smoke4.Size = NumberSequence.new(0,10) | |
4526 | Smoke4.LockedToPart = false | |
4527 | Smoke4.Lifetime = NumberRange.new(1) | |
4528 | Smoke4.Rate = 48 | |
4529 | Smoke4.Speed = NumberRange.new(40) | |
4530 | Smoke4.Rotation = NumberRange.new(-360,360) | |
4531 | Smoke4.EmissionDirection = "Back" | |
4532 | Smoke4.ZOffset = 0 | |
4533 | ||
4534 | ||
4535 | local Aura = Instance.new("ParticleEmitter",torso) | |
4536 | Aura.Texture = "rbxassetid://243728206" | |
4537 | Aura.Color = ColorSequence.new(Color3.fromRGB(114, 255, 246)) | |
4538 | Aura.EmissionDirection = "Top" | |
4539 | Aura.Speed = NumberRange.new(0) | |
4540 | Aura.Size = NumberSequence.new(60,70) | |
4541 | Aura.Transparency = NumberSequence.new(0) | |
4542 | Aura.Drag = 0.4 | |
4543 | Aura.LightInfluence = 0 | |
4544 | Aura.LockedToPart = true | |
4545 | Aura.Lifetime = NumberRange.new(1) | |
4546 | Aura.Rate = 38 | |
4547 | Aura.LightEmission = 1 | |
4548 | Aura.Rotation = NumberRange.new(-360,360) | |
4549 | Aura.VelocitySpread = 0 | |
4550 | Aura.Acceleration = Vector3.new(0,0,0) | |
4551 | Aura.ZOffset = 2.5 | |
4552 | Aura.RotSpeed = NumberRange.new(-100,100) | |
4553 | ||
4554 | local Aura2 = Instance.new("ParticleEmitter",torso) | |
4555 | Aura2.Texture = "rbxassetid://434298892" | |
4556 | Aura2.Color = ColorSequence.new(Color3.fromRGB(114, 255, 246)) | |
4557 | Aura2.EmissionDirection = "Top" | |
4558 | Aura2.Speed = NumberRange.new(110) | |
4559 | Aura2.Size = NumberSequence.new(30) | |
4560 | Aura2.Transparency = NumberSequence.new(0) | |
4561 | Aura2.Drag = 0.4 | |
4562 | Aura2.LightInfluence = 0 | |
4563 | Aura2.LockedToPart = true | |
4564 | Aura2.Lifetime = NumberRange.new(5) | |
4565 | Aura2.Rate = 78 | |
4566 | Aura2.LightEmission = 1 | |
4567 | Aura2.Rotation = NumberRange.new(-5,5) | |
4568 | Aura2.VelocitySpread = 0 | |
4569 | Aura2.Acceleration = Vector3.new(0,0,0) | |
4570 | Aura2.ZOffset = 2.5 | |
4571 | ||
4572 | coroutine.resume(coroutine.create(function() | |
4573 | for i = 1,1450 do | |
4574 | CamShakeAll(5,65,torso) | |
4575 | game:GetService("RunService").RenderStepped:wait() | |
4576 | end | |
4577 | end)) | |
4578 | wait(37) | |
4579 | Aura.Rate = 0 | |
4580 | Aura2.Rate = 0 | |
4581 | wait(0.1) | |
4582 | local AURU = Instance.new('ParticleEmitter') | |
4583 | AURU.Name = "Aura" | |
4584 | AURU.Texture = "rbxassetid://1200947142" | |
4585 | AURU.Parent = root | |
4586 | AURU.LightEmission = 0.6 | |
4587 | AURU.Transparency = NumberSequence.new(0.1,1) | |
4588 | AURU.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
4589 | AURU.Size = NumberSequence.new(10,20) | |
4590 | AURU.LockedToPart = true | |
4591 | AURU.Lifetime = NumberRange.new(1) | |
4592 | AURU.Rate = 530 | |
4593 | AURU.Speed = NumberRange.new(40) | |
4594 | AURU.Rotation = NumberRange.new(-360,360) | |
4595 | AURU.EmissionDirection = "Top" | |
4596 | AURU.ZOffset = -1 | |
4597 | wait(0.1) | |
4598 | AURU.Rate = 1200 | |
4599 | AURU.VelocitySpread = 100 | |
4600 | wait(0.5) | |
4601 | AURU.Rate = 0 | |
4602 | local Aura = Instance.new("ParticleEmitter",rarm) | |
4603 | Aura.Texture = "rbxassetid://1207853932" | |
4604 | Aura.Color = ColorSequence.new(Color3.fromRGB(33, 54, 255)) | |
4605 | Aura.EmissionDirection = "Top" | |
4606 | Aura.Speed = NumberRange.new(1) | |
4607 | Aura.Size = NumberSequence.new(1.2) | |
4608 | Aura.Transparency = NumberSequence.new(0,1) | |
4609 | Aura.Drag = 0.4 | |
4610 | Aura.LightInfluence = 0 | |
4611 | Aura.LockedToPart = true | |
4612 | Aura.Lifetime = NumberRange.new(1.2) | |
4613 | Aura.Rate = 48 | |
4614 | Aura.LightEmission = 1 | |
4615 | Aura.Rotation = NumberRange.new(-360,360) | |
4616 | Aura.VelocitySpread = 0 | |
4617 | Aura.Acceleration = Vector3.new(0,0,0) | |
4618 | Aura.ZOffset = 0.2 | |
4619 | local Aura2 = Instance.new("ParticleEmitter",larm) | |
4620 | Aura2.Texture = "rbxassetid://1207853932" | |
4621 | Aura2.Color = ColorSequence.new(Color3.fromRGB(33, 54, 255)) | |
4622 | Aura2.EmissionDirection = "Top" | |
4623 | Aura2.Speed = NumberRange.new(1) | |
4624 | Aura2.Size = NumberSequence.new(1.2) | |
4625 | Aura2.Transparency = NumberSequence.new(0,1) | |
4626 | Aura2.Drag = 0.4 | |
4627 | Aura2.LightInfluence = 0 | |
4628 | Aura2.LockedToPart = true | |
4629 | Aura2.Lifetime = NumberRange.new(1.2) | |
4630 | Aura2.Rate = 48 | |
4631 | Aura2.LightEmission = 1 | |
4632 | Aura2.Rotation = NumberRange.new(-360,360) | |
4633 | Aura2.VelocitySpread = 0 | |
4634 | Aura2.Acceleration = Vector3.new(0,0,0) | |
4635 | Aura2.ZOffset = 0.2 | |
4636 | local Aura3 = Instance.new("ParticleEmitter",torso) | |
4637 | Aura3.Texture = "rbxassetid://1207853932" | |
4638 | Aura3.Color = ColorSequence.new(Color3.fromRGB(33, 54, 255)) | |
4639 | Aura3.EmissionDirection = "Top" | |
4640 | Aura3.Speed = NumberRange.new(1) | |
4641 | Aura3.Size = NumberSequence.new(1.2) | |
4642 | Aura3.Transparency = NumberSequence.new(0,1) | |
4643 | Aura3.Drag = 0.4 | |
4644 | Aura3.LightInfluence = 0 | |
4645 | Aura3.LockedToPart = true | |
4646 | Aura3.Lifetime = NumberRange.new(1.2) | |
4647 | Aura3.Rate = 48 | |
4648 | Aura3.LightEmission = 1 | |
4649 | Aura3.Rotation = NumberRange.new(-360,360) | |
4650 | Aura3.VelocitySpread = 0 | |
4651 | Aura3.Acceleration = Vector3.new(0,0,0) | |
4652 | Aura3.ZOffset = 0.2 | |
4653 | local Aura4 = Instance.new("ParticleEmitter",hed) | |
4654 | Aura4.Texture = "rbxassetid://1207853932" | |
4655 | Aura4.Color = ColorSequence.new(Color3.fromRGB(33, 54, 255)) | |
4656 | Aura4.EmissionDirection = "Top" | |
4657 | Aura4.Speed = NumberRange.new(1) | |
4658 | Aura4.Size = NumberSequence.new(1.2) | |
4659 | Aura4.Transparency = NumberSequence.new(0,1) | |
4660 | Aura4.Drag = 0.4 | |
4661 | Aura4.LightInfluence = 0 | |
4662 | Aura4.LockedToPart = true | |
4663 | Aura4.Lifetime = NumberRange.new(1.2) | |
4664 | Aura4.Rate = 48 | |
4665 | Aura4.LightEmission = 1 | |
4666 | Aura4.Rotation = NumberRange.new(-360,360) | |
4667 | Aura4.VelocitySpread = 0 | |
4668 | Aura4.Acceleration = Vector3.new(0,0,0) | |
4669 | Aura4.ZOffset = 0.2 | |
4670 | local Aura5 = Instance.new("ParticleEmitter",torso) | |
4671 | Aura5.Texture = "rbxassetid://242255193" | |
4672 | Aura5.Color = ColorSequence.new(Color3.fromRGB(85, 170, 255)) | |
4673 | Aura5.EmissionDirection = "Top" | |
4674 | Aura5.Speed = NumberRange.new(1) | |
4675 | Aura5.Size = NumberSequence.new(3) | |
4676 | Aura5.Transparency = NumberSequence.new(0.9,1) | |
4677 | Aura5.Drag = 0.4 | |
4678 | Aura5.LightInfluence = 0 | |
4679 | Aura5.LockedToPart = true | |
4680 | Aura5.Lifetime = NumberRange.new(4) | |
4681 | Aura5.Rate = 28 | |
4682 | Aura5.LightEmission = 1 | |
4683 | Aura5.Rotation = NumberRange.new(-360,360) | |
4684 | Aura5.VelocitySpread = 1 | |
4685 | Aura5.Acceleration = Vector3.new(0,0,0) | |
4686 | Aura5.ZOffset = 2 | |
4687 | local Aura6 = Instance.new("ParticleEmitter",lleg) | |
4688 | Aura6.Texture = "rbxassetid://1207853932" | |
4689 | Aura6.Color = ColorSequence.new(Color3.fromRGB(33, 54, 255)) | |
4690 | Aura6.EmissionDirection = "Top" | |
4691 | Aura6.Speed = NumberRange.new(1) | |
4692 | Aura6.Size = NumberSequence.new(1.2) | |
4693 | Aura6.Transparency = NumberSequence.new(0,1) | |
4694 | Aura6.Drag = 0.4 | |
4695 | Aura6.LightInfluence = 0 | |
4696 | Aura6.LockedToPart = true | |
4697 | Aura6.Lifetime = NumberRange.new(1.2) | |
4698 | Aura6.Rate = 48 | |
4699 | Aura6.LightEmission = 1 | |
4700 | Aura6.Rotation = NumberRange.new(-360,360) | |
4701 | Aura6.VelocitySpread = 0 | |
4702 | Aura6.Acceleration = Vector3.new(0,0,0) | |
4703 | Aura6.ZOffset = 0.2 | |
4704 | local Aura7 = Instance.new("ParticleEmitter",rleg) | |
4705 | Aura7.Texture = "rbxassetid://1207853932" | |
4706 | Aura7.Color = ColorSequence.new(Color3.fromRGB(33, 54, 255)) | |
4707 | Aura7.EmissionDirection = "Top" | |
4708 | Aura7.Speed = NumberRange.new(1) | |
4709 | Aura7.Size = NumberSequence.new(1.2) | |
4710 | Aura7.Transparency = NumberSequence.new(0,1) | |
4711 | Aura7.Drag = 0.4 | |
4712 | Aura7.LightInfluence = 0 | |
4713 | Aura7.LockedToPart = true | |
4714 | Aura7.Lifetime = NumberRange.new(1.2) | |
4715 | Aura7.Rate = 48 | |
4716 | Aura7.LightEmission = 1 | |
4717 | Aura7.Rotation = NumberRange.new(-360,360) | |
4718 | Aura7.VelocitySpread = 0 | |
4719 | Aura7.Acceleration = Vector3.new(0,0,0) | |
4720 | Aura7.ZOffset = 0.2 | |
4721 | local Sparkles = Instance.new("ParticleEmitter",torso) | |
4722 | Sparkles.Texture = "rbxassetid://1084976679" | |
4723 | Sparkles.Color = ColorSequence.new(BrickColor.new("White").Color) | |
4724 | Sparkles.EmissionDirection = "Top" | |
4725 | Sparkles.Speed = NumberRange.new(0) | |
4726 | Sparkles.Size = NumberSequence.new(2.5) | |
4727 | Sparkles.Transparency = NumberSequence.new(0,1) | |
4728 | Sparkles.Drag = 0.4 | |
4729 | Sparkles.LightInfluence = 0 | |
4730 | Sparkles.LockedToPart = true | |
4731 | Sparkles.Lifetime = NumberRange.new(0.8) | |
4732 | Sparkles.Rate = 60 | |
4733 | Sparkles.LightEmission = 1 | |
4734 | Sparkles.Rotation = NumberRange.new(-360,360) | |
4735 | Sparkles.VelocitySpread = 0 | |
4736 | Sparkles.Acceleration = Vector3.new(0,10,0) | |
4737 | Sparkles.ZOffset = 1 | |
4738 | local Auura = Instance.new("Sound",hed) | |
4739 | Auura.SoundId = "rbxassetid://1179254378" | |
4740 | Auura.Pitch = 1 | |
4741 | Auura.Looped = true | |
4742 | Auura.Volume = 4 | |
4743 | Auura:Play() | |
4744 | wait(2.5) | |
4745 | Smoke.Rate = 0 | |
4746 | Smoke2.Rate = 0 | |
4747 | Smoke3.Rate = 0 | |
4748 | Smoke4.Rate = 0 | |
4749 | hum.WalkSpeed = 17 | |
4750 | wait(7) | |
4751 | ui = true | |
4752 | instinct = true | |
4753 | transforming2 = false | |
4754 | canattack = true | |
4755 | canidle = true | |
4756 | canwalk = true | |
4757 | ||
4758 | muiable = true | |
4759 | wait(0.6) | |
4760 | ||
4761 | ||
4762 | end | |
4763 | end) | |
4764 | ||
4765 | ||
4766 | --Lightning | |
4767 | ||
4768 | local auranum = 0 | |
4769 | local auranum1 = 0 | |
4770 | local auranum2 = 0 | |
4771 | auranum = math.random(35,65) | |
4772 | auranum1 = math.random(-25,0) | |
4773 | auranum2 = math.random(10,25) | |
4774 | auranum3 = math.random(65,75) | |
4775 | auranum4 = math.random(-25,-15) | |
4776 | ||
4777 | ---------------------------------------------------------------------------------------------- | |
4778 | ac = new("Part",char) | |
4779 | ac.Name = "NewPart" | |
4780 | ac.Size = v3(0.1,0.1,0.1) | |
4781 | ac.Position = v3(999,999,999) | |
4782 | ac.BrickColor = bc("bright Blue") | |
4783 | ac.Material = "Neon" | |
4784 | ac.Transparency = 1 | |
4785 | aaac =new("Weld",ac) | |
4786 | aaac.Part0 = rarm | |
4787 | aaac.Part1 = ac | |
4788 | aaac.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
4789 | aaaac = new("ParticleEmitter",ac) | |
4790 | aaaac.Size = ns(1) | |
4791 | aaaac.Rate = 5 | |
4792 | aaaac.Texture = "rbxassetid://246381828" | |
4793 | aaaac.ZOffset = 1 | |
4794 | aaaac.Lifetime = nr(5) | |
4795 | aaaac.Transparency = ns(1) | |
4796 | aaaac.LockedToPart = true | |
4797 | aaaac.Speed = nr(0) | |
4798 | aaaawc = new("ParticleEmitter",ac) | |
4799 | aaaawc.Size = ns(5) | |
4800 | aaaawc.Rate = 5 | |
4801 | aaaawc.Color = ColorSequence.new(Color3.fromRGB(149,190,255)) | |
4802 | aaaawc.Texture = "rbxassetid://924710961" | |
4803 | aaaawc.ZOffset = -1 | |
4804 | aaaawc.Lifetime = nr(5) | |
4805 | aaaawc.RotSpeed = nr(50) | |
4806 | aaaawc.Transparency = ns(1) | |
4807 | aaaawc.LockedToPart = true | |
4808 | aaaawc.Speed = nr(0) | |
4809 | function weld(parent,part0,part1,c0) | |
4810 | local weld=Instance.new("Weld") | |
4811 | weld.Parent=parent | |
4812 | weld.Part0=part0 | |
4813 | weld.Part1=part1 | |
4814 | weld.C0=c0 | |
4815 | return weld | |
4816 | end | |
4817 | function newRay(start,face,range,wat) | |
4818 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
4819 | hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
4820 | return rey,hit,pos | |
4821 | end | |
4822 | function nooutline(part) | |
4823 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
4824 | end | |
4825 | function debris(cfremz, thepart, amt) | |
4826 | for j = 1, amt do | |
4827 | do | |
4828 | local pr = Instance.new("Part") | |
4829 | nooutline(pr) | |
4830 | pr.Name = "debrisobeb" | |
4831 | pr.Anchored = true | |
4832 | pr.BrickColor = BrickColor.new("Dark stone grey") | |
4833 | pr.CanCollide = true | |
4834 | pr.Material = "Slate" | |
4835 | pr.Transparency = 0 | |
4836 | pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24)) | |
4837 | pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1))) | |
4838 | pr.Parent = workspace | |
4839 | game.Debris:AddItem(pr, 25) | |
4840 | delay(15, function() | |
4841 | if pr then | |
4842 | pr.CanCollide = false | |
4843 | pr.Anchored = false | |
4844 | end | |
4845 | end) | |
4846 | end | |
4847 | end | |
4848 | for c = 1, amt do | |
4849 | do | |
4850 | local pr2 = Instance.new("Part") | |
4851 | nooutline(pr2) | |
4852 | pr2.Name = "moredebr" | |
4853 | pr2.Anchored = false | |
4854 | pr2.BrickColor = BrickColor.new("Dark stone grey") | |
4855 | pr2.CanCollide = false | |
4856 | pr2.Material = "Concrete" | |
4857 | pr2.Transparency = 0 | |
4858 | pr2.Size = Vector3.new(math.random(3, 6), math.random(4, 7), math.random(1, 5)) | |
4859 | pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1))) | |
4860 | pr2.Parent = workspace | |
4861 | pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75)) | |
4862 | pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35)) | |
4863 | game.Debris:AddItem(pr2, 45) | |
4864 | delay(2, function() | |
4865 | pr2.CanCollide = true | |
4866 | wait(10) | |
4867 | if pr2 then | |
4868 | pr2.CanCollide = false | |
4869 | end | |
4870 | end) | |
4871 | end | |
4872 | end | |
4873 | end | |
4874 | Grab = false | |
4875 | function weld5(part0, part1, c0, c1) | |
4876 | weeld=Instance.new("Weld", part0) | |
4877 | weeld.Part0=part0 | |
4878 | weeld.Part1=part1 | |
4879 | weeld.C0=c0 | |
4880 | weeld.C1=c1 | |
4881 | return weeld | |
4882 | end | |
4883 | mouse.KeyDown:connect(function(key) | |
4884 | if key == "v" then | |
4885 | canattack = false | |
4886 | canidle = false | |
4887 | canwalk = false | |
4888 | for i = 1, 20 do | |
4889 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
4890 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2) | |
4891 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2) | |
4892 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2) | |
4893 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
4894 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
4895 | ||
4896 | rs:wait(2) | |
4897 | end | |
4898 | con1=larm.Touched:connect(function(hit) -- this is grab | |
4899 | hum.MaxHealth = 1.0E298 | |
4900 | hum.Health = 1.0E298 | |
4901 | ht = hit.Parent | |
4902 | hum1=ht:FindFirstChildOfClass('Humanoid') | |
4903 | if hum1 ~= nil and hit.Parent.Name ~= p.Character.Name then | |
4904 | ||
4905 | ||
4906 | ||
4907 | ||
4908 | z = Instance.new("Sound",char) | |
4909 | z.SoundId = "rbxassetid://227194112" | |
4910 | z.Volume = 90 | |
4911 | wait(.1) | |
4912 | z:Play() | |
4913 | hum1.PlatformStand=true | |
4914 | gp = ht | |
4915 | Grab = true | |
4916 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0)) | |
4917 | asd.Parent = larm | |
4918 | asd.Name = "asd" | |
4919 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0) | |
4920 | ||
4921 | ||
4922 | --[[ elseif hum1 == nil then | |
4923 | con1:disconnect() | |
4924 | wait() return]] | |
4925 | end | |
4926 | end) | |
4927 | local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0) | |
4928 | local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0) | |
4929 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2 | |
4930 | Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.9 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4931 | Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5 | |
4932 | ||
4933 | for i = 1, 20 do | |
4934 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
4935 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
4936 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2) | |
4937 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2) | |
4938 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
4939 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
4940 | ||
4941 | rs:wait(2) | |
4942 | end | |
4943 | con1:disconnect() | |
4944 | ||
4945 | if gp == nil then | |
4946 | canattack = true | |
4947 | canidle = true | |
4948 | canwalk = true | |
4949 | FlyAt:Destroy() | |
4950 | return end | |
4951 | ||
4952 | ||
4953 | ||
4954 | --[[for i = 1, 16 do | |
4955 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3) | |
4956 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3) | |
4957 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3) | |
4958 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
4959 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
4960 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
4961 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3) | |
4962 | if Debounces.on == false then end | |
4963 | rs:wait() | |
4964 | end]]-- | |
4965 | for i = 1, 16 do | |
4966 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
4967 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-73)), 0.3) | |
4968 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3) | |
4969 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3) | |
4970 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3) | |
4971 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
4972 | ||
4973 | rs:wait() | |
4974 | end | |
4975 | ||
4976 | ||
4977 | ||
4978 | local sbs = Instance.new("BodyPosition", torso) | |
4979 | sbs.P = 9000 | |
4980 | sbs.D = 1000 | |
4981 | sbs.maxForce = Vector3.new(900000, 900000000, 900000) | |
4982 | sbs.position = torso.CFrame.p + Vector3.new(0, 1750, 0) | |
4983 | ||
4984 | ||
4985 | ||
4986 | ||
4987 | ||
4988 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head | |
4989 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
4990 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm | |
4991 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm | |
4992 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg | |
4993 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg | |
4994 | wait(2) | |
4995 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head | |
4996 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso | |
4997 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm | |
4998 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm | |
4999 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
5000 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
5001 | ||
5002 | wait(0.5) | |
5003 | sbs:Destroy() | |
5004 | ||
5005 | local sbs2 = Instance.new("BodyPosition", torso) | |
5006 | sbs2.P = 9000 | |
5007 | sbs2.D = 1000 | |
5008 | sbs2.maxForce = Vector3.new(900000, 905000000, 900000) | |
5009 | sbs2.position = torso.CFrame.p + Vector3.new(0, -1950, 0) | |
5010 | for i = 1, 30 do | |
5011 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
5012 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-13)), 0.3) | |
5013 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3) | |
5014 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3) | |
5015 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3) | |
5016 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3) | |
5017 | ||
5018 | rs:wait() | |
5019 | end | |
5020 | wait(0.15) | |
5021 | z = Instance.new("Sound",char) | |
5022 | z.SoundId = "rbxassetid://157878578" | |
5023 | z.Volume = 90 | |
5024 | ||
5025 | z:Play() | |
5026 | z2 = Instance.new("Sound",char) | |
5027 | z2.SoundId = "rbxassetid://1577567682" | |
5028 | z2.Volume = 90 | |
5029 | ||
5030 | z2:Play() | |
5031 | hum.MaxHealth = 100000 | |
5032 | hum.Health = 100000 | |
5033 | FlyAt:Destroy() | |
5034 | sbs2:Destroy() | |
5035 | root.Anchored = true | |
5036 | canattack = true | |
5037 | canidle = true | |
5038 | canwalk = true | |
5039 | hum1.Parent:BreakJoints() | |
5040 | asd:Destroy() | |
5041 | ||
5042 | gp = nil | |
5043 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
5044 | if par then | |
5045 | local cfremz = CFrame.new(loc) | |
5046 | debris(cfremz, par, 50) | |
5047 | end | |
5048 | coroutine.resume(coroutine.create(function() | |
5049 | for i = 1,40 do | |
5050 | CamShakeAll(32,580,torso) | |
5051 | game:GetService("RunService").RenderStepped:wait() | |
5052 | end | |
5053 | end)) | |
5054 | local AURU = Instance.new('ParticleEmitter') | |
5055 | AURU.Name = "Aura" | |
5056 | AURU.Texture = "rbxassetid://242201991" | |
5057 | AURU.Parent = root | |
5058 | AURU.LightEmission = 0.1 | |
5059 | AURU.Transparency = NumberSequence.new(0.5,1) | |
5060 | AURU.Color = ColorSequence.new(BrickColor.new("White").Color) | |
5061 | AURU.Size = NumberSequence.new(20,0) | |
5062 | AURU.LockedToPart = false | |
5063 | AURU.Lifetime = NumberRange.new(5) | |
5064 | AURU.Rate = 630 | |
5065 | AURU.VelocitySpread = 100 | |
5066 | AURU.Speed = NumberRange.new(40) | |
5067 | AURU.Rotation = NumberRange.new(-360,360) | |
5068 | AURU.EmissionDirection = "Top" | |
5069 | AURU.ZOffset = -1 | |
5070 | ||
5071 | wait(0.1) | |
5072 | AURU.Rate = 0 | |
5073 | root.Anchored = false | |
5074 | ||
5075 | ||
5076 | end | |
5077 | end) | |
5078 | function pushaway() | |
5079 | for i = 1, 10 do | |
5080 | wait() | |
5081 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.4)--head | |
5082 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(-1)), 0.4)--torso | |
5083 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.4)--arm | |
5084 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
5085 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
5086 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
5087 | end | |
5088 | for i = 1, 10 do | |
5089 | wait() | |
5090 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.4)--head | |
5091 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(1)), 0.4)--torso | |
5092 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)--arm | |
5093 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.4)--arm | |
5094 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
5095 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
5096 | end | |
5097 | end | |
5098 | function dragoncharge() | |
5099 | for i = 1, 10 do | |
5100 | wait() | |
5101 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
5102 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
5103 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.2,-1)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4)--arm | |
5104 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.5,-.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(60)), 0.4)--arm | |
5105 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
5106 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
5107 | end | |
5108 | end | |
5109 | function grab5() | |
5110 | for i = 1, 10 do | |
5111 | wait() | |
5112 | ||
5113 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)--head | |
5114 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
5115 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(10)), 0.1)--arm | |
5116 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-10)), 0.1)--arm | |
5117 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)--leg | |
5118 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)--leg | |
5119 | end | |
5120 | for i = 1, 10 do | |
5121 | wait() | |
5122 | ||
5123 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)--head | |
5124 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)--torso | |
5125 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.5)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(-40)), 0.2)--arm | |
5126 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,-.5)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(40)), 0.2)--arm | |
5127 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-10)), 0.2)--leg | |
5128 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(10)), 0.2)--leg | |
5129 | end | |
5130 | end | |
5131 | function dragonfist() | |
5132 | for i = 1, 10 do | |
5133 | wait() | |
5134 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.4)--head | |
5135 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(-1)), 0.4)--torso | |
5136 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.4)--arm | |
5137 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
5138 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
5139 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
5140 | end | |
5141 | for i = 1, 10 do | |
5142 | wait() | |
5143 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.4)--head | |
5144 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(1)), 0.4)--torso | |
5145 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(80)), 0.4)--arm | |
5146 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-20)), 0.4)--arm | |
5147 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-30)), 0.4)--leg | |
5148 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.4)--leg | |
5149 | end | |
5150 | end | |
5151 | -------- | |
5152 | local isAPlayer | |
5153 | function checkIfNotPlayer(model) | |
5154 | coroutine.resume(coroutine.create(function() | |
5155 | if model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel then | |
5156 | isAPlayer = true | |
5157 | else | |
5158 | isAPlayer = false | |
5159 | end | |
5160 | end)) | |
5161 | return isAPlayer | |
5162 | end | |
5163 | function findAllNearestTorso(pos,dist) | |
5164 | local list = game.Workspace:children() | |
5165 | local torso = {} | |
5166 | local temp = nil | |
5167 | local human = nil | |
5168 | local temp2 = nil | |
5169 | for x = 1, #list do | |
5170 | temp2 = list[x] | |
5171 | if (temp2.className == "Model") and (temp2 ~= char) then | |
5172 | local nayem = "Torso" | |
5173 | if temp2:findFirstChild("UpperTorso") then nayem = "UpperTorso" end | |
5174 | temp = temp2:findFirstChild(nayem) | |
5175 | human = temp2:findFirstChildOfClass("Humanoid") | |
5176 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
5177 | if (temp.Position - pos).magnitude < dist then | |
5178 | table.insert(torso,temp) | |
5179 | dist = (temp.Position - pos).magnitude | |
5180 | end | |
5181 | end | |
5182 | end | |
5183 | end | |
5184 | return torso | |
5185 | end | |
5186 | ---------------------------------------------------------------------------- | |
5187 | ||
5188 | function computeDirection(vec) | |
5189 | local lenSquared = vec.magnitude * vec.magnitude | |
5190 | local invSqrt = 1 / math.sqrt(lenSquared) | |
5191 | return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt) | |
5192 | end | |
5193 | ||
5194 | ---------------------------------------------------------------------------- | |
5195 | ||
5196 | local throw1 = 5 | |
5197 | local throw2 = 5 | |
5198 | local throw = 5 | |
5199 | local grabon3 = false | |
5200 | local grabon4 = false | |
5201 | function AirPunchStrong() | |
5202 | coroutine.resume(coroutine.create(function() | |
5203 | local magnitude = nil | |
5204 | local Position = nil | |
5205 | if animid == 0 then | |
5206 | Position = larm.Position | |
5207 | else | |
5208 | Position = rarm.Position | |
5209 | end | |
5210 | --sound(743499393,Position,10,math.random(6,8)/10) | |
5211 | ||
5212 | ||
5213 | local Part1 = Instance.new("Part") | |
5214 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
5215 | mesh2.MeshId = "rbxassetid://559831844" | |
5216 | mesh2.Scale = Vector3.new(0,0,0.4) | |
5217 | Part1.Material = Enum.Material.Neon | |
5218 | Part1.CanCollide = false | |
5219 | Part1.BrickColor = BrickColor.new("White") | |
5220 | Part1.Parent = DebrisModel | |
5221 | Part1.Size = Vector3.new(0,0,0) | |
5222 | Part1.Anchored = true | |
5223 | Part1.CFrame = CFrame.new(Position,mouse.Hit.p) | |
5224 | Part1.Name = "EXPLOSION3" | |
5225 | ||
5226 | local Part0 = Instance.new("Part",DebrisModel) | |
5227 | local PointLight2 = Instance.new("PointLight") | |
5228 | Part0.Name = "Bullet" | |
5229 | Part0.Material = Enum.Material.Neon | |
5230 | Part0.BrickColor = BrickColor.new("White") | |
5231 | Part0.Anchored = false | |
5232 | Part0.Size = Vector3.new(1,1,1) | |
5233 | Part0.Transparency = 0.5 | |
5234 | local mesh = Instance.new("SpecialMesh",Part0) | |
5235 | mesh.MeshId = "rbxassetid://437347603" | |
5236 | mesh.Scale = Vector3.new(1.3,1.3,4.4) | |
5237 | local bforce = Instance.new("BodyForce",Part0) | |
5238 | bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0) | |
5239 | Part0.CanCollide = false | |
5240 | PointLight2.Parent = Part0 | |
5241 | PointLight2.Color = Part0.Color | |
5242 | local Target = mouse.Hit.p | |
5243 | local direction = Target - Position | |
5244 | local direction = computeDirection(direction) | |
5245 | local pos = Position + (direction * 2) | |
5246 | Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55) | |
5247 | Part0.Velocity = direction * 750 | |
5248 | local asd = nil | |
5249 | local loop = nil | |
5250 | delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end) | |
5251 | loop = rs:connect(function() | |
5252 | local asdf = math.random(500,1000)/1000 | |
5253 | local Part1 = Instance.new("Part") | |
5254 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
5255 | mesh2.MeshType = Enum.MeshType.Sphere | |
5256 | Part1.Material = Enum.Material.Neon | |
5257 | Part1.CanCollide = false | |
5258 | Part1.BrickColor = BrickColor.new("White") | |
5259 | Part1.Parent = DebrisModel | |
5260 | Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf) | |
5261 | Part1.Anchored = true | |
5262 | Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750)) | |
5263 | Part1.Name = "SMOKE" | |
5264 | end) | |
5265 | asd = Part0.Touched:connect(function(ht) | |
5266 | local hit=ht.Parent | |
5267 | if checkIfNotPlayer(ht) == true and ht.CanCollide == true then | |
5268 | asd:disconnect() | |
5269 | loop:disconnect() | |
5270 | ||
5271 | ||
5272 | ||
5273 | for i,v in pairs(findAllNearestTorso(Part0.Position,35)) do | |
5274 | if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then | |
5275 | v:Destroy() | |
5276 | else | |
5277 | v.Parent:BreakJoints() | |
5278 | local Fl = Instance.new("BodyVelocity",v.Parent.Head) | |
5279 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
5280 | Fl.velocity = Part0.CFrame.lookVector*395 | |
5281 | wait(0.05) | |
5282 | Fl:remove() | |
5283 | ||
5284 | end | |
5285 | local Position = Part0.Position | |
5286 | local Target = v.Position | |
5287 | local direction = Target - Position | |
5288 | local direction = computeDirection(direction) | |
5289 | local bv = Instance.new("BodyVelocity",v) | |
5290 | bv.Velocity = direction * (120 - ((Position - Target).magnitude/2)) | |
5291 | debris:AddItem(bv,1) | |
5292 | end | |
5293 | for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end | |
5294 | for z=1,math.random(2,3) do | |
5295 | local asdf = math.random(-5,5)*2-(i/2)*10 | |
5296 | local Part1 = Instance.new("Part") | |
5297 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
5298 | mesh2.MeshType = Enum.MeshType.Sphere | |
5299 | mesh2.Scale = Vector3.new(0,0,0) | |
5300 | Part1.Material = Enum.Material.Neon | |
5301 | Part1.CanCollide = false | |
5302 | Part1.BrickColor = BrickColor.new("White") | |
5303 | Part1.Parent = DebrisModel | |
5304 | Part1.Size = Vector3.new(asdf,asdf,asdf) | |
5305 | Part1.Anchored = true | |
5306 | local a = i*0.7 | |
5307 | Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a)) | |
5308 | Part1.Name = "EXPLOSION4" | |
5309 | end | |
5310 | end | |
5311 | ||
5312 | end | |
5313 | end) | |
5314 | end)) | |
5315 | end | |
5316 | ||
5317 | ||
5318 | ||
5319 | ||
5320 | ||
5321 | ||
5322 | ||
5323 | ||
5324 | mouse.KeyDown:connect(function(key) | |
5325 | if key == "b" then | |
5326 | canattack = false | |
5327 | canidle = false | |
5328 | canwalk = false | |
5329 | dragonfist() | |
5330 | AirPunchStrong() | |
5331 | local Grab = Instance.new("Part",root) | |
5332 | Grab.Size = Vector3.new(5.2,5.8,5.9) | |
5333 | Grab.CanCollide = false | |
5334 | Grab.Material = "Neon" | |
5335 | Grab.BrickColor = BrickColor.new("White") | |
5336 | Grab.Transparency = 0.99 | |
5337 | local Hat2 = Instance.new("SpecialMesh",Grab) | |
5338 | Hat2.MeshType = 3 | |
5339 | Hat2.Scale = Vector3.new(3.35,3.15,0.95) | |
5340 | local Grabo = Instance.new("Weld",Grab) | |
5341 | Grabo.Part0 = root | |
5342 | Grabo.Part1 = Grab | |
5343 | Grabo.C0 = CFrame.new(0,0.3,-6.8) | |
5344 | ||
5345 | local AuraB = Instance.new("Part",root) | |
5346 | AuraB.Size = Vector3.new(2,1,2) | |
5347 | AuraB.CanCollide = false | |
5348 | AuraB.BrickColor = BrickColor.new("Deep orange") | |
5349 | AuraB.Transparency = 1 | |
5350 | local AuraBo = Instance.new("Weld",AuraB) | |
5351 | AuraBo.Part0 = root | |
5352 | AuraBo.Part1 = AuraB | |
5353 | AuraBo.C0 = CFrame.new(0,-0.6,0) | |
5354 | Grab.Touched:connect(function(hit) | |
5355 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then | |
5356 | ||
5357 | ||
5358 | ||
5359 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
5360 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
5361 | Fl.velocity = root.CFrame.lookVector*640 | |
5362 | wait(0.05) | |
5363 | Fl:remove() | |
5364 | ||
5365 | end | |
5366 | end) | |
5367 | wait(0.3) | |
5368 | canattack = true | |
5369 | canidle = true | |
5370 | canwalk = true | |
5371 | Grab:Destroy() | |
5372 | end | |
5373 | end) | |
5374 | local ha = Instance.new("BodyVelocity") | |
5375 | ha.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5376 | ha.velocity = mouse.Hit.lookVector * 70 | |
5377 | ||
5378 | local haa = Instance.new("BodyGyro") | |
5379 | haa.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
5380 | haa.P = 1000 | |
5381 | haa.D = 100 | |
5382 | function flyy() | |
5383 | ||
5384 | haa.Parent = root | |
5385 | ha.Parent = torso | |
5386 | hum.Sit = true | |
5387 | end | |
5388 | ||
5389 | game:GetService('RunService').RenderStepped:connect(function() | |
5390 | if canfly == true then | |
5391 | fly = true | |
5392 | elseif canfly == false then | |
5393 | fly = false | |
5394 | end | |
5395 | end) | |
5396 | --[[local BodGy=Instance.new("BodyGyro") | |
5397 | BodGy.maxTorque=Vector3.new(0,4e+005,0) | |
5398 | BodGy.P=2000 | |
5399 | BodGy.D=100 | |
5400 | BodGy.Name="SiegmundGyro" | |
5401 | CF=RootPart.CFrame | |
5402 | BodGy.Parent=RootPart | |
5403 | BodGy.cframe=CF]] | |
5404 | local BodGy=Instance.new("BodyGyro") | |
5405 | BodGy.maxTorque=Vector3.new(0,4e+005,0) | |
5406 | BodGy.P=2000 | |
5407 | BodGy.D=100 | |
5408 | BodGy.Name="SthomasGyro" | |
5409 | CF=root.CFrame | |
5410 | BodGy.Parent=root | |
5411 | BodGy.cframe=CF | |
5412 | ||
5413 | game:GetService('RunService').RenderStepped:connect(function() | |
5414 | if fly and stop == false then | |
5415 | hum.Sit = true | |
5416 | ha.velocity = mouse.Hit.lookVector * 100 | |
5417 | haa.cframe = CFrame.new(root.Position,mouse.Hit.p*Vector3.new(1,0,1)+root.Position*Vector3.new(0,1,0)) | |
5418 | hed.CFrame = CFrame.new(hed.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z)) | |
5419 | ||
5420 | end | |
5421 | end) | |
5422 | function unfly() | |
5423 | ||
5424 | stop = true | |
5425 | haa.Parent = script | |
5426 | ha.Parent = script | |
5427 | hum.Sit = false | |
5428 | end | |
5429 | mouse.KeyDown:connect(function(key) | |
5430 | if key == "f" then | |
5431 | ||
5432 | canattack = false | |
5433 | canidle = false | |
5434 | canwalk = false | |
5435 | local sbs = Instance.new("BodyPosition", torso) | |
5436 | sbs.P = 9000 | |
5437 | sbs.D = 1000 | |
5438 | sbs.maxForce = Vector3.new(900000, 900000000, 900000) | |
5439 | sbs.position = torso.CFrame.p + Vector3.new(0, 10, 0) | |
5440 | for i = 1, 20 do | |
5441 | wait() | |
5442 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), 0.8)--head | |
5443 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
5444 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(-50)), 0.8)--rarm | |
5445 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(50)), 0.8)--larm | |
5446 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.8)--lleg | |
5447 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--rleg | |
5448 | end | |
5449 | local SFXZ2 = Instance.new("Sound",hed) | |
5450 | SFXZ2.SoundId = "rbxassetid://187137517" | |
5451 | SFXZ2.Volume = 5 | |
5452 | SFXZ2.Pitch = 1 | |
5453 | SFXZ2.Looped = false | |
5454 | wait(0.01) | |
5455 | SFXZ2:Play() | |
5456 | coroutine.resume(coroutine.create(function() | |
5457 | for i = 3,8 do | |
5458 | local Ball = Instance.new("Part",char) | |
5459 | Ball.Size = Vector3.new(1,1,1) | |
5460 | Ball.BrickColor = BrickColor.new("Cyan") | |
5461 | Ball.Material = "Neon" | |
5462 | Ball.Anchored = true | |
5463 | Ball.CanCollide = false | |
5464 | Ball.Transparency = 0 | |
5465 | Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
5466 | local Ball2 = Instance.new("SpecialMesh",Ball) | |
5467 | Ball2.MeshType = 3 | |
5468 | Ball2.Scale = Vector3.new(2,2,2) | |
5469 | ||
5470 | ||
5471 | ||
5472 | ||
5473 | coroutine.resume(coroutine.create(function() | |
5474 | for i = 1,15 do | |
5475 | Ball2.Scale = Ball2.Scale + Vector3.new(19.4,19.4,19.4) | |
5476 | Ball.Transparency = Ball.Transparency + 0.06 | |
5477 | wait(0.00000000001) | |
5478 | end | |
5479 | Ball:Destroy() | |
5480 | ||
5481 | ||
5482 | end)) | |
5483 | wait(0.06) | |
5484 | end | |
5485 | end)) | |
5486 | root.Anchored = true | |
5487 | g = Instance.new("Explosion") | |
5488 | g.Parent = workspace | |
5489 | g.Position = root.Position | |
5490 | g.BlastRadius = 90 | |
5491 | g.BlastPressure = 4000200 | |
5492 | g.Visible = false | |
5493 | for i = 1, 30 do | |
5494 | wait() | |
5495 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.8)--head | |
5496 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
5497 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(50)), 0.8)--rarm | |
5498 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(50),math.rad(-50)), 0.8)--larm | |
5499 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--lleg | |
5500 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
5501 | end | |
5502 | wait(0.2) | |
5503 | root.Anchored = false | |
5504 | sbs:Destroy() | |
5505 | ||
5506 | for i = 1,1 do | |
5507 | ||
5508 | ||
5509 | ||
5510 | ||
5511 | ||
5512 | for i,v in pairs(workspace:children()) do | |
5513 | ||
5514 | ||
5515 | if v:IsA("Model") and v:findFirstChild("Humanoid") then | |
5516 | ||
5517 | ||
5518 | if v:findFirstChild("Head") and v:findFirstChild("Torso") then | |
5519 | ||
5520 | ||
5521 | if (v:findFirstChild("Torso").Position - char.Torso.Position).magnitude < 40 then | |
5522 | ||
5523 | ||
5524 | if v.Name ~= p.Name then | |
5525 | ||
5526 | v.Humanoid:TakeDamage(400000000000) | |
5527 | ||
5528 | ||
5529 | v.Humanoid.PlatformStand = true | |
5530 | ||
5531 | ||
5532 | end | |
5533 | end | |
5534 | end | |
5535 | ||
5536 | ||
5537 | ||
5538 | end | |
5539 | end | |
5540 | end | |
5541 | sbs:Destroy() | |
5542 | canattack = true | |
5543 | canidle = true | |
5544 | canwalk = true | |
5545 | end | |
5546 | end) | |
5547 | mouse.KeyDown:connect(function(key) | |
5548 | if key == "h" and ui == false then | |
5549 | canfly = true | |
5550 | stop = false | |
5551 | ||
5552 | ||
5553 | local Soundd = Instance.new("Sound",hed) | |
5554 | Soundd.SoundId = "rbxassetid://917377181" | |
5555 | Soundd.Pitch = 1 | |
5556 | Soundd.Looped = false | |
5557 | Soundd.Volume = 8 | |
5558 | Soundd:Play() | |
5559 | local Flame = Instance.new("ParticleEmitter",root) | |
5560 | Flame.Texture = "rbxassetid://1332922037" | |
5561 | Flame.Color = ColorSequence.new(BrickColor.new("White").Color) | |
5562 | Flame.EmissionDirection = "Top" | |
5563 | Flame.Speed = NumberRange.new(0.3) | |
5564 | Flame.Size = NumberSequence.new(5.5,4) | |
5565 | Flame.Transparency = NumberSequence.new(0.8,1) | |
5566 | Flame.Drag = 0.4 | |
5567 | Flame.LightInfluence = 0 | |
5568 | Flame.LockedToPart = false | |
5569 | Flame.Lifetime = NumberRange.new(0.4) | |
5570 | Flame.Rate = 285 | |
5571 | Flame.LightEmission = 1 | |
5572 | Flame.Rotation = NumberRange.new(-360,360) | |
5573 | Flame.VelocitySpread = 100 | |
5574 | Flame.Acceleration = Vector3.new(0,0,0) | |
5575 | Flame.ZOffset = -0.2 | |
5576 | Flame.RotSpeed = NumberRange.new(-400,400) | |
5577 | local FlyAt = Instance.new("Attachment",root)FlyAt.Position = Vector3.new(0,1.5,0) | |
5578 | local FlyAt2 = Instance.new("Attachment",root)FlyAt2.Position = Vector3.new(0,-1.5,0) | |
5579 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2 | |
5580 | Speed.Texture = "rbxassetid://165424187" Speed.Lifetime = 0.8 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5581 | Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 0.6 | |
5582 | cooldown = false | |
5583 | local SFXZ2 = Instance.new("Sound",hed) | |
5584 | SFXZ2.SoundId = "rbxassetid://627724206" | |
5585 | SFXZ2.Volume = 3 | |
5586 | SFXZ2.Pitch = 1 | |
5587 | SFXZ2.Looped = true | |
5588 | wait(0.01) | |
5589 | SFXZ2:Play() | |
5590 | canattack = false | |
5591 | canidle = false | |
5592 | canwalk = false | |
5593 | flyy() | |
5594 | for i = 1, 30 do | |
5595 | wait() | |
5596 | ||
5597 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head | |
5598 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso | |
5599 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
5600 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
5601 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg | |
5602 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg | |
5603 | end | |
5604 | ||
5605 | end | |
5606 | end) | |
5607 | mouse.KeyDown:connect(function(key) | |
5608 | if key == "h" and ui == true then | |
5609 | canfly = true | |
5610 | stop = false | |
5611 | local AURU = Instance.new('ParticleEmitter') | |
5612 | AURU.Name = "Aura" | |
5613 | AURU.Texture = "rbxassetid://1200947142" | |
5614 | AURU.Parent = root | |
5615 | AURU.LightEmission = 0.9 | |
5616 | AURU.Transparency = NumberSequence.new(0.1,1) | |
5617 | AURU.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
5618 | AURU.Size = NumberSequence.new(8,0) | |
5619 | AURU.LockedToPart = false | |
5620 | AURU.Lifetime = NumberRange.new(0.6) | |
5621 | AURU.Rate = 530 | |
5622 | AURU.Speed = NumberRange.new(40) | |
5623 | AURU.Rotation = NumberRange.new(-360,360) | |
5624 | AURU.EmissionDirection = "Top" | |
5625 | AURU.ZOffset = 1 | |
5626 | AURU.VelocitySpread = 100 | |
5627 | AURU.RotSpeed = NumberRange.new(-100,100) | |
5628 | ||
5629 | local Soundd = Instance.new("Sound",hed) | |
5630 | Soundd.SoundId = "rbxassetid://917377181" | |
5631 | Soundd.Pitch = 1 | |
5632 | Soundd.Looped = false | |
5633 | Soundd.Volume = 8 | |
5634 | Soundd:Play() | |
5635 | ||
5636 | local FlyAt = Instance.new("Attachment",root)FlyAt.Position = Vector3.new(0,1.5,0) | |
5637 | local FlyAt2 = Instance.new("Attachment",root)FlyAt2.Position = Vector3.new(0,-1.5,0) | |
5638 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2 | |
5639 | Speed.Texture = "rbxassetid://165424187" Speed.Lifetime = 0.8 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5640 | Speed.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255)) Speed.LightEmission = 0.6 | |
5641 | cooldown = false | |
5642 | local SFXZ2 = Instance.new("Sound",hed) | |
5643 | SFXZ2.SoundId = "rbxassetid://627724206" | |
5644 | SFXZ2.Volume = 3 | |
5645 | SFXZ2.Pitch = 1 | |
5646 | SFXZ2.Looped = true | |
5647 | wait(0.01) | |
5648 | SFXZ2:Play() | |
5649 | canattack = false | |
5650 | canidle = false | |
5651 | canwalk = false | |
5652 | flyy() | |
5653 | for i = 1, 30 do | |
5654 | wait() | |
5655 | ||
5656 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head | |
5657 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso | |
5658 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
5659 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
5660 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg | |
5661 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg | |
5662 | end | |
5663 | ||
5664 | end | |
5665 | end) | |
5666 | mouse.KeyUp:connect(function(key) | |
5667 | if key == "h" and ui == false then | |
5668 | canattack = true | |
5669 | canidle = true | |
5670 | canwalk = true | |
5671 | unfly() | |
5672 | for i, v in pairs(root:GetChildren()) do | |
5673 | if v:IsA("ParticleEmitter")then | |
5674 | v.Rate = 0 | |
5675 | end | |
5676 | end | |
5677 | for i, v in pairs(root:GetChildren()) do | |
5678 | if v:IsA("Attachment")then | |
5679 | v:Destroy() | |
5680 | end | |
5681 | end | |
5682 | for i, v in pairs(hed:GetChildren()) do | |
5683 | if v:IsA("Sound")then | |
5684 | v:Destroy() | |
5685 | end | |
5686 | end | |
5687 | local Auura = Instance.new("Sound",hed) | |
5688 | Auura.SoundId = "rbxassetid://550621034" | |
5689 | Auura.Pitch = 1 | |
5690 | Auura.Looped = false | |
5691 | Auura.Volume = 5 | |
5692 | Auura:Play() | |
5693 | end | |
5694 | end) | |
5695 | mouse.KeyUp:connect(function(key) | |
5696 | if key == "h" and ui == true then | |
5697 | canattack = true | |
5698 | canidle = true | |
5699 | canwalk = true | |
5700 | unfly() | |
5701 | for i, v in pairs(root:GetChildren()) do | |
5702 | if v:IsA('ParticleEmitter')then | |
5703 | v.Rate = 0 | |
5704 | end | |
5705 | end | |
5706 | for i, v in pairs(root:GetChildren()) do | |
5707 | if v:IsA("Attachment")then | |
5708 | v:Destroy() | |
5709 | end | |
5710 | end | |
5711 | for i, v in pairs(hed:GetChildren()) do | |
5712 | if v:IsA("Sound")then | |
5713 | v:Destroy() | |
5714 | end | |
5715 | end | |
5716 | local Auura = Instance.new("Sound",hed) | |
5717 | Auura.SoundId = "rbxassetid://550621034" | |
5718 | Auura.Pitch = 1 | |
5719 | Auura.Looped = false | |
5720 | Auura.Volume = 5 | |
5721 | Auura:Play() | |
5722 | end | |
5723 | end) | |
5724 | mouse.KeyDown:connect(function(key) | |
5725 | if key == "x" and ui == true then | |
5726 | canattack = false | |
5727 | canidle = false | |
5728 | canwalk = false | |
5729 | local bv = Instance.new("BodyVelocity") | |
5730 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5731 | bv.velocity = root.CFrame.lookVector*300 | |
5732 | bv.Parent = root | |
5733 | ||
5734 | local AURU = Instance.new('ParticleEmitter') | |
5735 | AURU.Name = "Aura" | |
5736 | AURU.Texture = "rbxassetid://1200947142" | |
5737 | AURU.Parent = rarm | |
5738 | AURU.LightEmission = 0.6 | |
5739 | AURU.Transparency = NumberSequence.new(0.4,1) | |
5740 | AURU.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
5741 | AURU.Size = NumberSequence.new(2,0) | |
5742 | AURU.LockedToPart = false | |
5743 | AURU.Lifetime = NumberRange.new(5) | |
5744 | AURU.Rate = 530 | |
5745 | AURU.Speed = NumberRange.new(4) | |
5746 | AURU.Rotation = NumberRange.new(-360,360) | |
5747 | AURU.EmissionDirection = "Top" | |
5748 | AURU.ZOffset = 0.5 | |
5749 | AURU.VelocitySpread = 100 | |
5750 | AURU.RotSpeed = NumberRange.new(-100,100) | |
5751 | for i = 1,5 do | |
5752 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
5753 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(0)), .5)--torso | |
5754 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(20)), .5)--arm | |
5755 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm | |
5756 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
5757 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
5758 | wait() | |
5759 | end | |
5760 | local SFXZ = Instance.new("Sound",torso) | |
5761 | SFXZ.SoundId = "rbxassetid://169259383" | |
5762 | SFXZ.Volume = 1 | |
5763 | SFXZ.Pitch = 1.5 | |
5764 | SFXZ.Looped = false | |
5765 | wait(0.01) | |
5766 | SFXZ:Play() | |
5767 | local Grab = Instance.new("Part",rarm) | |
5768 | Grab.Size = Vector3.new(3,3,3) | |
5769 | Grab.CanCollide = false | |
5770 | Grab.BrickColor = BrickColor.new("Deep orange") | |
5771 | Grab.Transparency = math.huge | |
5772 | local Grabo = Instance.new("Weld",Grab) | |
5773 | Grabo.Part0 = rarm | |
5774 | Grabo.Part1 = Grab | |
5775 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
5776 | ||
5777 | ||
5778 | Grab.Touched:connect(function(hit) | |
5779 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then | |
5780 | Grab:Destroy() | |
5781 | hit.Parent:BreakJoints() | |
5782 | coroutine.resume(coroutine.create(function() | |
5783 | for i = 1,40 do | |
5784 | CamShakeAll(32,480,torso) | |
5785 | game:GetService("RunService").RenderStepped:wait() | |
5786 | end | |
5787 | end)) | |
5788 | local HQ = Instance.new("Part",char) | |
5789 | HQ.Size = Vector3.new(1,0,1) | |
5790 | HQ.BrickColor = BrickColor.new("Grey") | |
5791 | HQ.Material = "Neon" | |
5792 | HQ.Anchored = true | |
5793 | HQ.CanCollide = false | |
5794 | HQ.Transparency = 0.7 | |
5795 | HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
5796 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
5797 | HQ2.MeshId = "rbxassetid://20329976" | |
5798 | HQ2.Scale = Vector3.new(1,3,1) | |
5799 | ||
5800 | local HQG = Instance.new("Part",char) | |
5801 | HQG.Size = Vector3.new(1,0,1) | |
5802 | HQG.BrickColor = BrickColor.new("Grey") | |
5803 | HQG.Material = "Neon" | |
5804 | HQG.Anchored = true | |
5805 | HQG.Transparency = 0.7 | |
5806 | HQG.CanCollide = false | |
5807 | HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
5808 | local HQG2 = Instance.new("SpecialMesh",HQG) | |
5809 | HQG2.MeshId = "rbxassetid://20329976" | |
5810 | HQG2.Scale = Vector3.new(1,1,1) | |
5811 | ||
5812 | ||
5813 | coroutine.resume(coroutine.create(function() | |
5814 | for i = 1,500 do | |
5815 | HQ2.Scale = HQ2.Scale + Vector3.new(3.5,0.3,3.5) | |
5816 | HQ.Transparency = HQ.Transparency + 0.01 | |
5817 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
5818 | ||
5819 | HQG2.Scale = HQG2.Scale + Vector3.new(3,1.5,3) | |
5820 | HQG.Transparency = HQG.Transparency + 0.01 | |
5821 | HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
5822 | ||
5823 | wait(0.00000000001) | |
5824 | ||
5825 | ||
5826 | end | |
5827 | HQ:Destroy() | |
5828 | HQ2:Destroy() | |
5829 | HQG:Destroy() | |
5830 | HQG2:Destroy() | |
5831 | end)) | |
5832 | AURU.Rate = 0 | |
5833 | local SFXZ = Instance.new("Sound",torso) | |
5834 | SFXZ.SoundId = "rbxassetid://1699290293" | |
5835 | SFXZ.Volume = 10 | |
5836 | SFXZ.Pitch = 1 | |
5837 | SFXZ.Looped = false | |
5838 | wait(0.01) | |
5839 | SFXZ:Play() | |
5840 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
5841 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
5842 | Fl.velocity = torso.CFrame.lookVector*2600 | |
5843 | wait(0.05) | |
5844 | Fl:remove() | |
5845 | local ry,ht,ps=nil,nil,nil | |
5846 | while ht==nil do | |
5847 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) | |
5848 | wait() | |
5849 | end | |
5850 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
5851 | if par then | |
5852 | local cfremz = CFrame.new(loc) | |
5853 | debris(cfremz, par, 50) | |
5854 | end | |
5855 | wait(1) | |
5856 | AURU.Rate = 0 | |
5857 | canattack = true | |
5858 | canidle = true | |
5859 | canwalk = true | |
5860 | end | |
5861 | end) | |
5862 | for i= 1,15 do | |
5863 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
5864 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(50), math.rad(0)), .5)--torso | |
5865 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.8)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), .5)--arm | |
5866 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), .5)--arm | |
5867 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .5)--leg | |
5868 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
5869 | wait() | |
5870 | end | |
5871 | coroutine.resume(coroutine.create(function() | |
5872 | wait(0.5) | |
5873 | Grab:remove() | |
5874 | end)) | |
5875 | canattack = true | |
5876 | canidle = true | |
5877 | canwalk = true | |
5878 | AURU.Rate = 0 | |
5879 | bv:Destroy() | |
5880 | end | |
5881 | end) | |
5882 | mouse.KeyDown:connect(function(key) | |
5883 | if key == "x" and ui == false then | |
5884 | canattack = false | |
5885 | canidle = false | |
5886 | canwalk = false | |
5887 | ||
5888 | local bv = Instance.new("BodyVelocity") | |
5889 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5890 | bv.velocity = root.CFrame.lookVector*300 | |
5891 | bv.Parent = root | |
5892 | ||
5893 | coroutine.resume(coroutine.create(function() | |
5894 | for i = 1,40 do | |
5895 | CamShakeAll(32,80,torso) | |
5896 | game:GetService("RunService").RenderStepped:wait() | |
5897 | end | |
5898 | end)) | |
5899 | ||
5900 | local FlyAt = Instance.new("Attachment",rarm)FlyAt.Position = Vector3.new(0,1.5,0) | |
5901 | local FlyAt2 = Instance.new("Attachment",rarm)FlyAt2.Position = Vector3.new(0,-1.5,0) | |
5902 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2 | |
5903 | Speed.Texture = "rbxassetid://1194199151" Speed.Lifetime = 0.8 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5904 | Speed.Color = ColorSequence.new(Color3.fromRGB(255, 176, 0)) Speed.LightEmission = 0.6 | |
5905 | local AURU = Instance.new('ParticleEmitter') | |
5906 | AURU.Name = "Aura" | |
5907 | AURU.Texture = "rbxassetid://1222662285" | |
5908 | AURU.Parent = rarm | |
5909 | AURU.LightEmission = 0.2 | |
5910 | AURU.Transparency = NumberSequence.new(0.4,1) | |
5911 | AURU.Color = ColorSequence.new(BrickColor.new("White").Color) | |
5912 | AURU.Size = NumberSequence.new(2,0) | |
5913 | AURU.LockedToPart = false | |
5914 | AURU.Lifetime = NumberRange.new(1) | |
5915 | AURU.Rate = 530 | |
5916 | AURU.Speed = NumberRange.new(4) | |
5917 | AURU.Rotation = NumberRange.new(-360,360) | |
5918 | AURU.EmissionDirection = "Top" | |
5919 | AURU.ZOffset = 0.5 | |
5920 | AURU.VelocitySpread = 100 | |
5921 | AURU.RotSpeed = NumberRange.new(-100,100) | |
5922 | for i = 1,1 do | |
5923 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
5924 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(0)), .5)--torso | |
5925 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(20)), .5)--arm | |
5926 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm | |
5927 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
5928 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
5929 | wait() | |
5930 | end | |
5931 | bv:Destroy() | |
5932 | local SFXZ = Instance.new("Sound",torso) | |
5933 | SFXZ.SoundId = "rbxassetid://1319720595" | |
5934 | SFXZ.Volume = 6 | |
5935 | SFXZ.Pitch = 1 | |
5936 | SFXZ.Looped = false | |
5937 | wait(0.01) | |
5938 | SFXZ:Play() | |
5939 | local Grab = Instance.new("Part",rarm) | |
5940 | Grab.Size = Vector3.new(3,3,3) | |
5941 | Grab.CanCollide = false | |
5942 | Grab.BrickColor = BrickColor.new("Deep orange") | |
5943 | Grab.Transparency = math.huge | |
5944 | local Grabo = Instance.new("Weld",Grab) | |
5945 | Grabo.Part0 = rarm | |
5946 | Grabo.Part1 = Grab | |
5947 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
5948 | ||
5949 | ||
5950 | Grab.Touched:connect(function(hit) | |
5951 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then | |
5952 | Grab:Destroy() | |
5953 | hit.Parent.Humanoid:TakeDamage(25000000000) | |
5954 | coroutine.resume(coroutine.create(function() | |
5955 | for i = 1,40 do | |
5956 | CamShakeAll(32,380,torso) | |
5957 | game:GetService("RunService").RenderStepped:wait() | |
5958 | end | |
5959 | end)) | |
5960 | root.Anchored = true | |
5961 | local HQ = Instance.new("Part",char) | |
5962 | HQ.Size = Vector3.new(1,0,1) | |
5963 | HQ.BrickColor = BrickColor.new("Grey") | |
5964 | HQ.Material = "Neon" | |
5965 | HQ.Anchored = true | |
5966 | HQ.CanCollide = false | |
5967 | HQ.Transparency = 0.7 | |
5968 | HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
5969 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
5970 | HQ2.MeshId = "rbxassetid://20329976" | |
5971 | HQ2.Scale = Vector3.new(1,3,1) | |
5972 | ||
5973 | local HQG = Instance.new("Part",char) | |
5974 | HQG.Size = Vector3.new(1,0,1) | |
5975 | HQG.BrickColor = BrickColor.new("Grey") | |
5976 | HQG.Material = "Neon" | |
5977 | HQG.Anchored = true | |
5978 | HQG.Transparency = 0.7 | |
5979 | HQG.CanCollide = false | |
5980 | HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
5981 | local HQG2 = Instance.new("SpecialMesh",HQG) | |
5982 | HQG2.MeshId = "rbxassetid://20329976" | |
5983 | HQG2.Scale = Vector3.new(1,1,1) | |
5984 | ||
5985 | ||
5986 | coroutine.resume(coroutine.create(function() | |
5987 | for i = 1,500 do | |
5988 | HQ2.Scale = HQ2.Scale + Vector3.new(3.5,0.3,3.5) | |
5989 | HQ.Transparency = HQ.Transparency + 0.01 | |
5990 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
5991 | ||
5992 | HQG2.Scale = HQG2.Scale + Vector3.new(3,1.5,3) | |
5993 | HQG.Transparency = HQG.Transparency + 0.01 | |
5994 | HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
5995 | ||
5996 | wait(0.00000000001) | |
5997 | ||
5998 | ||
5999 | end | |
6000 | HQ:Destroy() | |
6001 | HQ2:Destroy() | |
6002 | HQG:Destroy() | |
6003 | HQG2:Destroy() | |
6004 | end)) | |
6005 | FlyAt:Destroy() | |
6006 | Speed.Lifetime = 0 | |
6007 | canattack = true | |
6008 | canidle = true | |
6009 | canwalk = true | |
6010 | root.Anchored = false | |
6011 | local SFXZ = Instance.new("Sound",torso) | |
6012 | SFXZ.SoundId = "rbxassetid://1699290293" | |
6013 | SFXZ.Volume = 10 | |
6014 | SFXZ.Pitch = 1 | |
6015 | SFXZ.Looped = false | |
6016 | wait(0.01) | |
6017 | SFXZ:Play() | |
6018 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
6019 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
6020 | Fl.velocity = torso.CFrame.lookVector*1600 | |
6021 | wait(0.05) | |
6022 | Fl:remove() | |
6023 | ||
6024 | wait(1) | |
6025 | AURU.Rate = 0 | |
6026 | FlyAt:Destroy() | |
6027 | Speed.Lifetime = 0 | |
6028 | canattack = true | |
6029 | canidle = true | |
6030 | canwalk = true | |
6031 | end | |
6032 | end) | |
6033 | for i= 1,15 do | |
6034 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
6035 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(50), math.rad(0)), .5)--torso | |
6036 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.8)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), .5)--arm | |
6037 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), .5)--arm | |
6038 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .5)--leg | |
6039 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
6040 | wait() | |
6041 | end | |
6042 | coroutine.resume(coroutine.create(function() | |
6043 | wait(0.5) | |
6044 | Grab:remove() | |
6045 | end)) | |
6046 | canattack = true | |
6047 | canidle = true | |
6048 | canwalk = true | |
6049 | AURU.Rate = 0 | |
6050 | FlyAt:Destroy() | |
6051 | ||
6052 | ||
6053 | end | |
6054 | end) | |
6055 | local Jumped = Instance.new("Sound",hed) | |
6056 | Jumped.SoundId = "rbxassetid://940938624" | |
6057 | Jumped.Pitch = 1 | |
6058 | Jumped.Looped = false | |
6059 | Jumped.Volume = 2 | |
6060 | ||
6061 | mouse.KeyDown:connect(function(key) | |
6062 | if key == "z" then | |
6063 | canattack = false | |
6064 | canidle = false | |
6065 | canwalk = false | |
6066 | hum.WalkSpeed = 50 | |
6067 | Jumped:Play() | |
6068 | coroutine.resume(coroutine.create(function() | |
6069 | for i = 1,40 do | |
6070 | CamShakeAll(32,80,torso) | |
6071 | game:GetService("RunService").RenderStepped:wait() | |
6072 | end | |
6073 | end)) | |
6074 | local HQ = Instance.new("Part",char) | |
6075 | HQ.Size = Vector3.new(1,0,1) | |
6076 | HQ.BrickColor = BrickColor.new("Grey") | |
6077 | HQ.Material = "Neon" | |
6078 | HQ.Anchored = true | |
6079 | HQ.CanCollide = false | |
6080 | HQ.Transparency = 0.7 | |
6081 | HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
6082 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
6083 | HQ2.MeshId = "rbxassetid://20329976" | |
6084 | HQ2.Scale = Vector3.new(1,3,1) | |
6085 | ||
6086 | local HQG = Instance.new("Part",char) | |
6087 | HQG.Size = Vector3.new(1,0,1) | |
6088 | HQG.BrickColor = BrickColor.new("Grey") | |
6089 | HQG.Material = "Neon" | |
6090 | HQG.Anchored = true | |
6091 | HQG.Transparency = 0.7 | |
6092 | HQG.CanCollide = false | |
6093 | HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
6094 | local HQG2 = Instance.new("SpecialMesh",HQG) | |
6095 | HQG2.MeshId = "rbxassetid://20329976" | |
6096 | HQG2.Scale = Vector3.new(1,1,1) | |
6097 | ||
6098 | ||
6099 | coroutine.resume(coroutine.create(function() | |
6100 | for i = 1,200 do | |
6101 | HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5) | |
6102 | HQ.Transparency = HQ.Transparency + 0.03 | |
6103 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
6104 | ||
6105 | HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1) | |
6106 | HQG.Transparency = HQG.Transparency + 0.03 | |
6107 | HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
6108 | ||
6109 | wait(0.00000000001) | |
6110 | ||
6111 | ||
6112 | end | |
6113 | HQ:Destroy() | |
6114 | HQ2:Destroy() | |
6115 | HQG:Destroy() | |
6116 | HQG2:Destroy() | |
6117 | end)) | |
6118 | local sbs = Instance.new("BodyPosition", torso) | |
6119 | sbs.P = 9000 | |
6120 | sbs.D = 1000 | |
6121 | sbs.maxForce = Vector3.new(900000, 9000000000, 900000) | |
6122 | sbs.position = torso.CFrame.p + Vector3.new(0, 50, 0) | |
6123 | ||
6124 | wait(0.1) | |
6125 | local bv = Instance.new("BodyVelocity") | |
6126 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
6127 | bv.velocity = root.CFrame.lookVector*-70 | |
6128 | bv.Parent = root | |
6129 | coroutine.resume(coroutine.create(function() | |
6130 | for i = 1, 2880, 48 do | |
6131 | torso.Weld.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0)) | |
6132 | rs:wait(4) | |
6133 | end | |
6134 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
6135 | end)) | |
6136 | for i = 1, 20 do | |
6137 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), 0.8)--head | |
6138 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
6139 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(-50)), 0.8)--rarm | |
6140 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(50)), 0.8)--larm | |
6141 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.8)--lleg | |
6142 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--rleg | |
6143 | ||
6144 | wait() | |
6145 | end | |
6146 | canattack = true | |
6147 | canidle = true | |
6148 | canwalk = true | |
6149 | hum.WalkSpeed = 17 | |
6150 | sbs:Destroy() | |
6151 | bv:Destroy() | |
6152 | end | |
6153 | ||
6154 | end) | |
6155 | ||
6156 | ||
6157 | ||
6158 | ||
6159 | ||
6160 | ||
6161 | ||
6162 | ||
6163 | ||
6164 | ||
6165 | ||
6166 | ||
6167 | ||
6168 | ||
6169 | ||
6170 | ||
6171 | ||
6172 | mouse.KeyDown:connect(function(key) | |
6173 | if key == "e" then | |
6174 | if canattack == true then | |
6175 | if punched1 == true then | |
6176 | punched1 = false | |
6177 | punched3 = false | |
6178 | punched4 = false | |
6179 | canidle = false | |
6180 | canwalk= false | |
6181 | ||
6182 | firsthit() | |
6183 | canidle = true | |
6184 | canwalk= true | |
6185 | punched2 = true | |
6186 | end | |
6187 | end | |
6188 | end | |
6189 | end) | |
6190 | mouse.KeyDown:connect(function(key) | |
6191 | if key == "e" then | |
6192 | if canattack == true then | |
6193 | if punched2 == true then | |
6194 | punched2 = false | |
6195 | punched4 = false | |
6196 | punched1 = false | |
6197 | canidle = false | |
6198 | canwalk= false | |
6199 | ||
6200 | secondhit() | |
6201 | canidle = true | |
6202 | canwalk= true | |
6203 | punched3 = true | |
6204 | end | |
6205 | end | |
6206 | end | |
6207 | end) | |
6208 | mouse.KeyDown:connect(function(key) | |
6209 | if key == "e" then | |
6210 | if canattack == true then | |
6211 | if punched3 == true then | |
6212 | punched3 = false | |
6213 | punched2 = false | |
6214 | punched1 = false | |
6215 | canidle = false | |
6216 | canwalk= false | |
6217 | ||
6218 | thirdhit() | |
6219 | canidle = true | |
6220 | canwalk= true | |
6221 | punched4 = true | |
6222 | end | |
6223 | end | |
6224 | end | |
6225 | end) | |
6226 | mouse.KeyDown:connect(function(key) | |
6227 | if key == "e" then | |
6228 | if canattack == true then | |
6229 | if punched4 == true then | |
6230 | punched4 = false | |
6231 | punched2 = false | |
6232 | punched3 = false | |
6233 | canidle = false | |
6234 | canwalk= false | |
6235 | ||
6236 | lasthit() | |
6237 | canidle = true | |
6238 | canwalk= true | |
6239 | punched1 = true | |
6240 | end | |
6241 | end | |
6242 | end | |
6243 | end) |