SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,game,owner = owner,game | |
| 4 | local RealPlayer = Player | |
| 5 | do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
| |
| 6 | ||
| 7 | local punched1 = true | |
| 8 | local punched2 = false | |
| 9 | local punched3 = false | |
| 10 | local punched4 = false | |
| 11 | local beamgo4 = 2.2 | |
| 12 | local beamgo3 = 1 | |
| 13 | local trans = 1 | |
| 14 | local ssj1 = false | |
| 15 | local ssj2 = false | |
| 16 | local transforming1 = false | |
| 17 | local transforming2 = false | |
| 18 | local transforming3 = false | |
| 19 | local transforming4 = false | |
| 20 | local onaura = true | |
| 21 | local num = 0 | |
| 22 | local enabled = true | |
| 23 | local beamgo = 2.2 | |
| 24 | local beamgo1 = 1 | |
| 25 | local p = game.Players.LocalPlayer | |
| 26 | local char = p.Character | |
| 27 | local mouse = p:GetMouse() | |
| 28 | local larm = char["Left Arm"] | |
| 29 | local rarm = char["Right Arm"] | |
| 30 | local lleg = char["Left Leg"] | |
| 31 | local rleg = char["Right Leg"] | |
| 32 | local hed = char.Head | |
| 33 | local torso = char.Torso | |
| 34 | local hum = char.Humanoid | |
| 35 | local root = char.HumanoidRootPart | |
| 36 | local canattack = true | |
| 37 | local canwalk = true | |
| 38 | local canwalk1 = true | |
| 39 | local canidle = true | |
| 40 | local rs = game:GetService("RunService").RenderStepped
| |
| 41 | local new = Instance.new | |
| 42 | local v3 = Vector3.new | |
| 43 | local ns = NumberSequence.new | |
| 44 | local nr = NumberRange.new | |
| 45 | local bc = BrickColor.new | |
| 46 | local cf = CFrame.new | |
| 47 | local cfa = CFrame.Angles | |
| 48 | local rad = math.rad | |
| 49 | local startk = false | |
| 50 | local beam1 = false | |
| 51 | local beam2 = false | |
| 52 | for i,v in pairs(char:GetChildren()) do | |
| 53 | if v.ClassName == "Accessory" then | |
| 54 | v:Destroy() | |
| 55 | end | |
| 56 | end | |
| 57 | ----------------------------------- | |
| 58 | --god/health | |
| 59 | ||
| 60 | Instance.new("ForceField",char).Visible = false
| |
| 61 | hum.MaxHealth = math.huge | |
| 62 | hum.Health = math.huge | |
| 63 | hum.Name = "nohit" | |
| 64 | ||
| 65 | ----------------------------------- | |
| 66 | function Lerp(c1,c2,al) | |
| 67 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 68 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 69 | for i,v in pairs(com1) do | |
| 70 | com1[i] = v+(com2[i]-v)*al | |
| 71 | end | |
| 72 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 73 | end | |
| 74 | ---------------------------------------------------------------------------------------------------- | |
| 75 | --GoundWaves | |
| 76 | GroundWave1 = function() | |
| 77 | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + torso.CFrame.lookVector * 5 | |
| 78 | Colors = {"White", "White"}
| |
| 79 | local wave = Instance.new("Part", char)
| |
| 80 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 81 | wave.Anchored = true | |
| 82 | wave.Name = "Wave" | |
| 83 | wave.CanCollide = false | |
| 84 | wave.Locked = true | |
| 85 | wave.Size = Vector3.new(1, 1, 1) | |
| 86 | wave.TopSurface = "Smooth" | |
| 87 | wave.BottomSurface = "Smooth" | |
| 88 | wave.Transparency = 0.35 | |
| 89 | wave.CFrame = HandCF | |
| 90 | wm = Instance.new("SpecialMesh", wave)
| |
| 91 | wm.MeshId = "rbxassetid://3270017" | |
| 92 | coroutine.wrap(function() | |
| 93 | for i = 1, 30, 1 do | |
| 94 | wm.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
| 95 | wave.Size = wm.Scale | |
| 96 | wave.CFrame = HandCF | |
| 97 | wave.Transparency = i/30 | |
| 98 | wait() | |
| 99 | end | |
| 100 | wait() | |
| 101 | wave:Destroy() | |
| 102 | end)() | |
| 103 | end | |
| 104 | GroundWave2 = function() | |
| 105 | local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 106 | Colors = {"White", "White"}
| |
| 107 | local wave3 = Instance.new("Part", char)
| |
| 108 | wave3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 109 | wave3.Anchored = true | |
| 110 | wave3.Name = "Wave" | |
| 111 | wave3.CanCollide = false | |
| 112 | wave3.Locked = true | |
| 113 | wave3.Size = Vector3.new(1, 1, 1) | |
| 114 | wave3.TopSurface = "Smooth" | |
| 115 | wave3.BottomSurface = "Smooth" | |
| 116 | wave3.Transparency = 0.35 | |
| 117 | wave3.CFrame = HandCF | |
| 118 | wm1 = Instance.new("SpecialMesh", wave3)
| |
| 119 | wm1.MeshId = "rbxassetid://3270017" | |
| 120 | coroutine.wrap(function() | |
| 121 | for i = 1, 30, 1 do | |
| 122 | wm1.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
| 123 | wave3.Size = wm1.Scale | |
| 124 | wave3.CFrame = HandCF | |
| 125 | wave3.Transparency = i/30 | |
| 126 | wait() | |
| 127 | end | |
| 128 | wait() | |
| 129 | wave3:Destroy() | |
| 130 | end)() | |
| 131 | end | |
| 132 | GroundWave3 = function() | |
| 133 | local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 134 | Colors = {"White", "White"}
| |
| 135 | local wave2 = Instance.new("Part", char)
| |
| 136 | wave2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 137 | wave2.Anchored = true | |
| 138 | wave2.Name = "Wave" | |
| 139 | wave2.CanCollide = false | |
| 140 | wave2.Locked = true | |
| 141 | wave2.Size = Vector3.new(1, 1, 1) | |
| 142 | wave2.TopSurface = "Smooth" | |
| 143 | wave2.BottomSurface = "Smooth" | |
| 144 | wave2.Transparency = 0.35 | |
| 145 | wave2.CFrame = HandCF | |
| 146 | wm2 = Instance.new("SpecialMesh", wave2)
| |
| 147 | wm2.MeshId = "rbxassetid://3270017" | |
| 148 | coroutine.wrap(function() | |
| 149 | for i = 1, 30, 1 do | |
| 150 | wm2.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
| 151 | wave2.Size = wm2.Scale | |
| 152 | wave2.CFrame = HandCF | |
| 153 | wave2.Transparency = i/30 | |
| 154 | wait() | |
| 155 | end | |
| 156 | wait() | |
| 157 | wave2:Destroy() | |
| 158 | end)() | |
| 159 | end | |
| 160 | GroundWave4 = function() | |
| 161 | local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 162 | Colors = {"White", "White"}
| |
| 163 | local wave1 = Instance.new("Part", char)
| |
| 164 | wave1.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 165 | wave1.Anchored = true | |
| 166 | wave1.Name = "Wave" | |
| 167 | wave1.CanCollide = false | |
| 168 | wave1.Locked = true | |
| 169 | wave1.Size = Vector3.new(1, 1, 1) | |
| 170 | wave1.TopSurface = "Smooth" | |
| 171 | wave1.BottomSurface = "Smooth" | |
| 172 | wave1.Transparency = 0.35 | |
| 173 | wave1.CFrame = HandCF | |
| 174 | wm3 = Instance.new("SpecialMesh", wave1)
| |
| 175 | wm3.MeshId = "rbxassetid://3270017" | |
| 176 | coroutine.wrap(function() | |
| 177 | for i = 1, 30, 1 do | |
| 178 | wm3.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
| 179 | wave1.Size = wm3.Scale | |
| 180 | wave1.CFrame = HandCF | |
| 181 | wave1.Transparency = i/30 | |
| 182 | wait() | |
| 183 | end | |
| 184 | wait() | |
| 185 | wave1:Destroy() | |
| 186 | end)() | |
| 187 | end | |
| 188 | -------------------------------------------------------------------------- | |
| 189 | --transform | |
| 190 | GroundWave5 = function() | |
| 191 | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 192 | Colors = {"New Yeller", "New Yeller"}
| |
| 193 | local wave11 = Instance.new("Part", char)
| |
| 194 | wave11.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 195 | wave11.Anchored = true | |
| 196 | wave11.Name = "Wave" | |
| 197 | wave11.CanCollide = false | |
| 198 | wave11.Locked = true | |
| 199 | wave11.Size = Vector3.new(1, 1, 1) | |
| 200 | wave11.TopSurface = "Smooth" | |
| 201 | wave11.BottomSurface = "Smooth" | |
| 202 | wave11.Transparency = 0.35 | |
| 203 | wave11.CFrame = HandCF | |
| 204 | wm31 = Instance.new("SpecialMesh", wave11)
| |
| 205 | wm31.MeshId = "rbxassetid://3270017" | |
| 206 | coroutine.wrap(function() | |
| 207 | for i = 1, 30, 1 do | |
| 208 | wm31.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
| 209 | wave11.Size = wm31.Scale | |
| 210 | wave11.CFrame = HandCF | |
| 211 | wave11.Transparency = i/30 | |
| 212 | wait() | |
| 213 | end | |
| 214 | wait() | |
| 215 | wave11:Destroy() | |
| 216 | end)() | |
| 217 | end | |
| 218 | GroundWave6 = function() | |
| 219 | local HandCF = torso.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 220 | Colors = {"New Yeller", "New Yeller"}
| |
| 221 | local wave111 = Instance.new("Part", char)
| |
| 222 | wave111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 223 | wave111.Anchored = true | |
| 224 | wave111.Name = "Wave" | |
| 225 | wave111.CanCollide = false | |
| 226 | wave111.Locked = true | |
| 227 | wave111.Size = Vector3.new(1, 1, 1) | |
| 228 | wave111.TopSurface = "Smooth" | |
| 229 | wave111.BottomSurface = "Smooth" | |
| 230 | wave111.Transparency = 0.35 | |
| 231 | wave111.CFrame = HandCF | |
| 232 | wm311 = Instance.new("SpecialMesh", wave111)
| |
| 233 | wm311.MeshId = "rbxassetid://3270017" | |
| 234 | coroutine.wrap(function() | |
| 235 | for i = 1, 30, 1 do | |
| 236 | wm311.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
| 237 | wave111.Size = wm311.Scale | |
| 238 | wave111.CFrame = HandCF | |
| 239 | wave111.Transparency = i/30 | |
| 240 | wait() | |
| 241 | end | |
| 242 | wait() | |
| 243 | wave111:Destroy() | |
| 244 | end)() | |
| 245 | end | |
| 246 | GroundWave7 = function() | |
| 247 | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) | |
| 248 | Colors = {"New Yeller", "New Yeller"}
| |
| 249 | local wave1111 = Instance.new("Part", char)
| |
| 250 | wave1111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 251 | wave1111.Anchored = true | |
| 252 | wave1111.Name = "Wave" | |
| 253 | wave1111.CanCollide = false | |
| 254 | wave1111.Locked = true | |
| 255 | wave1111.Size = Vector3.new(1, 1, 1) | |
| 256 | wave1111.TopSurface = "Smooth" | |
| 257 | wave1111.BottomSurface = "Smooth" | |
| 258 | wave1111.Transparency = 0.35 | |
| 259 | wave1111.CFrame = HandCF | |
| 260 | wm3111 = Instance.new("SpecialMesh", wave1111)
| |
| 261 | wm3111.MeshId = "rbxassetid://3270017" | |
| 262 | coroutine.wrap(function() | |
| 263 | for i = 1, 30, 1 do | |
| 264 | wm3111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
| 265 | wave1111.Size = wm3111.Scale | |
| 266 | wave1111.CFrame = HandCF | |
| 267 | wave1111.Transparency = i/30 | |
| 268 | wait() | |
| 269 | end | |
| 270 | wait() | |
| 271 | wave1111:Destroy() | |
| 272 | end)() | |
| 273 | end | |
| 274 | GroundWave8 = function() | |
| 275 | local HandCF = torso.CFrame * CFrame.Angles(math.rad(40), math.rad(90), math.rad(0)) | |
| 276 | Colors = {"New Yeller", "New Yeller"}
| |
| 277 | local wave11111 = Instance.new("Part", char)
| |
| 278 | wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 279 | wave11111.Anchored = true | |
| 280 | wave11111.Name = "Wave" | |
| 281 | wave11111.CanCollide = false | |
| 282 | wave11111.Locked = true | |
| 283 | wave11111.Size = Vector3.new(1, 1, 1) | |
| 284 | wave11111.TopSurface = "Smooth" | |
| 285 | wave11111.BottomSurface = "Smooth" | |
| 286 | wave11111.Transparency = 0.35 | |
| 287 | wave11111.CFrame = HandCF | |
| 288 | wm31111 = Instance.new("SpecialMesh", wave11111)
| |
| 289 | wm31111.MeshId = "rbxassetid://3270017" | |
| 290 | coroutine.wrap(function() | |
| 291 | for i = 1, 30, 1 do | |
| 292 | wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
| 293 | wave11111.Size = wm31111.Scale | |
| 294 | wave11111.CFrame = HandCF | |
| 295 | wave11111.Transparency = i/30 | |
| 296 | wait() | |
| 297 | end | |
| 298 | wait() | |
| 299 | wave11111:Destroy() | |
| 300 | end)() | |
| 301 | end | |
| 302 | GroundWave9 = function() | |
| 303 | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(40)) | |
| 304 | Colors = {"New Yeller", "New Yeller"}
| |
| 305 | local wave111111 = Instance.new("Part", char)
| |
| 306 | wave111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 307 | wave111111.Anchored = true | |
| 308 | wave111111.Name = "Wave" | |
| 309 | wave111111.CanCollide = false | |
| 310 | wave111111.Locked = true | |
| 311 | wave111111.Size = Vector3.new(1, 1, 1) | |
| 312 | wave111111.TopSurface = "Smooth" | |
| 313 | wave111111.BottomSurface = "Smooth" | |
| 314 | wave111111.Transparency = 0.35 | |
| 315 | wave111111.CFrame = HandCF | |
| 316 | wm311111 = Instance.new("SpecialMesh", wave111111)
| |
| 317 | wm311111.MeshId = "rbxassetid://3270017" | |
| 318 | coroutine.wrap(function() | |
| 319 | for i = 1, 30, 1 do | |
| 320 | wm311111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
| 321 | wave111111.Size = wm311111.Scale | |
| 322 | wave111111.CFrame = HandCF | |
| 323 | wave111111.Transparency = i/30 | |
| 324 | wait() | |
| 325 | end | |
| 326 | wait() | |
| 327 | wave111111:Destroy() | |
| 328 | end)() | |
| 329 | end | |
| 330 | GroundWave10 = function() | |
| 331 | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 332 | Colors = {"New Yeller", "New Yeller"}
| |
| 333 | local wave1111111 = Instance.new("Part", char)
| |
| 334 | wave1111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 335 | wave1111111.Anchored = true | |
| 336 | wave1111111.Name = "Wave" | |
| 337 | wave1111111.CanCollide = false | |
| 338 | wave1111111.Locked = true | |
| 339 | wave1111111.Size = Vector3.new(1, 1, 1) | |
| 340 | wave1111111.TopSurface = "Smooth" | |
| 341 | wave1111111.BottomSurface = "Smooth" | |
| 342 | wave1111111.Transparency = 0.35 | |
| 343 | wave1111111.CFrame = HandCF | |
| 344 | wm3111111 = Instance.new("SpecialMesh", wave1111111)
| |
| 345 | wm3111111.MeshId = "rbxassetid://3270017" | |
| 346 | coroutine.wrap(function() | |
| 347 | for i = 1, 30, 1 do | |
| 348 | wm3111111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
| 349 | wave1111111.Size = wm3111111.Scale | |
| 350 | wave1111111.CFrame = HandCF | |
| 351 | wave1111111.Transparency = i/30 | |
| 352 | wait() | |
| 353 | end | |
| 354 | wait() | |
| 355 | wave1111111:Destroy() | |
| 356 | end)() | |
| 357 | end | |
| 358 | ---------------------------------------------------------------------------------------------------- | |
| 359 | --Hair | |
| 360 | ||
| 361 | a8 = new("Part",char)
| |
| 362 | a8.Name = "Hair" | |
| 363 | a8.Size = v3(2.92, 2.58, 2.72) | |
| 364 | a8.BrickColor = bc("Really black")
| |
| 365 | a8.Material = "Neon" | |
| 366 | a8.Transparency = 0 | |
| 367 | aa8 = new("SpecialMesh",a8)
| |
| 368 | aa8.MeshType = "FileMesh" | |
| 369 | aa8.Scale = v3(7.3,7.3,7.3) | |
| 370 | aa8.MeshId = "rbxassetid://455100513" | |
| 371 | aaa8 =new("Weld",a8)
| |
| 372 | aaa8.Part0 = hed | |
| 373 | aaa8.Part1 = a8 | |
| 374 | aaa8.C0 = cf(-0.15,.9,-0.1) * cfa(rad(0),rad(0),rad(0)) | |
| 375 | ||
| 376 | ||
| 377 | ||
| 378 | ||
| 379 | ||
| 380 | ||
| 381 | ||
| 382 | ||
| 383 | ||
| 384 | --Clothes | |
| 385 | if char.Shirt == nil then | |
| 386 | Instance.new("Shirt",char)
| |
| 387 | end | |
| 388 | if char.Pants == nil then | |
| 389 | Instance.new("Pants",char)
| |
| 390 | end | |
| 391 | wait(0.5) | |
| 392 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=295880138" | |
| 393 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=295880753" | |
| 394 | ||
| 395 | ------------------------------------------------------------------------------ | |
| 396 | --Sounds | |
| 397 | --Folder | |
| 398 | soundfolder = Instance.new("Model",char)
| |
| 399 | soundfolder.Name = "Sound Folder" | |
| 400 | --Sounds | |
| 401 | kamecharge = Instance.new("Sound",soundfolder)
| |
| 402 | kamecharge.Volume = 10 | |
| 403 | kamecharge.Name = "kamecharge" | |
| 404 | kamecharge.Looped = false | |
| 405 | kamecharge.SoundId = "rbxassetid://908489666" | |
| 406 | kamefire = Instance.new("Sound",soundfolder)
| |
| 407 | kamefire.Volume = 10 | |
| 408 | kamefire.Name = "kamefire" | |
| 409 | kamefire.Looped = false | |
| 410 | kamefire.SoundId = "rbxassetid://908474188" | |
| 411 | kamehit = Instance.new("Sound",soundfolder)
| |
| 412 | kamehit.Volume = 30 | |
| 413 | kamehit.Name = "kamehit" | |
| 414 | kamehit.Looped = false | |
| 415 | kamehit.SoundId = "rbxassetid://908484148" | |
| 416 | ssjaura = Instance.new("Sound",soundfolder)
| |
| 417 | ssjaura.Volume = 10 | |
| 418 | ssjaura.Name = "ssjaura" | |
| 419 | ssjaura.Looped = true | |
| 420 | ssjaura.SoundId = "rbxassetid://891397456" | |
| 421 | ssjauraburst = Instance.new("Sound",soundfolder)
| |
| 422 | ssjauraburst.Volume = math.huge | |
| 423 | ssjauraburst.Name = "ssjauraburst" | |
| 424 | ssjauraburst.Looped =false | |
| 425 | ssjauraburst.SoundId = "rbxassetid://437393965" | |
| 426 | ssjmusic = Instance.new("Sound",soundfolder)
| |
| 427 | ssjmusic.Volume = 10 | |
| 428 | ssjmusic.Name = "ssjmusic" | |
| 429 | ssjmusic.Looped = true | |
| 430 | ssjmusic.SoundId = "rbxassetid://1314988683" | |
| 431 | ssj2music = Instance.new("Sound",soundfolder)
| |
| 432 | ssj2music.Volume = 10 | |
| 433 | ssj2music.Name = "ssj2music" | |
| 434 | ssj2music.Looped = true | |
| 435 | ssj2music.SoundId = "rbxassetid://623287429" | |
| 436 | ssj2aura = Instance.new("Sound",soundfolder)
| |
| 437 | ssj2aura.Volume = 10 | |
| 438 | ssj2aura.Name = "ssj2aura" | |
| 439 | ssj2aura.Looped = true | |
| 440 | ssj2aura.SoundId = "rbxassetid://262498455" | |
| 441 | Lightning = Instance.new("Sound",soundfolder)
| |
| 442 | Lightning.Volume = math.huge | |
| 443 | Lightning.Name = "Lightning" | |
| 444 | Lightning.Looped = false | |
| 445 | Lightning.SoundId = "rbxasset://sounds/HalloweenThunder.wav" | |
| 446 | fahersonstart = Instance.new("Sound",soundfolder)
| |
| 447 | fahersonstart.Volume = math.huge | |
| 448 | fahersonstart.Name = "fahersonstart" | |
| 449 | fahersonstart.Looped = false | |
| 450 | fahersonstart.SoundId = "rbxassetid://958391048" | |
| 451 | fahersonend = Instance.new("Sound",soundfolder)
| |
| 452 | fahersonend.Volume = math.huge | |
| 453 | fahersonend.Name = "fahersonend" | |
| 454 | fahersonend.Looped = false | |
| 455 | fahersonend.SoundId = "rbxassetid://958391222" | |
| 456 | punchsound = Instance.new("Sound",soundfolder)
| |
| 457 | punchsound.Volume = 10 | |
| 458 | punchsound.Name = "punchsound" | |
| 459 | punchsound.Looped = false | |
| 460 | punchsound.SoundId = "rbxassetid://896246498" | |
| 461 | punchsound1 = Instance.new("Sound",soundfolder)
| |
| 462 | punchsound1.Volume = 10 | |
| 463 | punchsound1.Name = "punchsound1" | |
| 464 | punchsound1.Looped = false | |
| 465 | punchsound1.SoundId = "rbxassetid://137579113" | |
| 466 | ||
| 467 | ||
| 468 | ||
| 469 | ||
| 470 | ||
| 471 | ||
| 472 | ||
| 473 | ||
| 474 | ||
| 475 | ||
| 476 | ||
| 477 | ---------------------------------------------------- | |
| 478 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 479 | local wld = Instance.new("Weld", wp1)
| |
| 480 | wld.Part0 = wp0 | |
| 481 | wld.Part1 = wp1 | |
| 482 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 483 | end | |
| 484 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 485 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 486 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 487 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 488 | newWeld(torso, hed, 0, 1.5, 0) | |
| 489 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 490 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 491 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 492 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 493 | newWeld(root, torso, 0, -1, 0) | |
| 494 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 495 | --Animations | |
| 496 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 497 | ||
| 498 | ||
| 499 | ||
| 500 | ||
| 501 | ||
| 502 | ||
| 503 | ||
| 504 | ||
| 505 | ||
| 506 | ||
| 507 | ||
| 508 | ||
| 509 | ||
| 510 | ||
| 511 | ||
| 512 | ||
| 513 | ||
| 514 | ||
| 515 | ||
| 516 | ||
| 517 | ||
| 518 | ||
| 519 | ||
| 520 | function firsthit() | |
| 521 | punchsound:Play() | |
| 522 | ||
| 523 | for i = 1,5 do | |
| 524 | 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 | |
| 525 | 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 | |
| 526 | 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 | |
| 527 | 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 | |
| 528 | 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 | |
| 529 | 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 | |
| 530 | wait() | |
| 531 | end | |
| 532 | ||
| 533 | ||
| 534 | ag = new("Part",char)
| |
| 535 | ag.Name = "NewPart" | |
| 536 | ag.Size = v3(1,1,1) | |
| 537 | ag.CanCollide = false | |
| 538 | ag.Position = v3(999,999,999) | |
| 539 | ag.BrickColor = bc("Color")
| |
| 540 | ag.Material = "Neon" | |
| 541 | ag.Transparency = 1 | |
| 542 | aaag =new("Weld",ag)
| |
| 543 | aaag.Part0 = rarm | |
| 544 | aaag.Part1 = ag | |
| 545 | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
| 546 | ||
| 547 | ||
| 548 | ag.Touched:connect(function(hit) | |
| 549 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 550 | if v:IsA("Humanoid") then
| |
| 551 | ag.TouchInterest:Destroy() | |
| 552 | if ssj1 == false and ssj2 == false then | |
| 553 | v.Health = v.Health - 10 | |
| 554 | end | |
| 555 | if ssj1 == true and ssj2 == true then | |
| 556 | v.Health = v.Health - 20 | |
| 557 | end | |
| 558 | if ssj1 == false and ssj2 == true then | |
| 559 | v.Health = v.Health - 30 | |
| 560 | end | |
| 561 | punchsound1:Play() | |
| 562 | ||
| 563 | ||
| 564 | ||
| 565 | ||
| 566 | end | |
| 567 | end | |
| 568 | end) | |
| 569 | ||
| 570 | ||
| 571 | ||
| 572 | ||
| 573 | for i= 1,5 do | |
| 574 | 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 | |
| 575 | 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 | |
| 576 | 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 | |
| 577 | 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 | |
| 578 | 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 | |
| 579 | 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 | |
| 580 | wait() | |
| 581 | end | |
| 582 | ag:Destroy() | |
| 583 | end | |
| 584 | function secondhit() | |
| 585 | punchsound:Play() | |
| 586 | ||
| 587 | for i = 1,5 do | |
| 588 | 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 | |
| 589 | 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 | |
| 590 | 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 | |
| 591 | 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 | |
| 592 | 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 | |
| 593 | 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 | |
| 594 | wait() | |
| 595 | end | |
| 596 | ||
| 597 | ||
| 598 | ||
| 599 | ag = new("Part",char)
| |
| 600 | ag.Name = "NewPart" | |
| 601 | ag.Size = v3(1,1,1) | |
| 602 | ag.CanCollide = false | |
| 603 | ag.Position = v3(999,999,999) | |
| 604 | ag.BrickColor = bc("Color")
| |
| 605 | ag.Material = "Neon" | |
| 606 | ag.Transparency = 1 | |
| 607 | aaag =new("Weld",ag)
| |
| 608 | aaag.Part0 = larm | |
| 609 | aaag.Part1 = ag | |
| 610 | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
| 611 | ||
| 612 | ||
| 613 | ||
| 614 | ag.Touched:connect(function(hit) | |
| 615 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 616 | if v:IsA("Humanoid") then
| |
| 617 | ag.TouchInterest:Destroy() | |
| 618 | if ssj1 == false and ssj2 == false then | |
| 619 | v.Health = v.Health - 10 | |
| 620 | end | |
| 621 | if ssj1 == true and ssj2 == false then | |
| 622 | v.Health = v.Health - 20 | |
| 623 | end | |
| 624 | if ssj1 == false and ssj2 == true then | |
| 625 | v.Health = v.Health - 30 | |
| 626 | end | |
| 627 | punchsound1:Play() | |
| 628 | ||
| 629 | ||
| 630 | ||
| 631 | end | |
| 632 | end | |
| 633 | end) | |
| 634 | ||
| 635 | ||
| 636 | ||
| 637 | ||
| 638 | ||
| 639 | ||
| 640 | ||
| 641 | ||
| 642 | for i= 1,5 do | |
| 643 | 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 | |
| 644 | 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 | |
| 645 | 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 | |
| 646 | 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 | |
| 647 | 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 | |
| 648 | 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 | |
| 649 | wait() | |
| 650 | end | |
| 651 | ag:Destroy() | |
| 652 | end | |
| 653 | function thirdhit() | |
| 654 | punchsound:Play() | |
| 655 | ||
| 656 | for i = 1,5 do | |
| 657 | 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 | |
| 658 | 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 | |
| 659 | 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 | |
| 660 | 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 | |
| 661 | 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 | |
| 662 | 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 | |
| 663 | wait() | |
| 664 | end | |
| 665 | ||
| 666 | ||
| 667 | ag = new("Part",char)
| |
| 668 | ag.Name = "NewPart" | |
| 669 | ag.Size = v3(1,1,1) | |
| 670 | ag.CanCollide = false | |
| 671 | ag.Position = v3(999,999,999) | |
| 672 | ag.BrickColor = bc("Color")
| |
| 673 | ag.Material = "Neon" | |
| 674 | ag.Transparency = 1 | |
| 675 | aaag =new("Weld",ag)
| |
| 676 | aaag.Part0 = rleg | |
| 677 | aaag.Part1 = ag | |
| 678 | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
| 679 | ||
| 680 | ||
| 681 | ||
| 682 | ag.Touched:connect(function(hit) | |
| 683 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 684 | if v:IsA("Humanoid") then
| |
| 685 | ag.TouchInterest:Destroy() | |
| 686 | if ssj1 == false and ssj2 == false then | |
| 687 | v.Health = v.Health - 10 | |
| 688 | end | |
| 689 | if ssj1 == true and ssj2 == false then | |
| 690 | v.Health = v.Health - 20 | |
| 691 | end | |
| 692 | if ssj1 == false and ssj2 == true then | |
| 693 | v.Health = v.Health - 30 | |
| 694 | end | |
| 695 | ||
| 696 | punchsound1:Play() | |
| 697 | ||
| 698 | ||
| 699 | ||
| 700 | end | |
| 701 | end | |
| 702 | end) | |
| 703 | ||
| 704 | ||
| 705 | ||
| 706 | ||
| 707 | ||
| 708 | ||
| 709 | ||
| 710 | ||
| 711 | ||
| 712 | ||
| 713 | ||
| 714 | ||
| 715 | ||
| 716 | ||
| 717 | ||
| 718 | ||
| 719 | ||
| 720 | for i = 1,5 do | |
| 721 | 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 | |
| 722 | 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 | |
| 723 | 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 | |
| 724 | 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 | |
| 725 | 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 | |
| 726 | 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 | |
| 727 | wait() | |
| 728 | end | |
| 729 | ag:Destroy() | |
| 730 | end | |
| 731 | function lasthit() | |
| 732 | punchsound:Play() | |
| 733 | ||
| 734 | for i = 1,5 do | |
| 735 | 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 | |
| 736 | 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 | |
| 737 | 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 | |
| 738 | 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 | |
| 739 | 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 | |
| 740 | 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 | |
| 741 | wait() | |
| 742 | end | |
| 743 | ||
| 744 | ||
| 745 | ||
| 746 | ||
| 747 | ||
| 748 | ||
| 749 | ||
| 750 | ||
| 751 | ||
| 752 | ||
| 753 | ||
| 754 | ag = new("Part",char)
| |
| 755 | ag.Name = "NewPart" | |
| 756 | ag.Size = v3(1,1,1) | |
| 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 = lleg | |
| 764 | aaag.Part1 = ag | |
| 765 | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
| 766 | ||
| 767 | ||
| 768 | ||
| 769 | ag.Touched:connect(function(hit) | |
| 770 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 771 | if v:IsA("Humanoid") then
| |
| 772 | ag.TouchInterest:Destroy() | |
| 773 | if ssj1 == false and ssj2 == false then | |
| 774 | v.Health = v.Health - 10 | |
| 775 | end | |
| 776 | if ssj1 == true and ssj2 == false then | |
| 777 | v.Health = v.Health - 20 | |
| 778 | end | |
| 779 | if ssj1 == false and ssj2 == true then | |
| 780 | v.Health = v.Health - 30 | |
| 781 | end | |
| 782 | ||
| 783 | ||
| 784 | punchsound1:Play() | |
| 785 | ||
| 786 | ||
| 787 | end | |
| 788 | end | |
| 789 | end) | |
| 790 | ||
| 791 | ||
| 792 | ||
| 793 | ||
| 794 | ||
| 795 | ||
| 796 | ||
| 797 | ||
| 798 | for i = 1,5 do | |
| 799 | 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 | |
| 800 | 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 | |
| 801 | 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 | |
| 802 | 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 | |
| 803 | 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 | |
| 804 | 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 | |
| 805 | wait() | |
| 806 | end | |
| 807 | ag:Destroy() | |
| 808 | end | |
| 809 | ||
| 810 | ||
| 811 | ||
| 812 | ||
| 813 | ||
| 814 | ||
| 815 | ||
| 816 | ||
| 817 | ||
| 818 | ||
| 819 | ||
| 820 | ||
| 821 | ||
| 822 | ||
| 823 | ||
| 824 | ||
| 825 | ||
| 826 | ||
| 827 | ||
| 828 | ||
| 829 | ||
| 830 | ||
| 831 | function startkamehameha() | |
| 832 | 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 | |
| 833 | 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 | |
| 834 | 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 | |
| 835 | 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 | |
| 836 | 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 | |
| 837 | 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 | |
| 838 | ||
| 839 | for i = 1, 20 do | |
| 840 | wait() | |
| 841 | 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 | |
| 842 | 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 | |
| 843 | 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 | |
| 844 | 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 | |
| 845 | 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 | |
| 846 | 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 | |
| 847 | end | |
| 848 | for i = 1, 20 do | |
| 849 | wait() | |
| 850 | ||
| 851 | 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 | |
| 852 | 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 | |
| 853 | 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 | |
| 854 | 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 | |
| 855 | 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 | |
| 856 | 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 | |
| 857 | end | |
| 858 | kamecharge:Play() | |
| 859 | startk = true | |
| 860 | for i = 1, 100 do | |
| 861 | wait() | |
| 862 | 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 | |
| 863 | 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 | |
| 864 | 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 | |
| 865 | 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 | |
| 866 | 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 | |
| 867 | 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 | |
| 868 | end | |
| 869 | end | |
| 870 | function endkamehameha() | |
| 871 | for i = 1, 10 do | |
| 872 | wait() | |
| 873 | 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 | |
| 874 | 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 | |
| 875 | 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 | |
| 876 | 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 | |
| 877 | 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 | |
| 878 | 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 | |
| 879 | end | |
| 880 | end | |
| 881 | function fatherson() | |
| 882 | for i = 1,50 do | |
| 883 | wait() | |
| 884 | 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 | |
| 885 | 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 | |
| 886 | 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 | |
| 887 | 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 | |
| 888 | 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 | |
| 889 | 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 | |
| 890 | end | |
| 891 | wait(2) | |
| 892 | for i = 1,50 do | |
| 893 | wait() | |
| 894 | 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 | |
| 895 | 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 | |
| 896 | 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 | |
| 897 | 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 | |
| 898 | 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 | |
| 899 | 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 | |
| 900 | end | |
| 901 | end | |
| 902 | function fathersonfire() | |
| 903 | for i = 1,10 do | |
| 904 | wait() | |
| 905 | 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 | |
| 906 | 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 | |
| 907 | 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 | |
| 908 | 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 | |
| 909 | 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 | |
| 910 | 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 | |
| 911 | end | |
| 912 | end | |
| 913 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 914 | a = new("Part",char)
| |
| 915 | a.Name = "NewPart" | |
| 916 | a.Size = v3(0.1,0.1,0.1) | |
| 917 | a.Shape = "Ball" | |
| 918 | a.Position = v3(999,999,999) | |
| 919 | a.BrickColor = bc("bright Blue")
| |
| 920 | a.Material = "Neon" | |
| 921 | a.Transparency = 1 | |
| 922 | aa = new("SpecialMesh",a)
| |
| 923 | aa.Scale = v3(1,1,1) | |
| 924 | aaa =new("Weld",a)
| |
| 925 | aaa.Part0 = torso | |
| 926 | aaa.Part1 = a | |
| 927 | aaa.C0 = cf(0,0,-1.6) * cfa(rad(0),rad(0),rad(0)) | |
| 928 | aaaa = new("ParticleEmitter",a)
| |
| 929 | aaaa.Size = ns(1) | |
| 930 | aaaa.Rate = 5 | |
| 931 | aaaa.Texture = "rbxassetid://246381828" | |
| 932 | aaaa.ZOffset = 1 | |
| 933 | aaaa.Lifetime = nr(5) | |
| 934 | aaaa.Transparency = ns(1) | |
| 935 | aaaa.LockedToPart = true | |
| 936 | aaaa.Speed = nr(0) | |
| 937 | aw = new("Part",char)
| |
| 938 | aw.Name = "NewPart" | |
| 939 | aw.Size = v3(0.1,0.1,0.1) | |
| 940 | aw.Shape = "Ball" | |
| 941 | aw.Position = v3(999,999,999) | |
| 942 | aw.BrickColor = bc("bright Blue")
| |
| 943 | aw.Material = "Neon" | |
| 944 | aw.Transparency = 1 | |
| 945 | aaw = new("SpecialMesh",aw)
| |
| 946 | aaw.Scale = v3(1,1,1) | |
| 947 | aaaw =new("Weld",aw)
| |
| 948 | aaaw.Part0 = torso | |
| 949 | aaaw.Part1 = aw | |
| 950 | aaaw.C0 = cf(0,0,-1.6) * cfa(rad(0),rad(0),rad(0)) | |
| 951 | aaaaw = new("ParticleEmitter",aw)
| |
| 952 | aaaaw.Size = ns(5) | |
| 953 | aaaaw.Rate = 5 | |
| 954 | aaaaw.Color = ColorSequence.new(Color3.fromRGB(149,190,255)) | |
| 955 | aaaaw.Texture = "rbxassetid://924710961" | |
| 956 | aaaaw.ZOffset = -1 | |
| 957 | aaaaw.Lifetime = nr(5) | |
| 958 | aaaaw.RotSpeed = nr(50) | |
| 959 | aaaaw.Transparency = ns(1) | |
| 960 | aaaaw.LockedToPart = true | |
| 961 | aaaaw.Speed = nr(0) | |
| 962 | ||
| 963 | ||
| 964 | ||
| 965 | ae = new("Part",char)
| |
| 966 | ae.Name = "NewPart" | |
| 967 | ae.Size = v3(0.1,0.1,0.1) | |
| 968 | ae.Shape = "Ball" | |
| 969 | ae.Position = v3(999,999,999) | |
| 970 | ae.BrickColor = bc("bright Blue")
| |
| 971 | ae.Material = "Neon" | |
| 972 | ae.Transparency = 1 | |
| 973 | aaae =new("Weld",ae)
| |
| 974 | aaae.Part0 = torso | |
| 975 | aaae.Part1 = ae | |
| 976 | aaae.C0 = cf(0,7,0) * cfa(rad(0),rad(0),rad(0)) | |
| 977 | aaaae = new("ParticleEmitter",ae)
| |
| 978 | aaaae.Size = ns(15) | |
| 979 | aaaae.Rate = 5 | |
| 980 | aaaae.Color = ColorSequence.new(Color3.fromRGB(231,255,111)) | |
| 981 | aaaae.ZOffset = -2 | |
| 982 | aaaae.Lifetime = nr(5) | |
| 983 | aaaae.Transparency = ns(1) | |
| 984 | aaaae.LockedToPart = true | |
| 985 | aaaae.Speed = nr(0) | |
| 986 | ||
| 987 | ||
| 988 | ad = new("Part",char)
| |
| 989 | ad.Name = "NewPart" | |
| 990 | ad.Size = v3(10,0.1,10) | |
| 991 | ad.CanCollide = false | |
| 992 | ad.Anchored = true | |
| 993 | ad.Position = torso.Position - v3(0,3,0) | |
| 994 | ad.BrickColor = bc("bright Blue")
| |
| 995 | ad.Material = "Neon" | |
| 996 | ad.Transparency = 1 | |
| 997 | aad = new("Decal",ad)
| |
| 998 | aad.Texture = "rbxassetid://110711859" | |
| 999 | aad.Face = "Top" | |
| 1000 | aad.Transparency = 1 | |
| 1001 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 1002 | --Functions | |
| 1003 | function kamehameha() | |
| 1004 | enabled = true | |
| 1005 | ||
| 1006 | ||
| 1007 | kamefire.Volume = 5 | |
| 1008 | startkamehameha() | |
| 1009 | wait(2) | |
| 1010 | ||
| 1011 | endkamehameha() | |
| 1012 | a1 = new("Part",char)
| |
| 1013 | a1.Name = "Beam" | |
| 1014 | a1.Anchored = true | |
| 1015 | a1.Size = v3(6,6,6) | |
| 1016 | a1.CanCollide = false | |
| 1017 | a1.Locked = true | |
| 1018 | a1.Position = v3(999,999,999) | |
| 1019 | a1.BrickColor = bc("Cyan")
| |
| 1020 | a1.Material = "Neon" | |
| 1021 | a1.Transparency = 0 | |
| 1022 | aa1 = new("SpecialMesh",a1)
| |
| 1023 | aa1.MeshType = "Cylinder" | |
| 1024 | aa1.Scale = v3(1,1,1) | |
| 1025 | ||
| 1026 | a2 = new("Part",char)
| |
| 1027 | a2.Name = "Beam" | |
| 1028 | a2.Anchored = true | |
| 1029 | a2.Locked = true | |
| 1030 | a2.Size = v3(0.1,0.1,0.1) | |
| 1031 | a2.CanCollide = false | |
| 1032 | a2.Position = v3(999,999,999) | |
| 1033 | a2.BrickColor = bc("Cyan")
| |
| 1034 | a2.Material = "Neon" | |
| 1035 | a2.Transparency = 0 | |
| 1036 | aa2 = new("SpecialMesh",a2)
| |
| 1037 | aa2.MeshType = "Sphere" | |
| 1038 | aa2.Scale = v3(150,100,100) | |
| 1039 | a3 = new("Part",char)
| |
| 1040 | a3.Name = "Beam" | |
| 1041 | a3.Locked = true | |
| 1042 | a3.Anchored = true | |
| 1043 | a3.Size = v3(0.1,0.1,0.1) | |
| 1044 | a3.CanCollide = false | |
| 1045 | a3.Position = v3(999,999,999) | |
| 1046 | a3.BrickColor = bc("Cyan")
| |
| 1047 | a3.Material = "Neon" | |
| 1048 | a3.Transparency = 0 | |
| 1049 | aa3 = new("SpecialMesh",a3)
| |
| 1050 | aa3.MeshType = "Sphere" | |
| 1051 | aa3.Scale = v3(200,100,100) | |
| 1052 | kamecharge:Stop() | |
| 1053 | kamefire:Play() | |
| 1054 | hed.Anchored = true | |
| 1055 | a8.Anchored = true | |
| 1056 | ae.Anchored = true | |
| 1057 | GroundWave1() | |
| 1058 | startk = false | |
| 1059 | ||
| 1060 | ||
| 1061 | --Damages | |
| 1062 | ----------------------------------------------------------------------------------------- | |
| 1063 | a1.Touched:connect(function(hit) | |
| 1064 | ||
| 1065 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 then
| |
| 1066 | ||
| 1067 | ||
| 1068 | ||
| 1069 | if hit.Parent:IsA("Model") then
| |
| 1070 | hit.Parent:BreakJoints() | |
| 1071 | end | |
| 1072 | hit:Destroy() | |
| 1073 | if enabled == true then | |
| 1074 | enabled = false | |
| 1075 | num = num + 1 | |
| 1076 | kamehit:Play() | |
| 1077 | a21 = new("Part",char)
| |
| 1078 | a21.Name = "Beam"..num | |
| 1079 | a21.Locked = true | |
| 1080 | a21.Size = v3(1,1,1) | |
| 1081 | a21.CanCollide = false | |
| 1082 | a21.Position = v3(999,999,999) | |
| 1083 | a21.BrickColor = bc("Cyan")
| |
| 1084 | a21.Material = "Neon" | |
| 1085 | a21.Transparency = 0 | |
| 1086 | aa21 = new("SpecialMesh",a21)
| |
| 1087 | a21.Anchored = true | |
| 1088 | a21.Position = hit.Position | |
| 1089 | aa21.MeshType = "Sphere" | |
| 1090 | aa21.Scale = v3(1,1,1) | |
| 1091 | GroundWave2() | |
| 1092 | GroundWave3() | |
| 1093 | GroundWave4() | |
| 1094 | for i = 1,50 do | |
| 1095 | wait() | |
| 1096 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(5,5,5) | |
| 1097 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
| 1098 | end | |
| 1099 | enabled = true | |
| 1100 | char["Beam"..num]:Destroy() | |
| 1101 | end | |
| 1102 | ||
| 1103 | end | |
| 1104 | ||
| 1105 | end) | |
| 1106 | ||
| 1107 | ||
| 1108 | ||
| 1109 | ||
| 1110 | ||
| 1111 | ||
| 1112 | ||
| 1113 | beam2 = true | |
| 1114 | beam1 = true | |
| 1115 | wait(2) | |
| 1116 | ||
| 1117 | beam1 = false | |
| 1118 | ||
| 1119 | repeat | |
| 1120 | wait() | |
| 1121 | a1.Size = a1.Size - v3(0,0.2,0.2) | |
| 1122 | aa2.Scale = aa2.Scale - v3(3,3,3) | |
| 1123 | aa3.Scale = aa3.Scale - v3(3,3,3) | |
| 1124 | until | |
| 1125 | a1.Size.y < 0.1 | |
| 1126 | ||
| 1127 | beamgo = 2.2 | |
| 1128 | beamgo1 = 1 | |
| 1129 | a1:Destroy() | |
| 1130 | a2:Destroy() | |
| 1131 | a3:Destroy() | |
| 1132 | for i = 1,10 do | |
| 1133 | wait() | |
| 1134 | ||
| 1135 | kamefire.Volume = kamefire.Volume - 0.5 | |
| 1136 | end | |
| 1137 | kamefire:Stop() | |
| 1138 | ||
| 1139 | hed.Anchored = false | |
| 1140 | a8.Anchored = false | |
| 1141 | ae.Anchored = false | |
| 1142 | end | |
| 1143 | ||
| 1144 | ||
| 1145 | ||
| 1146 | ||
| 1147 | ||
| 1148 | ||
| 1149 | ||
| 1150 | ||
| 1151 | ||
| 1152 | ||
| 1153 | ||
| 1154 | ||
| 1155 | ||
| 1156 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 1157 | --RenderedStep | |
| 1158 | rs:connect(function() | |
| 1159 | --kamehameha | |
| 1160 | ------------------------------------------------------------------ | |
| 1161 | if startk == true then | |
| 1162 | aaaa.Transparency = ns(0) | |
| 1163 | aaaaw.Transparency = ns(0) | |
| 1164 | aaaa.Size = ns(math.random(1,2)) | |
| 1165 | else | |
| 1166 | aaaa.Transparency = ns(1) | |
| 1167 | aaaaw.Transparency = ns(1) | |
| 1168 | end | |
| 1169 | ||
| 1170 | if beam1 == true then | |
| 1171 | beamgo = beamgo + 1 | |
| 1172 | beamgo1 = beamgo1 + 0.016 | |
| 1173 | a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo | |
| 1174 | aa1.Scale = v3(1,math.random(1,1.2),math.random(1,1.2)) | |
| 1175 | a3.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo * 5 | |
| 1176 | a1.Size = a1.Size + v3(beamgo1,0,0) | |
| 1177 | aa2.Scale = v3(150,math.random(100,120),math.random(100,120)) | |
| 1178 | aa3.Scale = v3(200,math.random(100,120),math.random(100,120)) | |
| 1179 | a2.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) - torso.CFrame.lookVector * 1 | |
| 1180 | end | |
| 1181 | if beam2 == true then | |
| 1182 | a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo | |
| 1183 | a2.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8 | |
| 1184 | a3.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo * 1.93 | |
| 1185 | end | |
| 1186 | ----------------------------------------------------------------------- | |
| 1187 | ||
| 1188 | ||
| 1189 | ||
| 1190 | ||
| 1191 | ||
| 1192 | ||
| 1193 | ||
| 1194 | ||
| 1195 | ||
| 1196 | ||
| 1197 | if hum.MoveDirection.x == 0 then | |
| 1198 | if canidle == true then | |
| 1199 | 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.1)--head | |
| 1200 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), .1)--torso | |
| 1201 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(105),math.rad(0),math.rad(0)), .1)--arm | |
| 1202 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-20)),.1)--arm | |
| 1203 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(-5)),.1)--leg | |
| 1204 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)),.1)--leg | |
| 1205 | end | |
| 1206 | end | |
| 1207 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1208 | ||
| 1209 | if canwalk1 == true then | |
| 1210 | canwalk1 = false | |
| 1211 | for i = 1,10 do | |
| 1212 | wait() | |
| 1213 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1214 | 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 | |
| 1215 | end | |
| 1216 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1217 | 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 | |
| 1218 | end | |
| 1219 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1220 | 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 | |
| 1221 | end | |
| 1222 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1223 | 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 | |
| 1224 | end | |
| 1225 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1226 | 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 | |
| 1227 | end | |
| 1228 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1229 | 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 | |
| 1230 | end | |
| 1231 | end | |
| 1232 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1233 | for i = 1,10 do | |
| 1234 | wait() | |
| 1235 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1236 | 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 | |
| 1237 | end | |
| 1238 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1239 | 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 | |
| 1240 | end | |
| 1241 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1242 | 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 | |
| 1243 | end | |
| 1244 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1245 | 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 | |
| 1246 | end | |
| 1247 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1248 | 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 | |
| 1249 | end | |
| 1250 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 1251 | 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 | |
| 1252 | end | |
| 1253 | end | |
| 1254 | end | |
| 1255 | canwalk1 = true | |
| 1256 | end | |
| 1257 | ||
| 1258 | ||
| 1259 | end | |
| 1260 | ||
| 1261 | if block == true then | |
| 1262 | 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 | |
| 1263 | 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 | |
| 1264 | 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 | |
| 1265 | 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 | |
| 1266 | 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 | |
| 1267 | 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 | |
| 1268 | ||
| 1269 | ||
| 1270 | end | |
| 1271 | -------------------------------------------------- | |
| 1272 | --Aura | |
| 1273 | if onaura == true then | |
| 1274 | onaura =false | |
| 1275 | ||
| 1276 | wait(0.1) | |
| 1277 | aaaae.Texture = "rbxassetid://926705964" | |
| 1278 | wait(0.1) | |
| 1279 | aaaae.Texture = "rbxassetid://926709486" | |
| 1280 | wait(0.1) | |
| 1281 | aaaae.Texture = "rbxassetid://926711720" | |
| 1282 | wait(0.1) | |
| 1283 | aaaae.Texture = "rbxassetid://926712235" | |
| 1284 | onaura =true | |
| 1285 | end | |
| 1286 | ||
| 1287 | if transforming1 == true then | |
| 1288 | 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 | |
| 1289 | 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 | |
| 1290 | 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 | |
| 1291 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-10)), 0.1)--arm | |
| 1292 | 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 | |
| 1293 | 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 | |
| 1294 | ||
| 1295 | end | |
| 1296 | ||
| 1297 | if transforming2 == true then | |
| 1298 | 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 | |
| 1299 | 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 | |
| 1300 | 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 | |
| 1301 | 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 | |
| 1302 | 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 | |
| 1303 | 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 | |
| 1304 | ||
| 1305 | end | |
| 1306 | ||
| 1307 | ||
| 1308 | if transforming3 == true then | |
| 1309 | 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.1)--head | |
| 1310 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.1)--torso | |
| 1311 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(-20),math.rad(10)), 0.1)--arm | |
| 1312 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(-20),math.rad(-10)), 0.1)--arm | |
| 1313 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-5)), 0.1)--leg | |
| 1314 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(5)), 0.1)--leg | |
| 1315 | ||
| 1316 | end | |
| 1317 | ||
| 1318 | if beam3 == true then | |
| 1319 | beamgo4 = beamgo4 + 1 | |
| 1320 | beamgo3 = beamgo3 + 0.018 | |
| 1321 | a1s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 | |
| 1322 | aa1s.Scale = v3(1,math.random(1,1.2),math.random(1,1.2)) | |
| 1323 | a3s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 * 5 | |
| 1324 | a1s.Size = a1s.Size + v3(beamgo3,0,0) | |
| 1325 | aa2s.Scale = v3(200,math.random(150,170),math.random(150,170)) | |
| 1326 | aa3s.Scale = v3(250,math.random(150,170),math.random(150,170)) | |
| 1327 | a2s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) - torso.CFrame.lookVector * 1 | |
| 1328 | end | |
| 1329 | if beam4 == true then | |
| 1330 | a1s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 | |
| 1331 | a2s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8 | |
| 1332 | a3s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 * 1.93 | |
| 1333 | end | |
| 1334 | ||
| 1335 | ||
| 1336 | end) | |
| 1337 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 1338 | --Kamehameha | |
| 1339 | --------------------------------------------------------------------- | |
| 1340 | mouse.KeyDown:connect(function(key) | |
| 1341 | if key == "q" then | |
| 1342 | if canattack == true then | |
| 1343 | canattack = false | |
| 1344 | canidle = false | |
| 1345 | canwalk = false | |
| 1346 | kamehameha() | |
| 1347 | canattack = true | |
| 1348 | canwalk = true | |
| 1349 | canidle = true | |
| 1350 | end | |
| 1351 | end | |
| 1352 | end) | |
| 1353 | ------------------------------------------------------------------ | |
| 1354 | --Blocking | |
| 1355 | ---------------------------------------------------------------- | |
| 1356 | mouse.KeyDown:connect(function(key) | |
| 1357 | if key == "r" then | |
| 1358 | if canattack == true then | |
| 1359 | canattack = false | |
| 1360 | canidle = false | |
| 1361 | canwalk = false | |
| 1362 | ||
| 1363 | block = true | |
| 1364 | ||
| 1365 | end | |
| 1366 | end | |
| 1367 | end) | |
| 1368 | mouse.KeyUp:connect(function(key) | |
| 1369 | if key == "r" then | |
| 1370 | if canattack == false then | |
| 1371 | canattack = true | |
| 1372 | canidle = true | |
| 1373 | block = false | |
| 1374 | canwalk = true | |
| 1375 | ||
| 1376 | ||
| 1377 | end | |
| 1378 | end | |
| 1379 | end) | |
| 1380 | -------------------------------------------------------------------- | |
| 1381 | --Transformations | |
| 1382 | -------------------------------------------------------------------- | |
| 1383 | mouse.KeyDown:connect(function(key) | |
| 1384 | if key == "t" then | |
| 1385 | if ssj1 == false then | |
| 1386 | if canattack == true then | |
| 1387 | canattack = false | |
| 1388 | canidle = false | |
| 1389 | canwalk = false | |
| 1390 | ssj1 = true | |
| 1391 | ssjmusic:Play() | |
| 1392 | ||
| 1393 | ------------------------------------------------ | |
| 1394 | transforming1 = true | |
| 1395 | ||
| 1396 | wait(5) | |
| 1397 | ssjauraburst:Play() | |
| 1398 | GroundWave5() | |
| 1399 | GroundWave6() | |
| 1400 | GroundWave7() | |
| 1401 | GroundWave8() | |
| 1402 | GroundWave9() | |
| 1403 | GroundWave10() | |
| 1404 | ad.Position = torso.Position - v3(0,3,0) | |
| 1405 | aad.Transparency = 0 | |
| 1406 | transforming1 = false | |
| 1407 | transforming2 = true | |
| 1408 | ||
| 1409 | a8.Color = Color3.fromRGB(231,255,111) | |
| 1410 | aaaae.Transparency = ns(0) | |
| 1411 | ssjaura:Play() | |
| 1412 | wait(3) | |
| 1413 | transforming2 = false | |
| 1414 | ||
| 1415 | ||
| 1416 | ||
| 1417 | ||
| 1418 | ------------------------------------------------- | |
| 1419 | canattack = true | |
| 1420 | canidle = true | |
| 1421 | canwalk = true | |
| 1422 | for i = 1,20 do | |
| 1423 | wait() | |
| 1424 | aad.Transparency = aad.Transparency + 0.05 | |
| 1425 | end | |
| 1426 | end | |
| 1427 | else | |
| 1428 | if canattack == true then | |
| 1429 | ||
| 1430 | canattack = false | |
| 1431 | canidle = false | |
| 1432 | canwalk = false | |
| 1433 | ssj2 = true | |
| 1434 | ssjmusic:Stop() | |
| 1435 | ssj2music:Play() | |
| 1436 | transforming3 = true | |
| 1437 | wait(1) | |
| 1438 | g1q = Instance.new("Part",char)
| |
| 1439 | g1q.Name = "Smoke" | |
| 1440 | g1q.CanCollide = false | |
| 1441 | g1q.Position = torso.Position - v3(-8,3,0) | |
| 1442 | g1q.Size = v3(0.1,0.1,0.1) | |
| 1443 | g1q.Anchored = true | |
| 1444 | g1a = Instance.new("Part",char)
| |
| 1445 | g1a.Name = "Smoke" | |
| 1446 | g1a.CanCollide = false | |
| 1447 | g1a.Position = torso.Position + v3(8,80,0) | |
| 1448 | g1a.Size = v3(0.1,0.1,0.1) | |
| 1449 | g1a.Anchored = true | |
| 1450 | g1q1 = Instance.new("Part",char)
| |
| 1451 | g1q1.Name = "Smoke" | |
| 1452 | g1q1.CanCollide = false | |
| 1453 | g1q1.Position = torso.Position - v3(-5,3,7) | |
| 1454 | g1q1.Size = v3(0.1,0.1,0.1) | |
| 1455 | g1q1.Anchored = true | |
| 1456 | g1a1 = Instance.new("Part",char)
| |
| 1457 | g1a1.Name = "Smoke" | |
| 1458 | g1a1.CanCollide = false | |
| 1459 | g1a1.Position = torso.Position + v3(5,80,-7) | |
| 1460 | g1a1.Size = v3(0.1,0.1,0.1) | |
| 1461 | g1a1.Anchored = true | |
| 1462 | g1q2 = Instance.new("Part",char)
| |
| 1463 | g1q2.Name = "Smoke" | |
| 1464 | g1q2.CanCollide = false | |
| 1465 | g1q2.Position = torso.Position - v3(12,3,-6) | |
| 1466 | g1q2.Size = v3(0.1,0.1,0.1) | |
| 1467 | g1q2.Anchored = true | |
| 1468 | g1a2 = Instance.new("Part",char)
| |
| 1469 | g1a2.Name = "Smoke" | |
| 1470 | g1a2.CanCollide = false | |
| 1471 | g1a2.Position = torso.Position + v3(-12,80,6) | |
| 1472 | g1a2.Size = v3(0.1,0.1,0.1) | |
| 1473 | g1a2.Anchored = true | |
| 1474 | ||
| 1475 | game.Lighting.Brightness = 0 | |
| 1476 | wait(0) | |
| 1477 | game.Lighting.Brightness = 9999999 | |
| 1478 | wait(0) | |
| 1479 | game.Lighting.Brightness = 0 | |
| 1480 | wait(0) | |
| 1481 | Lightning:Play() | |
| 1482 | Lightning1(g1a.Position,g1q.Position,0.2,10,workspace) | |
| 1483 | game.Lighting.Brightness = 9999999 | |
| 1484 | wait(0) | |
| 1485 | game.Lighting.Brightness = 0 | |
| 1486 | wait(0) | |
| 1487 | game.Lighting.Brightness = 9999999 | |
| 1488 | wait(0) | |
| 1489 | game.Lighting.Brightness = 0 | |
| 1490 | wait(2) | |
| 1491 | game.Lighting.Brightness = 0 | |
| 1492 | wait(0) | |
| 1493 | game.Lighting.Brightness = 9999999 | |
| 1494 | wait(0) | |
| 1495 | game.Lighting.Brightness = 0 | |
| 1496 | wait(0) | |
| 1497 | Lightning:Play() | |
| 1498 | Lightning1(g1a1.Position,g1q1.Position,0.2,10,workspace) | |
| 1499 | game.Lighting.Brightness = 9999999 | |
| 1500 | wait(0) | |
| 1501 | game.Lighting.Brightness = 0 | |
| 1502 | wait(0) | |
| 1503 | game.Lighting.Brightness = 9999999 | |
| 1504 | wait(0) | |
| 1505 | game.Lighting.Brightness = 0 | |
| 1506 | wait(1) | |
| 1507 | game.Lighting.Brightness = 0 | |
| 1508 | wait(0) | |
| 1509 | game.Lighting.Brightness = 9999999 | |
| 1510 | wait(0) | |
| 1511 | game.Lighting.Brightness = 0 | |
| 1512 | wait(0) | |
| 1513 | Lightning:Play() | |
| 1514 | Lightning1(g1a2.Position,g1q2.Position,0.2,10,workspace) | |
| 1515 | game.Lighting.Brightness = 9999999 | |
| 1516 | wait(0) | |
| 1517 | game.Lighting.Brightness = 0 | |
| 1518 | wait(0) | |
| 1519 | game.Lighting.Brightness = 9999999 | |
| 1520 | wait(0) | |
| 1521 | game.Lighting.Brightness = 0 | |
| 1522 | wait(1) | |
| 1523 | ||
| 1524 | ||
| 1525 | ||
| 1526 | ||
| 1527 | wait(1) | |
| 1528 | ad.Position = torso.Position - v3(0,3,0) | |
| 1529 | ad.Size = v3(30,0.1,30) | |
| 1530 | aad.Transparency = 0 | |
| 1531 | aad.Texture = "http://www.roblox.com/asset/?id=108186785" | |
| 1532 | ssjauraburst:Play() | |
| 1533 | ||
| 1534 | ||
| 1535 | aaa8.C0 = cf(0,.8,.3) * cfa(rad(0),rad(0),rad(0)) | |
| 1536 | aa8.Scale = v3(7,7,7) | |
| 1537 | aa8.MeshId = "rbxassetid://560186510" | |
| 1538 | ssjaura:Stop() | |
| 1539 | ssj2aura:Play() | |
| 1540 | ssj2ele = Instance.new("ParticleEmitter",torso)
| |
| 1541 | ssj2ele.LockedToPart = true | |
| 1542 | ssj2ele.Size = ns(2.4) | |
| 1543 | ssj2ele.Rate = 5 | |
| 1544 | ssj2ele.Speed = nr(0) | |
| 1545 | ssj2ele.Lifetime = nr(0.5) | |
| 1546 | ssj2ele.ZOffset = 2 | |
| 1547 | ssj2ele.Texture = "rbxassetid://347745038" | |
| 1548 | ||
| 1549 | g1 = Instance.new("Part",char)
| |
| 1550 | g1.Name = "Smoke" | |
| 1551 | g1.CanCollide = false | |
| 1552 | g1.Position = torso.Position - v3(0,2,0) | |
| 1553 | g1.Size = v3(0.1,0.1,0.1) | |
| 1554 | g1.Anchored = true | |
| 1555 | g11 = Instance.new("ParticleEmitter",g1)
| |
| 1556 | g11.Size = ns(3) | |
| 1557 | g11.EmissionDirection = "Front" | |
| 1558 | g11.Texture = "rbxassetid://572153134" | |
| 1559 | g11.Rate = 40 | |
| 1560 | g11.Speed = nr(20) | |
| 1561 | g112 = Instance.new("ParticleEmitter",g1)
| |
| 1562 | g112.Size = ns(3) | |
| 1563 | g112.EmissionDirection = "Back" | |
| 1564 | g112.Texture = "rbxassetid://572153134" | |
| 1565 | g112.Rate = 40 | |
| 1566 | g112.Speed = nr(20) | |
| 1567 | g113 = Instance.new("ParticleEmitter",g1)
| |
| 1568 | g113.Size = ns(3) | |
| 1569 | g113.EmissionDirection = "Left" | |
| 1570 | g113.Texture = "rbxassetid://572153134" | |
| 1571 | g113.Rate = 40 | |
| 1572 | g113.Speed = nr(20) | |
| 1573 | g114 = Instance.new("ParticleEmitter",g1)
| |
| 1574 | g114.Size = ns(3) | |
| 1575 | g114.EmissionDirection = "Right" | |
| 1576 | g114.Texture = "rbxassetid://572153134" | |
| 1577 | g114.Rate = 40 | |
| 1578 | g114.Speed = nr(20) | |
| 1579 | g2 = Instance.new("Part",char)
| |
| 1580 | g2.Name = "Smoke" | |
| 1581 | g2.CanCollide = false | |
| 1582 | g2.CFrame = CFrame.new(torso.Position - v3(0,2,0))*CFrame.Angles(rad(0),rad(45),rad(0)) | |
| 1583 | g2.Size = v3(0.1,0.1,0.1) | |
| 1584 | g2.Anchored = true | |
| 1585 | g11 = Instance.new("ParticleEmitter",g2)
| |
| 1586 | g11.Size = ns(3) | |
| 1587 | g11.EmissionDirection = "Front" | |
| 1588 | g11.Texture = "rbxassetid://572153134" | |
| 1589 | g11.Rate = 40 | |
| 1590 | g11.Speed = nr(20) | |
| 1591 | g112 = Instance.new("ParticleEmitter",g2)
| |
| 1592 | g112.Size = ns(3) | |
| 1593 | g112.EmissionDirection = "Back" | |
| 1594 | g112.Texture = "rbxassetid://572153134" | |
| 1595 | g112.Rate = 40 | |
| 1596 | g112.Speed = nr(20) | |
| 1597 | g113 = Instance.new("ParticleEmitter",g2)
| |
| 1598 | g113.Size = ns(3) | |
| 1599 | g113.EmissionDirection = "Left" | |
| 1600 | g113.Texture = "rbxassetid://572153134" | |
| 1601 | g113.Rate = 40 | |
| 1602 | g113.Speed = nr(20) | |
| 1603 | g114 = Instance.new("ParticleEmitter",g2)
| |
| 1604 | g114.Size = ns(3) | |
| 1605 | g114.EmissionDirection = "Right" | |
| 1606 | g114.Texture = "rbxassetid://572153134" | |
| 1607 | g114.Rate = 40 | |
| 1608 | g114.Speed = nr(20) | |
| 1609 | ||
| 1610 | ||
| 1611 | a21e = new("Part",char)
| |
| 1612 | a21e.Name = "Beam"..num | |
| 1613 | a21e.Locked = true | |
| 1614 | a21e.Size = v3(1,1,1) | |
| 1615 | a21e.CanCollide = false | |
| 1616 | a21e.Position = v3(999,999,999) | |
| 1617 | a21e.BrickColor = bc("New Yeller")
| |
| 1618 | a21e.Material = "Neon" | |
| 1619 | a21e.Transparency = 0 | |
| 1620 | aa21e = new("SpecialMesh",a21e)
| |
| 1621 | a21e.Anchored = true | |
| 1622 | a21e.Position = torso.Position | |
| 1623 | aa21e.MeshType = "Sphere" | |
| 1624 | aa21e.Scale = v3(1,1,1) | |
| 1625 | GroundWave5() | |
| 1626 | GroundWave6() | |
| 1627 | GroundWave7() | |
| 1628 | GroundWave8() | |
| 1629 | GroundWave9() | |
| 1630 | GroundWave10() | |
| 1631 | for i = 1,50 do | |
| 1632 | wait() | |
| 1633 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
| 1634 | a21e.Transparency = a21e.Transparency + 0.02 | |
| 1635 | end | |
| 1636 | ||
| 1637 | wait(2) | |
| 1638 | g1.Position = v3(999,999,999) | |
| 1639 | g2.Position = v3(999,999,999) | |
| 1640 | transforming3 = false | |
| 1641 | canattack = true | |
| 1642 | canidle = true | |
| 1643 | canwalk = true | |
| 1644 | ||
| 1645 | wait(5) | |
| 1646 | for i = 1,20 do | |
| 1647 | wait() | |
| 1648 | aad.Transparency = aad.Transparency + 0.05 | |
| 1649 | end | |
| 1650 | g1:Destroy() | |
| 1651 | g2:Destroy() | |
| 1652 | ||
| 1653 | ||
| 1654 | ||
| 1655 | ||
| 1656 | end | |
| 1657 | end | |
| 1658 | end | |
| 1659 | end) | |
| 1660 | --Lightning | |
| 1661 | ||
| 1662 | function Lightning1(pos,pos2,radius,numParts,model) | |
| 1663 | radius = radius or 0.2 | |
| 1664 | numParts = numParts or 10 | |
| 1665 | model = model or workspace | |
| 1666 | local lv = CFrame.new(pos,pos2).lookVector | |
| 1667 | local dist = (pos-pos2).magnitude | |
| 1668 | local dbp = dist/numParts | |
| 1669 | local last = pos | |
| 1670 | for i = 1,numParts do | |
| 1671 | local p = Instance.new("Part",model)
| |
| 1672 | p.FormFactor = "Symmetric" | |
| 1673 | p.Size = Vector3.new(5,5,1) | |
| 1674 | p.Material = "Neon" | |
| 1675 | p.CanCollide = false | |
| 1676 | p.Anchored = true | |
| 1677 | p.BrickColor = BrickColor.new("Cyan")
| |
| 1678 | local x = math.random(-100,100)/100*dbp/2 | |
| 1679 | local y = math.random(-100,100)/100*dbp/2 | |
| 1680 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
| 1681 | local dist2 = (p2.p-last).magnitude | |
| 1682 | local mid = (p2.p+last)/2 | |
| 1683 | local m = Instance.new("BlockMesh",p)
| |
| 1684 | m.Scale = Vector3.new(radius,radius,dist2) | |
| 1685 | p.CFrame = CFrame.new(mid,p2.p) | |
| 1686 | last = p2.p | |
| 1687 | game:GetService("Debris"):AddItem(p,math.random(40,100)/1000)
| |
| 1688 | end | |
| 1689 | end | |
| 1690 | ---------------------------------------------------------------------------------------------- | |
| 1691 | ac = new("Part",char)
| |
| 1692 | ac.Name = "NewPart" | |
| 1693 | ac.Size = v3(0.1,0.1,0.1) | |
| 1694 | ac.Position = v3(999,999,999) | |
| 1695 | ac.BrickColor = bc("bright Blue")
| |
| 1696 | ac.Material = "Neon" | |
| 1697 | ac.Transparency = 1 | |
| 1698 | aaac =new("Weld",ac)
| |
| 1699 | aaac.Part0 = rarm | |
| 1700 | aaac.Part1 = ac | |
| 1701 | aaac.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
| 1702 | aaaac = new("ParticleEmitter",ac)
| |
| 1703 | aaaac.Size = ns(1) | |
| 1704 | aaaac.Rate = 5 | |
| 1705 | aaaac.Texture = "rbxassetid://246381828" | |
| 1706 | aaaac.ZOffset = 1 | |
| 1707 | aaaac.Lifetime = nr(5) | |
| 1708 | aaaac.Transparency = ns(1) | |
| 1709 | aaaac.LockedToPart = true | |
| 1710 | aaaac.Speed = nr(0) | |
| 1711 | aaaawc = new("ParticleEmitter",ac)
| |
| 1712 | aaaawc.Size = ns(5) | |
| 1713 | aaaawc.Rate = 5 | |
| 1714 | aaaawc.Color = ColorSequence.new(Color3.fromRGB(149,190,255)) | |
| 1715 | aaaawc.Texture = "rbxassetid://924710961" | |
| 1716 | aaaawc.ZOffset = -1 | |
| 1717 | aaaawc.Lifetime = nr(5) | |
| 1718 | aaaawc.RotSpeed = nr(50) | |
| 1719 | aaaawc.Transparency = ns(1) | |
| 1720 | aaaawc.LockedToPart = true | |
| 1721 | aaaawc.Speed = nr(0) | |
| 1722 | mouse.KeyDown:connect(function(key) | |
| 1723 | if key == "z" then | |
| 1724 | ||
| 1725 | if canattack == true then | |
| 1726 | canattack = false | |
| 1727 | canidle = false | |
| 1728 | canwalk = false | |
| 1729 | ssj2music.Volume = 0 | |
| 1730 | fahersonstart:Play() | |
| 1731 | fatherson() | |
| 1732 | wait(1) | |
| 1733 | for i = 1,20 do | |
| 1734 | wait() | |
| 1735 | trans = trans - 0.05 | |
| 1736 | aaaac.Transparency = ns(trans) | |
| 1737 | aaaawc.Transparency = ns(trans) | |
| 1738 | end | |
| 1739 | wait(3) | |
| 1740 | fahersonend:Play() | |
| 1741 | fathersonfire() | |
| 1742 | 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 | |
| 1743 | 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 | |
| 1744 | 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)), 1)--arm | |
| 1745 | 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)), 1)--arm | |
| 1746 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-10)), 1)--leg | |
| 1747 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 1)--leg | |
| 1748 | ||
| 1749 | char.Archivable = true | |
| 1750 | c = char:Clone() | |
| 1751 | 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 | |
| 1752 | 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 | |
| 1753 | 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)), 1)--arm | |
| 1754 | 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)), 1)--arm | |
| 1755 | 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 | |
| 1756 | 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 | |
| 1757 | c.Parent = char | |
| 1758 | c.Name = "Goku" | |
| 1759 | okko = Instance.new("Weld",c)
| |
| 1760 | okko.Part0 = torso | |
| 1761 | okko.Part1 = c.Torso | |
| 1762 | okko.C0 = CFrame.new(2.5,0,0) | |
| 1763 | Hair99 = Instance.new("Part")
| |
| 1764 | umok = Instance.new("Part",c)
| |
| 1765 | umok.Name = "canthurt" | |
| 1766 | umok.Position = v3(999,999,999) | |
| 1767 | Hair99.Parent = c | |
| 1768 | Hair99.Name = "Hair" | |
| 1769 | Hair99.formFactor = "Symmetric" | |
| 1770 | Hair99.Size = Vector3.new(1, 1, 1) | |
| 1771 | Hair99.CFrame = c.Head.CFrame | |
| 1772 | Hair99:BreakJoints() | |
| 1773 | Hair99.CanCollide = false | |
| 1774 | Hair99.TopSurface = "Smooth" | |
| 1775 | Hair99.BottomSurface = "Smooth" | |
| 1776 | Hair99.BrickColor = BrickColor.new("New Yeller")
| |
| 1777 | Hair99.Transparency = 1 | |
| 1778 | ||
| 1779 | Weld = Instance.new("Weld")
| |
| 1780 | Weld.Part0 = c.Head | |
| 1781 | Weld.Part1 = Hair99 | |
| 1782 | Weld.Parent = c.Head | |
| 1783 | Weld.C0 = CFrame.new(0, 0.26, 0.06)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1784 | ||
| 1785 | Hair7 = Instance.new("Part")
| |
| 1786 | Hair7.Parent = c | |
| 1787 | Hair7.Name = "Hair" | |
| 1788 | Hair7.CanCollide = false | |
| 1789 | Hair7.Locked = true | |
| 1790 | Hair7.TopSurface = "Smooth" | |
| 1791 | Hair7.BottomSurface = "Smooth" | |
| 1792 | Hair7.formFactor = "Symmetric" | |
| 1793 | Hair7.Material = "Neon" | |
| 1794 | Hair7.BrickColor = BrickColor.new("Really black")
| |
| 1795 | Hair7.CFrame = c.Torso.CFrame | |
| 1796 | Hair7.Size = Vector3.new(1, 1, 1) | |
| 1797 | Hair7.Transparency = 0 | |
| 1798 | ||
| 1799 | Mesh = Instance.new("SpecialMesh")
| |
| 1800 | Mesh.Parent = Hair99 | |
| 1801 | Mesh.MeshType = "Sphere" | |
| 1802 | Mesh.Offset = Vector3.new(0, 0.1, 0.1) | |
| 1803 | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) | |
| 1804 | ||
| 1805 | ||
| 1806 | Weld1 = Instance.new("Weld")
| |
| 1807 | Weld1.Parent = c.Head | |
| 1808 | Weld1.Part0 = c.Head | |
| 1809 | Weld1.Part1 = Hair7 | |
| 1810 | Weld1.C0 = CFrame.new(0, 1, 0) | |
| 1811 | ||
| 1812 | Mesh = Instance.new("SpecialMesh")
| |
| 1813 | Mesh.Offset = Vector3.new(0.2, -0.2, 0.2) | |
| 1814 | Mesh.Parent = Hair7 | |
| 1815 | Mesh.Scale = Vector3.new(1, 1, 1) | |
| 1816 | Mesh.MeshType = "FileMesh" | |
| 1817 | Mesh.MeshId = "http://www.roblox.com/asset/?id=476757756" | |
| 1818 | Mesh.TextureId = "" | |
| 1819 | ||
| 1820 | wait(0.1) | |
| 1821 | for i,v in pairs(c:GetChildren()) do | |
| 1822 | if v.Name == "NewPart" then | |
| 1823 | v:Destroy() | |
| 1824 | end | |
| 1825 | if v:IsA("Part") then
| |
| 1826 | v.CanCollide = false | |
| 1827 | v.Anchored = true | |
| 1828 | v.BrickColor = BrickColor.new("Cyan")
| |
| 1829 | v.Transparency = 0.5 | |
| 1830 | end | |
| 1831 | end | |
| 1832 | c["Sound Folder"]:Destroy() | |
| 1833 | c.Hair:Destroy() | |
| 1834 | c.Shirt:Destroy() | |
| 1835 | c.Pants:Destroy() | |
| 1836 | ||
| 1837 | ||
| 1838 | ||
| 1839 | ||
| 1840 | ||
| 1841 | ||
| 1842 | ||
| 1843 | ||
| 1844 | ||
| 1845 | hed.Anchored = true | |
| 1846 | a8.Anchored = true | |
| 1847 | ae.Anchored = true | |
| 1848 | ||
| 1849 | ||
| 1850 | ||
| 1851 | GroundWave1() | |
| 1852 | ||
| 1853 | ||
| 1854 | a1s = new("Part",char)
| |
| 1855 | a1s.Name = "Beam" | |
| 1856 | a1s.Anchored = true | |
| 1857 | a1s.Size = v3(6,15,15) | |
| 1858 | a1s.CanCollide = false | |
| 1859 | a1s.Locked = true | |
| 1860 | a1s.Position = v3(999,999,999) | |
| 1861 | a1s.BrickColor = bc("Cyan")
| |
| 1862 | a1s.Material = "Neon" | |
| 1863 | a1s.Transparency = 0 | |
| 1864 | aa1s = new("SpecialMesh",a1s)
| |
| 1865 | aa1s.MeshType = "Cylinder" | |
| 1866 | aa1s.Scale = v3(1,1,1) | |
| 1867 | aaaac.Transparency = ns(1) | |
| 1868 | aaaawc.Transparency = ns(1) | |
| 1869 | a2s = new("Part",char)
| |
| 1870 | a2s.Name = "Beam" | |
| 1871 | a2s.Anchored = true | |
| 1872 | a2s.Locked = true | |
| 1873 | a2s.Size = v3(0.1,0.1,0.1) | |
| 1874 | a2s.CanCollide = false | |
| 1875 | a2s.Position = v3(999,999,999) | |
| 1876 | a2s.BrickColor = bc("Cyan")
| |
| 1877 | a2s.Material = "Neon" | |
| 1878 | a2s.Transparency = 0 | |
| 1879 | aa2s = new("SpecialMesh",a2s)
| |
| 1880 | aa2s.MeshType = "Sphere" | |
| 1881 | aa2s.Scale = v3(200,150,150) | |
| 1882 | a3s = new("Part",char)
| |
| 1883 | a3s.Name = "Beam" | |
| 1884 | a3s.Locked = true | |
| 1885 | a3s.Anchored = true | |
| 1886 | a3s.Size = v3(0.1,0.1,0.1) | |
| 1887 | a3s.CanCollide = false | |
| 1888 | a3s.Position = v3(999,999,999) | |
| 1889 | a3s.BrickColor = bc("Cyan")
| |
| 1890 | a3s.Material = "Neon" | |
| 1891 | a3s.Transparency = 0 | |
| 1892 | aa3s = new("SpecialMesh",a3s)
| |
| 1893 | aa3s.MeshType = "Sphere" | |
| 1894 | aa3s.Scale = v3(250,150,150) | |
| 1895 | --Damages | |
| 1896 | ----------------------------------------------------------------------------------------- | |
| 1897 | a1s.Touched:connect(function(hit) | |
| 1898 | ||
| 1899 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 and hit ~= Hair7 and hit ~= Hair99 and hit.Parent:findFirstChild("canthurt") == nil then
| |
| 1900 | ||
| 1901 | ||
| 1902 | ||
| 1903 | if hit.Parent:IsA("Model") then
| |
| 1904 | hit.Parent:BreakJoints() | |
| 1905 | end | |
| 1906 | hit:Destroy() | |
| 1907 | if enabled == true then | |
| 1908 | enabled = false | |
| 1909 | num = num + 1 | |
| 1910 | kamehit:Play() | |
| 1911 | a21 = new("Part",char)
| |
| 1912 | a21.Name = "Beam"..num | |
| 1913 | a21.Locked = true | |
| 1914 | a21.Size = v3(1,1,1) | |
| 1915 | a21.CanCollide = false | |
| 1916 | a21.Position = v3(999,999,999) | |
| 1917 | a21.BrickColor = bc("Cyan")
| |
| 1918 | a21.Material = "Neon" | |
| 1919 | a21.Transparency = 0 | |
| 1920 | aa21 = new("SpecialMesh",a21)
| |
| 1921 | a21.Anchored = true | |
| 1922 | a21.Position = hit.Position | |
| 1923 | aa21.MeshType = "Sphere" | |
| 1924 | aa21.Scale = v3(1,1,1) | |
| 1925 | GroundWave2() | |
| 1926 | GroundWave3() | |
| 1927 | GroundWave4() | |
| 1928 | for i = 1,50 do | |
| 1929 | wait() | |
| 1930 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(5,5,5) | |
| 1931 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
| 1932 | end | |
| 1933 | enabled = true | |
| 1934 | char["Beam"..num]:Destroy() | |
| 1935 | end | |
| 1936 | ||
| 1937 | end | |
| 1938 | ||
| 1939 | end) | |
| 1940 | ||
| 1941 | ||
| 1942 | ||
| 1943 | ||
| 1944 | ||
| 1945 | ||
| 1946 | ||
| 1947 | beam3 = true | |
| 1948 | beam4 = true | |
| 1949 | wait(2) | |
| 1950 | ||
| 1951 | beam3 = false | |
| 1952 | ||
| 1953 | repeat | |
| 1954 | wait() | |
| 1955 | a1s.Size = a1s.Size - v3(0,0.2,0.2) | |
| 1956 | aa2s.Scale = aa2s.Scale - v3(2,2,2) | |
| 1957 | aa3s.Scale = aa3s.Scale - v3(2,2,2) | |
| 1958 | until | |
| 1959 | a1s.Size.y < 0.1 | |
| 1960 | ||
| 1961 | beamgo = 2.2 | |
| 1962 | beamgo1 = 1 | |
| 1963 | a1s:Destroy() | |
| 1964 | a2s:Destroy() | |
| 1965 | a3s:Destroy() | |
| 1966 | for i = 1,10 do | |
| 1967 | wait() | |
| 1968 | ||
| 1969 | kamefire.Volume = kamefire.Volume - 0.5 | |
| 1970 | end | |
| 1971 | kamefire:Stop() | |
| 1972 | ||
| 1973 | ||
| 1974 | ||
| 1975 | ||
| 1976 | ||
| 1977 | ||
| 1978 | ||
| 1979 | ||
| 1980 | ||
| 1981 | ||
| 1982 | ||
| 1983 | wait(1) | |
| 1984 | torso.Anchored = false | |
| 1985 | hed.Anchored = false | |
| 1986 | c:Destroy() | |
| 1987 | beamgo4 = 2.2 | |
| 1988 | beamgo3 = 1 | |
| 1989 | canattack = true | |
| 1990 | canwalk = true | |
| 1991 | canidle = true | |
| 1992 | ||
| 1993 | a8.Anchored = false | |
| 1994 | ae.Anchored =false | |
| 1995 | trans = 1 | |
| 1996 | for i = 1,10 do | |
| 1997 | wait() | |
| 1998 | ssj2music.Volume = ssj2music.Volume + 1 | |
| 1999 | end | |
| 2000 | end | |
| 2001 | end | |
| 2002 | ||
| 2003 | end) | |
| 2004 | ||
| 2005 | ||
| 2006 | ||
| 2007 | ||
| 2008 | ||
| 2009 | ||
| 2010 | ||
| 2011 | ||
| 2012 | ||
| 2013 | ||
| 2014 | ||
| 2015 | ||
| 2016 | ||
| 2017 | ||
| 2018 | ||
| 2019 | ||
| 2020 | ||
| 2021 | mouse.KeyDown:connect(function(key) | |
| 2022 | if key == "e" then | |
| 2023 | if canattack == true then | |
| 2024 | if punched1 == true then | |
| 2025 | punched1 = false | |
| 2026 | punched3 = false | |
| 2027 | punched4 = false | |
| 2028 | canidle = false | |
| 2029 | canwalk= false | |
| 2030 | ||
| 2031 | firsthit() | |
| 2032 | canidle = true | |
| 2033 | canwalk= true | |
| 2034 | punched2 = true | |
| 2035 | end | |
| 2036 | end | |
| 2037 | end | |
| 2038 | end) | |
| 2039 | mouse.KeyDown:connect(function(key) | |
| 2040 | if key == "e" then | |
| 2041 | if canattack == true then | |
| 2042 | if punched2 == true then | |
| 2043 | punched2 = false | |
| 2044 | punched4 = false | |
| 2045 | punched1 = false | |
| 2046 | canidle = false | |
| 2047 | canwalk= false | |
| 2048 | ||
| 2049 | secondhit() | |
| 2050 | canidle = true | |
| 2051 | canwalk= true | |
| 2052 | punched3 = true | |
| 2053 | end | |
| 2054 | end | |
| 2055 | end | |
| 2056 | end) | |
| 2057 | mouse.KeyDown:connect(function(key) | |
| 2058 | if key == "e" then | |
| 2059 | if canattack == true then | |
| 2060 | if punched3 == true then | |
| 2061 | punched3 = false | |
| 2062 | punched2 = false | |
| 2063 | punched1 = false | |
| 2064 | canidle = false | |
| 2065 | canwalk= false | |
| 2066 | ||
| 2067 | thirdhit() | |
| 2068 | canidle = true | |
| 2069 | canwalk= true | |
| 2070 | punched4 = true | |
| 2071 | end | |
| 2072 | end | |
| 2073 | end | |
| 2074 | end) | |
| 2075 | mouse.KeyDown:connect(function(key) | |
| 2076 | if key == "e" then | |
| 2077 | if canattack == true then | |
| 2078 | if punched4 == true then | |
| 2079 | punched4 = false | |
| 2080 | punched2 = false | |
| 2081 | punched3 = false | |
| 2082 | canidle = false | |
| 2083 | canwalk= false | |
| 2084 | ||
| 2085 | lasthit() | |
| 2086 | canidle = true | |
| 2087 | canwalk= true | |
| 2088 | punched1 = true | |
| 2089 | end | |
| 2090 | end | |
| 2091 | end | |
| 2092 | end) |