SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,game,owner = owner,game | |
| 3 | local RealPlayer = Player | |
| 4 | do | |
| 5 | print("FE Compatibility code by Mokiros")
| |
| 6 | local rp = RealPlayer | |
| 7 | script.Parent = rp.Character | |
| 8 | ||
| 9 | --RemoteEvent for communicating | |
| 10 | local Event = Instance.new("RemoteEvent")
| |
| 11 | Event.Name = "UserInput_Event" | |
| 12 | ||
| 13 | --Fake event to make stuff like Mouse.KeyDown work | |
| 14 | local function fakeEvent() | |
| 15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 16 | t.connect = t.Connect | |
| 17 | return t | |
| 18 | end | |
| 19 | ||
| 20 | --Creating fake input objects with fake variables | |
| 21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
| |
| 22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 25 | end} | |
| 26 | --Merged 2 functions into one by checking amount of arguments | |
| 27 | CAS.UnbindAction = CAS.BindAction | |
| 28 | ||
| 29 | --This function will trigger the events that have been :Connect()'ed | |
| 30 | local function te(self,ev,...) | |
| 31 | local t = m[ev] | |
| 32 | if t and t._fakeEvent then | |
| 33 | for _,f in pairs(t.Functions) do | |
| 34 | f(...) | |
| 35 | end | |
| 36 | end | |
| 37 | end | |
| 38 | m.TrigEvent = te | |
| 39 | UIS.TrigEvent = te | |
| 40 | ||
| 41 | Event.OnServerEvent:Connect(function(plr,io) | |
| 42 | if plr~=rp then return end | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | if not io.isMouse then | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
| 51 | return m:TrigEvent(b and "Button2Down" or "Button2Up") | |
| 52 | end | |
| 53 | for _,t in pairs(CAS.Actions) do | |
| 54 | for _,k in pairs(t.Keys) do | |
| 55 | if k==io.KeyCode then | |
| 56 | t.Function(t.Name,io.UserInputState,io) | |
| 57 | end | |
| 58 | end | |
| 59 | end | |
| 60 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 61 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 62 | end | |
| 63 | end) | |
| 64 | Event.Parent = NLS([==[ | |
| 65 | local Player = game:GetService("Players").LocalPlayer
| |
| 66 | local Event = script:WaitForChild("UserInput_Event")
| |
| 67 | local Mouse = Player:GetMouse() | |
| 68 | local UIS = game:GetService("UserInputService")
| |
| 69 | local input = function(io,a) | |
| 70 | if a then return end | |
| 71 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 72 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 73 | end | |
| 74 | UIS.InputBegan:Connect(input) | |
| 75 | UIS.InputEnded:Connect(input) | |
| 76 | local h,t | |
| 77 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 78 | --If player is not moving their mouse, client won't fire events | |
| 79 | while wait(1/30) do | |
| 80 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 81 | h,t=Mouse.Hit,Mouse.Target | |
| 82 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 83 | end | |
| 84 | end]==],Player.Character) | |
| 85 | ||
| 86 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 87 | --Real game object | |
| 88 | local _rg = game | |
| 89 | ||
| 90 | --Metatable for fake service | |
| 91 | local fsmt = {
| |
| 92 | __index = function(self,k) | |
| 93 | local s = rawget(self,"_RealService") | |
| 94 | if s then | |
| 95 | return typeof(s[k])=="function" | |
| 96 | and function(_,...)return s[k](s,...)end or s[k] | |
| 97 | end | |
| 98 | end, | |
| 99 | __newindex = function(self,k,v) | |
| 100 | local s = rawget(self,"_RealService") | |
| 101 | if s then s[k]=v end | |
| 102 | end | |
| 103 | } | |
| 104 | local function FakeService(t,RealService) | |
| 105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 106 | return setmetatable(t,fsmt) | |
| 107 | end | |
| 108 | ||
| 109 | --Fake game object | |
| 110 | local g = {
| |
| 111 | GetService = function(self,s) | |
| 112 | return rawget(self,s) or _rg:GetService(s) | |
| 113 | end, | |
| 114 | Players = FakeService({
| |
| 115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 116 | },"Players"), | |
| 117 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 119 | RunService = FakeService({
| |
| 120 | _btrs = {},
| |
| 121 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 122 | BindToRenderStep = function(self,name,_,fun) | |
| 123 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 124 | end, | |
| 125 | UnbindFromRenderStep = function(self,name) | |
| 126 | self._btrs[name]:Disconnect() | |
| 127 | end, | |
| 128 | },"RunService") | |
| 129 | } | |
| 130 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 131 | g.service = g.GetService | |
| 132 | FakeService(g,game) | |
| 133 | --Changing owner to fake player object to support owner:GetMouse() | |
| 134 | game,owner = g,g.Players.LocalPlayer | |
| 135 | end | |
| 136 | -- Credits by venturiansonic | |
| 137 | ||
| 138 | wait(0.3) | |
| 139 | Colours = {
| |
| 140 | Spirit = {
| |
| 141 | BrickColor.new("Electric blue"),
| |
| 142 | BrickColor.new("Institutional white")
| |
| 143 | } | |
| 144 | } | |
| 145 | Keys = {}
| |
| 146 | UserInputService = game:GetService("UserInputService")
| |
| 147 | TweenService = game:GetService("TweenService")
| |
| 148 | Chat = game:GetService("Chat")
| |
| 149 | Plr = game:GetService("Players").LocalPlayer
| |
| 150 | Mouse = Plr:GetMouse() | |
| 151 | Char = Plr.Character | |
| 152 | Human = Char:FindFirstChildOfClass("Humanoid")
| |
| 153 | assert(Human.RigType == Enum.HumanoidRigType.R6, "You need to be in r6 to use this script! R15 won't work.") | |
| 154 | Motor6DClones = {}
| |
| 155 | BodyPartClones = {}
| |
| 156 | Rad = math.rad | |
| 157 | Sin = math.sin | |
| 158 | Random = math.random | |
| 159 | Floor = math.floor | |
| 160 | Torso = Char.Torso | |
| 161 | HRoot = Char.HumanoidRootPart | |
| 162 | LArm = Char["Left Arm"] | |
| 163 | RArm = Char["Right Arm"] | |
| 164 | LLeg = Char["Left Leg"] | |
| 165 | RLeg = Char["Right Leg"] | |
| 166 | Head = Char.Head | |
| 167 | Hrj = HRoot.RootJoint | |
| 168 | LShold = Torso["Left Shoulder"] | |
| 169 | RShold = Torso["Right Shoulder"] | |
| 170 | LHip = Torso["Left Hip"] | |
| 171 | RHip = Torso["Right Hip"] | |
| 172 | Last = "Left" | |
| 173 | Anim = "Idle" | |
| 174 | Dir = "None" | |
| 175 | Mode = "Base" | |
| 176 | Falling = false | |
| 177 | Flying = false | |
| 178 | After = false | |
| 179 | Typing = false | |
| 180 | CanMelee = false | |
| 181 | Attacking = false | |
| 182 | Sprint = false | |
| 183 | Walkspeed = 16 | |
| 184 | Char.Animate.Disabled = true | |
| 185 | Human.Animator:Destroy() | |
| 186 | Human:RemoveAccessories() | |
| 187 | Char.Sound:Destroy() | |
| 188 | Char.Animate:Destroy() | |
| 189 | Dodge = false | |
| 190 | Neck = Torso.Neck | |
| 191 | Lscf = LShold.C0 | |
| 192 | Rscf = RShold.C0 | |
| 193 | Lhcf = LHip.C0 | |
| 194 | Rhcf = RHip.C0 | |
| 195 | Ncf = Neck.C0 | |
| 196 | Hrjcf = Hrj.C0 | |
| 197 | local instinct = false | |
| 198 | HRoot.Touched:connect(function(hit) | |
| 199 | local h = hit.Parent:FindFirstChild("Part")
| |
| 200 | if h ~= nil and Human.Health > 0 and instinct == true then | |
| 201 | HRoot.Anchored = true | |
| 202 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)) | |
| 203 | for i = 0, 1, 0.1 do | |
| 204 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i) | |
| 205 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
| 206 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
| 207 | SWait() | |
| 208 | end | |
| 209 | HRoot.Anchored = false | |
| 210 | local ay = math.random(1, 2) | |
| 211 | if ay == 1 then | |
| 212 | HRoot.Anchored = true | |
| 213 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)) | |
| 214 | HRoot.Anchored = false | |
| 215 | for i = 0, 1, 0.1 do | |
| 216 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(300)), i) | |
| 217 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
| 218 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i) | |
| 219 | SWait() | |
| 220 | end | |
| 221 | end | |
| 222 | end | |
| 223 | end) | |
| 224 | Torso.Touched:connect(function(hit) | |
| 225 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 226 | if h ~= nil and Human.Health > 0 and instinct == true then | |
| 227 | HRoot.Anchored = true | |
| 228 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)) | |
| 229 | HRoot.Anchored = false | |
| 230 | local ay = math.random(1, 2) | |
| 231 | if ay == 1 then | |
| 232 | HRoot.Anchored = true | |
| 233 | HRoot.Anchored = false | |
| 234 | end | |
| 235 | end | |
| 236 | end) | |
| 237 | Head.Touched:connect(function(hit) | |
| 238 | local h = hit.Parent:FindFirstChild("NewPart")
| |
| 239 | if h ~= nil and Human.Health > 0 and instinct == true then | |
| 240 | HRoot.Anchored = true | |
| 241 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)) | |
| 242 | HRoot.Anchored = false | |
| 243 | local ay = math.random(1, 2) | |
| 244 | if ay == 1 then | |
| 245 | HRoot.Anchored = true | |
| 246 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-180), math.rad(0)) | |
| 247 | HRoot.Anchored = false | |
| 248 | end | |
| 249 | end | |
| 250 | end) | |
| 251 | HRoot.Touched:connect(function(hit) | |
| 252 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 253 | if h ~= nil and Human.Health > 0 and instinct == true then | |
| 254 | HRoot.Anchored = true | |
| 255 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)) | |
| 256 | HRoot.Anchored = false | |
| 257 | local ay = math.random(1, 2) | |
| 258 | if ay == 1 then | |
| 259 | HRoot.Anchored = true | |
| 260 | HRoot.Anchored = false | |
| 261 | end | |
| 262 | end | |
| 263 | end) | |
| 264 | HRoot.Touched:connect(function(hit) | |
| 265 | local h = hit.Parent:FindFirstChild("NewPart")
| |
| 266 | if h ~= nil and Human.Health > 0 and instinct == true then | |
| 267 | HRoot.Anchored = true | |
| 268 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)) | |
| 269 | for i = 0, 1, 0.1 do | |
| 270 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
| 271 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
| 272 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i) | |
| 273 | RHip.C0 = RHip.C0:lerp(Rhcf, i) | |
| 274 | SWait() | |
| 275 | end | |
| 276 | HRoot.Anchored = false | |
| 277 | local ay = math.random(1, 2) | |
| 278 | if ay == 1 then | |
| 279 | HRoot.Anchored = true | |
| 280 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) | |
| 281 | HRoot.Anchored = false | |
| 282 | end | |
| 283 | end | |
| 284 | end) | |
| 285 | if Char:FindFirstChildOfClass("BodyColors") then
| |
| 286 | Char:FindFirstChildOfClass("BodyColors"):Destroy()
| |
| 287 | end | |
| 288 | for _, v in pairs(Char:GetChildren()) do | |
| 289 | if v:IsA("Clothing") or v:IsA("ShirtGraphic") then
| |
| 290 | v:Destroy() | |
| 291 | elseif v:IsA("BasePart") then
| |
| 292 | v.BrickColor = BrickColor.new("Pastel brown")
| |
| 293 | end | |
| 294 | end | |
| 295 | function SWait(float) | |
| 296 | if not float then | |
| 297 | return game:GetService("RunService").RenderStepped:wait()
| |
| 298 | else | |
| 299 | return game:GetService("RunService").RenderStepped:wait(float)
| |
| 300 | end | |
| 301 | end | |
| 302 | function Smooth(part) | |
| 303 | part.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 304 | part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 305 | part.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 306 | part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 307 | part.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 308 | part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 309 | end | |
| 310 | function Create(Class, Parent, Name, Extra) | |
| 311 | local asd = Instance.new(Class, Parent) | |
| 312 | asd.Name = Name or Class | |
| 313 | if asd:IsA("BasePart") then
| |
| 314 | Smooth(asd) | |
| 315 | end | |
| 316 | for i, v in pairs(Extra or {}) do
| |
| 317 | asd[i] = v | |
| 318 | end | |
| 319 | return asd | |
| 320 | end | |
| 321 | function newWeld(parent, P0, P1, C0, C1) | |
| 322 | local weld = Instance.new("Motor6D", parent or P0)
| |
| 323 | weld.Part0 = P0 | |
| 324 | weld.Part1 = P1 | |
| 325 | weld.C0 = C0 or weld.C0 | |
| 326 | weld.C1 = C1 or weld.C1 | |
| 327 | return weld | |
| 328 | end | |
| 329 | function findRealAncestor(inst) | |
| 330 | local par = inst.Parent | |
| 331 | local lastPar = inst | |
| 332 | repeat | |
| 333 | lastPar = par | |
| 334 | if par.Parent == nil then | |
| 335 | par = workspace | |
| 336 | else | |
| 337 | par = par.Parent | |
| 338 | end | |
| 339 | wait() | |
| 340 | until par == workspace | |
| 341 | return lastPar or nil | |
| 342 | end | |
| 343 | function createEmit(props) | |
| 344 | for _, v in pairs(Char:GetChildren()) do | |
| 345 | if v:IsA("BasePart") then
| |
| 346 | local emit = Instance.new("ParticleEmitter", v)
| |
| 347 | for i, v in pairs(props or {}) do
| |
| 348 | emit[i] = v | |
| 349 | end | |
| 350 | end | |
| 351 | end | |
| 352 | end | |
| 353 | function toggleEmitters(arg) | |
| 354 | if arg ~= "AllOff" then | |
| 355 | for _, v in pairs(Char:GetDescendants()) do | |
| 356 | if v.Name == arg and v:IsA("ParticleEmitter") then
| |
| 357 | v.Enabled = not v.Enabled | |
| 358 | end | |
| 359 | end | |
| 360 | else | |
| 361 | for _, v in pairs(Char:GetDescendants()) do | |
| 362 | if v:IsA("ParticleEmitter") then
| |
| 363 | v.Enabled = false | |
| 364 | end | |
| 365 | end | |
| 366 | end | |
| 367 | end | |
| 368 | function stopAllSounds() | |
| 369 | for _, v in pairs(Char:GetDescendants()) do | |
| 370 | if v:IsA("Sound") then
| |
| 371 | v:Stop() | |
| 372 | end | |
| 373 | end | |
| 374 | end | |
| 375 | function rayCast(Position, Direction, Range, Ignore) | |
| 376 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * Range), Ignore and Char, false, false)
| |
| 377 | end | |
| 378 | function CreateRegion3(pos, siz) | |
| 379 | local offset = siz / 2 | |
| 380 | local p1 = pos - offset | |
| 381 | local p2 = pos + offset | |
| 382 | return Region3.new(p1, p2) | |
| 383 | end | |
| 384 | Char.Head.face.Texture = "rbxassetid://413593222" | |
| 385 | Shirt = Create("Shirt", Char, "Shirt", {
| |
| 386 | ShirtTemplate = "http://www.roblox.com/asset/?id=1488400985" | |
| 387 | }) | |
| 388 | Pants = Create("Pants", Char, "Pants", {
| |
| 389 | PantsTemplate = "http://www.roblox.com/asset/?id=1488404117" | |
| 390 | }) | |
| 391 | Hair = Create("Part", Char, "Hair", {
| |
| 392 | CanCollide = false, | |
| 393 | BrickColor = BrickColor.new("Black metallic")
| |
| 394 | }) | |
| 395 | Nose = Create("Decal", Head, "Decal", {
| |
| 396 | Texture = "rbxassetid://0" | |
| 397 | }) | |
| 398 | Mouth = Create("Decal", Head, "Decal", {
| |
| 399 | Texture = "rbxassetid://0" | |
| 400 | }) | |
| 401 | Create("SpecialMesh", Hair, "Mesh", {
| |
| 402 | MeshId = "http://www.roblox.com/asset/?id=1378167215", | |
| 403 | Scale = Vector3.new(1.1, 1.1, 1.1), | |
| 404 | Offset = Vector3.new(0, 0.48, -0.4) | |
| 405 | }) | |
| 406 | HairWeld = newWeld(Head, Hair, Head, CFrame.new(0, -0.3, 0)) | |
| 407 | KamehamehaSound = Create("Sound", HRoot, "Sound", {
| |
| 408 | SoundId = "rbxassetid://551399476", | |
| 409 | Volume = 2, | |
| 410 | EmitterSize = 50 | |
| 411 | }) | |
| 412 | PunchSound = Create("Sound", Torso, "Sound", {
| |
| 413 | SoundId = "rbxassetid://573604054", | |
| 414 | Volume = 4, | |
| 415 | EmitterSize = 2 | |
| 416 | }) | |
| 417 | SpiritBombSound = Create("Sound", HRoot, "Sound", {
| |
| 418 | SoundId = "rbxassetid://919429799", | |
| 419 | Volume = 2, | |
| 420 | EmitterSize = 50 | |
| 421 | }) | |
| 422 | ExplosionSound = Create("Sound", HRoot, "Sound", {
| |
| 423 | SoundId = "rbxassetid://638861091", | |
| 424 | Volume = 3, | |
| 425 | EmitterSize = 100 | |
| 426 | }) | |
| 427 | PunchSound2 = Create("Sound", HRoot, "Sound", {
| |
| 428 | SoundId = "rbxassetid://137579113", | |
| 429 | Volume = 4, | |
| 430 | EmitterSize = 100 | |
| 431 | }) | |
| 432 | PunchSound3 = Create("Sound", HRoot, "Sound", {
| |
| 433 | SoundId = "rbxassetid://748050177", | |
| 434 | Volume = 4, | |
| 435 | EmitterSize = 5 | |
| 436 | }) | |
| 437 | ExplosionSound2 = Create("Sound", HRoot, "Sound", {
| |
| 438 | SoundId = "rbxassetid://165970126", | |
| 439 | Volume = 4 | |
| 440 | }) | |
| 441 | UltraSound1 = Create("Sound", HRoot, "Sound", {
| |
| 442 | SoundId = "rbxassetid://1136905493", | |
| 443 | Volume = 1, | |
| 444 | EmitterSize = 100, | |
| 445 | Looped = true | |
| 446 | }) | |
| 447 | UltraSound2 = Create("Sound", HRoot, "Sound", {
| |
| 448 | SoundId = "rbxassetid://232213955", | |
| 449 | Volume = 2 | |
| 450 | }) | |
| 451 | SSJScream1 = Create("Sound", HRoot, "Sound", {
| |
| 452 | SoundId = "rbxassetid://527276541", | |
| 453 | Volume = 2 | |
| 454 | }) | |
| 455 | SSJScream2 = Create("Sound", HRoot, "Sound", {
| |
| 456 | SoundId = "rbxassetid://975468335", | |
| 457 | Volume = 2 | |
| 458 | }) | |
| 459 | SSJSound1 = Create("Sound", HRoot, "Sound", {
| |
| 460 | SoundId = "rbxassetid://437393965", | |
| 461 | Volume = 2 | |
| 462 | }) | |
| 463 | SSJSound2 = Create("Sound", HRoot, "Sound", {
| |
| 464 | SoundId = "rbxassetid://891397456", | |
| 465 | Volume = 4, | |
| 466 | Looped = true | |
| 467 | }) | |
| 468 | SSJSound3 = Create("Sound", HRoot, "Sound", {
| |
| 469 | SoundId = "rbxassetid://390946253", | |
| 470 | Volume = 2, | |
| 471 | EmitterSize = 100, | |
| 472 | Looped = true | |
| 473 | }) | |
| 474 | SSJ2Sound1 = Create("Sound", HRoot, "Sound", {
| |
| 475 | SoundId = "rbxassetid://850205092", | |
| 476 | Volume = 4, | |
| 477 | Looped = true | |
| 478 | }) | |
| 479 | SSJ2Sound2 = Create("Sound", HRoot, "Sound", {
| |
| 480 | SoundId = "rbxassetid://144377132", | |
| 481 | Volume = 2, | |
| 482 | Looped = true, | |
| 483 | EmitterSize = 100 | |
| 484 | }) | |
| 485 | SSJ3Sound1 = Create("Sound", HRoot, "Sound", {
| |
| 486 | SoundId = "rbxassetid://156056027", | |
| 487 | Volume = 2, | |
| 488 | Looped = true, | |
| 489 | EmitterSize = 100 | |
| 490 | }) | |
| 491 | SSJGSound1 = Create("Sound", HRoot, "Sound", {
| |
| 492 | SoundId = "rbxassetid://612450955", | |
| 493 | Volume = 2, | |
| 494 | Looped = true, | |
| 495 | EmitterSize = 100 | |
| 496 | }) | |
| 497 | SSJGSound2 = Create("Sound", HRoot, "Sound", {
| |
| 498 | SoundId = "rbxassetid://590580266", | |
| 499 | Volume = 4, | |
| 500 | Looped = true | |
| 501 | }) | |
| 502 | PowerDown = Create("Sound", HRoot, "Sound", {
| |
| 503 | SoundId = "rbxassetid://550621034", | |
| 504 | Volume = 4, | |
| 505 | EmitterSize = 100 | |
| 506 | }) | |
| 507 | SSJBSound1 = Create("Sound", HRoot, "Sound", {
| |
| 508 | SoundId = "rbxassetid://874183151", | |
| 509 | Volume = 2 | |
| 510 | }) | |
| 511 | SSJBSound2 = Create("Sound", HRoot, "Sound", {
| |
| 512 | SoundId = "rbxassetid://180572775", | |
| 513 | Volume = 2, | |
| 514 | Looped = true, | |
| 515 | EmitterSize = 100 | |
| 516 | }) | |
| 517 | SSJBSound3 = Create("Sound", HRoot, "Sound", {
| |
| 518 | SoundId = "rbxassetid://443386048", | |
| 519 | Volume = 4, | |
| 520 | Looped = true | |
| 521 | }) | |
| 522 | Hcf = HairWeld.C0 | |
| 523 | FloatVel = Create("BodyVelocity", nil, "Float", {
| |
| 524 | MaxForce = Vector3.new(0, 0, 0), | |
| 525 | Velocity = Vector3.new(0, 0, 0) | |
| 526 | }) | |
| 527 | FloatGyro = Create("BodyGyro", nil, "Gyro", {
| |
| 528 | MaxTorque = Vector3.new(0, 0, 0), | |
| 529 | P = 30000 | |
| 530 | }) | |
| 531 | Char.Archivable = true | |
| 532 | Clone = Char:Clone() | |
| 533 | Clone.Shirt.ShirtTemplate = "rbxassetid://1162887253" | |
| 534 | Clone.Pants.PantsTemplate = "rbxassetid://1162887782" | |
| 535 | Clone.Hair.Mesh.MeshId = "rbxassetid://1125231485" | |
| 536 | Clone.Head.Motor6D.C0 = Clone.Head.Motor6D.C0 * CFrame.Angles(Rad(0), Rad(180), Rad(0)) | |
| 537 | Clone:FindFirstChildOfClass("Humanoid").DisplayDistanceType = "None"
| |
| 538 | Human.MaxHealth = 50000 | |
| 539 | wait(0.01) | |
| 540 | Human.Health = 50000 | |
| 541 | if Clone:FindFirstChildOfClass("ForceField") then
| |
| 542 | Clone:FindFirstChildOfClass("ForceField"):Destroy()
| |
| 543 | end | |
| 544 | Char.Archivable = false | |
| 545 | SSJContainer = Create("BillboardGui", HRoot, "BillboardGui", {
| |
| 546 | ExtentsOffset = Vector3.new(0, 0, 0), | |
| 547 | MaxDistance = math.huge, | |
| 548 | Size = UDim2.new(20, 0, 20, 0) | |
| 549 | }) | |
| 550 | Aura = Create("ImageLabel", SSJContainer, "ImageLabel", {
| |
| 551 | BackgroundTransparency = 1, | |
| 552 | Size = UDim2.new(2, 0, 1, 0), | |
| 553 | Position = UDim2.new(-0.5, 0, -0.2, 0) | |
| 554 | }) | |
| 555 | createEmit({
| |
| 556 | Name = "UltAura", | |
| 557 | Color = ColorSequence.new(Color3.fromRGB(0, 170, 255)), | |
| 558 | LightEmission = 0.15, | |
| 559 | LightInfluence = 1, | |
| 560 | Size = NumberSequence.new(1), | |
| 561 | Texture = "rbxassetid://833874434", | |
| 562 | Transparency = NumberSequence.new({
| |
| 563 | NumberSequenceKeypoint.new(0, 1), | |
| 564 | NumberSequenceKeypoint.new(0.117, 0.705), | |
| 565 | NumberSequenceKeypoint.new(0.655, 0.732), | |
| 566 | NumberSequenceKeypoint.new(1, 1) | |
| 567 | }), | |
| 568 | Lifetime = NumberRange.new(2), | |
| 569 | Rate = 25, | |
| 570 | RotSpeed = NumberRange.new(-100, 100), | |
| 571 | Speed = NumberRange.new(0.5), | |
| 572 | SpreadAngle = Vector2.new(15, 15), | |
| 573 | ZOffset = -2, | |
| 574 | Enabled = false, | |
| 575 | LockedToPart = true | |
| 576 | }) | |
| 577 | createEmit({
| |
| 578 | Name = "UltAura", | |
| 579 | Color = ColorSequence.new(Color3.fromRGB(85, 0, 255)), | |
| 580 | LightEmission = 0.15, | |
| 581 | LightInfluence = 1, | |
| 582 | Size = NumberSequence.new(0.95), | |
| 583 | Texture = "rbxassetid://833874434", | |
| 584 | Transparency = NumberSequence.new({
| |
| 585 | NumberSequenceKeypoint.new(0, 1), | |
| 586 | NumberSequenceKeypoint.new(0.117, 0.705), | |
| 587 | NumberSequenceKeypoint.new(0.655, 0.732), | |
| 588 | NumberSequenceKeypoint.new(1, 1) | |
| 589 | }), | |
| 590 | Lifetime = NumberRange.new(2), | |
| 591 | Rate = 25, | |
| 592 | RotSpeed = NumberRange.new(-100, 100), | |
| 593 | Speed = NumberRange.new(0.5), | |
| 594 | SpreadAngle = Vector2.new(15, 15), | |
| 595 | ZOffset = -3, | |
| 596 | Enabled = false, | |
| 597 | LockedToPart = true | |
| 598 | }) | |
| 599 | createEmit({
| |
| 600 | Name = "UltAura", | |
| 601 | Color = ColorSequence.new(Color3.fromRGB(255, 255, 255)), | |
| 602 | LightEmission = 0.15, | |
| 603 | LightInfluence = 1, | |
| 604 | Size = NumberSequence.new(0.9), | |
| 605 | Texture = "rbxassetid://833874434", | |
| 606 | Transparency = NumberSequence.new({
| |
| 607 | NumberSequenceKeypoint.new(0, 1), | |
| 608 | NumberSequenceKeypoint.new(0.117, 0.705), | |
| 609 | NumberSequenceKeypoint.new(0.655, 0.732), | |
| 610 | NumberSequenceKeypoint.new(1, 1) | |
| 611 | }), | |
| 612 | Lifetime = NumberRange.new(2), | |
| 613 | Rate = 25, | |
| 614 | RotSpeed = NumberRange.new(-100, 100), | |
| 615 | Speed = NumberRange.new(0.5), | |
| 616 | SpreadAngle = Vector2.new(15, 15), | |
| 617 | ZOffset = -1, | |
| 618 | Enabled = false, | |
| 619 | LockedToPart = true | |
| 620 | }) | |
| 621 | function keyDown(key) | |
| 622 | Keys[key] = true | |
| 623 | if Attacking then | |
| 624 | return | |
| 625 | end | |
| 626 | if Mode ~= "Ultra" then | |
| 627 | if key == Enum.KeyCode.Z then | |
| 628 | Attacking = true | |
| 629 | do | |
| 630 | local cached = {}
| |
| 631 | local function onTouch(h) | |
| 632 | if h.Parent == nil then | |
| 633 | return | |
| 634 | end | |
| 635 | if h:IsDescendantOf(Char) then | |
| 636 | return | |
| 637 | end | |
| 638 | if cached[h.Parent] then | |
| 639 | return | |
| 640 | end | |
| 641 | local hum = h.Parent:FindFirstChildOfClass("Humanoid")
| |
| 642 | local tor = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("HumanoidRootPart")
| |
| 643 | if hum and tor then | |
| 644 | local ring = Create("Part", workspace, "Part", {
| |
| 645 | Anchored = true, | |
| 646 | CanCollide = false, | |
| 647 | BrickColor = BrickColor.new("Institutional white"),
| |
| 648 | Size = Vector3.new(1, 1, 1), | |
| 649 | CFrame = CFrame.new(tor.CFrame.p, HRoot.CFrame.p) | |
| 650 | }) | |
| 651 | ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(180), Rad(0)) | |
| 652 | local mesh = Create("SpecialMesh", ring, "Mesh", {
| |
| 653 | MeshId = "http://www.roblox.com/asset/?id=20329976", | |
| 654 | Scale = Vector3.new(1, 1, 1) | |
| 655 | }) | |
| 656 | TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 657 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 658 | Scale = Vector3.new(20, 1, 20) | |
| 659 | }):Play() | |
| 660 | game:GetService("Debris"):AddItem(ring, 1)
| |
| 661 | for _, v in pairs(h.Parent:GetChildren()) do | |
| 662 | if v:IsA("ForceField") then
| |
| 663 | v:Destroy() | |
| 664 | end | |
| 665 | end | |
| 666 | if Mode == "Base" then | |
| 667 | hum:TakeDamage(hum.MaxHealth / 120) | |
| 668 | elseif Mode == "SSJ" then | |
| 669 | hum:TakeDamage(hum.MaxHealth / 100) | |
| 670 | elseif Mode == "SSJ2" then | |
| 671 | hum:TakeDamage(hum.MaxHealth / 90) | |
| 672 | elseif Mode == "SSJ3" then | |
| 673 | hum:TakeDamage(hum.MaxHealth / 80) | |
| 674 | elseif Mode == "SSJG" then | |
| 675 | hum:TakeDamage(hum.MaxHealth / 70) | |
| 676 | elseif Mode == "SSJB" then | |
| 677 | hum:TakeDamage(hum.MaxHealth / 65) | |
| 678 | elseif Mode == "SSJBKK" then | |
| 679 | hum:TakeDamage(hum.MaxHealth / 60) | |
| 680 | elseif Mode == "Vegito" then | |
| 681 | hum:TakeDamage(hum.MaxHealth / 0.1) | |
| 682 | end | |
| 683 | cached[h.Parent] = true | |
| 684 | spawn(function() | |
| 685 | wait(0.1) | |
| 686 | cached[h.Parent] = nil | |
| 687 | end) | |
| 688 | end | |
| 689 | end | |
| 690 | local lac = LArm.Touched:connect(onTouch) | |
| 691 | local rac = RArm.Touched:connect(onTouch) | |
| 692 | PunchSound.Looped = true | |
| 693 | PunchSound:Play() | |
| 694 | for i = 0, 18 do | |
| 695 | for i = 0, 0.4, 0.1 do | |
| 696 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
| 697 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
| 698 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
| 699 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i) | |
| 700 | SWait() | |
| 701 | end | |
| 702 | for i = 0, 0.4, 0.1 do | |
| 703 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
| 704 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
| 705 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
| 706 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(-90)), i) | |
| 707 | SWait() | |
| 708 | end | |
| 709 | end | |
| 710 | PunchSound.Looped = false | |
| 711 | PunchSound:Stop() | |
| 712 | lac:Disconnect() | |
| 713 | rac:Disconnect() | |
| 714 | Attacking = false | |
| 715 | end | |
| 716 | elseif key == Enum.KeyCode.X then | |
| 717 | if Mouse.Target.Parent == nil then | |
| 718 | return | |
| 719 | end | |
| 720 | Attacking = true | |
| 721 | Walkspeed = 0 | |
| 722 | do | |
| 723 | local targ = Mouse.Target.Parent | |
| 724 | local hum = targ:FindFirstChildOfClass("Humanoid")
| |
| 725 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
| |
| 726 | if not hum or not tor then | |
| 727 | Attacking = false | |
| 728 | Walkspeed = 16 | |
| 729 | return | |
| 730 | end | |
| 731 | for i = 0, 0.2, 0.01 do | |
| 732 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
| 733 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i) | |
| 734 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i) | |
| 735 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i) | |
| 736 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-20)), i) | |
| 737 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(20)), i) | |
| 738 | SWait() | |
| 739 | end | |
| 740 | local bv = Create("BodyVelocity", HRoot, "BV", {
| |
| 741 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
| 742 | Velocity = Vector3.new(0, 100, 0) | |
| 743 | }) | |
| 744 | for i = 0, 0.2, 0.01 do | |
| 745 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i) | |
| 746 | Hrj.C0 = Hrj.C0:lerp(Hrjcf, i) | |
| 747 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
| 748 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
| 749 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), i) | |
| 750 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), i) | |
| 751 | SWait() | |
| 752 | end | |
| 753 | for i = 0, 100 do | |
| 754 | bv.Velocity = bv.Velocity - Vector3.new(0, 1, 0) | |
| 755 | if 0 > bv.Velocity.Y then | |
| 756 | bv.Velocity = Vector3.new(0, 0, 0) | |
| 757 | break | |
| 758 | end | |
| 759 | SWait() | |
| 760 | end | |
| 761 | for i = 0, 0.2, 0.01 do | |
| 762 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-25), Rad(0), Rad(180)), i) | |
| 763 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-25), Rad(0), Rad(-180)), i) | |
| 764 | SWait() | |
| 765 | end | |
| 766 | game:GetService("Chat"):Chat(Head, "Prepare yourself! Here I go!", Enum.ChatColor.White)
| |
| 767 | tor.Anchored = true | |
| 768 | Char:MoveTo(tor.CFrame * CFrame.new(0, -1, 2.2).p) | |
| 769 | local Music3 = Instance.new("Sound", Torso)
| |
| 770 | Music3.SoundId = "rbxassetid://1055279036" | |
| 771 | Music3.Volume = 6 | |
| 772 | Music3.Pitch = 1 | |
| 773 | Music3.Looped = false | |
| 774 | Music3:Play() | |
| 775 | game:GetService("Chat"):Chat(Head, "HAAA!", Enum.ChatColor.White)
| |
| 776 | Torso.CFrame = CFrame.new(Torso.CFrame.p, tor.CFrame.p) | |
| 777 | local cached = {}
| |
| 778 | local function damage() | |
| 779 | local ring = Create("Part", workspace, "Part", {
| |
| 780 | Anchored = true, | |
| 781 | CanCollide = false, | |
| 782 | BrickColor = BrickColor.new("Institutional white"),
| |
| 783 | Size = Vector3.new(1, 1, 1), | |
| 784 | CFrame = tor.CFrame | |
| 785 | }) | |
| 786 | local mesh = Create("SpecialMesh", ring, "Mesh", {
| |
| 787 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
| 788 | Scale = Vector3.new(1, 1, 1) | |
| 789 | }) | |
| 790 | TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 791 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 792 | Scale = Vector3.new(20, 20, 1) | |
| 793 | }):Play() | |
| 794 | game:GetService("Debris"):AddItem(ring, 1)
| |
| 795 | for _, v in pairs(targ.Parent:GetChildren()) do | |
| 796 | if v:IsA("ForceField") then
| |
| 797 | v:Destroy() | |
| 798 | end | |
| 799 | end | |
| 800 | if Mode == "Base" then | |
| 801 | hum:TakeDamage(hum.MaxHealth / 140) | |
| 802 | elseif Mode == "SSJ" then | |
| 803 | hum:TakeDamage(hum.MaxHealth / 110) | |
| 804 | elseif Mode == "SSJ2" then | |
| 805 | hum:TakeDamage(hum.MaxHealth / 100) | |
| 806 | elseif Mode == "SSJ3" then | |
| 807 | hum:TakeDamage(hum.MaxHealth / 90) | |
| 808 | elseif Mode == "SSJG" then | |
| 809 | hum:TakeDamage(hum.MaxHealth / 70) | |
| 810 | elseif Mode == "SSJB" then | |
| 811 | hum:TakeDamage(hum.MaxHealth / 60) | |
| 812 | elseif Mode == "SSJBKK" then | |
| 813 | hum:TakeDamage(hum.MaxHealth / 50) | |
| 814 | elseif Mode == "Vegito" then | |
| 815 | hum:TakeDamage(hum.MaxHealth / 0.1) | |
| 816 | end | |
| 817 | end | |
| 818 | PunchSound.Looped = true | |
| 819 | PunchSound:Play() | |
| 820 | for i = 0, 6 do | |
| 821 | for i = 0, 1, 0.1 do | |
| 822 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
| 823 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
| 824 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i) | |
| 825 | SWait() | |
| 826 | end | |
| 827 | damage() | |
| 828 | for i = 0, 1, 0.1 do | |
| 829 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
| 830 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
| 831 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(-90)), i) | |
| 832 | SWait() | |
| 833 | end | |
| 834 | damage() | |
| 835 | end | |
| 836 | PunchSound.Looped = false | |
| 837 | PunchSound:Stop() | |
| 838 | PunchSound3:Play() | |
| 839 | for i = 0, 0.1, 0.01 do | |
| 840 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
| 841 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i) | |
| 842 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i) | |
| 843 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
| 844 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(0), Rad(-130)), i) | |
| 845 | SWait() | |
| 846 | end | |
| 847 | game:GetService("Chat"):Chat(Head, "DYAH!", Enum.ChatColor.White)
| |
| 848 | damage() | |
| 849 | local orig = tor.CFrame | |
| 850 | local bv2 = Create("BodyVelocity", tor, "BV", {
| |
| 851 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
| 852 | Velocity = Vector3.new(0, 50, 0) | |
| 853 | }) | |
| 854 | tor.Anchored = false | |
| 855 | wait(1) | |
| 856 | for i = 0, 100 do | |
| 857 | bv2.Velocity = bv2.Velocity - Vector3.new(0, 1, 0) | |
| 858 | if 0 > bv2.Velocity.Y then | |
| 859 | bv2.Velocity = Vector3.new(0, 0, 0) | |
| 860 | break | |
| 861 | end | |
| 862 | SWait() | |
| 863 | end | |
| 864 | Char:MoveTo(tor.CFrame * CFrame.new(0, 1, 2).p) | |
| 865 | local Music3 = Instance.new("Sound", Torso)
| |
| 866 | Music3.SoundId = "rbxassetid://1055279036" | |
| 867 | Music3.Volume = 6 | |
| 868 | Music3.Pitch = 1 | |
| 869 | Music3.Looped = false | |
| 870 | Music3:Play() | |
| 871 | for i = 0, 0.2, 0.01 do | |
| 872 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-50), Rad(0), Rad(0)), i) | |
| 873 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(50)), i) | |
| 874 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-50)), i) | |
| 875 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-140)), i) | |
| 876 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(140)), i) | |
| 877 | SWait() | |
| 878 | end | |
| 879 | for i = 0, 0.2, 0.01 do | |
| 880 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(50), Rad(0), Rad(0)), i) | |
| 881 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-50)), i) | |
| 882 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(50)), i) | |
| 883 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-40)), i) | |
| 884 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(40)), i) | |
| 885 | SWait() | |
| 886 | end | |
| 887 | game:GetService("Chat"):Chat(Head, "HYYAAAAH!!", Enum.ChatColor.White)
| |
| 888 | damage() | |
| 889 | bv2:Destroy() | |
| 890 | local asd = false | |
| 891 | PunchSound3:Play() | |
| 892 | spawn(function() | |
| 893 | wait(2) | |
| 894 | if not asd and Attacking then | |
| 895 | Attacking = false | |
| 896 | bv:Destroy() | |
| 897 | Walkspeed = 16 | |
| 898 | game:GetService("Chat"):Chat(Head, "Hehe, You're pretty strong!", Enum.ChatColor.White)
| |
| 899 | end | |
| 900 | end) | |
| 901 | hum.StateChanged:connect(function(old, state) | |
| 902 | if state == Enum.HumanoidStateType.Landed then | |
| 903 | local ray = Ray.new(HRoot.CFrame.p, HRoot.CFrame * CFrame.new(0, -1000, 0).p.unit * 500) | |
| 904 | local part, pos, face, material = workspace:FindPartOnRay(ray, Char, false, false) | |
| 905 | ExplosionSound2:Play() | |
| 906 | if Mode == "Base" then | |
| 907 | hum:TakeDamage(hum.MaxHealth / 102) | |
| 908 | elseif Mode == "SSJ" then | |
| 909 | hum:TakeDamage(hum.MaxHealth / 83) | |
| 910 | elseif Mode == "SSJ2" then | |
| 911 | hum:TakeDamage(hum.MaxHealth / 66) | |
| 912 | elseif Mode == "SSJ3" then | |
| 913 | hum:TakeDamage(hum.MaxHealth / 49) | |
| 914 | elseif Mode == "SSJG" then | |
| 915 | hum:TakeDamage(hum.MaxHealth / 32) | |
| 916 | elseif Mode == "SSJB" then | |
| 917 | hum:TakeDamage(hum.MaxHealth / 15) | |
| 918 | end | |
| 919 | for i = 0, 360, 36 do | |
| 920 | local debris = Create("Part", workspace, "Part", {
| |
| 921 | Anchored = true, | |
| 922 | CanCollide = false, | |
| 923 | BrickColor = part.BrickColor or BrickColor.new("Bright green"),
| |
| 924 | Material = material or Enum.Material.Grass, | |
| 925 | Size = Vector3.new(15, 20, 10), | |
| 926 | CFrame = tor.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -15) | |
| 927 | }) | |
| 928 | debris.CFrame = debris.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0)) | |
| 929 | TweenService:Create(debris, TweenInfo.new(2), {Transparency = 1}):Play()
| |
| 930 | game:GetService("Debris"):AddItem(debris, 2)
| |
| 931 | end | |
| 932 | asd = true | |
| 933 | bv:Destroy() | |
| 934 | Walkspeed = 16 | |
| 935 | Attacking = false | |
| 936 | end | |
| 937 | end) | |
| 938 | end | |
| 939 | elseif key == Enum.KeyCode.C then | |
| 940 | Attacking = true | |
| 941 | local orb1 = Create("Part", Char, "Part", {
| |
| 942 | CanCollide = false, | |
| 943 | Material = "Neon", | |
| 944 | BrickColor = BrickColor.new("Electric blue"),
| |
| 945 | Size = Vector3.new(1, 1, 1) | |
| 946 | }) | |
| 947 | local smesh = Create("SpecialMesh", orb1, "Mesh", {
| |
| 948 | MeshType = "Sphere", | |
| 949 | Scale = Vector3.new(0.001, 0.001, 0.001) | |
| 950 | }) | |
| 951 | local orb2 = Create("Part", Char, "Part", {
| |
| 952 | CanCollide = false, | |
| 953 | Material = "Neon", | |
| 954 | BrickColor = BrickColor.new("Electric blue"),
| |
| 955 | Size = Vector3.new(1, 1, 1) | |
| 956 | }) | |
| 957 | local smesh2 = Create("SpecialMesh", orb2, "Mesh", {
| |
| 958 | MeshType = "Sphere", | |
| 959 | Scale = Vector3.new(0.001, 0.001, 0.001) | |
| 960 | }) | |
| 961 | newWeld(orb1, LArm, orb1, CFrame.new(0, -1, 0)) | |
| 962 | newWeld(orb2, RArm, orb2, CFrame.new(0, -1, 0)) | |
| 963 | for i = 0, 0.28, 0.01 do | |
| 964 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
| 965 | Hrj.C0 = Hrj.C0:lerp(Hrjcf, i) | |
| 966 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
| 967 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-90)), i) | |
| 968 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(90)), i) | |
| 969 | SWait() | |
| 970 | end | |
| 971 | TweenService:Create(smesh, TweenInfo.new(1), {
| |
| 972 | Scale = Vector3.new(1, 1, 1) | |
| 973 | }):Play() | |
| 974 | TweenService:Create(smesh2, TweenInfo.new(1), {
| |
| 975 | Scale = Vector3.new(1, 1, 1) | |
| 976 | }):Play() | |
| 977 | wait(1) | |
| 978 | for i = 0, 20, 0.1 do | |
| 979 | do | |
| 980 | local blast = Create("Part", workspace, "EB", {
| |
| 981 | CanCollide = false, | |
| 982 | BrickColor = BrickColor.new("Electric blue"),
| |
| 983 | Material = "Neon", | |
| 984 | Size = Vector3.new(2, 2, 2), | |
| 985 | CFrame = HRoot.CFrame * CFrame.new(Random(-4, 4), Random(0, 2), -2) | |
| 986 | }) | |
| 987 | local mesh = Create("SpecialMesh", blast, "Mesh", {
| |
| 988 | MeshType = "Sphere", | |
| 989 | Scale = Vector3.new(0.6, 0.6, 1) | |
| 990 | }) | |
| 991 | local bv = Create("BodyVelocity", blast, "BV", {
| |
| 992 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
| 993 | Velocity = HRoot.CFrame.lookVector * 180 | |
| 994 | }) | |
| 995 | game:GetService("Debris"):AddItem(blast, 2)
| |
| 996 | blast.Touched:connect(function(h) | |
| 997 | if h.Parent == nil then | |
| 998 | return | |
| 999 | end | |
| 1000 | if h:IsDescendantOf(Char) then | |
| 1001 | return | |
| 1002 | end | |
| 1003 | if h.Name == "EB" then | |
| 1004 | return | |
| 1005 | end | |
| 1006 | local hum = h.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1007 | local tor = h.Parent:FindFirstChild("Toros") or h.Parent:FindFirstChild("HumanoidRootPart")
| |
| 1008 | blast.Anchored = true | |
| 1009 | local nb = blast:Clone() | |
| 1010 | blast:Destroy() | |
| 1011 | nb.Parent = workspace | |
| 1012 | TweenService:Create(nb, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 1013 | TweenService:Create(nb.Mesh, TweenInfo.new(1), {
| |
| 1014 | Scale = Vector3.new(4, 4, 4) | |
| 1015 | }):Play() | |
| 1016 | game:GetService("Debris"):AddItem(nb, 1)
| |
| 1017 | if hum and tor then | |
| 1018 | for _, v in pairs(h.Parent:GetChildren()) do | |
| 1019 | if v:IsA("ForceField") then
| |
| 1020 | v:Destroy() | |
| 1021 | end | |
| 1022 | end | |
| 1023 | if Mode == "Base" then | |
| 1024 | hum:TakeDamage(hum.MaxHealth / 105) | |
| 1025 | elseif Mode == "SSJ" then | |
| 1026 | hum:TakeDamage(hum.MaxHealth / 90) | |
| 1027 | elseif Mode == "SSJ2" then | |
| 1028 | hum:TakeDamage(hum.MaxHealth / 80) | |
| 1029 | elseif Mode == "SSJ3" then | |
| 1030 | hum:TakeDamage(hum.MaxHealth / 70) | |
| 1031 | elseif Mode == "SSJG" then | |
| 1032 | hum:TakeDamage(hum.MaxHealth / 60) | |
| 1033 | elseif Mode == "SSJB" then | |
| 1034 | hum:TakeDamage(hum.MaxHealth / 50) | |
| 1035 | elseif Mode == "SSJBKK" then | |
| 1036 | hum:TakeDamage(hum.MaxHealth / 40) | |
| 1037 | elseif Mode == "Vegito" then | |
| 1038 | hum:TakeDamage(hum.MaxHealth / 0.1) | |
| 1039 | end | |
| 1040 | end | |
| 1041 | end) | |
| 1042 | SWait() | |
| 1043 | end | |
| 1044 | end | |
| 1045 | TweenService:Create(smesh, TweenInfo.new(1), {
| |
| 1046 | Scale = Vector3.new(0.001, 0.001, 0.001) | |
| 1047 | }):Play() | |
| 1048 | TweenService:Create(smesh2, TweenInfo.new(1), {
| |
| 1049 | Scale = Vector3.new(0.001, 0.001, 0.001) | |
| 1050 | }):Play() | |
| 1051 | game:GetService("Debris"):AddItem(orb1, 1)
| |
| 1052 | game:GetService("Debris"):AddItem(orb2, 1)
| |
| 1053 | Attacking = false | |
| 1054 | elseif key == Enum.KeyCode.V then | |
| 1055 | Attacking = true | |
| 1056 | Walkspeed = 0 | |
| 1057 | KamehamehaSound:Play() | |
| 1058 | do | |
| 1059 | local orb = Create("Part", Char, "Part", {
| |
| 1060 | CanCollide = false, | |
| 1061 | Material = "Neon", | |
| 1062 | BrickColor = BrickColor.new("Electric blue"),
| |
| 1063 | Size = Vector3.new(1, 1, 1) | |
| 1064 | }) | |
| 1065 | newWeld(LArm, orb, LArm, CFrame.new(0, 1, 0)) | |
| 1066 | local smesh = Create("SpecialMesh", orb, "Mesh", {
| |
| 1067 | MeshType = "Sphere", | |
| 1068 | Scale = Vector3.new(0.01, 0.01, 0.01) | |
| 1069 | }) | |
| 1070 | for i = 0, 1, 0.01 do | |
| 1071 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i) | |
| 1072 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), i) | |
| 1073 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-65)) * CFrame.new(0, 0.2, 0), i) | |
| 1074 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(80), Rad(65)), i) | |
| 1075 | wait() | |
| 1076 | end | |
| 1077 | TweenService:Create(smesh, TweenInfo.new(4.7), {
| |
| 1078 | Scale = Vector3.new(2, 2, 2) | |
| 1079 | }):Play() | |
| 1080 | wait(4.7) | |
| 1081 | local fire = false | |
| 1082 | for i = 0, 1, 0.01 do | |
| 1083 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i) | |
| 1084 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i) | |
| 1085 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(-50), Rad(-90)), i) | |
| 1086 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(40), Rad(90)), i) | |
| 1087 | if i >= 0.8 and not fire then | |
| 1088 | fire = true | |
| 1089 | end | |
| 1090 | wait() | |
| 1091 | end | |
| 1092 | spawn(function() | |
| 1093 | repeat | |
| 1094 | SWait() | |
| 1095 | until fire | |
| 1096 | local hitb = Create("Part", workspace, "KameHameHaUltra", {
| |
| 1097 | Anchored = true, | |
| 1098 | CanCollide = false, | |
| 1099 | Transparency = 1, | |
| 1100 | Size = Vector3.new(74, 74, 700), | |
| 1101 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -350) | |
| 1102 | }) | |
| 1103 | local beam = Create("Part", workspace, "KameHameHaUltra", {
| |
| 1104 | Anchored = true, | |
| 1105 | CanCollide = false, | |
| 1106 | Material = "Neon", | |
| 1107 | BrickColor = BrickColor.new("Electric blue"),
| |
| 1108 | Size = Vector3.new(1, 1, 1), | |
| 1109 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -2) | |
| 1110 | }) | |
| 1111 | local mesh = Create("SpecialMesh", beam, "Mesh", {
| |
| 1112 | MeshType = "Sphere", | |
| 1113 | Scale = Vector3.new(1, 1, 1) | |
| 1114 | }) | |
| 1115 | TweenService:Create(mesh, TweenInfo.new(0.5), {
| |
| 1116 | Scale = Vector3.new(74, 74, 700) | |
| 1117 | }):Play() | |
| 1118 | TweenService:Create(beam, TweenInfo.new(0.5), {
| |
| 1119 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -350) | |
| 1120 | }):Play() | |
| 1121 | local done = false | |
| 1122 | spawn(function() | |
| 1123 | repeat | |
| 1124 | local airPart = Create("Part", workspace, "Part", {
| |
| 1125 | Anchored = true, | |
| 1126 | CanCollide = false, | |
| 1127 | Size = Vector3.new(1, 1, 1), | |
| 1128 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -2) | |
| 1129 | }) | |
| 1130 | airPart.CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(90), Rad(90)) | |
| 1131 | local airMesh = Create("SpecialMesh", airPart, "Mesh", {
| |
| 1132 | MeshId = "rbxassetid://0", | |
| 1133 | Scale = Vector3.new(6, 40, 6), | |
| 1134 | Offset = Vector3.new(0, -100, 0) | |
| 1135 | }) | |
| 1136 | TweenService:Create(airPart, TweenInfo.new(0.1), {
| |
| 1137 | Transparency = 1, | |
| 1138 | CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
| 1139 | }):Play() | |
| 1140 | game:GetService("Debris"):AddItem(airPart, 0.1)
| |
| 1141 | SWait() | |
| 1142 | until done | |
| 1143 | end) | |
| 1144 | hitb.Touched:connect(function(h) | |
| 1145 | if h.Parent == nil then | |
| 1146 | return | |
| 1147 | end | |
| 1148 | if h:IsDescendantOf(Char) then | |
| 1149 | return | |
| 1150 | end | |
| 1151 | local anc | |
| 1152 | local a, b = pcall(function() | |
| 1153 | anc = findRealAncestor(h) | |
| 1154 | end) | |
| 1155 | if a then | |
| 1156 | local hum = anc:FindFirstChildOfClass("Humanoid")
| |
| 1157 | if hum then | |
| 1158 | if Mode == "Base" then | |
| 1159 | hum:TakeDamage(hum.MaxHealth / 80) | |
| 1160 | elseif Mode == "SSJ" then | |
| 1161 | hum:TakeDamage(hum.MaxHealth / 70) | |
| 1162 | elseif Mode == "SSJ2" then | |
| 1163 | hum:TakeDamage(hum.MaxHealth / 60) | |
| 1164 | elseif Mode == "SSJ3" then | |
| 1165 | hum:TakeDamage(hum.MaxHealth / 50) | |
| 1166 | elseif Mode == "SSJG" then | |
| 1167 | hum:TakeDamage(hum.MaxHealth / 40) | |
| 1168 | elseif Mode == "SSJB" then | |
| 1169 | hum:TakeDamage(hum.MaxHealth / 30) | |
| 1170 | end | |
| 1171 | game:GetService("Debris"):AddItem(Create("BodyVelocity", anc:FindFirstChildOfClass("HumanoidRootPart") or anc:FindFirstChild("Head"), "BV", {
| |
| 1172 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
| 1173 | Velocity = HRoot.CFrame.lookVector * 20 | |
| 1174 | }), 10) | |
| 1175 | end | |
| 1176 | end | |
| 1177 | end) | |
| 1178 | local kameOn = true | |
| 1179 | local HAA = Instance.new("Sound", Torso)
| |
| 1180 | HAA.SoundId = "rbxassetid://551399627" | |
| 1181 | HAA.Pitch = 1 | |
| 1182 | HAA.Looped = false | |
| 1183 | HAA.Volume = 3.2 | |
| 1184 | wait(1.0E-4) | |
| 1185 | HAA:Play() | |
| 1186 | local Music2 = Instance.new("Sound", Torso)
| |
| 1187 | Music2.SoundId = "rbxassetid://1117288204" | |
| 1188 | Music2.Pitch = 1 | |
| 1189 | Music2.Looped = false | |
| 1190 | Music2.Volume = 7.2 | |
| 1191 | wait(1.0E-4) | |
| 1192 | Music2:Play() | |
| 1193 | Music2.Ended:connect(function() | |
| 1194 | if not kameOn then | |
| 1195 | return | |
| 1196 | end | |
| 1197 | KamehamehaSound.Volume = 4 | |
| 1198 | kameOn = false | |
| 1199 | done = true | |
| 1200 | hitb:Destroy() | |
| 1201 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 1202 | Scale = Vector3.new(0.01, 0.01, 4) | |
| 1203 | }):Play() | |
| 1204 | TweenService:Create(beam, TweenInfo.new(1), {
| |
| 1205 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -4) | |
| 1206 | }):Play() | |
| 1207 | TweenService:Create(smesh, TweenInfo.new(1), {
| |
| 1208 | Scale = Vector3.new(0.01, 0.01, 0.01) | |
| 1209 | }):Play() | |
| 1210 | game:GetService("Debris"):AddItem(beam, 1)
| |
| 1211 | game:GetService("Debris"):AddItem(orb, 1)
| |
| 1212 | wait(1) | |
| 1213 | Walkspeed = 16 | |
| 1214 | Attacking = false | |
| 1215 | end) | |
| 1216 | end) | |
| 1217 | end | |
| 1218 | elseif key == Enum.KeyCode.B and Mode == "SSJG" then | |
| 1219 | if Mouse.Target.Parent == nil then | |
| 1220 | return | |
| 1221 | end | |
| 1222 | local targ = Mouse.Target.Parent | |
| 1223 | local hum = targ:FindFirstChildOfClass("Humanoid")
| |
| 1224 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
| |
| 1225 | if not hum or not tor then | |
| 1226 | return | |
| 1227 | end | |
| 1228 | Attacking = true | |
| 1229 | local temp = newWeld(tor, HRoot, tor, CFrame.new(0, 0, -2)) | |
| 1230 | PunchSound.Looped = true | |
| 1231 | PunchSound:Play() | |
| 1232 | Chat:Chat(Head, "You're pretty strong! Let's see you keep up with me now!", Enum.ChatColor.White) | |
| 1233 | for i = 0, 6 do | |
| 1234 | for _, v in pairs(targ:GetChildren()) do | |
| 1235 | if v:IsA("ForceField") then
| |
| 1236 | v:Destroy() | |
| 1237 | end | |
| 1238 | end | |
| 1239 | local ring1 = Create("Part", Char, "Part", {
| |
| 1240 | Anchored = true, | |
| 1241 | CanCollide = false, | |
| 1242 | Size = Vector3.new(1, 1, 1), | |
| 1243 | BrickColor = BrickColor.new("Institutional white"),
| |
| 1244 | CFrame = tor.CFrame | |
| 1245 | }) | |
| 1246 | local mesh1 = Create("SpecialMesh", ring1, "Mesh", {
| |
| 1247 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
| 1248 | Scale = Vector3.new(4, 4, 1) | |
| 1249 | }) | |
| 1250 | TweenService:Create(ring1, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 1251 | TweenService:Create(mesh1, TweenInfo.new(1), {
| |
| 1252 | Scale = Vector3.new(20, 20, 1) | |
| 1253 | }):Play() | |
| 1254 | game:GetService("Debris"):AddItem(ring1, 1)
| |
| 1255 | for i = 0, 1, 0.1 do | |
| 1256 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
| 1257 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
| 1258 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i) | |
| 1259 | RHip.C0 = RHip.C0:lerp(Rhcf, i) | |
| 1260 | SWait() | |
| 1261 | end | |
| 1262 | hum:TakeDamage(hum.MaxHealth / 20) | |
| 1263 | local ring2 = Create("Part", Char, "Part", {
| |
| 1264 | Anchored = true, | |
| 1265 | CanCollide = false, | |
| 1266 | Size = Vector3.new(1, 1, 1), | |
| 1267 | BrickColor = BrickColor.new("Institutional white"),
| |
| 1268 | CFrame = tor.CFrame | |
| 1269 | }) | |
| 1270 | local mesh2 = Create("SpecialMesh", ring2, "Mesh", {
| |
| 1271 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
| 1272 | Scale = Vector3.new(4, 4, 1) | |
| 1273 | }) | |
| 1274 | TweenService:Create(ring2, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 1275 | TweenService:Create(mesh2, TweenInfo.new(1), {
| |
| 1276 | Scale = Vector3.new(20, 20, 1) | |
| 1277 | }):Play() | |
| 1278 | game:GetService("Debris"):AddItem(ring2, 1)
| |
| 1279 | for i = 0, 1, 0.1 do | |
| 1280 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
| 1281 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
| 1282 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90)), i) | |
| 1283 | SWait() | |
| 1284 | end | |
| 1285 | hum:TakeDamage(hum.MaxHealth / 20) | |
| 1286 | for i = 0, 1, 0.1 do | |
| 1287 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-20), Rad(120), Rad(0)), i) | |
| 1288 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(90)), i) | |
| 1289 | SWait() | |
| 1290 | end | |
| 1291 | hum:TakeDamage(hum.MaxHealth / 20) | |
| 1292 | end | |
| 1293 | PunchSound:Stop() | |
| 1294 | PunchSound.Looped = false | |
| 1295 | PunchSound3:Play() | |
| 1296 | for i = 0, 1, 0.1 do | |
| 1297 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
| 1298 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
| 1299 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i) | |
| 1300 | RHip.C0 = RHip.C0:lerp(Rhcf, i) | |
| 1301 | SWait() | |
| 1302 | end | |
| 1303 | hum:TakeDamage(hum.MaxHealth / 20) | |
| 1304 | game:GetService("Debris"):AddItem(Create("BodyVelocity", tor, "BV", {
| |
| 1305 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
| 1306 | Velocity = HRoot.CFrame.lookVector * 100 | |
| 1307 | }), 1) | |
| 1308 | temp:Destroy() | |
| 1309 | Attacking = false | |
| 1310 | elseif key == Enum.KeyCode.R then | |
| 1311 | if Mouse.Target.Parent == nil then | |
| 1312 | return | |
| 1313 | end | |
| 1314 | local targ = Mouse.Target.Parent | |
| 1315 | local hum = targ:FindFirstChildOfClass("Humanoid")
| |
| 1316 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
| |
| 1317 | if not hum or not tor then | |
| 1318 | return | |
| 1319 | end | |
| 1320 | wait(1) | |
| 1321 | game:GetService("Chat"):Chat(Head, "HA!", Enum.ChatColor.White)
| |
| 1322 | local Music3 = Instance.new("Sound", Torso)
| |
| 1323 | Music3.SoundId = "rbxassetid://1050751126" | |
| 1324 | Music3.Volume = 6 | |
| 1325 | Music3.Pitch = 1 | |
| 1326 | Music3.Looped = false | |
| 1327 | Music3:Play() | |
| 1328 | for i = 0, 3, 0.1 do | |
| 1329 | do | |
| 1330 | local rp = Create("RocketPropulsion", Torso, "BV", {
| |
| 1331 | MaxTorque = Vector3.new(200000000, 200000000, 200000000), | |
| 1332 | MaxSpeed = 100, | |
| 1333 | CartoonFactor = 1, | |
| 1334 | TargetRadius = 1, | |
| 1335 | MaxThrust = 40000, | |
| 1336 | Target = tor | |
| 1337 | }) | |
| 1338 | rp:Fire() | |
| 1339 | coroutine.resume(coroutine.create(function() | |
| 1340 | wait(3) | |
| 1341 | rp:remove() | |
| 1342 | end)) | |
| 1343 | SWait() | |
| 1344 | end | |
| 1345 | end | |
| 1346 | Attacking = false | |
| 1347 | elseif key == Enum.KeyCode.M then | |
| 1348 | if Mouse.Target.Parent == nil then | |
| 1349 | return | |
| 1350 | end | |
| 1351 | game:GetService("Chat"):Chat(Head, "Try this one! HA!", Enum.ChatColor.White)
| |
| 1352 | do | |
| 1353 | local targ = Mouse.Target.Parent | |
| 1354 | local hum = targ:FindFirstChildOfClass("Humanoid")
| |
| 1355 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
| |
| 1356 | if not hum or not tor then | |
| 1357 | return | |
| 1358 | end | |
| 1359 | Attacking = true | |
| 1360 | local Runnin = true | |
| 1361 | local weld = newWeld(Torso, tor, HRoot, CFrame.new(0, 0, 2)) | |
| 1362 | local function damage() | |
| 1363 | local ring = Create("Part", workspace, "Part", {
| |
| 1364 | Anchored = true, | |
| 1365 | CanCollide = false, | |
| 1366 | BrickColor = BrickColor.new("Institutional white"),
| |
| 1367 | Size = Vector3.new(1, 1, 1), | |
| 1368 | CFrame = CFrame.new(HRoot.CFrame.p, tor.CFrame.p) | |
| 1369 | }) | |
| 1370 | ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(180), Rad(0)) | |
| 1371 | local mesh = Create("SpecialMesh", ring, "Mesh", {
| |
| 1372 | MeshId = "http://www.roblox.com/asset/?id=20329976", | |
| 1373 | Scale = Vector3.new(1, 1, 1) | |
| 1374 | }) | |
| 1375 | TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 1376 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 1377 | Scale = Vector3.new(20, 1, 20) | |
| 1378 | }):Play() | |
| 1379 | game:GetService("Debris"):AddItem(ring, 1)
| |
| 1380 | for _, v in pairs(targ:GetChildren()) do | |
| 1381 | if v:IsA("ForceField") then
| |
| 1382 | v:Destroy() | |
| 1383 | end | |
| 1384 | end | |
| 1385 | if Mode == "Base" then | |
| 1386 | hum:TakeDamage(hum.MaxHealth / 160) | |
| 1387 | elseif Mode == "SSJ" then | |
| 1388 | hum:TakeDamage(hum.MaxHealth / 130) | |
| 1389 | elseif Mode == "SSJ2" then | |
| 1390 | hum:TakeDamage(hum.MaxHealth / 110) | |
| 1391 | elseif Mode == "SSJ3" then | |
| 1392 | hum:TakeDamage(hum.MaxHealth / 50) | |
| 1393 | elseif Mode == "SSJG" then | |
| 1394 | hum:TakeDamage(hum.MaxHealth / 30) | |
| 1395 | elseif Mode == "SSJB" then | |
| 1396 | hum:TakeDamage(hum.MaxHealth / 20) | |
| 1397 | elseif Mode == "SSJBKK" then | |
| 1398 | hum:TakeDamage(hum.MaxHealth / 1) | |
| 1399 | end | |
| 1400 | end | |
| 1401 | SWait() | |
| 1402 | PunchSound.Looped = true | |
| 1403 | PunchSound:Play() | |
| 1404 | for i = 0, 12 do | |
| 1405 | Neck.C0 = Ncf | |
| 1406 | Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)) | |
| 1407 | LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)) | |
| 1408 | RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)) | |
| 1409 | damage() | |
| 1410 | wait(0.1) | |
| 1411 | Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)) | |
| 1412 | LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90)) | |
| 1413 | RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)) | |
| 1414 | damage() | |
| 1415 | wait(0.1) | |
| 1416 | end | |
| 1417 | PunchSound:Stop() | |
| 1418 | PunchSound3:Play() | |
| 1419 | local bv = Create("BodyVelocity", HRoot, "BV", {
| |
| 1420 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
| 1421 | Velocity = Vector3.new(0, 0, 0) | |
| 1422 | }) | |
| 1423 | weld:Destroy() | |
| 1424 | Char:MoveTo(HRoot.CFrame * CFrame.new(0, 20, 0).p) | |
| 1425 | PunchSound:Play() | |
| 1426 | local weld = newWeld(Torso, tor, HRoot, CFrame.new(0, 0, 2)) | |
| 1427 | for i = 0, 24 do | |
| 1428 | Neck.C0 = Ncf | |
| 1429 | Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)) | |
| 1430 | LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)) | |
| 1431 | RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)) | |
| 1432 | damage() | |
| 1433 | wait(0.1) | |
| 1434 | Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)) | |
| 1435 | LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90)) | |
| 1436 | RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)) | |
| 1437 | damage() | |
| 1438 | wait(0.1) | |
| 1439 | end | |
| 1440 | PunchSound:Stop() | |
| 1441 | local gyro = Create("BodyGyro", HRoot, "Gyro", {
| |
| 1442 | MaxTorque = Vector3.new(200000000, 200000000, 200000000), | |
| 1443 | P = 30000 | |
| 1444 | }) | |
| 1445 | local conn = game:GetService("RunService").RenderStepped:connect(function()
| |
| 1446 | gyro.CFrame = workspace.CurrentCamera.CFrame | |
| 1447 | end) | |
| 1448 | weld:Destroy() | |
| 1449 | hum.StateChanged:connect(function(old, new) | |
| 1450 | if not Runnin then | |
| 1451 | return | |
| 1452 | end | |
| 1453 | if new == Enum.HumanoidStateType.Landed then | |
| 1454 | Runnin = false | |
| 1455 | for _, v in pairs(targ:GetChildren()) do | |
| 1456 | if v:IsA("ForceField") then
| |
| 1457 | v:Destroy() | |
| 1458 | end | |
| 1459 | end | |
| 1460 | hum:TakeDamage(hum.MaxHealth / 100) | |
| 1461 | ExplosionSound2:Play() | |
| 1462 | local ray = Ray.new(HRoot.CFrame.p, HRoot.CFrame * CFrame.new(0, -1000, 0).p.unit * 500) | |
| 1463 | local part, pos, face, material = workspace:FindPartOnRay(ray, Char, false, false) | |
| 1464 | for i = 0, 360, 36 do | |
| 1465 | local debris = Create("Part", workspace, "Part", {
| |
| 1466 | Anchored = true, | |
| 1467 | CanCollide = false, | |
| 1468 | BrickColor = part.BrickColor or BrickColor.new("Bright green"),
| |
| 1469 | Material = material or Enum.Material.Grass, | |
| 1470 | Size = Vector3.new(15, 20, 10), | |
| 1471 | CFrame = tor.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -15) | |
| 1472 | }) | |
| 1473 | debris.CFrame = debris.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0)) | |
| 1474 | TweenService:Create(debris, TweenInfo.new(10), {Transparency = 1}):Play()
| |
| 1475 | game:GetService("Debris"):AddItem(debris, 10)
| |
| 1476 | end | |
| 1477 | end | |
| 1478 | end) | |
| 1479 | local onTouch = function(part, h) | |
| 1480 | if h:IsDescendantOf(Char) then | |
| 1481 | return | |
| 1482 | end | |
| 1483 | if h.Name:lower() == "kib" then | |
| 1484 | return | |
| 1485 | end | |
| 1486 | local nk = part:Clone() | |
| 1487 | nk.Parent = workspace | |
| 1488 | nk.Anchored = true | |
| 1489 | part:Destroy() | |
| 1490 | TweenService:Create(nk, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 1491 | TweenService:Create(nk.Mesh, TweenInfo.new(1), {
| |
| 1492 | Scale = Vector3.new(16, 16, 16) | |
| 1493 | }):Play() | |
| 1494 | game:GetService("Debris"):AddItem(nk, 1)
| |
| 1495 | for _, v in pairs(workspace:GetChildren()) do | |
| 1496 | if v:FindFirstChildOfClass("Humanoid") and v ~= Char then
| |
| 1497 | local tor = v:FindFirstChild("Torso") or v:FindFirstChild("HumanoidRootPart")
| |
| 1498 | local hum = v:FindFirstChildOfClass("Humanoid")
| |
| 1499 | if tor and (tor.Position - nk.Position).magnitude <= 80 then | |
| 1500 | for _, b in pairs(v:GetChildren()) do | |
| 1501 | if b:IsA("ForceField") then
| |
| 1502 | b:Destroy() | |
| 1503 | end | |
| 1504 | end | |
| 1505 | if Mode == "Base" then | |
| 1506 | hum:TakeDamage(hum.MaxHealth / 60) | |
| 1507 | elseif Mode == "SSJ" then | |
| 1508 | hum:TakeDamage(hum.MaxHealth / 50) | |
| 1509 | elseif Mode == "SSJ2" then | |
| 1510 | hum:TakeDamage(hum.MaxHealth / 30) | |
| 1511 | elseif Mode == "SSJ3" then | |
| 1512 | hum:TakeDamage(hum.MaxHealth / 6) | |
| 1513 | elseif Mode == "SSJG" then | |
| 1514 | hum:TakeDamage(hum.MaxHealth / 3) | |
| 1515 | elseif Mode == "SSJB" then | |
| 1516 | hum:TakeDamage(hum.MaxHealth / 1) | |
| 1517 | end | |
| 1518 | end | |
| 1519 | end | |
| 1520 | end | |
| 1521 | end | |
| 1522 | Flying = true | |
| 1523 | for i = 0, 100 do | |
| 1524 | for i = 0, 1, 0.1 do | |
| 1525 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i) | |
| 1526 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
| 1527 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
| 1528 | SWait() | |
| 1529 | end | |
| 1530 | do | |
| 1531 | local kib = Create("Part", workspace, "Kib", {
| |
| 1532 | CanCollide = false, | |
| 1533 | BrickColor = BrickColor.new("Electric blue"),
| |
| 1534 | Material = "Neon", | |
| 1535 | Size = Vector3.new(2, 2, 2), | |
| 1536 | CFrame = HRoot.CFrame * CFrame.new(-1, 0, -0.5) | |
| 1537 | }) | |
| 1538 | kib.CFrame = kib.CFrame * CFrame.Angles(Rad(Random(-2, 2)), Rad(Random(-2, 2)), Rad(0)) | |
| 1539 | Create("SpecialMesh", kib, "Mesh", {
| |
| 1540 | MeshType = "Sphere", | |
| 1541 | Scale = Vector3.new(1, 1, 2) | |
| 1542 | }) | |
| 1543 | Create("BodyVelocity", kib, "BV", {
| |
| 1544 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
| 1545 | Velocity = kib.CFrame.lookVector * 100 | |
| 1546 | }) | |
| 1547 | kib.Touched:connect(function(h) | |
| 1548 | onTouch(kib, h) | |
| 1549 | end) | |
| 1550 | game:GetService("Debris"):AddItem(kib, 10)
| |
| 1551 | SWait() | |
| 1552 | for i = 0, 1, 0.1 do | |
| 1553 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(300)), i) | |
| 1554 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
| 1555 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i) | |
| 1556 | SWait() | |
| 1557 | end | |
| 1558 | local kib = Create("Part", workspace, "Kib", {
| |
| 1559 | CanCollide = false, | |
| 1560 | BrickColor = BrickColor.new("Electric blue"),
| |
| 1561 | Material = "Neon", | |
| 1562 | Size = Vector3.new(2, 2, 2), | |
| 1563 | CFrame = HRoot.CFrame * CFrame.new(1, 0, -0.5) | |
| 1564 | }) | |
| 1565 | kib.CFrame = kib.CFrame * CFrame.Angles(Rad(Random(-20, 20)), Rad(Random(-45, 45)), Rad(0)) | |
| 1566 | Create("SpecialMesh", kib, "Mesh", {
| |
| 1567 | MeshType = "Sphere", | |
| 1568 | Scale = Vector3.new(1, 1, 2) | |
| 1569 | }) | |
| 1570 | Create("BodyVelocity", kib, "BV", {
| |
| 1571 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
| 1572 | Velocity = kib.CFrame.lookVector * 100 | |
| 1573 | }) | |
| 1574 | kib.Touched:connect(function(h) | |
| 1575 | onTouch(kib, h) | |
| 1576 | end) | |
| 1577 | game:GetService("Debris"):AddItem(kib, 10)
| |
| 1578 | SWait() | |
| 1579 | end | |
| 1580 | end | |
| 1581 | conn:Disconnect() | |
| 1582 | bv:Destroy() | |
| 1583 | gyro:Destroy() | |
| 1584 | Attacking = false | |
| 1585 | end | |
| 1586 | end | |
| 1587 | elseif Mode == "Ultra" then | |
| 1588 | if key == Enum.KeyCode.Z then | |
| 1589 | if Walkspeed ~= 100 then | |
| 1590 | Walkspeed = 100 | |
| 1591 | Sprint = true | |
| 1592 | else | |
| 1593 | Walkspeed = 16 | |
| 1594 | Sprint = false | |
| 1595 | end | |
| 1596 | elseif key == Enum.KeyCode.X then | |
| 1597 | Attacking = true | |
| 1598 | Walkspeed = 0 | |
| 1599 | KamehamehaSound:Play() | |
| 1600 | do | |
| 1601 | local orb = Create("Part", Char, "Part", {
| |
| 1602 | CanCollide = false, | |
| 1603 | Material = "Neon", | |
| 1604 | BrickColor = BrickColor.new("Electric blue"),
| |
| 1605 | Size = Vector3.new(1, 1, 1) | |
| 1606 | }) | |
| 1607 | newWeld(LArm, orb, LArm, CFrame.new(0, 1, 0)) | |
| 1608 | local smesh = Create("SpecialMesh", orb, "Mesh", {
| |
| 1609 | MeshType = "Sphere", | |
| 1610 | Scale = Vector3.new(0.01, 0.01, 0.01) | |
| 1611 | }) | |
| 1612 | for i = 0, 1, 0.01 do | |
| 1613 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i) | |
| 1614 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), i) | |
| 1615 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-65)) * CFrame.new(0, 0.2, 0), i) | |
| 1616 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(80), Rad(65)), i) | |
| 1617 | wait() | |
| 1618 | end | |
| 1619 | TweenService:Create(smesh, TweenInfo.new(4.7), {
| |
| 1620 | Scale = Vector3.new(2, 2, 2) | |
| 1621 | }):Play() | |
| 1622 | wait(4.7) | |
| 1623 | local fire = false | |
| 1624 | for i = 0, 1, 0.01 do | |
| 1625 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i) | |
| 1626 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i) | |
| 1627 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-90)), i) | |
| 1628 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
| 1629 | if i >= 0.8 and not fire then | |
| 1630 | fire = true | |
| 1631 | end | |
| 1632 | wait() | |
| 1633 | end | |
| 1634 | spawn(function() | |
| 1635 | repeat | |
| 1636 | SWait() | |
| 1637 | until fire | |
| 1638 | local hitb = Create("Part", workspace, "KameHameHaUltra", {
| |
| 1639 | Anchored = true, | |
| 1640 | CanCollide = false, | |
| 1641 | Transparency = 1, | |
| 1642 | Size = Vector3.new(36, 36, 400), | |
| 1643 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -200) | |
| 1644 | }) | |
| 1645 | local beam = Create("Part", workspace, "KameHameHaUltra", {
| |
| 1646 | Anchored = true, | |
| 1647 | CanCollide = false, | |
| 1648 | Material = "Neon", | |
| 1649 | BrickColor = BrickColor.new("Electric blue"),
| |
| 1650 | Size = Vector3.new(1, 1, 1), | |
| 1651 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -2) | |
| 1652 | }) | |
| 1653 | local mesh = Create("SpecialMesh", beam, "Mesh", {
| |
| 1654 | MeshType = "Sphere", | |
| 1655 | Scale = Vector3.new(1, 1, 1) | |
| 1656 | }) | |
| 1657 | TweenService:Create(mesh, TweenInfo.new(0.5), {
| |
| 1658 | Scale = Vector3.new(40, 40, 400) | |
| 1659 | }):Play() | |
| 1660 | TweenService:Create(beam, TweenInfo.new(0.5), {
| |
| 1661 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -200) | |
| 1662 | }):Play() | |
| 1663 | spawn(function() | |
| 1664 | for i = 0, 1, 0.1 do | |
| 1665 | local airPart = Create("Part", workspace, "Part", {
| |
| 1666 | Anchored = true, | |
| 1667 | CanCollide = false, | |
| 1668 | Size = Vector3.new(1, 1, 1), | |
| 1669 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -2) | |
| 1670 | }) | |
| 1671 | airPart.CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(90), Rad(90)) | |
| 1672 | local airMesh = Create("SpecialMesh", airPart, "Mesh", {
| |
| 1673 | MeshId = "rbxassetid://168892432", | |
| 1674 | Scale = Vector3.new(4, 4, 4), | |
| 1675 | Offset = Vector3.new(0, 20, 0) | |
| 1676 | }) | |
| 1677 | TweenService:Create(airMesh, TweenInfo.new(0.5), {
| |
| 1678 | Scale = Vector3.new(10, 50, 10), | |
| 1679 | Offset = Vector3.new(0, -150, 0) | |
| 1680 | }):Play() | |
| 1681 | TweenService:Create(airPart, TweenInfo.new(7.3), {
| |
| 1682 | Transparency = 1, | |
| 1683 | CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
| 1684 | }):Play() | |
| 1685 | game:GetService("Debris"):AddItem(airPart, 7.3)
| |
| 1686 | SWait() | |
| 1687 | end | |
| 1688 | end) | |
| 1689 | hitb.Touched:connect(function(h) | |
| 1690 | if h.Parent == nil then | |
| 1691 | return | |
| 1692 | end | |
| 1693 | if h:IsDescendantOf(Char) then | |
| 1694 | return | |
| 1695 | end | |
| 1696 | local anc | |
| 1697 | local a, b = pcall(function() | |
| 1698 | anc = findRealAncestor(h) | |
| 1699 | end) | |
| 1700 | if a then | |
| 1701 | local hum = anc:FindFirstChildOfClass("Humanoid")
| |
| 1702 | if hum then | |
| 1703 | hum:TakeDamage(hum.MaxHealth / 50) | |
| 1704 | game:GetService("Debris"):AddItem(Create("BodyVelocity", anc:FindFirstChild("HumanoidRootPart") or anc:FindFirstChild("Torso"), "BV", {
| |
| 1705 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
| 1706 | Velocity = HRoot.CFrame.lookVector * 100 | |
| 1707 | }), 0.5) | |
| 1708 | end | |
| 1709 | end | |
| 1710 | end) | |
| 1711 | KamehamehaSound.Ended:connect(function() | |
| 1712 | KamehamehaSound.Volume = 4 | |
| 1713 | hitb:Destroy() | |
| 1714 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 1715 | Scale = Vector3.new(0.01, 0.01, 4) | |
| 1716 | }):Play() | |
| 1717 | TweenService:Create(beam, TweenInfo.new(1), {
| |
| 1718 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -4) | |
| 1719 | }):Play() | |
| 1720 | TweenService:Create(smesh, TweenInfo.new(1), {
| |
| 1721 | Scale = Vector3.new(0.01, 0.01, 0.01) | |
| 1722 | }):Play() | |
| 1723 | game:GetService("Debris"):AddItem(beam, 1)
| |
| 1724 | game:GetService("Debris"):AddItem(orb, 1)
| |
| 1725 | wait(1) | |
| 1726 | Walkspeed = 16 | |
| 1727 | Attacking = false | |
| 1728 | end) | |
| 1729 | end) | |
| 1730 | end | |
| 1731 | elseif key == Enum.KeyCode.C then | |
| 1732 | warn("Dodge: " .. tostring(Dodge))
| |
| 1733 | elseif key == Enum.KeyCode.V then | |
| 1734 | Walkspeed = 0 | |
| 1735 | Attacking = true | |
| 1736 | for i = 0, 1, 0.1 do | |
| 1737 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
| 1738 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
| 1739 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i) | |
| 1740 | wait() | |
| 1741 | end | |
| 1742 | local hitp = Create("Part", workspace, "Part", {
| |
| 1743 | Anchored = true, | |
| 1744 | CanCollide = false, | |
| 1745 | Transparency = 1, | |
| 1746 | Size = Vector3.new(20, 20, 400), | |
| 1747 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -202) | |
| 1748 | }) | |
| 1749 | hitp.Touched:connect(function(h) | |
| 1750 | if h.Parent == nil then | |
| 1751 | return | |
| 1752 | end | |
| 1753 | if h:IsDescendantOf(Char) then | |
| 1754 | return | |
| 1755 | end | |
| 1756 | local anc | |
| 1757 | local a, b = pcall(function() | |
| 1758 | anc = findRealAncestor(h) | |
| 1759 | end) | |
| 1760 | if a then | |
| 1761 | local hum = anc:FindFirstChildOfClass("Humanoid")
| |
| 1762 | if hum then | |
| 1763 | h.Parent.Humanoid:TakeDamage(250000) | |
| 1764 | end | |
| 1765 | end | |
| 1766 | end) | |
| 1767 | for i = 0, 1, 0.1 do | |
| 1768 | local bpart = Create("Part", Char, "Part", {
| |
| 1769 | Anchored = true, | |
| 1770 | CanCollide = false, | |
| 1771 | Size = Vector3.new(1, 1, 1), | |
| 1772 | BrickColor = BrickColor.new("Institutional white"),
| |
| 1773 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -2) | |
| 1774 | }) | |
| 1775 | local mesh = Create("SpecialMesh", bpart, "Mesh", {
| |
| 1776 | MeshId = "rbxassetid://437347603", | |
| 1777 | Scale = Vector3.new(1, 1, 1), | |
| 1778 | Offset = Vector3.new(0, 0, 0) | |
| 1779 | }) | |
| 1780 | TweenService:Create(bpart, TweenInfo.new(1), {
| |
| 1781 | Transparency = 1, | |
| 1782 | CFrame = bpart.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(Random(-360, 360))) | |
| 1783 | }):Play() | |
| 1784 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 1785 | Scale = Vector3.new(2, 2, 20), | |
| 1786 | Offset = Vector3.new(0, 0, -150) | |
| 1787 | }):Play() | |
| 1788 | game:GetService("Debris"):AddItem(bpart, 1)
| |
| 1789 | SWait() | |
| 1790 | end | |
| 1791 | game:GetService("Debris"):AddItem(hitp, 1.5)
| |
| 1792 | Attacking = false | |
| 1793 | Walkspeed = 16 | |
| 1794 | elseif key == Enum.KeyCode.B then | |
| 1795 | Attacking = true | |
| 1796 | if Mouse.Target == nil then | |
| 1797 | return | |
| 1798 | end | |
| 1799 | instinct = false | |
| 1800 | do | |
| 1801 | local targ | |
| 1802 | local a, b = pcall(function() | |
| 1803 | targ = findRealAncestor(Mouse.Target) | |
| 1804 | end) | |
| 1805 | if not a then | |
| 1806 | pcall(function() | |
| 1807 | targ = Mouse.Target.Parent | |
| 1808 | end) | |
| 1809 | end | |
| 1810 | if targ ~= nil then | |
| 1811 | do | |
| 1812 | local hum = targ:FindFirstChildOfClass("Humanoid")
| |
| 1813 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
| |
| 1814 | if hum and tor then | |
| 1815 | Walkspeed = 0 | |
| 1816 | local weld = newWeld(HRoot, tor, HRoot, CFrame.new(0, 0, 2)) | |
| 1817 | FloatVel.MaxForce = Vector3.new(200000000, 200000000, 200000000) | |
| 1818 | spawn(function() | |
| 1819 | tor.Anchored = true | |
| 1820 | PunchSound.Looped = true | |
| 1821 | for _, v in pairs(targ:GetChildren()) do | |
| 1822 | if v:IsA("LocalScript") then
| |
| 1823 | v.Disabled = true | |
| 1824 | end | |
| 1825 | end | |
| 1826 | Char:MoveTo(tor.Position + Vector3.new(0, 0, -2)) | |
| 1827 | wait(0.1) | |
| 1828 | Torso.CFrame = CFrame.new(Torso.Position, tor.Position) | |
| 1829 | PunchSound:Play() | |
| 1830 | local punching = true | |
| 1831 | spawn(function() | |
| 1832 | repeat | |
| 1833 | local fist = Create("Part", workspace, "Part", {
| |
| 1834 | Anchored = true, | |
| 1835 | CanCollide = false, | |
| 1836 | Size = Vector3.new(LArm.Size.X, 1, 8), | |
| 1837 | BrickColor = LArm.BrickColor | |
| 1838 | }) | |
| 1839 | local fist2 = Create("Part", workspace, "Part", {
| |
| 1840 | Anchored = true, | |
| 1841 | CanCollide = false, | |
| 1842 | Size = Vector3.new(RArm.Size.X, 1, 8), | |
| 1843 | BrickColor = RArm.BrickColor | |
| 1844 | }) | |
| 1845 | fist.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(-Random(1, 4), 0.5, 0).p, tor.Position) | |
| 1846 | fist2.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(Random(1, 4), 0.5, 0).p, tor.Position) | |
| 1847 | TweenService:Create(fist, TweenInfo.new(0.5), {Transparency = 1}):Play()
| |
| 1848 | TweenService:Create(fist2, TweenInfo.new(0.5), {Transparency = 1}):Play()
| |
| 1849 | game:GetService("Debris"):AddItem(fist, 0.5)
| |
| 1850 | game:GetService("Debris"):AddItem(fist2, 0.5)
| |
| 1851 | SWait() | |
| 1852 | until not punching | |
| 1853 | end) | |
| 1854 | for i = 0, 62 do | |
| 1855 | for _, v in pairs(targ:GetChildren()) do | |
| 1856 | if v:IsA("ForceField") then
| |
| 1857 | v:Destroy() | |
| 1858 | end | |
| 1859 | end | |
| 1860 | SWait() | |
| 1861 | local ring1 = Create("Part", Char, "Part", {
| |
| 1862 | Anchored = true, | |
| 1863 | CanCollide = false, | |
| 1864 | Size = Vector3.new(1, 1, 1), | |
| 1865 | BrickColor = BrickColor.new("Institutional white"),
| |
| 1866 | CFrame = tor.CFrame | |
| 1867 | }) | |
| 1868 | local mesh1 = Create("SpecialMesh", ring1, "Mesh", {
| |
| 1869 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
| 1870 | Scale = Vector3.new(4, 4, 1) | |
| 1871 | }) | |
| 1872 | TweenService:Create(ring1, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 1873 | TweenService:Create(mesh1, TweenInfo.new(1), {
| |
| 1874 | Scale = Vector3.new(20, 20, 1) | |
| 1875 | }):Play() | |
| 1876 | game:GetService("Debris"):AddItem(ring1, 1)
| |
| 1877 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
| 1878 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
| 1879 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
| 1880 | SWait() | |
| 1881 | hum:TakeDamage(hum.MaxHealth / 210) | |
| 1882 | local ring2 = Create("Part", Char, "Part", {
| |
| 1883 | Anchored = true, | |
| 1884 | CanCollide = false, | |
| 1885 | Size = Vector3.new(1, 1, 1), | |
| 1886 | BrickColor = BrickColor.new("Institutional white"),
| |
| 1887 | CFrame = tor.CFrame | |
| 1888 | }) | |
| 1889 | local mesh2 = Create("SpecialMesh", ring2, "Mesh", {
| |
| 1890 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
| 1891 | Scale = Vector3.new(4, 4, 1) | |
| 1892 | }) | |
| 1893 | TweenService:Create(ring2, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 1894 | TweenService:Create(mesh2, TweenInfo.new(1), {
| |
| 1895 | Scale = Vector3.new(20, 20, 1) | |
| 1896 | }):Play() | |
| 1897 | game:GetService("Debris"):AddItem(ring2, 1)
| |
| 1898 | SWait() | |
| 1899 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
| 1900 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
| 1901 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
| 1902 | SWait() | |
| 1903 | hum:TakeDamage(hum.MaxHealth / 190) | |
| 1904 | hum.Parent.Humanoid:TakeDamage(1000) | |
| 1905 | end | |
| 1906 | punching = false | |
| 1907 | PunchSound:Stop() | |
| 1908 | PunchSound.Looped = false | |
| 1909 | wait() | |
| 1910 | for i = 0, 1, 0.1 do | |
| 1911 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-90)), i) | |
| 1912 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-90), Rad(0), Rad(0)), i) | |
| 1913 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(90)), i) | |
| 1914 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
| 1915 | SWait() | |
| 1916 | end | |
| 1917 | tor.Anchored = false | |
| 1918 | local bv = Create("BodyVelocity", tor, "BV", {
| |
| 1919 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
| 1920 | Velocity = HRoot.CFrame.lookVector * 350 | |
| 1921 | }) | |
| 1922 | hum.Parent.Humanoid:TakeDamage(100000000) | |
| 1923 | for i = 0, 1, 0.1 do | |
| 1924 | local bpart = Create("Part", Char, "Part", {
| |
| 1925 | Anchored = true, | |
| 1926 | CanCollide = false, | |
| 1927 | Size = Vector3.new(1, 1, 1), | |
| 1928 | BrickColor = BrickColor.new("Institutional white"),
| |
| 1929 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -2) | |
| 1930 | }) | |
| 1931 | local mesh = Create("SpecialMesh", bpart, "Mesh", {
| |
| 1932 | MeshId = "rbxassetid://437347603", | |
| 1933 | Scale = Vector3.new(1, 1, 1), | |
| 1934 | Offset = Vector3.new(0, 0, 0) | |
| 1935 | }) | |
| 1936 | TweenService:Create(bpart, TweenInfo.new(1), {
| |
| 1937 | Transparency = 1, | |
| 1938 | CFrame = bpart.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(Random(-360, 360))) | |
| 1939 | }):Play() | |
| 1940 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 1941 | Scale = Vector3.new(2, 2, 20), | |
| 1942 | Offset = Vector3.new(0, 0, -150) | |
| 1943 | }):Play() | |
| 1944 | game:GetService("Debris"):AddItem(bpart, 1)
| |
| 1945 | SWait() | |
| 1946 | end | |
| 1947 | bv:Destroy() | |
| 1948 | Attacking = false | |
| 1949 | instinct = true | |
| 1950 | Walkspeed = 16 | |
| 1951 | end) | |
| 1952 | else | |
| 1953 | Attacking = false | |
| 1954 | end | |
| 1955 | end | |
| 1956 | end | |
| 1957 | end | |
| 1958 | end | |
| 1959 | end | |
| 1960 | if key == Enum.KeyCode.Q then | |
| 1961 | stopAllSounds() | |
| 1962 | SSJSound1:Play() | |
| 1963 | toggleEmitters("AllOff")
| |
| 1964 | HairWeld.C0 = Hcf | |
| 1965 | Human.MaxHealth = 50000000000000 | |
| 1966 | wait(0.01) | |
| 1967 | Human.Health = 500000000000000 | |
| 1968 | game:GetService("Chat"):Chat(Head, "This is a Super Saiyan.", Enum.ChatColor.White)
| |
| 1969 | Head.face.Texture = "rbxassetid://870187774" | |
| 1970 | local Aura = Instance.new("ParticleEmitter")
| |
| 1971 | Aura.Name = "Aura" | |
| 1972 | Aura.Texture = "rbxassetid://411939841" | |
| 1973 | Aura.Parent = Torso | |
| 1974 | Aura.LightEmission = 1 | |
| 1975 | Aura.Transparency = NumberSequence.new(0.9, 1) | |
| 1976 | Aura.Color = ColorSequence.new(BrickColor.new("Daisy orange").Color)
| |
| 1977 | Aura.Size = NumberSequence.new(0.2, 8) | |
| 1978 | Aura.LockedToPart = true | |
| 1979 | Aura.Lifetime = NumberRange.new(1.5) | |
| 1980 | Aura.Rate = 50 | |
| 1981 | Aura.Speed = NumberRange.new(1.3) | |
| 1982 | Aura.EmissionDirection = "Top" | |
| 1983 | Aura.Rotation = NumberRange.new(-8, 8) | |
| 1984 | local orb = Create("Part", Char, "Part", {
| |
| 1985 | Anchored = true, | |
| 1986 | CanCollide = false, | |
| 1987 | BrickColor = BrickColor.new("Bright yellow"),
| |
| 1988 | Material = "Neon", | |
| 1989 | Size = Vector3.new(1, 1, 1), | |
| 1990 | CFrame = HRoot.CFrame | |
| 1991 | }) | |
| 1992 | local mesh = Create("SpecialMesh", orb, "Mesh", {
| |
| 1993 | MeshType = "Sphere", | |
| 1994 | Scale = Vector3.new(1, 1, 1) | |
| 1995 | }) | |
| 1996 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 1997 | Scale = Vector3.new(30, 30, 30) | |
| 1998 | }):Play() | |
| 1999 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 2000 | Hair.Mesh.MeshId = "rbxassetid://430344159" | |
| 2001 | Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5) | |
| 2002 | Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2) | |
| 2003 | Hair.BrickColor = BrickColor.new("Bright yellow")
| |
| 2004 | Aura.ImageColor3 = Color3.fromRGB(255, 227, 10) | |
| 2005 | SSJContainer.StudsOffset = Vector3.new(0, 0, 0) | |
| 2006 | SSJContainer.Size = UDim2.new(20, 0, 20, 0) | |
| 2007 | Aura.ImageTransparency = 0 | |
| 2008 | Mode = "SSJ" | |
| 2009 | elseif key == Enum.KeyCode.E then | |
| 2010 | Attacking = true | |
| 2011 | stopAllSounds() | |
| 2012 | toggleEmitters("AllOff")
| |
| 2013 | SSJContainer.Size = UDim2.new(20, 0, 20, 0) | |
| 2014 | for i = 0, 1, 0.1 do | |
| 2015 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
| 2016 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i) | |
| 2017 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i) | |
| 2018 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i) | |
| 2019 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-70), Rad(-140)), i) | |
| 2020 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(70), Rad(140)), i) | |
| 2021 | wait() | |
| 2022 | end | |
| 2023 | do | |
| 2024 | local rtr = true | |
| 2025 | spawn(function() | |
| 2026 | repeat | |
| 2027 | local ring = Create("Part", workspace, "Part", {
| |
| 2028 | Anchored = true, | |
| 2029 | CanCollide = false, | |
| 2030 | BrickColor = BrickColor.new("New Yeller"),
| |
| 2031 | Size = Vector3.new(1, 1, 1), | |
| 2032 | CFrame = HRoot.CFrame * CFrame.new(0, -3, 0) | |
| 2033 | }) | |
| 2034 | local mesh = Create("SpecialMesh", ring, "Mesh", {
| |
| 2035 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
| 2036 | Scale = Vector3.new(1, 1, 1) | |
| 2037 | }) | |
| 2038 | ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(0), Rad(0)) | |
| 2039 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 2040 | Scale = Vector3.new(50, 50, 1) | |
| 2041 | }):Play() | |
| 2042 | TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 2043 | game:GetService("Debris"):AddItem(ring, 1)
| |
| 2044 | SWait() | |
| 2045 | until not rtr | |
| 2046 | end) | |
| 2047 | wait(2) | |
| 2048 | rtr = false | |
| 2049 | local orb = Create("Part", Char, "Part", {
| |
| 2050 | Anchored = true, | |
| 2051 | CanCollide = false, | |
| 2052 | BrickColor = BrickColor.new("Bright yellow"),
| |
| 2053 | Material = "Neon", | |
| 2054 | Size = Vector3.new(1, 1, 1), | |
| 2055 | CFrame = HRoot.CFrame | |
| 2056 | }) | |
| 2057 | local mesh = Create("SpecialMesh", orb, "Mesh", {
| |
| 2058 | MeshType = "Sphere", | |
| 2059 | Scale = Vector3.new(1, 1, 1) | |
| 2060 | }) | |
| 2061 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 2062 | Scale = Vector3.new(30, 30, 30) | |
| 2063 | }):Play() | |
| 2064 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 2065 | for i = 0, 1, 0.1 do | |
| 2066 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-20), Rad(0), Rad(0)), i) | |
| 2067 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
| 2068 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i) | |
| 2069 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i) | |
| 2070 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(70), Rad(-140)), i) | |
| 2071 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-70), Rad(140)), i) | |
| 2072 | wait() | |
| 2073 | end | |
| 2074 | HairWeld.C0 = Hcf | |
| 2075 | Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5) | |
| 2076 | Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2) | |
| 2077 | Hair.BrickColor = BrickColor.new("Bright yellow")
| |
| 2078 | Aura.ImageTransparency = 0 | |
| 2079 | Hair.Mesh.MeshId = "rbxassetid://560718478" | |
| 2080 | Char.Head.face.Texture = "rbxassetid://870187774" | |
| 2081 | SSJContainer.StudsOffset = Vector3.new(0, 0, 0) | |
| 2082 | Mode = "SSJ2" | |
| 2083 | Attacking = false | |
| 2084 | local Aura = Instance.new("ParticleEmitter")
| |
| 2085 | Aura.Name = "Aura" | |
| 2086 | Aura.Texture = "rbxassetid://411939841" | |
| 2087 | Aura.Parent = Torso | |
| 2088 | Aura.LightEmission = 1 | |
| 2089 | Aura.Transparency = NumberSequence.new(0.9, 1) | |
| 2090 | Aura.Color = ColorSequence.new(BrickColor.new("Daisy orange").Color)
| |
| 2091 | Aura.Size = NumberSequence.new(0.2, 8) | |
| 2092 | Aura.LockedToPart = true | |
| 2093 | Aura.Lifetime = NumberRange.new(1.5) | |
| 2094 | Aura.Rate = 50 | |
| 2095 | Aura.Speed = NumberRange.new(1.3) | |
| 2096 | Aura.EmissionDirection = "Top" | |
| 2097 | Aura.Rotation = NumberRange.new(-8, 8) | |
| 2098 | local Aura2 = Instance.new("ParticleEmitter")
| |
| 2099 | Aura2.Name = "Aura" | |
| 2100 | Aura2.Texture = "rbxassetid://1527326485" | |
| 2101 | Aura2.Parent = Torso | |
| 2102 | Aura2.LightEmission = 0.1 | |
| 2103 | Aura2.Transparency = NumberSequence.new(0, 0.9) | |
| 2104 | Aura2.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 2105 | Aura2.Size = NumberSequence.new(3.5, 3.6) | |
| 2106 | Aura2.LockedToPart = true | |
| 2107 | Aura2.Lifetime = NumberRange.new(0.1) | |
| 2108 | Aura2.Rate = 10 | |
| 2109 | Aura2.Speed = NumberRange.new(2) | |
| 2110 | Aura2.EmissionDirection = "Top" | |
| 2111 | Aura2.Rotation = NumberRange.new(-360, 360) | |
| 2112 | Aura2.VelocitySpread = 100 | |
| 2113 | Aura2.ZOffset = 2 | |
| 2114 | end | |
| 2115 | elseif key == Enum.KeyCode.T then | |
| 2116 | SSJContainer.Size = UDim2.new(10, 0, 20, 0) | |
| 2117 | toggleEmitters("AllOff")
| |
| 2118 | Human.MaxHealth = 50000000000 | |
| 2119 | wait(0.01) | |
| 2120 | Human.Health = 50000000000 | |
| 2121 | local RightAura = Instance.new("ParticleEmitter")
| |
| 2122 | RightAura.Name = "Aura" | |
| 2123 | RightAura.Texture = "rbxassetid://111283279" | |
| 2124 | RightAura.Parent = RLeg | |
| 2125 | RightAura.LightEmission = 1 | |
| 2126 | RightAura.Transparency = NumberSequence.new(0.4, 1) | |
| 2127 | RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2128 | RightAura.Size = NumberSequence.new(0.05, 0) | |
| 2129 | RightAura.LockedToPart = true | |
| 2130 | RightAura.Lifetime = NumberRange.new(1) | |
| 2131 | RightAura.Rate = 130 | |
| 2132 | RightAura.Speed = NumberRange.new(0.4) | |
| 2133 | RightAura.Rotation = NumberRange.new(-360, 360) | |
| 2134 | RightAura.EmissionDirection = "Top" | |
| 2135 | RightAura.ZOffset = 2 | |
| 2136 | local RightLow = Instance.new("ParticleEmitter")
| |
| 2137 | RightLow.Name = "Aura" | |
| 2138 | RightLow.Texture = "rbxassetid://111283279" | |
| 2139 | RightLow.Parent = LLeg | |
| 2140 | RightLow.LightEmission = 1 | |
| 2141 | RightLow.Transparency = NumberSequence.new(0.4, 1) | |
| 2142 | RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2143 | RightLow.Size = NumberSequence.new(0.05, 0) | |
| 2144 | RightLow.LockedToPart = true | |
| 2145 | RightLow.Lifetime = NumberRange.new(1.5) | |
| 2146 | RightLow.Rate = 130 | |
| 2147 | RightLow.Speed = NumberRange.new(1) | |
| 2148 | RightLow.Rotation = NumberRange.new(-360, 360) | |
| 2149 | RightLow.EmissionDirection = "Top" | |
| 2150 | RightLow.ZOffset = 2 | |
| 2151 | local LeftLow = Instance.new("ParticleEmitter")
| |
| 2152 | LeftLow.Name = "Aura" | |
| 2153 | LeftLow.Texture = "rbxassetid://111283279" | |
| 2154 | LeftLow.Parent = LArm | |
| 2155 | LeftLow.LightEmission = 1 | |
| 2156 | LeftLow.Transparency = NumberSequence.new(0.4, 1) | |
| 2157 | LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2158 | LeftLow.Size = NumberSequence.new(0.05, 0) | |
| 2159 | LeftLow.LockedToPart = true | |
| 2160 | LeftLow.Lifetime = NumberRange.new(1.5) | |
| 2161 | LeftLow.Rate = 130 | |
| 2162 | LeftLow.Speed = NumberRange.new(1) | |
| 2163 | LeftLow.Rotation = NumberRange.new(-360, 360) | |
| 2164 | LeftLow.EmissionDirection = "Top" | |
| 2165 | LeftLow.ZOffset = 2 | |
| 2166 | local Tor = Instance.new("ParticleEmitter")
| |
| 2167 | Tor.Name = "Aura" | |
| 2168 | Tor.Texture = "rbxassetid://111283279" | |
| 2169 | Tor.Parent = Torso | |
| 2170 | Tor.LightEmission = 1 | |
| 2171 | Tor.Transparency = NumberSequence.new(0.4, 1) | |
| 2172 | Tor.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2173 | Tor.Size = NumberSequence.new(0.05, 0) | |
| 2174 | Tor.LockedToPart = true | |
| 2175 | Tor.Lifetime = NumberRange.new(1) | |
| 2176 | Tor.Rate = 130 | |
| 2177 | Tor.Speed = NumberRange.new(1) | |
| 2178 | Tor.Rotation = NumberRange.new(-360, 360) | |
| 2179 | Tor.EmissionDirection = "Top" | |
| 2180 | Tor.ZOffset = 2 | |
| 2181 | local LeftLeg = Instance.new("ParticleEmitter")
| |
| 2182 | LeftLeg.Name = "Aura" | |
| 2183 | LeftLeg.Texture = "rbxassetid://111283279" | |
| 2184 | LeftLeg.Parent = RArm | |
| 2185 | LeftLeg.LightEmission = 1 | |
| 2186 | LeftLeg.Transparency = NumberSequence.new(0.4, 1) | |
| 2187 | LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2188 | LeftLeg.Size = NumberSequence.new(0.05, 0) | |
| 2189 | LeftLeg.LockedToPart = true | |
| 2190 | LeftLeg.Lifetime = NumberRange.new(1) | |
| 2191 | LeftLeg.Rate = 130 | |
| 2192 | LeftLeg.Speed = NumberRange.new(1) | |
| 2193 | LeftLeg.Rotation = NumberRange.new(-360, 360) | |
| 2194 | LeftLeg.EmissionDirection = "Top" | |
| 2195 | LeftLeg.ZOffset = 2 | |
| 2196 | local Aura = Instance.new("ParticleEmitter")
| |
| 2197 | Aura.Name = "Aura" | |
| 2198 | Aura.Texture = "rbxassetid://1517856446" | |
| 2199 | Aura.Parent = Torso | |
| 2200 | Aura.LightEmission = 0.3 | |
| 2201 | Aura.Transparency = NumberSequence.new(0.5, 1) | |
| 2202 | Aura.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 2203 | Aura.Size = NumberSequence.new(0.7, 6) | |
| 2204 | Aura.LockedToPart = true | |
| 2205 | Aura.Lifetime = NumberRange.new(1) | |
| 2206 | Aura.Rate = 100 | |
| 2207 | Aura.Speed = NumberRange.new(2) | |
| 2208 | Aura.EmissionDirection = "Top" | |
| 2209 | Aura.Rotation = NumberRange.new(-8, 8) | |
| 2210 | Aura.ZOffset = -1 | |
| 2211 | Char.Head.face.Texture = "rbxassetid://792213048" | |
| 2212 | Hair.BrickColor = BrickColor.new("Relly red")
| |
| 2213 | stopAllSounds() | |
| 2214 | Mode = "SSJG" | |
| 2215 | game:GetService("Chat"):Chat(Head, "This is Super Saiyan God.", Enum.ChatColor.White)
| |
| 2216 | local orb = Create("Part", Char, "Part", {
| |
| 2217 | Anchored = true, | |
| 2218 | CanCollide = false, | |
| 2219 | Size = Vector3.new(8, 8, 8), | |
| 2220 | Material = "Neon", | |
| 2221 | BrickColor = BrickColor.new("Institutional white"),
| |
| 2222 | CFrame = HRoot.CFrame | |
| 2223 | }) | |
| 2224 | local mesh = Create("SpecialMesh", orb, "Mesh", {
| |
| 2225 | Scale = Vector3.new(1, 1, 1), | |
| 2226 | MeshType = "Sphere" | |
| 2227 | }) | |
| 2228 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 2229 | Scale = Vector3.new(3, 3, 3) | |
| 2230 | }):Play() | |
| 2231 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 2232 | game:GetService("Debris"):AddItem(orb, 1)
| |
| 2233 | Hair.Color = Color3.fromRGB(212, 2, 114) | |
| 2234 | SSJGSound2:Play() | |
| 2235 | wait(1) | |
| 2236 | SSJContainer.StudsOffset = Vector3.new(-0.5, 0, 0) | |
| 2237 | Torso.Anchored = false | |
| 2238 | Attacking = false | |
| 2239 | elseif key == Enum.KeyCode.K and Mode == "SSJB" then | |
| 2240 | Human.MaxHealth = 600000000000000 | |
| 2241 | wait(0.01) | |
| 2242 | Human.Health = 600000000000000 | |
| 2243 | Hair.Mesh.MeshId = "rbxassetid://430344159" | |
| 2244 | Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5) | |
| 2245 | Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2) | |
| 2246 | HairWeld.C0 = Hcf | |
| 2247 | stopAllSounds() | |
| 2248 | for i = 1, 25 do | |
| 2249 | wait() | |
| 2250 | workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView - 2.1 | |
| 2251 | end | |
| 2252 | game:GetService("Chat"):Chat(Head, "KAIOKEN TIMES TWENTY!", Enum.ChatColor.White)
| |
| 2253 | local Music4 = Instance.new("Sound", Torso)
| |
| 2254 | Music4.SoundId = "rbxassetid://1488660753" | |
| 2255 | Music4.Volume = 7 | |
| 2256 | Music4.Pitch = 1 | |
| 2257 | Music4.Looped = true | |
| 2258 | Music4:Play() | |
| 2259 | local RightAura = Instance.new("ParticleEmitter")
| |
| 2260 | RightAura.Name = "Aura" | |
| 2261 | RightAura.Texture = "rbxassetid://111283279" | |
| 2262 | RightAura.Parent = RLeg | |
| 2263 | RightAura.LightEmission = 1 | |
| 2264 | RightAura.Transparency = NumberSequence.new(0.4, 1) | |
| 2265 | RightAura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
| |
| 2266 | RightAura.Size = NumberSequence.new(0.05, 0) | |
| 2267 | RightAura.LockedToPart = true | |
| 2268 | RightAura.Lifetime = NumberRange.new(1) | |
| 2269 | RightAura.Rate = 130 | |
| 2270 | RightAura.Speed = NumberRange.new(0.4) | |
| 2271 | RightAura.Rotation = NumberRange.new(-360, 360) | |
| 2272 | RightAura.EmissionDirection = "Top" | |
| 2273 | RightAura.ZOffset = 2 | |
| 2274 | local RightLow = Instance.new("ParticleEmitter")
| |
| 2275 | RightLow.Name = "Aura" | |
| 2276 | RightLow.Texture = "rbxassetid://111283279" | |
| 2277 | RightLow.Parent = LLeg | |
| 2278 | RightLow.LightEmission = 1 | |
| 2279 | RightLow.Transparency = NumberSequence.new(0.4, 1) | |
| 2280 | RightLow.Color = ColorSequence.new(BrickColor.new("Really red").Color)
| |
| 2281 | RightLow.Size = NumberSequence.new(0.05, 0) | |
| 2282 | RightLow.LockedToPart = true | |
| 2283 | RightLow.Lifetime = NumberRange.new(1.5) | |
| 2284 | RightLow.Rate = 130 | |
| 2285 | RightLow.Speed = NumberRange.new(1) | |
| 2286 | RightLow.Rotation = NumberRange.new(-360, 360) | |
| 2287 | RightLow.EmissionDirection = "Top" | |
| 2288 | RightLow.ZOffset = 2 | |
| 2289 | local LeftLow = Instance.new("ParticleEmitter")
| |
| 2290 | LeftLow.Name = "Aura" | |
| 2291 | LeftLow.Texture = "rbxassetid://111283279" | |
| 2292 | LeftLow.Parent = LArm | |
| 2293 | LeftLow.LightEmission = 1 | |
| 2294 | LeftLow.Transparency = NumberSequence.new(0.4, 1) | |
| 2295 | LeftLow.Color = ColorSequence.new(BrickColor.new("Really red").Color)
| |
| 2296 | LeftLow.Size = NumberSequence.new(0.05, 0) | |
| 2297 | LeftLow.LockedToPart = true | |
| 2298 | LeftLow.Lifetime = NumberRange.new(1.5) | |
| 2299 | LeftLow.Rate = 130 | |
| 2300 | LeftLow.Speed = NumberRange.new(1) | |
| 2301 | LeftLow.Rotation = NumberRange.new(-360, 360) | |
| 2302 | LeftLow.EmissionDirection = "Top" | |
| 2303 | LeftLow.ZOffset = 2 | |
| 2304 | local Tor = Instance.new("ParticleEmitter")
| |
| 2305 | Tor.Name = "Aura" | |
| 2306 | Tor.Texture = "rbxassetid://174073769" | |
| 2307 | Tor.Parent = Torso | |
| 2308 | Tor.LightEmission = 1 | |
| 2309 | Tor.Transparency = NumberSequence.new(0.4, 1) | |
| 2310 | Tor.Color = ColorSequence.new(BrickColor.new("Really red").Color)
| |
| 2311 | Tor.Size = NumberSequence.new(0.05, 0) | |
| 2312 | Tor.LockedToPart = true | |
| 2313 | Tor.Lifetime = NumberRange.new(1) | |
| 2314 | Tor.Rate = 130 | |
| 2315 | Tor.Speed = NumberRange.new(1) | |
| 2316 | Tor.Rotation = NumberRange.new(-360, 360) | |
| 2317 | Tor.EmissionDirection = "Top" | |
| 2318 | Tor.ZOffset = 2 | |
| 2319 | local LeftLeg = Instance.new("ParticleEmitter")
| |
| 2320 | LeftLeg.Name = "Aura" | |
| 2321 | LeftLeg.Texture = "rbxassetid://111283279" | |
| 2322 | LeftLeg.Parent = RArm | |
| 2323 | LeftLeg.LightEmission = 1 | |
| 2324 | LeftLeg.Transparency = NumberSequence.new(0.4, 1) | |
| 2325 | LeftLeg.Color = ColorSequence.new(BrickColor.new("Really red").Color)
| |
| 2326 | LeftLeg.Size = NumberSequence.new(0.05, 0) | |
| 2327 | LeftLeg.LockedToPart = true | |
| 2328 | LeftLeg.Lifetime = NumberRange.new(1) | |
| 2329 | LeftLeg.Rate = 130 | |
| 2330 | LeftLeg.Speed = NumberRange.new(1) | |
| 2331 | LeftLeg.Rotation = NumberRange.new(-360, 360) | |
| 2332 | LeftLeg.EmissionDirection = "Top" | |
| 2333 | LeftLeg.ZOffset = 2 | |
| 2334 | local Aura = Instance.new("ParticleEmitter")
| |
| 2335 | Aura.Name = "Aura" | |
| 2336 | Aura.Texture = "rbxassetid://411939841" | |
| 2337 | Aura.Parent = Head | |
| 2338 | Aura.LightEmission = 0.3 | |
| 2339 | Aura.Transparency = NumberSequence.new(0.5, 1) | |
| 2340 | Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
| |
| 2341 | Aura.Size = NumberSequence.new(9.7, 14) | |
| 2342 | Aura.LockedToPart = true | |
| 2343 | Aura.Lifetime = NumberRange.new(1) | |
| 2344 | Aura.Rate = 100 | |
| 2345 | Aura.Speed = NumberRange.new(5) | |
| 2346 | Aura.EmissionDirection = "Top" | |
| 2347 | Aura.Rotation = NumberRange.new(0, 0) | |
| 2348 | Aura.ZOffset = -2 | |
| 2349 | local Spark = Instance.new("ParticleEmitter")
| |
| 2350 | Spark.Name = "Aura" | |
| 2351 | Spark.Texture = "rbxassetid://740455924" | |
| 2352 | Spark.Parent = Torso | |
| 2353 | Spark.LightEmission = 0.3 | |
| 2354 | Spark.Transparency = NumberSequence.new(0, 1) | |
| 2355 | Spark.Color = ColorSequence.new(BrickColor.new("Really red").Color)
| |
| 2356 | Spark.Size = NumberSequence.new(5) | |
| 2357 | Spark.LockedToPart = true | |
| 2358 | Spark.Lifetime = NumberRange.new(3) | |
| 2359 | Spark.Rate = 1.3 | |
| 2360 | Spark.Speed = NumberRange.new(0) | |
| 2361 | Spark.EmissionDirection = "Top" | |
| 2362 | Spark.Rotation = NumberRange.new(-360, 360) | |
| 2363 | Spark.ZOffset = 2 | |
| 2364 | local orb = Create("Part", Char, "Part", {
| |
| 2365 | Anchored = true, | |
| 2366 | CanCollide = false, | |
| 2367 | Size = Vector3.new(8, 8, 8), | |
| 2368 | Material = "Neon", | |
| 2369 | BrickColor = BrickColor.new("Institutional white"),
| |
| 2370 | CFrame = HRoot.CFrame | |
| 2371 | }) | |
| 2372 | local mesh = Create("SpecialMesh", orb, "Mesh", {
| |
| 2373 | Scale = Vector3.new(1, 1, 1), | |
| 2374 | MeshType = "Sphere" | |
| 2375 | }) | |
| 2376 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 2377 | Scale = Vector3.new(3, 3, 3) | |
| 2378 | }):Play() | |
| 2379 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 2380 | game:GetService("Debris"):AddItem(orb, 1)
| |
| 2381 | Hair.Color = Color3.fromRGB(5, 178, 212) | |
| 2382 | SSJBSound2:Play() | |
| 2383 | SSJBSound3:Play() | |
| 2384 | for i = 1, 25 do | |
| 2385 | wait() | |
| 2386 | workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + 2.1 | |
| 2387 | end | |
| 2388 | wait(1) | |
| 2389 | Torso.Anchored = false | |
| 2390 | Attacking = false | |
| 2391 | Char.Head.face.Texture = "rbxassetid://1444669398" | |
| 2392 | SSJContainer.StudsOffset = Vector3.new(0.5, 0, 0) | |
| 2393 | Mode = "SSJBKK" | |
| 2394 | elseif key == Enum.KeyCode.Y then | |
| 2395 | SSJContainer.Size = UDim2.new(10, 0, 20, 0) | |
| 2396 | Aura.ImageTransparency = 0 | |
| 2397 | toggleEmitters("AllOff")
| |
| 2398 | Human.MaxHealth = 500000000000 | |
| 2399 | wait(0.01) | |
| 2400 | Human.Health = 500000000000 | |
| 2401 | Hair.Mesh.MeshId = "rbxassetid://430344159" | |
| 2402 | Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5) | |
| 2403 | Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2) | |
| 2404 | HairWeld.C0 = Hcf | |
| 2405 | stopAllSounds() | |
| 2406 | SSJBSound1:Play() | |
| 2407 | game:GetService("Chat"):Chat(Head, "This is Super Saiyan Blue, I won't go so easy anymore.", Enum.ChatColor.White)
| |
| 2408 | local RightAura = Instance.new("ParticleEmitter")
| |
| 2409 | RightAura.Name = "Aura" | |
| 2410 | RightAura.Texture = "rbxassetid://111283279" | |
| 2411 | RightAura.Parent = RLeg | |
| 2412 | RightAura.LightEmission = 1 | |
| 2413 | RightAura.Transparency = NumberSequence.new(0.4, 1) | |
| 2414 | RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2415 | RightAura.Size = NumberSequence.new(0.05, 0) | |
| 2416 | RightAura.LockedToPart = true | |
| 2417 | RightAura.Lifetime = NumberRange.new(1) | |
| 2418 | RightAura.Rate = 130 | |
| 2419 | RightAura.Speed = NumberRange.new(0.4) | |
| 2420 | RightAura.Rotation = NumberRange.new(-360, 360) | |
| 2421 | RightAura.EmissionDirection = "Top" | |
| 2422 | RightAura.ZOffset = 2 | |
| 2423 | local RightLow = Instance.new("ParticleEmitter")
| |
| 2424 | RightLow.Name = "Aura" | |
| 2425 | RightLow.Texture = "rbxassetid://111283279" | |
| 2426 | RightLow.Parent = LLeg | |
| 2427 | RightLow.LightEmission = 1 | |
| 2428 | RightLow.Transparency = NumberSequence.new(0.4, 1) | |
| 2429 | RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2430 | RightLow.Size = NumberSequence.new(0.05, 0) | |
| 2431 | RightLow.LockedToPart = true | |
| 2432 | RightLow.Lifetime = NumberRange.new(1.5) | |
| 2433 | RightLow.Rate = 130 | |
| 2434 | RightLow.Speed = NumberRange.new(1) | |
| 2435 | RightLow.Rotation = NumberRange.new(-360, 360) | |
| 2436 | RightLow.EmissionDirection = "Top" | |
| 2437 | RightLow.ZOffset = 2 | |
| 2438 | local LeftLow = Instance.new("ParticleEmitter")
| |
| 2439 | LeftLow.Name = "Aura" | |
| 2440 | LeftLow.Texture = "rbxassetid://111283279" | |
| 2441 | LeftLow.Parent = LArm | |
| 2442 | LeftLow.LightEmission = 1 | |
| 2443 | LeftLow.Transparency = NumberSequence.new(0.4, 1) | |
| 2444 | LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2445 | LeftLow.Size = NumberSequence.new(0.05, 0) | |
| 2446 | LeftLow.LockedToPart = true | |
| 2447 | LeftLow.Lifetime = NumberRange.new(1.5) | |
| 2448 | LeftLow.Rate = 130 | |
| 2449 | LeftLow.Speed = NumberRange.new(1) | |
| 2450 | LeftLow.Rotation = NumberRange.new(-360, 360) | |
| 2451 | LeftLow.EmissionDirection = "Top" | |
| 2452 | LeftLow.ZOffset = 2 | |
| 2453 | local Tor = Instance.new("ParticleEmitter")
| |
| 2454 | Tor.Name = "Aura" | |
| 2455 | Tor.Texture = "rbxassetid://111283279" | |
| 2456 | Tor.Parent = Torso | |
| 2457 | Tor.LightEmission = 1 | |
| 2458 | Tor.Transparency = NumberSequence.new(0.4, 1) | |
| 2459 | Tor.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2460 | Tor.Size = NumberSequence.new(0.05, 0) | |
| 2461 | Tor.LockedToPart = true | |
| 2462 | Tor.Lifetime = NumberRange.new(1) | |
| 2463 | Tor.Rate = 130 | |
| 2464 | Tor.Speed = NumberRange.new(1) | |
| 2465 | Tor.Rotation = NumberRange.new(-360, 360) | |
| 2466 | Tor.EmissionDirection = "Top" | |
| 2467 | Tor.ZOffset = 2 | |
| 2468 | local LeftLeg = Instance.new("ParticleEmitter")
| |
| 2469 | LeftLeg.Name = "Aura" | |
| 2470 | LeftLeg.Texture = "rbxassetid://111283279" | |
| 2471 | LeftLeg.Parent = RArm | |
| 2472 | LeftLeg.LightEmission = 1 | |
| 2473 | LeftLeg.Transparency = NumberSequence.new(0.4, 1) | |
| 2474 | LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2475 | LeftLeg.Size = NumberSequence.new(0.05, 0) | |
| 2476 | LeftLeg.LockedToPart = true | |
| 2477 | LeftLeg.Lifetime = NumberRange.new(1) | |
| 2478 | LeftLeg.Rate = 130 | |
| 2479 | LeftLeg.Speed = NumberRange.new(1) | |
| 2480 | LeftLeg.Rotation = NumberRange.new(-360, 360) | |
| 2481 | LeftLeg.EmissionDirection = "Top" | |
| 2482 | LeftLeg.ZOffset = 2 | |
| 2483 | local Aura = Instance.new("ParticleEmitter")
| |
| 2484 | Aura.Name = "Aura" | |
| 2485 | Aura.Texture = "rbxassetid://1526565953" | |
| 2486 | Aura.Parent = Torso | |
| 2487 | Aura.LightEmission = 0.3 | |
| 2488 | Aura.Transparency = NumberSequence.new(0.5, 1) | |
| 2489 | Aura.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 2490 | Aura.Size = NumberSequence.new(0.7, 6) | |
| 2491 | Aura.LockedToPart = true | |
| 2492 | Aura.Lifetime = NumberRange.new(1) | |
| 2493 | Aura.Rate = 100 | |
| 2494 | Aura.Speed = NumberRange.new(2) | |
| 2495 | Aura.EmissionDirection = "Top" | |
| 2496 | Aura.Rotation = NumberRange.new(-8, 8) | |
| 2497 | Aura.ZOffset = -1 | |
| 2498 | local orb = Create("Part", Char, "Part", {
| |
| 2499 | Anchored = true, | |
| 2500 | CanCollide = false, | |
| 2501 | Size = Vector3.new(8, 8, 8), | |
| 2502 | Material = "Neon", | |
| 2503 | BrickColor = BrickColor.new("Institutional white"),
| |
| 2504 | CFrame = HRoot.CFrame | |
| 2505 | }) | |
| 2506 | local mesh = Create("SpecialMesh", orb, "Mesh", {
| |
| 2507 | Scale = Vector3.new(1, 1, 1), | |
| 2508 | MeshType = "Sphere" | |
| 2509 | }) | |
| 2510 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 2511 | Scale = Vector3.new(3, 3, 3) | |
| 2512 | }):Play() | |
| 2513 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 2514 | game:GetService("Debris"):AddItem(orb, 1)
| |
| 2515 | Hair.Color = Color3.fromRGB(5, 178, 212) | |
| 2516 | SSJBSound2:Play() | |
| 2517 | SSJBSound3:Play() | |
| 2518 | wait(1) | |
| 2519 | Torso.Anchored = false | |
| 2520 | Attacking = false | |
| 2521 | Char.Head.face.Texture = "rbxassetid://1444669398" | |
| 2522 | SSJContainer.StudsOffset = Vector3.new(0.5, 0, 0) | |
| 2523 | Mode = "SSJB" | |
| 2524 | elseif key == Enum.KeyCode.U and Plr.Name ~= "venturiansonic" then | |
| 2525 | Walkspeed = 0 | |
| 2526 | Attacking = true | |
| 2527 | Mode = "Ultra" | |
| 2528 | toggleEmitters("AllOff")
| |
| 2529 | stopAllSounds() | |
| 2530 | Aura.ImageTransparency = 1 | |
| 2531 | lig = Instance.new("PointLight", Torso)
| |
| 2532 | lig.Color = Color3.new(0, 0, 255) | |
| 2533 | lig.Range = 9 | |
| 2534 | lig.Brightness = 100 | |
| 2535 | local Music4 = Instance.new("Sound", Torso)
| |
| 2536 | Music4.SoundId = "rbxassetid://1504498051" | |
| 2537 | Music4.Volume = 3.5 | |
| 2538 | Music4.Pitch = 1 | |
| 2539 | Music4.Looped = true | |
| 2540 | Music4:Play() | |
| 2541 | HairWeld.C0 = Hcf | |
| 2542 | spawn(function() | |
| 2543 | for i = 0, 1, 0.1 do | |
| 2544 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(40), Rad(0), Rad(0)), i) | |
| 2545 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
| 2546 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(20), Rad(0), Rad(-40)), i) | |
| 2547 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(20), Rad(0), Rad(40)), i) | |
| 2548 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-20)), i) | |
| 2549 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), i) | |
| 2550 | wait() | |
| 2551 | end | |
| 2552 | end) | |
| 2553 | local beam1 = Create("Part", Char, "Part", {
| |
| 2554 | Anchored = true, | |
| 2555 | CanCollide = false, | |
| 2556 | Material = "Neon", | |
| 2557 | BrickColor = BrickColor.new("Institutional white"),
| |
| 2558 | Shape = "Cylinder", | |
| 2559 | Size = Vector3.new(8, 8, 8), | |
| 2560 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(90)) | |
| 2561 | }) | |
| 2562 | local effect1 = Create("Part", Char, "Part", {
| |
| 2563 | Anchored = true, | |
| 2564 | CanCollide = false, | |
| 2565 | BrickColor = BrickColor.new("Institutional white"),
| |
| 2566 | CFrame = HRoot.CFrame | |
| 2567 | }) | |
| 2568 | local mesh1 = Create("SpecialMesh", effect1, "Mesh", {
| |
| 2569 | MeshId = "rbxassetid://168892432", | |
| 2570 | Scale = Vector3.new(1.2, 1.2, 1.2) | |
| 2571 | }) | |
| 2572 | local effect2 = Create("Part", Char, "Part", {
| |
| 2573 | Anchored = true, | |
| 2574 | CanCollide = false, | |
| 2575 | BrickColor = BrickColor.new("Institutional white"),
| |
| 2576 | CFrame = HRoot.CFrame | |
| 2577 | }) | |
| 2578 | local mesh2 = Create("SpecialMesh", effect2, "Mesh", {
| |
| 2579 | MeshId = "rbxassetid://168892432", | |
| 2580 | Scale = Vector3.new(1.2, 1.2, 1.2) | |
| 2581 | }) | |
| 2582 | local effect3 = Create("Part", Char, "Part", {
| |
| 2583 | Anchored = true, | |
| 2584 | CanCollide = false, | |
| 2585 | BrickColor = BrickColor.new("Institutional white"),
| |
| 2586 | CFrame = HRoot.CFrame | |
| 2587 | }) | |
| 2588 | local mesh3 = Create("SpecialMesh", effect3, "Mesh", {
| |
| 2589 | MeshId = "rbxassetid://168892432", | |
| 2590 | Scale = Vector3.new(1.2, 1.2, 1.2) | |
| 2591 | }) | |
| 2592 | local orb1 = Create("Part", Char, "Part", {
| |
| 2593 | Anchored = true, | |
| 2594 | CanCollide = false, | |
| 2595 | CFrame = HRoot.CFrame, | |
| 2596 | Material = "Neon", | |
| 2597 | BrickColor = BrickColor.new("Institutional white"),
| |
| 2598 | Size = Vector3.new(8, 8, 8) | |
| 2599 | }) | |
| 2600 | local omesh1 = Create("SpecialMesh", orb1, "Mesh", {
| |
| 2601 | Scale = Vector3.new(1, 1, 1), | |
| 2602 | MeshType = "Sphere" | |
| 2603 | }) | |
| 2604 | spawn(function() | |
| 2605 | for i = 0, 360, 36 do | |
| 2606 | local cyl = Create("Part", Char, "Part", {
| |
| 2607 | Anchored = true, | |
| 2608 | CanCollide = false, | |
| 2609 | Size = Vector3.new(1, 1, 1), | |
| 2610 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -5), | |
| 2611 | Material = "Neon", | |
| 2612 | BrickColor = BrickColor.new("Institutional white")
| |
| 2613 | }) | |
| 2614 | cyl.CFrame = cyl.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0)) | |
| 2615 | local cylmesh = Create("CylinderMesh", cyl, "Mesh", {
| |
| 2616 | Scale = Vector3.new(4, 4, 4) | |
| 2617 | }) | |
| 2618 | cyl.CFrame = cyl.CFrame * CFrame.new(0, 2, 0) | |
| 2619 | TweenService:Create(cyl, TweenInfo.new(2.8), {
| |
| 2620 | Transparency = 1, | |
| 2621 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(i + 114), 0) * CFrame.new(0, -5, -5) | |
| 2622 | }):Play() | |
| 2623 | TweenService:Create(cylmesh, TweenInfo.new(2.8), {
| |
| 2624 | Scale = Vector3.new(4, 20, 4) | |
| 2625 | }):Play() | |
| 2626 | game:GetService("Debris"):AddItem(cyl, 2.8)
| |
| 2627 | end | |
| 2628 | end) | |
| 2629 | Hair.BrickColor = BrickColor.new("Black metallic")
| |
| 2630 | TweenService:Create(orb1, TweenInfo.new(2), {Transparency = 1}):Play()
| |
| 2631 | TweenService:Create(omesh1, TweenInfo.new(2), {
| |
| 2632 | Scale = Vector3.new(3, 3, 3) | |
| 2633 | }):Play() | |
| 2634 | TweenService:Create(mesh1, TweenInfo.new(3), {
| |
| 2635 | Scale = Vector3.new(4, 4, 4) | |
| 2636 | }):Play() | |
| 2637 | TweenService:Create(effect1, TweenInfo.new(3), {
| |
| 2638 | Transparency = 1, | |
| 2639 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
| 2640 | }):Play() | |
| 2641 | TweenService:Create(mesh2, TweenInfo.new(3), {
| |
| 2642 | Scale = Vector3.new(4, 4, 4) | |
| 2643 | }):Play() | |
| 2644 | TweenService:Create(effect2, TweenInfo.new(3), {
| |
| 2645 | Transparency = 1, | |
| 2646 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
| 2647 | }):Play() | |
| 2648 | TweenService:Create(mesh3, TweenInfo.new(3), {
| |
| 2649 | Scale = Vector3.new(4, 4, 4) | |
| 2650 | }):Play() | |
| 2651 | TweenService:Create(effect3, TweenInfo.new(3), {
| |
| 2652 | Transparency = 1, | |
| 2653 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
| 2654 | }):Play() | |
| 2655 | TweenService:Create(beam1, TweenInfo.new(3), {
| |
| 2656 | Transparency = 1, | |
| 2657 | Size = Vector3.new(100, 1, 1), | |
| 2658 | CFrame = HRoot.CFrame * CFrame.new(0, 45, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(90)) | |
| 2659 | }):Play() | |
| 2660 | game:GetService("Debris"):AddItem(beam1, 2)
| |
| 2661 | game:GetService("Debris"):AddItem(effect1, 2)
| |
| 2662 | game:GetService("Debris"):AddItem(mesh1, 2)
| |
| 2663 | game:GetService("Debris"):AddItem(mesh2, 2)
| |
| 2664 | game:GetService("Debris"):AddItem(mesh3, 2)
| |
| 2665 | game:GetService("Debris"):AddItem(orb1, 2)
| |
| 2666 | game:GetService("Debris"):AddItem(omesh1, 2)
| |
| 2667 | Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://1394077487"
| |
| 2668 | Shirt.ShirtTemplate = "rbxassetid://1454239396" | |
| 2669 | Pants.PantsTemplate = "rbxassetid://1449276082" | |
| 2670 | local Hat = Instance.new("Part", Char)
| |
| 2671 | Hat.Size = Vector3.new(1, 1, 1) | |
| 2672 | Hat.Material = "SmoothPlastic" | |
| 2673 | Hat.BrickColor = BrickColor.new("Really black")
| |
| 2674 | Hat.CanCollide = false | |
| 2675 | local Hat2 = Instance.new("SpecialMesh", Hat)
| |
| 2676 | Hat2.MeshId = "rbxassetid://1479574104" | |
| 2677 | Hat2.Scale = Vector3.new(0.063, 0.063, 0.063) | |
| 2678 | local Hat3 = Instance.new("Weld", Hat)
| |
| 2679 | Hat3.Part0 = Head | |
| 2680 | Hat3.Part1 = Hat | |
| 2681 | Hat3.C0 = CFrame.new(0.05, 0.85, -0.1) * CFrame.Angles(math.rad(88.93), math.rad(180), math.rad(0)) | |
| 2682 | Hair.Transparency = 1 | |
| 2683 | local HairAura = Instance.new("ParticleEmitter")
| |
| 2684 | HairAura.Name = "Aura" | |
| 2685 | HairAura.Texture = "rbxassetid://1200947142" | |
| 2686 | HairAura.Parent = Head | |
| 2687 | HairAura.LightEmission = 1 | |
| 2688 | HairAura.Transparency = NumberSequence.new(0.1, 1) | |
| 2689 | HairAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2690 | HairAura.Size = NumberSequence.new(1.1) | |
| 2691 | HairAura.LockedToPart = true | |
| 2692 | HairAura.Lifetime = NumberRange.new(2) | |
| 2693 | HairAura.Rate = 30 | |
| 2694 | HairAura.Speed = NumberRange.new(0.1) | |
| 2695 | HairAura.Rotation = NumberRange.new(-360, 360) | |
| 2696 | HairAura.EmissionDirection = "Top" | |
| 2697 | HairAura.ZOffset = -1 | |
| 2698 | local RightAura = Instance.new("ParticleEmitter")
| |
| 2699 | RightAura.Name = "Aura" | |
| 2700 | RightAura.Texture = "rbxassetid://1200947142" | |
| 2701 | RightAura.Parent = RLeg | |
| 2702 | RightAura.LightEmission = 1 | |
| 2703 | RightAura.Transparency = NumberSequence.new(0.1, 1) | |
| 2704 | RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2705 | RightAura.Size = NumberSequence.new(1.1) | |
| 2706 | RightAura.LockedToPart = true | |
| 2707 | RightAura.Lifetime = NumberRange.new(2) | |
| 2708 | RightAura.Rate = 30 | |
| 2709 | RightAura.Speed = NumberRange.new(0.1) | |
| 2710 | RightAura.Rotation = NumberRange.new(-360, 360) | |
| 2711 | RightAura.EmissionDirection = "Top" | |
| 2712 | RightAura.ZOffset = -1 | |
| 2713 | local RightLow = Instance.new("ParticleEmitter")
| |
| 2714 | RightLow.Name = "Aura" | |
| 2715 | RightLow.Texture = "rbxassetid://1200947142" | |
| 2716 | RightLow.Parent = LLeg | |
| 2717 | RightLow.LightEmission = 1 | |
| 2718 | RightLow.Transparency = NumberSequence.new(0.1, 1) | |
| 2719 | RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2720 | RightLow.Size = NumberSequence.new(1.1) | |
| 2721 | RightLow.LockedToPart = true | |
| 2722 | RightLow.Lifetime = NumberRange.new(2) | |
| 2723 | RightLow.Rate = 30 | |
| 2724 | RightLow.Speed = NumberRange.new(0.1) | |
| 2725 | RightLow.Rotation = NumberRange.new(-360, 360) | |
| 2726 | RightLow.EmissionDirection = "Top" | |
| 2727 | RightLow.ZOffset = -1 | |
| 2728 | local LeftLow = Instance.new("ParticleEmitter")
| |
| 2729 | LeftLow.Name = "Aura" | |
| 2730 | LeftLow.Texture = "rbxassetid://1200947142" | |
| 2731 | LeftLow.Parent = LArm | |
| 2732 | LeftLow.LightEmission = 1 | |
| 2733 | LeftLow.Transparency = NumberSequence.new(0.1, 1) | |
| 2734 | LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2735 | LeftLow.Size = NumberSequence.new(1.1) | |
| 2736 | LeftLow.LockedToPart = true | |
| 2737 | LeftLow.Lifetime = NumberRange.new(2) | |
| 2738 | LeftLow.Rate = 30 | |
| 2739 | LeftLow.Speed = NumberRange.new(0.1) | |
| 2740 | LeftLow.Rotation = NumberRange.new(-360, 360) | |
| 2741 | LeftLow.EmissionDirection = "Top" | |
| 2742 | LeftLow.ZOffset = -1 | |
| 2743 | local LeftLeg = Instance.new("ParticleEmitter")
| |
| 2744 | LeftLeg.Name = "Aura" | |
| 2745 | LeftLeg.Texture = "rbxassetid://1200947142" | |
| 2746 | LeftLeg.Parent = RArm | |
| 2747 | LeftLeg.LightEmission = 1 | |
| 2748 | LeftLeg.Transparency = NumberSequence.new(0.1, 1) | |
| 2749 | LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2750 | LeftLeg.Size = NumberSequence.new(1.1) | |
| 2751 | LeftLeg.LockedToPart = true | |
| 2752 | LeftLeg.Lifetime = NumberRange.new(2) | |
| 2753 | LeftLeg.Rate = 30 | |
| 2754 | LeftLeg.Speed = NumberRange.new(0.1) | |
| 2755 | LeftLeg.Rotation = NumberRange.new(-360, 360) | |
| 2756 | LeftLeg.EmissionDirection = "Top" | |
| 2757 | LeftLeg.ZOffset = -1 | |
| 2758 | wait(0.1) | |
| 2759 | local Small = Instance.new("ParticleEmitter")
| |
| 2760 | Small.Name = "Aura" | |
| 2761 | Small.Texture = "rbxassetid://242102147" | |
| 2762 | Small.Parent = Torso | |
| 2763 | Small.LightEmission = 1 | |
| 2764 | Small.Transparency = NumberSequence.new(0.5, 1) | |
| 2765 | Small.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
| |
| 2766 | Small.Size = NumberSequence.new(0.5) | |
| 2767 | Small.LockedToPart = false | |
| 2768 | Small.Lifetime = NumberRange.new(0.5) | |
| 2769 | Small.Rate = 150 | |
| 2770 | Small.Speed = NumberRange.new(4) | |
| 2771 | Small.Rotation = NumberRange.new(-50, 50) | |
| 2772 | Small.EmissionDirection = "Top" | |
| 2773 | Small.ZOffset = 2 | |
| 2774 | local Small2 = Instance.new("ParticleEmitter")
| |
| 2775 | Small2.Name = "Aura" | |
| 2776 | Small2.Texture = "rbxassetid://242102147" | |
| 2777 | Small2.Parent = RArm | |
| 2778 | Small2.LightEmission = 1 | |
| 2779 | Small2.Transparency = NumberSequence.new(0.5, 1) | |
| 2780 | Small2.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
| |
| 2781 | Small2.Size = NumberSequence.new(0.5) | |
| 2782 | Small2.LockedToPart = false | |
| 2783 | Small2.Lifetime = NumberRange.new(0.5) | |
| 2784 | Small2.Rate = 150 | |
| 2785 | Small2.Speed = NumberRange.new(4) | |
| 2786 | Small2.Rotation = NumberRange.new(-50, 50) | |
| 2787 | Small2.EmissionDirection = "Top" | |
| 2788 | Small2.ZOffset = 2 | |
| 2789 | local Small3 = Instance.new("ParticleEmitter")
| |
| 2790 | Small3.Name = "Aura" | |
| 2791 | Small3.Texture = "rbxassetid://242102147" | |
| 2792 | Small3.Parent = LArm | |
| 2793 | Small3.LightEmission = 1 | |
| 2794 | Small3.Transparency = NumberSequence.new(0.5, 1) | |
| 2795 | Small3.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
| |
| 2796 | Small3.Size = NumberSequence.new(0.5) | |
| 2797 | Small3.LockedToPart = false | |
| 2798 | Small3.Lifetime = NumberRange.new(0.5) | |
| 2799 | Small3.Rate = 150 | |
| 2800 | Small3.Speed = NumberRange.new(4) | |
| 2801 | Small3.Rotation = NumberRange.new(-50, 50) | |
| 2802 | Small3.EmissionDirection = "Top" | |
| 2803 | Small3.ZOffset = 2 | |
| 2804 | local Small4 = Instance.new("ParticleEmitter")
| |
| 2805 | Small4.Name = "Aura" | |
| 2806 | Small4.Texture = "rbxassetid://242102147" | |
| 2807 | Small4.Parent = RLeg | |
| 2808 | Small4.LightEmission = 1 | |
| 2809 | Small4.Transparency = NumberSequence.new(0.5, 1) | |
| 2810 | Small4.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
| |
| 2811 | Small4.Size = NumberSequence.new(0.5) | |
| 2812 | Small4.LockedToPart = false | |
| 2813 | Small4.Lifetime = NumberRange.new(0.5) | |
| 2814 | Small4.Rate = 150 | |
| 2815 | Small4.Speed = NumberRange.new(4) | |
| 2816 | Small4.Rotation = NumberRange.new(-50, 50) | |
| 2817 | Small4.EmissionDirection = "Top" | |
| 2818 | Small4.ZOffset = 2 | |
| 2819 | local Small5 = Instance.new("ParticleEmitter")
| |
| 2820 | Small5.Name = "Aura" | |
| 2821 | Small5.Texture = "rbxassetid://242102147" | |
| 2822 | Small5.Parent = LLeg | |
| 2823 | Small5.LightEmission = 1 | |
| 2824 | Small5.Transparency = NumberSequence.new(0.5, 1) | |
| 2825 | Small5.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
| |
| 2826 | Small5.Size = NumberSequence.new(0.5) | |
| 2827 | Small5.LockedToPart = false | |
| 2828 | Small5.Lifetime = NumberRange.new(0.5) | |
| 2829 | Small5.Rate = 150 | |
| 2830 | Small5.Speed = NumberRange.new(4) | |
| 2831 | Small5.Rotation = NumberRange.new(-50, 50) | |
| 2832 | Small5.EmissionDirection = "Top" | |
| 2833 | Small5.ZOffset = 2 | |
| 2834 | local Small6 = Instance.new("ParticleEmitter")
| |
| 2835 | Small6.Name = "Aura" | |
| 2836 | Small6.Texture = "rbxassetid://242102147" | |
| 2837 | Small6.Parent = Head | |
| 2838 | Small6.LightEmission = 1 | |
| 2839 | Small6.Transparency = NumberSequence.new(0.5, 1) | |
| 2840 | Small6.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
| |
| 2841 | Small6.Size = NumberSequence.new(0.5) | |
| 2842 | Small6.LockedToPart = false | |
| 2843 | Small6.Lifetime = NumberRange.new(0.5) | |
| 2844 | Small6.Rate = 150 | |
| 2845 | Small6.Speed = NumberRange.new(4) | |
| 2846 | Small6.Rotation = NumberRange.new(-50, 50) | |
| 2847 | Small6.EmissionDirection = "Top" | |
| 2848 | Small6.ZOffset = 2 | |
| 2849 | wait(0.2) | |
| 2850 | local Grab = Instance.new("Part", Head)
| |
| 2851 | Grab.Size = Vector3.new(3.5, 1, 3.5) | |
| 2852 | Grab.CanCollide = false | |
| 2853 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 2854 | Grab.Transparency = 1 | |
| 2855 | local Grabo = Instance.new("Weld", Grab)
| |
| 2856 | Grabo.Part0 = Head | |
| 2857 | Grabo.Part1 = Grab | |
| 2858 | Grabo.C0 = CFrame.new(0, -3.6, 0) | |
| 2859 | local AuraB = Instance.new("Part", Head)
| |
| 2860 | AuraB.Size = Vector3.new(2, 1, 2) | |
| 2861 | AuraB.CanCollide = false | |
| 2862 | AuraB.BrickColor = BrickColor.new("Deep orange")
| |
| 2863 | AuraB.Transparency = 1 | |
| 2864 | local AuraBo = Instance.new("Weld", AuraB)
| |
| 2865 | AuraBo.Part0 = Head | |
| 2866 | AuraBo.Part1 = AuraB | |
| 2867 | AuraBo.C0 = CFrame.new(0, -3.6, 0) | |
| 2868 | local FZcharge3 = Instance.new("ParticleEmitter", Grab)
| |
| 2869 | FZcharge3.Texture = "rbxassetid://1468162128" | |
| 2870 | FZcharge3.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
| 2871 | FZcharge3.EmissionDirection = "Top" | |
| 2872 | FZcharge3.Speed = NumberRange.new(3) | |
| 2873 | FZcharge3.Size = NumberSequence.new(0.2, 0.3) | |
| 2874 | FZcharge3.Transparency = NumberSequence.new(0.2, 0.7) | |
| 2875 | FZcharge3.Drag = 1 | |
| 2876 | FZcharge3.LockedToPart = true | |
| 2877 | FZcharge3.Lifetime = NumberRange.new(2) | |
| 2878 | FZcharge3.Rate = 20 | |
| 2879 | FZcharge3.LightEmission = 0.3 | |
| 2880 | FZcharge3.Rotation = NumberRange.new(0, 0) | |
| 2881 | FZcharge3.VelocitySpread = 0.2 | |
| 2882 | FZcharge3.ZOffset = 2.5 | |
| 2883 | wait(3) | |
| 2884 | for i = 0, 0.5, 0.01 do | |
| 2885 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
| 2886 | Hrj.C0 = Hrj.C0:lerp(Hrjcf, i) | |
| 2887 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
| 2888 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
| 2889 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
| 2890 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
| 2891 | wait() | |
| 2892 | end | |
| 2893 | Attacking = false | |
| 2894 | Walkspeed = 16 | |
| 2895 | CanMelee = true | |
| 2896 | instinct = true | |
| 2897 | elseif key == Enum.KeyCode.P then | |
| 2898 | Mode = "Base" | |
| 2899 | Attacking = true | |
| 2900 | Aura.ImageTransparency = 1 | |
| 2901 | toggleEmitters("AllOff")
| |
| 2902 | Torso.Anchored = true | |
| 2903 | Human.MaxHealth = 50000 | |
| 2904 | wait(0.01) | |
| 2905 | Human.Health = 50000 | |
| 2906 | Char.Head.face.Texture = "rbxassetid://413593222" | |
| 2907 | Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=1378167215" | |
| 2908 | HairWeld.C0 = Hcf | |
| 2909 | Hair.Mesh.Offset = Vector3.new(0, 0.47, -0.4) | |
| 2910 | Hair.Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
| 2911 | stopAllSounds() | |
| 2912 | PowerDown:Play() | |
| 2913 | local orb = Create("Part", Char, "Part", {
| |
| 2914 | Anchored = true, | |
| 2915 | CanCollide = false, | |
| 2916 | Size = Vector3.new(8, 8, 8), | |
| 2917 | Material = "Neon", | |
| 2918 | BrickColor = BrickColor.new("Institutional white"),
| |
| 2919 | CFrame = HRoot.CFrame | |
| 2920 | }) | |
| 2921 | local mesh = Create("SpecialMesh", orb, "Mesh", {
| |
| 2922 | Scale = Vector3.new(1, 1, 1), | |
| 2923 | MeshType = "Sphere" | |
| 2924 | }) | |
| 2925 | TweenService:Create(mesh, TweenInfo.new(1), {
| |
| 2926 | Scale = Vector3.new(3, 3, 3) | |
| 2927 | }):Play() | |
| 2928 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 2929 | game:GetService("Debris"):AddItem(orb, 1)
| |
| 2930 | Hair.BrickColor = BrickColor.new("Black metallic")
| |
| 2931 | wait(1) | |
| 2932 | Torso.Anchored = false | |
| 2933 | Attacking = false | |
| 2934 | elseif key == Enum.KeyCode.G then | |
| 2935 | Attacking = true | |
| 2936 | do | |
| 2937 | local cf = Mouse.Hit.p | |
| 2938 | local hcf = HRoot.CFrame | |
| 2939 | for i = 0, 0.4, 0.01 do | |
| 2940 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(30), Rad(0), Rad(0)), i) | |
| 2941 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-90), Rad(-120)), i) | |
| 2942 | wait() | |
| 2943 | end | |
| 2944 | spawn(function() | |
| 2945 | for i = 0, 1, 0.1 do | |
| 2946 | local part = Create("Part", Char, "Part", {
| |
| 2947 | Anchored = true, | |
| 2948 | CanCollide = false, | |
| 2949 | BrickColor = BrickColor.new("Really black"),
| |
| 2950 | Material = "Neon", | |
| 2951 | Size = Vector3.new(0.3, 9, 9), | |
| 2952 | CFrame = hcf * CFrame.new(Random(-5, 5), -5, Random(-5, 5)) | |
| 2953 | }) | |
| 2954 | Create("CylinderMesh", part, "Mesh", {})
| |
| 2955 | TweenService:Create(part, TweenInfo.new(1), {
| |
| 2956 | Transparency = 0.6, | |
| 2957 | CFrame = part.CFrame * CFrame.new(0, 10, 0) | |
| 2958 | }):Play() | |
| 2959 | game:GetService("Debris"):AddItem(part, 1)
| |
| 2960 | SWait() | |
| 2961 | end | |
| 2962 | end) | |
| 2963 | Char:MoveTo(cf) | |
| 2964 | local Music3 = Instance.new("Sound", Torso)
| |
| 2965 | Music3.SoundId = "rbxassetid://1055279036" | |
| 2966 | Music3.Volume = 3 | |
| 2967 | Music3.Pitch = 1 | |
| 2968 | Music3.Looped = false | |
| 2969 | Music3:Play() | |
| 2970 | Attacking = false | |
| 2971 | end | |
| 2972 | elseif key == Enum.KeyCode.H and Mode ~= "Ultra" then | |
| 2973 | Attacking = true | |
| 2974 | do | |
| 2975 | local sbomb = Create("Part", workspace, "Part", {
| |
| 2976 | CanCollide = false, | |
| 2977 | BrickColor = BrickColor.new("Electric blue"),
| |
| 2978 | Material = "Neon", | |
| 2979 | Size = Vector3.new(1, 1, 1), | |
| 2980 | CFrame = HRoot.CFrame * CFrame.new(0, 50, 0) | |
| 2981 | }) | |
| 2982 | local hitb = Create("Part", sbomb, "Part", {
| |
| 2983 | CanCollide = false, | |
| 2984 | Transparency = 1, | |
| 2985 | Size = Vector3.new(20, 20, 20), | |
| 2986 | CFrame = sbomb.CFrame | |
| 2987 | }) | |
| 2988 | local mesh = Create("SpecialMesh", sbomb, "Mesh", {
| |
| 2989 | MeshType = "Sphere", | |
| 2990 | Scale = Vector3.new(1, 1, 1) | |
| 2991 | }) | |
| 2992 | newWeld(sbomb, hitb, sbomb, CFrame.new(0, -10, 0)) | |
| 2993 | TweenService:Create(mesh, TweenInfo.new(20), {
| |
| 2994 | Scale = Vector3.new(55, 55, 55) | |
| 2995 | }):Play() | |
| 2996 | local bv = Create("BodyVelocity", sbomb, "BV", {
| |
| 2997 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
| 2998 | Velocity = Vector3.new(0, 0, 0) | |
| 2999 | }) | |
| 3000 | for i = 0, 0.28, 0.01 do | |
| 3001 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(10), Rad(0), Rad(-180)), i) | |
| 3002 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(10), Rad(0), Rad(180)), i) | |
| 3003 | wait() | |
| 3004 | end | |
| 3005 | game:GetService("Debris"):AddItem(sbomb, 20)
| |
| 3006 | wait(7) | |
| 3007 | for i = 0, 0.2, 0.01 do | |
| 3008 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
| 3009 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(10), Rad(0), Rad(-45)), i) | |
| 3010 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(10), Rad(0), Rad(40)), i) | |
| 3011 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
| 3012 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-20)), i) | |
| 3013 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20)), i) | |
| 3014 | SWait() | |
| 3015 | end | |
| 3016 | local trg = Create("Part", workspace, "Part", {
| |
| 3017 | Anchored = true, | |
| 3018 | CanCollide = false, | |
| 3019 | Transparency = 1, | |
| 3020 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -50) | |
| 3021 | }) | |
| 3022 | sbomb.CFrame = CFrame.new(sbomb.Position, trg.Position) | |
| 3023 | bv.Velocity = Mouse.hit.lookVector * 30 | |
| 3024 | trg:Destroy() | |
| 3025 | local Explode = false | |
| 3026 | hitb.Touched:connect(function(h) | |
| 3027 | if Explode then | |
| 3028 | return | |
| 3029 | end | |
| 3030 | if hitb == sbomb then | |
| 3031 | return | |
| 3032 | end | |
| 3033 | Explode = true | |
| 3034 | sbomb.Anchored = true | |
| 3035 | SpiritBombSound:Stop() | |
| 3036 | ExplosionSound:Play() | |
| 3037 | local nsbomb = sbomb:Clone() | |
| 3038 | sbomb:Destroy() | |
| 3039 | nsbomb.Parent = workspace | |
| 3040 | TweenService:Create(nsbomb.Mesh, TweenInfo.new(2), {
| |
| 3041 | Scale = Vector3.new(250, 250, 250) | |
| 3042 | }):Play() | |
| 3043 | TweenService:Create(nsbomb, TweenInfo.new(2), {Transparency = 1}):Play()
| |
| 3044 | game:GetService("Debris"):AddItem(nsbomb, 2)
| |
| 3045 | spawn(function() | |
| 3046 | for i = 0, 1, 0.01 do | |
| 3047 | local effect = Create("Part", workspace, "Part", {
| |
| 3048 | CanCollide = false, | |
| 3049 | Material = "Neon", | |
| 3050 | BrickColor = Colours.Spirit[Random(1, #Colours.Spirit)], | |
| 3051 | Size = Vector3.new(1, 1, 1), | |
| 3052 | CFrame = nsbomb.CFrame * CFrame.Angles(Rad(Random(-360, 360)), Rad(Random(-360, 360)), Rad(Random(-360, 360))) | |
| 3053 | }) | |
| 3054 | Create("BodyVelocity", effect, "BV", {
| |
| 3055 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
| 3056 | Velocity = effect.CFrame.lookVector * 50 | |
| 3057 | }) | |
| 3058 | Create("SpecialMesh", effect, "Mesh", {
| |
| 3059 | MeshType = "Sphere", | |
| 3060 | Scale = Vector3.new(5, 5, 255) | |
| 3061 | }) | |
| 3062 | TweenService:Create(effect, TweenInfo.new(0.5), {Transparency = 1}):Play()
| |
| 3063 | game:GetService("Debris"):AddItem(effect, 0.5)
| |
| 3064 | SWait() | |
| 3065 | end | |
| 3066 | end) | |
| 3067 | spawn(function() | |
| 3068 | local reg = CreateRegion3(sbomb.Position, Vector3.new(100, 100, 100)) | |
| 3069 | for _, v in pairs(workspace:FindPartsInRegion3(reg, Char, 100)) do | |
| 3070 | if v.Parent ~= nil then | |
| 3071 | local hum = v.Parent:FindFirstChildOfClass("Humanoid")
| |
| 3072 | if hum and v.Parent ~= Char then | |
| 3073 | for _, b in pairs(v.Parent:GetChildren()) do | |
| 3074 | if b:IsA("ForceField") then
| |
| 3075 | b:Destroy() | |
| 3076 | end | |
| 3077 | end | |
| 3078 | hum:TakeDamage(hum.MaxHealth / 5) | |
| 3079 | end | |
| 3080 | end | |
| 3081 | end | |
| 3082 | end) | |
| 3083 | end) | |
| 3084 | wait(0.2) | |
| 3085 | Attacking = false | |
| 3086 | end | |
| 3087 | elseif key == Enum.KeyCode.F then | |
| 3088 | end | |
| 3089 | end | |
| 3090 | function keyUp(key) | |
| 3091 | Keys[key] = nil | |
| 3092 | end | |
| 3093 | UserInputService.TextBoxFocused:connect(function() | |
| 3094 | Typing = true | |
| 3095 | end) | |
| 3096 | UserInputService.TextBoxFocusReleased:connect(function() | |
| 3097 | Typing = false | |
| 3098 | end) | |
| 3099 | if UserInputService.KeyboardEnabled and UserInputService.MouseEnabled then | |
| 3100 | UserInputService.InputBegan:connect(function(inpType) | |
| 3101 | if inpType.KeyCode ~= Enum.KeyCode.Unknown and not Typing then | |
| 3102 | keyDown(inpType.KeyCode) | |
| 3103 | end | |
| 3104 | end) | |
| 3105 | UserInputService.InputEnded:connect(function(inpType) | |
| 3106 | if inpType.KeyCode ~= Enum.KeyCode.Unknown and not Typing then | |
| 3107 | keyUp(inpType.KeyCode) | |
| 3108 | end | |
| 3109 | end) | |
| 3110 | end | |
| 3111 | spawn(function() | |
| 3112 | while SWait() do | |
| 3113 | if Mode == "SSJ" or Mode == "SSJ2" or Mode == "SSJ3" then | |
| 3114 | elseif Mode == "SSJG" then | |
| 3115 | elseif Mode == "SSJB" then | |
| 3116 | elseif Mode == "Vegito" then | |
| 3117 | end | |
| 3118 | end | |
| 3119 | end) | |
| 3120 | Human.FreeFalling:connect(function(active) | |
| 3121 | if Attacking then | |
| 3122 | return | |
| 3123 | end | |
| 3124 | if not Flying then | |
| 3125 | Falling = active | |
| 3126 | end | |
| 3127 | end) | |
| 3128 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 3129 | Human.WalkSpeed = Walkspeed | |
| 3130 | if Flying then | |
| 3131 | FloatGyro.Parent = HRoot | |
| 3132 | FloatVel.Parent = HRoot | |
| 3133 | FloatGyro.MaxTorque = Vector3.new(200000000, 200000000, 200000000) | |
| 3134 | FloatVel.MaxForce = Vector3.new(200000000, 200000000, 200000000) | |
| 3135 | FloatGyro.CFrame = workspace.CurrentCamera.CFrame | |
| 3136 | if Keys[Enum.KeyCode.W] then | |
| 3137 | Dir = "Forward" | |
| 3138 | elseif Keys[Enum.KeyCode.S] then | |
| 3139 | Dir = "Backward" | |
| 3140 | elseif Keys[Enum.KeyCode.A] then | |
| 3141 | Dir = "Left" | |
| 3142 | elseif Keys[Enum.KeyCode.D] then | |
| 3143 | Dir = "Right" | |
| 3144 | else | |
| 3145 | Dir = "None" | |
| 3146 | end | |
| 3147 | if Dir == "Forward" then | |
| 3148 | FloatVel.Velocity = workspace.CurrentCamera.CFrame.lookVector * 100 | |
| 3149 | elseif Dir == "Backward" then | |
| 3150 | FloatVel.Velocity = workspace.CurrentCamera.CFrame.lookVector * -100 | |
| 3151 | elseif Dir == "Left" then | |
| 3152 | FloatVel.Velocity = workspace.CurrentCamera.CFrame * CFrame.new(-60, 0, 0).p - workspace.CurrentCamera.CFrame.p | |
| 3153 | elseif Dir == "Right" then | |
| 3154 | FloatVel.Velocity = workspace.CurrentCamera.CFrame * CFrame.new(60, 0, 0).p - workspace.CurrentCamera.CFrame.p | |
| 3155 | else | |
| 3156 | FloatVel.Velocity = Vector3.new(0, 0, 0) | |
| 3157 | end | |
| 3158 | else | |
| 3159 | FloatGyro.MaxTorque = Vector3.new(0, 0, 0) | |
| 3160 | FloatVel.MaxForce = Vector3.new(0, 0, 0) | |
| 3161 | FloatGyro.Parent = nil | |
| 3162 | FloatVel.Parent = nil | |
| 3163 | end | |
| 3164 | if not Attacking then | |
| 3165 | if not Flying then | |
| 3166 | if Torso.Velocity.magnitude < 2 then | |
| 3167 | Anim = "Idle" | |
| 3168 | elseif Torso.Velocity.magnitude < 2000 then | |
| 3169 | Anim = "Walk" | |
| 3170 | else | |
| 3171 | Anim = "Run" | |
| 3172 | end | |
| 3173 | elseif Torso.Velocity.magnitude < 2000 then | |
| 3174 | Anim = "Float" | |
| 3175 | elseif Dir == "Forward" then | |
| 3176 | Anim = "Fly" | |
| 3177 | elseif Dir == "Backward" then | |
| 3178 | Anim = "FlyBack" | |
| 3179 | elseif Dir == "Left" then | |
| 3180 | Anim = "FlyLeft" | |
| 3181 | elseif Dir == "Right" then | |
| 3182 | Anim = "FlyRight" | |
| 3183 | end | |
| 3184 | if not Falling then | |
| 3185 | if Anim == "Idle" then | |
| 3186 | if Mode ~= "Ultra" and Mode ~= "SSJ3" then | |
| 3187 | Neck.C0 = Neck.C0:lerp(Ncf, 0.1) | |
| 3188 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(2 * Sin(tick() / 1.5)), Rad(0), Rad(0)), 0.1) | |
| 3189 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(2 * Sin(tick() / 1.5))), 0.1) | |
| 3190 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(2 * Sin(tick() / 1.5))), 0.1) | |
| 3191 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
| 3192 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
| 3193 | elseif Mode == "Vegito" then | |
| 3194 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), 0.1) | |
| 3195 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(2 * Sin(tick() / 1.5)), Rad(0), Rad(60)), 0.1) | |
| 3196 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(2 * Sin(tick() / 1.5))), 0.1) | |
| 3197 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(2 * Sin(tick() / 1.5))), 0.1) | |
| 3198 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(-90), Rad(-90)), 0.1) | |
| 3199 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(90), Rad(90)), 0.1) | |
| 3200 | elseif Mode == "Ultra" then | |
| 3201 | Neck.C0 = Neck.C0:lerp(Ncf, 0.1) | |
| 3202 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(Sin(tick() / 1.5)), Rad(0), Rad(0)), 0.1) | |
| 3203 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(Sin(tick() / 1.5))), 0.1) | |
| 3204 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(Sin(tick() / 1.5))), 0.1) | |
| 3205 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
| 3206 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
| 3207 | end | |
| 3208 | elseif Anim == "Walk" then | |
| 3209 | if Mode ~= "Ultra" then | |
| 3210 | Neck.C0 = Neck.C0:lerp(Ncf, 0.5) | |
| 3211 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
| 3212 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
| 3213 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
| 3214 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
| 3215 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
| 3216 | elseif Mode == "Ultra" then | |
| 3217 | Neck.C0 = Neck.C0:lerp(Ncf, 0.5) | |
| 3218 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
| 3219 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(-15), Rad(10 * Sin(tick() * 4))), 0.5) | |
| 3220 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(15), Rad(10 * Sin(tick() * 4))), 0.5) | |
| 3221 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
| 3222 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
| 3223 | end | |
| 3224 | elseif Anim == "Run" then | |
| 3225 | if Mode == "Ultra" then | |
| 3226 | Neck.C0 = Neck.C0:lerp(Ncf, 0.5) | |
| 3227 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
| 3228 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
| 3229 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
| 3230 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
| 3231 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
| 3232 | end | |
| 3233 | elseif Anim == "Float" then | |
| 3234 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.new(0, 0, Sin(tick()) / 10), 0.2) | |
| 3235 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.2) | |
| 3236 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.2) | |
| 3237 | LHip.C0 = LHip.C0:lerp(Lhcf, 0.2) | |
| 3238 | RHip.C0 = RHip.C0:lerp(Rhcf, 0.2) | |
| 3239 | Neck.C0 = Neck.C0:lerp(Ncf, 0.2) | |
| 3240 | elseif Anim == "Fly" then | |
| 3241 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(80), Rad(0), Rad(0)), 0.5) | |
| 3242 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-80), Rad(0), Rad(0)), 0.5) | |
| 3243 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5) | |
| 3244 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5) | |
| 3245 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5) | |
| 3246 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5) | |
| 3247 | elseif Anim == "FlyBack" then | |
| 3248 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), 0.5) | |
| 3249 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(40), Rad(0), Rad(0)), 0.5) | |
| 3250 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5) | |
| 3251 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5) | |
| 3252 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5) | |
| 3253 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5) | |
| 3254 | elseif Anim == "FlyLeft" then | |
| 3255 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(20), Rad(-90)), 0.5) | |
| 3256 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5) | |
| 3257 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5) | |
| 3258 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5) | |
| 3259 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5) | |
| 3260 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5) | |
| 3261 | elseif Anim == "FlyRight" then | |
| 3262 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(-20), Rad(90)), 0.5) | |
| 3263 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5) | |
| 3264 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5) | |
| 3265 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5) | |
| 3266 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5) | |
| 3267 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5) | |
| 3268 | end | |
| 3269 | else | |
| 3270 | Hrj.C0 = Hrj.C0:lerp(Hrjcf, 0.5) | |
| 3271 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5) | |
| 3272 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5) | |
| 3273 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5) | |
| 3274 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5) | |
| 3275 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5) | |
| 3276 | end | |
| 3277 | end | |
| 3278 | if Mode == "Ultra" and Sprint and Anim == "Run" then | |
| 3279 | local c = Clone:Clone() | |
| 3280 | c.Torso["Left Shoulder"].C0 = c.Torso["Left Shoulder"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
| 3281 | c.Torso["Right Shoulder"].C0 = c.Torso["Right Shoulder"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
| 3282 | c.Torso["Left Hip"].C0 = c.Torso["Left Hip"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
| 3283 | c.Torso["Right Hip"].C0 = c.Torso["Right Hip"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
| 3284 | c.HumanoidRootPart.RootJoint.C0 = c.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
| 3285 | for _, v in pairs(c:GetChildren()) do | |
| 3286 | if v:IsA("BasePart") then
| |
| 3287 | TweenService:Create(v, TweenInfo.new(0.1), {Transparency = 1}):Play()
| |
| 3288 | if v.Name == "Head" then | |
| 3289 | TweenService:Create(v.face, TweenInfo.new(0.1), {Transparency = 1}):Play()
| |
| 3290 | end | |
| 3291 | end | |
| 3292 | end | |
| 3293 | c.Parent = Char | |
| 3294 | game:GetService("Debris"):AddItem(c, 0.1)
| |
| 3295 | c.Torso.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(0, 0, 1).p, HRoot.CFrame.p) | |
| 3296 | end | |
| 3297 | if Dodge and Mode == "Ultra" then | |
| 3298 | do | |
| 3299 | local reg = CreateRegion3(HRoot.CFrame.p, Vector3.new(100, 100, 100)) | |
| 3300 | local hcf = HRoot.CFrame | |
| 3301 | for _, v in pairs(workspace:FindPartsInRegion3WithIgnoreList(reg, {Char}, 100)) do
| |
| 3302 | if v:IsA("BasePart") and v.Name ~= "KameHameHaUltra" and v:FindFirstChildOfClass("TouchTransmitter") then
| |
| 3303 | spawn(function() | |
| 3304 | v.Anchored = true | |
| 3305 | pcall(function() | |
| 3306 | v:FindFirstChildOfClass("TouchTransmitter"):Destroy()
| |
| 3307 | end) | |
| 3308 | spawn(function() | |
| 3309 | local c = Clone:Clone() | |
| 3310 | c.Parent = workspace | |
| 3311 | for _, v in pairs(c:GetChildren()) do | |
| 3312 | if v:IsA("BasePart") then
| |
| 3313 | v.Anchored = true | |
| 3314 | TweenService:Create(v, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 3315 | end | |
| 3316 | end | |
| 3317 | c:MoveTo(hcf.p) | |
| 3318 | game:GetService("Debris"):AddItem(c, 1)
| |
| 3319 | end) | |
| 3320 | Char:MoveTo(CFrame.new(v.CFrame.X, v.CFrame.Y, v.CFrame.Z) * CFrame.new(0, 0, v.Size.magnitude / 2 + 10).p) | |
| 3321 | game:GetService("Debris"):AddItem(v, 0.1)
| |
| 3322 | end) | |
| 3323 | end | |
| 3324 | end | |
| 3325 | for _, v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 3326 | if v.Character and v ~= Plr and 20 >= v:DistanceFromCharacter(Head.CFrame.p) then | |
| 3327 | spawn(function() | |
| 3328 | local c = Clone:Clone() | |
| 3329 | c.Parent = workspace | |
| 3330 | for _, v in pairs(c:GetChildren()) do | |
| 3331 | if v:IsA("BasePart") then
| |
| 3332 | v.Anchored = true | |
| 3333 | TweenService:Create(v, TweenInfo.new(1), {Transparency = 1}):Play()
| |
| 3334 | end | |
| 3335 | end | |
| 3336 | c:MoveTo(hcf.p) | |
| 3337 | game:GetService("Debris"):AddItem(c, 1)
| |
| 3338 | end) | |
| 3339 | Char:MoveTo(v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 25).p) | |
| 3340 | end | |
| 3341 | end | |
| 3342 | end | |
| 3343 | end | |
| 3344 | LArm.BrickColor = BrickColor.new("Pastel brown")
| |
| 3345 | RArm.BrickColor = BrickColor.new("Pastel brown")
| |
| 3346 | RLeg.BrickColor = BrickColor.new("Pastel brown")
| |
| 3347 | LLeg.BrickColor = BrickColor.new("Pastel brown")
| |
| 3348 | Torso.BrickColor = BrickColor.new("Pastel brown")
| |
| 3349 | Head.BrickColor = BrickColor.new("Pastel brown")
| |
| 3350 | if Mode == "Ultra" then | |
| 3351 | Nose.Transparency = 1 | |
| 3352 | Mouth.Transparency = 1 | |
| 3353 | else | |
| 3354 | Nose.Transparency = 0 | |
| 3355 | Mouth.Transparency = 0 | |
| 3356 | end | |
| 3357 | end) |