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