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