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