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