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