Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- print("FE Compatibility code V2 by Mokiros")
- local RealPlayer = RealPlayer
- script.Parent = RealPlayer.Character
- --Fake event to make stuff like Mouse.KeyDown work
- local Disconnect_Function = function(this)
- this[1].Functions[this[2]] = nil
- end
- local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
- local FakeEvent_Metatable = {__index={
- Connect = function(this,f)
- local i = tostring(math.random(0,10000))
- while this.Functions[i] do
- i = tostring(math.random(0,10000))
- end
- this.Functions[i] = f
- return setmetatable({this,i},Disconnect_Metatable)
- end
- }}
- FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
- local function fakeEvent()
- return setmetatable({Functions={}},FakeEvent_Metatable)
- end
- --Creating fake input objects with fake variables
- local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
- FakeMouse.keyUp = FakeMouse.KeyUp
- FakeMouse.keyDown = FakeMouse.KeyDown
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function TriggerEvent(self,ev,...)
- for _,f in pairs(self[ev].Functions) do
- f(...)
- end
- end
- FakeMouse.TriggerEvent = TriggerEvent
- UIS.TriggerEvent = TriggerEvent
- --Client communication
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=RealPlayer then return end
- FakeMouse.Target = io.Target
- FakeMouse.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
- end
- if io.UserInputType == Enum.UserInputType.MouseButton2 then
- return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
- local Mouse = owner:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,RobloxHandled)
- if RobloxHandled then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data every second frame, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- local HB = game:GetService("RunService").Heartbeat
- while true do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- --Wait 2 frames
- for i=1,2 do
- HB:Wait()
- end
- end]==],script)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local RealGame = game
- --Metatable for fake service
- local FakeService_Metatable = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then
- return typeof(s[k])=="function"
- and function(_,...)return s[k](s,...)end or s[k]
- end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
- return setmetatable(t,FakeService_Metatable)
- end
- --Fake game object
- local FakeGame = {
- GetService = function(self,s)
- return rawget(self,s) or RealGame:GetService(s)
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- RunService = FakeService({
- _btrs = {},
- RenderStepped = RealGame:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- self._btrs[name] = self.Heartbeat:Connect(fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- }
- rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
- FakeGame.service = FakeGame.GetService
- FakeService(FakeGame,game)
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = FakeGame,FakeGame.Players.LocalPlayer
- end
- -- Credits by venturiansonic
- wait(0.3)
- Colours = {
- Spirit = {
- BrickColor.new("Electric blue"),
- BrickColor.new("Institutional white")
- }
- }
- Keys = {}
- UserInputService = game:GetService("UserInputService")
- TweenService = game:GetService("TweenService")
- Chat = game:GetService("Chat")
- Plr = game:GetService("Players").LocalPlayer
- Mouse = Plr:GetMouse()
- Char = Plr.Character
- Human = Char:FindFirstChildOfClass("Humanoid")
- assert(Human.RigType == Enum.HumanoidRigType.R6, "You need to be in r6 to use this script! R15 won't work.")
- Motor6DClones = {}
- BodyPartClones = {}
- Rad = math.rad
- Sin = math.sin
- Random = math.random
- Floor = math.floor
- Torso = Char.Torso
- HRoot = Char.HumanoidRootPart
- LArm = Char["Left Arm"]
- RArm = Char["Right Arm"]
- LLeg = Char["Left Leg"]
- RLeg = Char["Right Leg"]
- Head = Char.Head
- Hrj = HRoot.RootJoint
- LShold = Torso["Left Shoulder"]
- RShold = Torso["Right Shoulder"]
- LHip = Torso["Left Hip"]
- RHip = Torso["Right Hip"]
- Last = "Left"
- Anim = "Idle"
- Dir = "None"
- Mode = "Base"
- Falling = false
- Flying = false
- After = false
- Typing = false
- CanMelee = false
- Attacking = false
- Sprint = false
- Walkspeed = 16
- Char.Animate.Disabled = true
- Human.Animator:Destroy()
- Human:RemoveAccessories()
- Char.Sound:Destroy()
- Char.Animate:Destroy()
- Dodge = false
- Neck = Torso.Neck
- Lscf = LShold.C0
- Rscf = RShold.C0
- Lhcf = LHip.C0
- Rhcf = RHip.C0
- Ncf = Neck.C0
- Hrjcf = Hrj.C0
- local instinct = false
- HRoot.Touched:connect(function(hit)
- local h = hit.Parent:FindFirstChild("Part")
- if h ~= nil and Human.Health > 0 and instinct == true then
- HRoot.Anchored = true
- HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0))
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i)
- SWait()
- end
- HRoot.Anchored = false
- local ay = math.random(1, 2)
- if ay == 1 then
- HRoot.Anchored = true
- HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0))
- HRoot.Anchored = false
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(300)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i)
- SWait()
- end
- end
- end
- end)
- Torso.Touched:connect(function(hit)
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- if h ~= nil and Human.Health > 0 and instinct == true then
- HRoot.Anchored = true
- HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0))
- HRoot.Anchored = false
- local ay = math.random(1, 2)
- if ay == 1 then
- HRoot.Anchored = true
- HRoot.Anchored = false
- end
- end
- end)
- Head.Touched:connect(function(hit)
- local h = hit.Parent:FindFirstChild("NewPart")
- if h ~= nil and Human.Health > 0 and instinct == true then
- HRoot.Anchored = true
- HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0))
- HRoot.Anchored = false
- local ay = math.random(1, 2)
- if ay == 1 then
- HRoot.Anchored = true
- HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-180), math.rad(0))
- HRoot.Anchored = false
- end
- end
- end)
- HRoot.Touched:connect(function(hit)
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- if h ~= nil and Human.Health > 0 and instinct == true then
- HRoot.Anchored = true
- HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0))
- HRoot.Anchored = false
- local ay = math.random(1, 2)
- if ay == 1 then
- HRoot.Anchored = true
- HRoot.Anchored = false
- end
- end
- end)
- HRoot.Touched:connect(function(hit)
- local h = hit.Parent:FindFirstChild("NewPart")
- if h ~= nil and Human.Health > 0 and instinct == true then
- HRoot.Anchored = true
- HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf, i)
- SWait()
- end
- HRoot.Anchored = false
- local ay = math.random(1, 2)
- if ay == 1 then
- HRoot.Anchored = true
- HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0))
- HRoot.Anchored = false
- end
- end
- end)
- if Char:FindFirstChildOfClass("BodyColors") then
- Char:FindFirstChildOfClass("BodyColors"):Destroy()
- end
- for _, v in pairs(Char:GetChildren()) do
- if v:IsA("Clothing") or v:IsA("ShirtGraphic") then
- v:Destroy()
- elseif v:IsA("BasePart") then
- v.BrickColor = BrickColor.new("Pastel brown")
- end
- end
- function SWait(float)
- if not float then
- return game:GetService("RunService").RenderStepped:wait()
- else
- return game:GetService("RunService").RenderStepped:wait(float)
- end
- end
- function Smooth(part)
- part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- end
- function Create(Class, Parent, Name, Extra)
- local asd = Instance.new(Class, Parent)
- asd.Name = Name or Class
- if asd:IsA("BasePart") then
- Smooth(asd)
- end
- for i, v in pairs(Extra or {}) do
- asd[i] = v
- end
- return asd
- end
- function newWeld(parent, P0, P1, C0, C1)
- local weld = Instance.new("Motor6D", parent or P0)
- weld.Part0 = P0
- weld.Part1 = P1
- weld.C0 = C0 or weld.C0
- weld.C1 = C1 or weld.C1
- return weld
- end
- function findRealAncestor(inst)
- local par = inst.Parent
- local lastPar = inst
- repeat
- lastPar = par
- if par.Parent == nil then
- par = workspace
- else
- par = par.Parent
- end
- wait()
- until par == workspace
- return lastPar or nil
- end
- function createEmit(props)
- for _, v in pairs(Char:GetChildren()) do
- if v:IsA("BasePart") then
- local emit = Instance.new("ParticleEmitter", v)
- for i, v in pairs(props or {}) do
- emit[i] = v
- end
- end
- end
- end
- function toggleEmitters(arg)
- if arg ~= "AllOff" then
- for _, v in pairs(Char:GetDescendants()) do
- if v.Name == arg and v:IsA("ParticleEmitter") then
- v.Enabled = not v.Enabled
- end
- end
- else
- for _, v in pairs(Char:GetDescendants()) do
- if v:IsA("ParticleEmitter") then
- v.Enabled = false
- end
- end
- end
- end
- function stopAllSounds()
- for _, v in pairs(Char:GetDescendants()) do
- if v:IsA("Sound") then
- v:Stop()
- end
- end
- end
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * Range), Ignore and Char, false, false)
- end
- function CreateRegion3(pos, siz)
- local offset = siz / 2
- local p1 = pos - offset
- local p2 = pos + offset
- return Region3.new(p1, p2)
- end
- Char.Head.face.Texture = "rbxassetid://413593222"
- Shirt = Create("Shirt", Char, "Shirt", {
- ShirtTemplate = "http://www.roblox.com/asset/?id=1488400985"
- })
- Pants = Create("Pants", Char, "Pants", {
- PantsTemplate = "http://www.roblox.com/asset/?id=1488404117"
- })
- Hair = Create("Part", Char, "Hair", {
- CanCollide = false,
- BrickColor = BrickColor.new("Black metallic")
- })
- Nose = Create("Decal", Head, "Decal", {
- Texture = "rbxassetid://0"
- })
- Mouth = Create("Decal", Head, "Decal", {
- Texture = "rbxassetid://0"
- })
- Create("SpecialMesh", Hair, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=1378167215",
- Scale = Vector3.new(1.1, 1.1, 1.1),
- Offset = Vector3.new(0, 0.48, -0.4)
- })
- HairWeld = newWeld(Head, Hair, Head, CFrame.new(0, -0.3, 0))
- KamehamehaSound = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://551399476",
- Volume = 2,
- EmitterSize = 50
- })
- PunchSound = Create("Sound", Torso, "Sound", {
- SoundId = "rbxassetid://573604054",
- Volume = 4,
- EmitterSize = 2
- })
- SpiritBombSound = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://919429799",
- Volume = 2,
- EmitterSize = 50
- })
- ExplosionSound = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://638861091",
- Volume = 3,
- EmitterSize = 100
- })
- PunchSound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://137579113",
- Volume = 4,
- EmitterSize = 100
- })
- PunchSound3 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://748050177",
- Volume = 4,
- EmitterSize = 5
- })
- ExplosionSound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://165970126",
- Volume = 4
- })
- UltraSound1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://1136905493",
- Volume = 1,
- EmitterSize = 100,
- Looped = true
- })
- UltraSound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://232213955",
- Volume = 2
- })
- SSJScream1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://527276541",
- Volume = 2
- })
- SSJScream2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://975468335",
- Volume = 2
- })
- SSJSound1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://437393965",
- Volume = 2
- })
- SSJSound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://891397456",
- Volume = 4,
- Looped = true
- })
- SSJSound3 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://390946253",
- Volume = 2,
- EmitterSize = 100,
- Looped = true
- })
- SSJ2Sound1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://850205092",
- Volume = 4,
- Looped = true
- })
- SSJ2Sound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://144377132",
- Volume = 2,
- Looped = true,
- EmitterSize = 100
- })
- SSJ3Sound1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://156056027",
- Volume = 2,
- Looped = true,
- EmitterSize = 100
- })
- SSJGSound1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://612450955",
- Volume = 2,
- Looped = true,
- EmitterSize = 100
- })
- SSJGSound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://590580266",
- Volume = 4,
- Looped = true
- })
- PowerDown = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://550621034",
- Volume = 4,
- EmitterSize = 100
- })
- SSJBSound1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://874183151",
- Volume = 2
- })
- SSJBSound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://180572775",
- Volume = 2,
- Looped = true,
- EmitterSize = 100
- })
- SSJBSound3 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://443386048",
- Volume = 4,
- Looped = true
- })
- Hcf = HairWeld.C0
- FloatVel = Create("BodyVelocity", nil, "Float", {
- MaxForce = Vector3.new(0, 0, 0),
- Velocity = Vector3.new(0, 0, 0)
- })
- FloatGyro = Create("BodyGyro", nil, "Gyro", {
- MaxTorque = Vector3.new(0, 0, 0),
- P = 30000
- })
- Char.Archivable = true
- Clone = Char:Clone()
- Clone.Shirt.ShirtTemplate = "rbxassetid://1162887253"
- Clone.Pants.PantsTemplate = "rbxassetid://1162887782"
- Clone.Hair.Mesh.MeshId = "rbxassetid://1125231485"
- Clone.Head.Motor6D.C0 = Clone.Head.Motor6D.C0 * CFrame.Angles(Rad(0), Rad(180), Rad(0))
- Clone:FindFirstChildOfClass("Humanoid").DisplayDistanceType = "None"
- Human.MaxHealth = 50000
- wait(0.01)
- Human.Health = 50000
- if Clone:FindFirstChildOfClass("ForceField") then
- Clone:FindFirstChildOfClass("ForceField"):Destroy()
- end
- Char.Archivable = false
- SSJContainer = Create("BillboardGui", HRoot, "BillboardGui", {
- ExtentsOffset = Vector3.new(0, 0, 0),
- MaxDistance = math.huge,
- Size = UDim2.new(20, 0, 20, 0)
- })
- Aura = Create("ImageLabel", SSJContainer, "ImageLabel", {
- BackgroundTransparency = 1,
- Size = UDim2.new(2, 0, 1, 0),
- Position = UDim2.new(-0.5, 0, -0.2, 0)
- })
- createEmit({
- Name = "UltAura",
- Color = ColorSequence.new(Color3.fromRGB(0, 170, 255)),
- LightEmission = 0.15,
- LightInfluence = 1,
- Size = NumberSequence.new(1),
- Texture = "rbxassetid://833874434",
- Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1),
- NumberSequenceKeypoint.new(0.117, 0.705),
- NumberSequenceKeypoint.new(0.655, 0.732),
- NumberSequenceKeypoint.new(1, 1)
- }),
- Lifetime = NumberRange.new(2),
- Rate = 25,
- RotSpeed = NumberRange.new(-100, 100),
- Speed = NumberRange.new(0.5),
- SpreadAngle = Vector2.new(15, 15),
- ZOffset = -2,
- Enabled = false,
- LockedToPart = true
- })
- createEmit({
- Name = "UltAura",
- Color = ColorSequence.new(Color3.fromRGB(85, 0, 255)),
- LightEmission = 0.15,
- LightInfluence = 1,
- Size = NumberSequence.new(0.95),
- Texture = "rbxassetid://833874434",
- Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1),
- NumberSequenceKeypoint.new(0.117, 0.705),
- NumberSequenceKeypoint.new(0.655, 0.732),
- NumberSequenceKeypoint.new(1, 1)
- }),
- Lifetime = NumberRange.new(2),
- Rate = 25,
- RotSpeed = NumberRange.new(-100, 100),
- Speed = NumberRange.new(0.5),
- SpreadAngle = Vector2.new(15, 15),
- ZOffset = -3,
- Enabled = false,
- LockedToPart = true
- })
- createEmit({
- Name = "UltAura",
- Color = ColorSequence.new(Color3.fromRGB(255, 255, 255)),
- LightEmission = 0.15,
- LightInfluence = 1,
- Size = NumberSequence.new(0.9),
- Texture = "rbxassetid://833874434",
- Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1),
- NumberSequenceKeypoint.new(0.117, 0.705),
- NumberSequenceKeypoint.new(0.655, 0.732),
- NumberSequenceKeypoint.new(1, 1)
- }),
- Lifetime = NumberRange.new(2),
- Rate = 25,
- RotSpeed = NumberRange.new(-100, 100),
- Speed = NumberRange.new(0.5),
- SpreadAngle = Vector2.new(15, 15),
- ZOffset = -1,
- Enabled = false,
- LockedToPart = true
- })
- function keyDown(key)
- Keys[key] = true
- if Attacking then
- return
- end
- if Mode ~= "Ultra" then
- if key == Enum.KeyCode.Z then
- Attacking = true
- do
- local cached = {}
- local function onTouch(h)
- if h.Parent == nil then
- return
- end
- if h:IsDescendantOf(Char) then
- return
- end
- if cached[h.Parent] then
- return
- end
- local hum = h.Parent:FindFirstChildOfClass("Humanoid")
- local tor = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("HumanoidRootPart")
- if hum and tor then
- local ring = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Institutional white"),
- Size = Vector3.new(1, 1, 1),
- CFrame = CFrame.new(tor.CFrame.p, HRoot.CFrame.p)
- })
- ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(180), Rad(0))
- local mesh = Create("SpecialMesh", ring, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=20329976",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(20, 1, 20)
- }):Play()
- game:GetService("Debris"):AddItem(ring, 1)
- for _, v in pairs(h.Parent:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 120)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 100)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 90)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 80)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 70)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 65)
- elseif Mode == "SSJBKK" then
- hum:TakeDamage(hum.MaxHealth / 60)
- elseif Mode == "Vegito" then
- hum:TakeDamage(hum.MaxHealth / 0.1)
- end
- cached[h.Parent] = true
- spawn(function()
- wait(0.1)
- cached[h.Parent] = nil
- end)
- end
- end
- local lac = LArm.Touched:connect(onTouch)
- local rac = RArm.Touched:connect(onTouch)
- PunchSound.Looped = true
- PunchSound:Play()
- for i = 0, 18 do
- for i = 0, 0.4, 0.1 do
- Neck.C0 = Neck.C0:lerp(Ncf, i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i)
- SWait()
- end
- for i = 0, 0.4, 0.1 do
- Neck.C0 = Neck.C0:lerp(Ncf, i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(-90)), i)
- SWait()
- end
- end
- PunchSound.Looped = false
- PunchSound:Stop()
- lac:Disconnect()
- rac:Disconnect()
- Attacking = false
- end
- elseif key == Enum.KeyCode.X then
- if Mouse.Target.Parent == nil then
- return
- end
- Attacking = true
- Walkspeed = 0
- do
- local targ = Mouse.Target.Parent
- local hum = targ:FindFirstChildOfClass("Humanoid")
- local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
- if not hum or not tor then
- Attacking = false
- Walkspeed = 16
- return
- end
- for i = 0, 0.2, 0.01 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-20)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(20)), i)
- SWait()
- end
- local bv = Create("BodyVelocity", HRoot, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = Vector3.new(0, 100, 0)
- })
- for i = 0, 0.2, 0.01 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf, i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), i)
- SWait()
- end
- for i = 0, 100 do
- bv.Velocity = bv.Velocity - Vector3.new(0, 1, 0)
- if 0 > bv.Velocity.Y then
- bv.Velocity = Vector3.new(0, 0, 0)
- break
- end
- SWait()
- end
- for i = 0, 0.2, 0.01 do
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-25), Rad(0), Rad(180)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-25), Rad(0), Rad(-180)), i)
- SWait()
- end
- game:GetService("Chat"):Chat(Head, "Prepare yourself! Here I go!", Enum.ChatColor.White)
- tor.Anchored = true
- Char:MoveTo(tor.CFrame * CFrame.new(0, -1, 2.2).p)
- local Music3 = Instance.new("Sound", Torso)
- Music3.SoundId = "rbxassetid://1055279036"
- Music3.Volume = 6
- Music3.Pitch = 1
- Music3.Looped = false
- Music3:Play()
- game:GetService("Chat"):Chat(Head, "HAAA!", Enum.ChatColor.White)
- Torso.CFrame = CFrame.new(Torso.CFrame.p, tor.CFrame.p)
- local cached = {}
- local function damage()
- local ring = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Institutional white"),
- Size = Vector3.new(1, 1, 1),
- CFrame = tor.CFrame
- })
- local mesh = Create("SpecialMesh", ring, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(20, 20, 1)
- }):Play()
- game:GetService("Debris"):AddItem(ring, 1)
- for _, v in pairs(targ.Parent:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 140)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 110)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 100)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 90)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 70)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 60)
- elseif Mode == "SSJBKK" then
- hum:TakeDamage(hum.MaxHealth / 50)
- elseif Mode == "Vegito" then
- hum:TakeDamage(hum.MaxHealth / 0.1)
- end
- end
- PunchSound.Looped = true
- PunchSound:Play()
- for i = 0, 6 do
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i)
- SWait()
- end
- damage()
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(-90)), i)
- SWait()
- end
- damage()
- end
- PunchSound.Looped = false
- PunchSound:Stop()
- PunchSound3:Play()
- for i = 0, 0.1, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(0), Rad(-130)), i)
- SWait()
- end
- game:GetService("Chat"):Chat(Head, "DYAH!", Enum.ChatColor.White)
- damage()
- local orig = tor.CFrame
- local bv2 = Create("BodyVelocity", tor, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = Vector3.new(0, 50, 0)
- })
- tor.Anchored = false
- wait(1)
- for i = 0, 100 do
- bv2.Velocity = bv2.Velocity - Vector3.new(0, 1, 0)
- if 0 > bv2.Velocity.Y then
- bv2.Velocity = Vector3.new(0, 0, 0)
- break
- end
- SWait()
- end
- Char:MoveTo(tor.CFrame * CFrame.new(0, 1, 2).p)
- local Music3 = Instance.new("Sound", Torso)
- Music3.SoundId = "rbxassetid://1055279036"
- Music3.Volume = 6
- Music3.Pitch = 1
- Music3.Looped = false
- Music3:Play()
- for i = 0, 0.2, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-50), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(50)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-50)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-140)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(140)), i)
- SWait()
- end
- for i = 0, 0.2, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(50), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-50)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(50)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(40)), i)
- SWait()
- end
- game:GetService("Chat"):Chat(Head, "HYYAAAAH!!", Enum.ChatColor.White)
- damage()
- bv2:Destroy()
- local asd = false
- PunchSound3:Play()
- spawn(function()
- wait(2)
- if not asd and Attacking then
- Attacking = false
- bv:Destroy()
- Walkspeed = 16
- game:GetService("Chat"):Chat(Head, "Hehe, You're pretty strong!", Enum.ChatColor.White)
- end
- end)
- hum.StateChanged:connect(function(old, state)
- if state == Enum.HumanoidStateType.Landed then
- local ray = Ray.new(HRoot.CFrame.p, HRoot.CFrame * CFrame.new(0, -1000, 0).p.unit * 500)
- local part, pos, face, material = workspace:FindPartOnRay(ray, Char, false, false)
- ExplosionSound2:Play()
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 102)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 83)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 66)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 49)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 32)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 15)
- end
- for i = 0, 360, 36 do
- local debris = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = part.BrickColor or BrickColor.new("Bright green"),
- Material = material or Enum.Material.Grass,
- Size = Vector3.new(15, 20, 10),
- CFrame = tor.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -15)
- })
- debris.CFrame = debris.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0))
- TweenService:Create(debris, TweenInfo.new(2), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(debris, 2)
- end
- asd = true
- bv:Destroy()
- Walkspeed = 16
- Attacking = false
- end
- end)
- end
- elseif key == Enum.KeyCode.C then
- Attacking = true
- local orb1 = Create("Part", Char, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1)
- })
- local smesh = Create("SpecialMesh", orb1, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.001, 0.001, 0.001)
- })
- local orb2 = Create("Part", Char, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1)
- })
- local smesh2 = Create("SpecialMesh", orb2, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.001, 0.001, 0.001)
- })
- newWeld(orb1, LArm, orb1, CFrame.new(0, -1, 0))
- newWeld(orb2, RArm, orb2, CFrame.new(0, -1, 0))
- for i = 0, 0.28, 0.01 do
- Neck.C0 = Neck.C0:lerp(Ncf, i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf, i)
- Neck.C0 = Neck.C0:lerp(Ncf, i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(90)), i)
- SWait()
- end
- TweenService:Create(smesh, TweenInfo.new(1), {
- Scale = Vector3.new(1, 1, 1)
- }):Play()
- TweenService:Create(smesh2, TweenInfo.new(1), {
- Scale = Vector3.new(1, 1, 1)
- }):Play()
- wait(1)
- for i = 0, 20, 0.1 do
- do
- local blast = Create("Part", workspace, "EB", {
- CanCollide = false,
- BrickColor = BrickColor.new("Electric blue"),
- Material = "Neon",
- Size = Vector3.new(2, 2, 2),
- CFrame = HRoot.CFrame * CFrame.new(Random(-4, 4), Random(0, 2), -2)
- })
- local mesh = Create("SpecialMesh", blast, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.6, 0.6, 1)
- })
- local bv = Create("BodyVelocity", blast, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = HRoot.CFrame.lookVector * 180
- })
- game:GetService("Debris"):AddItem(blast, 2)
- blast.Touched:connect(function(h)
- if h.Parent == nil then
- return
- end
- if h:IsDescendantOf(Char) then
- return
- end
- if h.Name == "EB" then
- return
- end
- local hum = h.Parent:FindFirstChildOfClass("Humanoid")
- local tor = h.Parent:FindFirstChild("Toros") or h.Parent:FindFirstChild("HumanoidRootPart")
- blast.Anchored = true
- local nb = blast:Clone()
- blast:Destroy()
- nb.Parent = workspace
- TweenService:Create(nb, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(nb.Mesh, TweenInfo.new(1), {
- Scale = Vector3.new(4, 4, 4)
- }):Play()
- game:GetService("Debris"):AddItem(nb, 1)
- if hum and tor then
- for _, v in pairs(h.Parent:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 105)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 90)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 80)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 70)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 60)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 50)
- elseif Mode == "SSJBKK" then
- hum:TakeDamage(hum.MaxHealth / 40)
- elseif Mode == "Vegito" then
- hum:TakeDamage(hum.MaxHealth / 0.1)
- end
- end
- end)
- SWait()
- end
- end
- TweenService:Create(smesh, TweenInfo.new(1), {
- Scale = Vector3.new(0.001, 0.001, 0.001)
- }):Play()
- TweenService:Create(smesh2, TweenInfo.new(1), {
- Scale = Vector3.new(0.001, 0.001, 0.001)
- }):Play()
- game:GetService("Debris"):AddItem(orb1, 1)
- game:GetService("Debris"):AddItem(orb2, 1)
- Attacking = false
- elseif key == Enum.KeyCode.V then
- Attacking = true
- Walkspeed = 0
- KamehamehaSound:Play()
- do
- local orb = Create("Part", Char, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1)
- })
- newWeld(LArm, orb, LArm, CFrame.new(0, 1, 0))
- local smesh = Create("SpecialMesh", orb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.01, 0.01, 0.01)
- })
- for i = 0, 1, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-65)) * CFrame.new(0, 0.2, 0), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(80), Rad(65)), i)
- wait()
- end
- TweenService:Create(smesh, TweenInfo.new(4.7), {
- Scale = Vector3.new(2, 2, 2)
- }):Play()
- wait(4.7)
- local fire = false
- for i = 0, 1, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(-50), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(40), Rad(90)), i)
- if i >= 0.8 and not fire then
- fire = true
- end
- wait()
- end
- spawn(function()
- repeat
- SWait()
- until fire
- local hitb = Create("Part", workspace, "KameHameHaUltra", {
- Anchored = true,
- CanCollide = false,
- Transparency = 1,
- Size = Vector3.new(74, 74, 700),
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -350)
- })
- local beam = Create("Part", workspace, "KameHameHaUltra", {
- Anchored = true,
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -2)
- })
- local mesh = Create("SpecialMesh", beam, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(mesh, TweenInfo.new(0.5), {
- Scale = Vector3.new(74, 74, 700)
- }):Play()
- TweenService:Create(beam, TweenInfo.new(0.5), {
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -350)
- }):Play()
- local done = false
- spawn(function()
- repeat
- local airPart = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -2)
- })
- airPart.CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(90), Rad(90))
- local airMesh = Create("SpecialMesh", airPart, "Mesh", {
- MeshId = "rbxassetid://0",
- Scale = Vector3.new(6, 40, 6),
- Offset = Vector3.new(0, -100, 0)
- })
- TweenService:Create(airPart, TweenInfo.new(0.1), {
- Transparency = 1,
- CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0))
- }):Play()
- game:GetService("Debris"):AddItem(airPart, 0.1)
- SWait()
- until done
- end)
- hitb.Touched:connect(function(h)
- if h.Parent == nil then
- return
- end
- if h:IsDescendantOf(Char) then
- return
- end
- local anc
- local a, b = pcall(function()
- anc = findRealAncestor(h)
- end)
- if a then
- local hum = anc:FindFirstChildOfClass("Humanoid")
- if hum then
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 80)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 70)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 60)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 50)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 40)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 30)
- end
- game:GetService("Debris"):AddItem(Create("BodyVelocity", anc:FindFirstChildOfClass("HumanoidRootPart") or anc:FindFirstChild("Head"), "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = HRoot.CFrame.lookVector * 20
- }), 10)
- end
- end
- end)
- local kameOn = true
- local HAA = Instance.new("Sound", Torso)
- HAA.SoundId = "rbxassetid://551399627"
- HAA.Pitch = 1
- HAA.Looped = false
- HAA.Volume = 3.2
- wait(1.0E-4)
- HAA:Play()
- local Music2 = Instance.new("Sound", Torso)
- Music2.SoundId = "rbxassetid://1117288204"
- Music2.Pitch = 1
- Music2.Looped = false
- Music2.Volume = 7.2
- wait(1.0E-4)
- Music2:Play()
- Music2.Ended:connect(function()
- if not kameOn then
- return
- end
- KamehamehaSound.Volume = 4
- kameOn = false
- done = true
- hitb:Destroy()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(0.01, 0.01, 4)
- }):Play()
- TweenService:Create(beam, TweenInfo.new(1), {
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -4)
- }):Play()
- TweenService:Create(smesh, TweenInfo.new(1), {
- Scale = Vector3.new(0.01, 0.01, 0.01)
- }):Play()
- game:GetService("Debris"):AddItem(beam, 1)
- game:GetService("Debris"):AddItem(orb, 1)
- wait(1)
- Walkspeed = 16
- Attacking = false
- end)
- end)
- end
- elseif key == Enum.KeyCode.B and Mode == "SSJG" then
- if Mouse.Target.Parent == nil then
- return
- end
- local targ = Mouse.Target.Parent
- local hum = targ:FindFirstChildOfClass("Humanoid")
- local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
- if not hum or not tor then
- return
- end
- Attacking = true
- local temp = newWeld(tor, HRoot, tor, CFrame.new(0, 0, -2))
- PunchSound.Looped = true
- PunchSound:Play()
- Chat:Chat(Head, "You're pretty strong! Let's see you keep up with me now!", Enum.ChatColor.White)
- for i = 0, 6 do
- for _, v in pairs(targ:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- local ring1 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = tor.CFrame
- })
- local mesh1 = Create("SpecialMesh", ring1, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(4, 4, 1)
- })
- TweenService:Create(ring1, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh1, TweenInfo.new(1), {
- Scale = Vector3.new(20, 20, 1)
- }):Play()
- game:GetService("Debris"):AddItem(ring1, 1)
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf, i)
- SWait()
- end
- hum:TakeDamage(hum.MaxHealth / 20)
- local ring2 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = tor.CFrame
- })
- local mesh2 = Create("SpecialMesh", ring2, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(4, 4, 1)
- })
- TweenService:Create(ring2, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh2, TweenInfo.new(1), {
- Scale = Vector3.new(20, 20, 1)
- }):Play()
- game:GetService("Debris"):AddItem(ring2, 1)
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90)), i)
- SWait()
- end
- hum:TakeDamage(hum.MaxHealth / 20)
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-20), Rad(120), Rad(0)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(90)), i)
- SWait()
- end
- hum:TakeDamage(hum.MaxHealth / 20)
- end
- PunchSound:Stop()
- PunchSound.Looped = false
- PunchSound3:Play()
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf, i)
- SWait()
- end
- hum:TakeDamage(hum.MaxHealth / 20)
- game:GetService("Debris"):AddItem(Create("BodyVelocity", tor, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = HRoot.CFrame.lookVector * 100
- }), 1)
- temp:Destroy()
- Attacking = false
- elseif key == Enum.KeyCode.R then
- if Mouse.Target.Parent == nil then
- return
- end
- local targ = Mouse.Target.Parent
- local hum = targ:FindFirstChildOfClass("Humanoid")
- local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
- if not hum or not tor then
- return
- end
- wait(1)
- game:GetService("Chat"):Chat(Head, "HA!", Enum.ChatColor.White)
- local Music3 = Instance.new("Sound", Torso)
- Music3.SoundId = "rbxassetid://1050751126"
- Music3.Volume = 6
- Music3.Pitch = 1
- Music3.Looped = false
- Music3:Play()
- for i = 0, 3, 0.1 do
- do
- local rp = Create("RocketPropulsion", Torso, "BV", {
- MaxTorque = Vector3.new(200000000, 200000000, 200000000),
- MaxSpeed = 100,
- CartoonFactor = 1,
- TargetRadius = 1,
- MaxThrust = 40000,
- Target = tor
- })
- rp:Fire()
- coroutine.resume(coroutine.create(function()
- wait(3)
- rp:remove()
- end))
- SWait()
- end
- end
- Attacking = false
- elseif key == Enum.KeyCode.M then
- if Mouse.Target.Parent == nil then
- return
- end
- game:GetService("Chat"):Chat(Head, "Try this one! HA!", Enum.ChatColor.White)
- do
- local targ = Mouse.Target.Parent
- local hum = targ:FindFirstChildOfClass("Humanoid")
- local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
- if not hum or not tor then
- return
- end
- Attacking = true
- local Runnin = true
- local weld = newWeld(Torso, tor, HRoot, CFrame.new(0, 0, 2))
- local function damage()
- local ring = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Institutional white"),
- Size = Vector3.new(1, 1, 1),
- CFrame = CFrame.new(HRoot.CFrame.p, tor.CFrame.p)
- })
- ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(180), Rad(0))
- local mesh = Create("SpecialMesh", ring, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=20329976",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(20, 1, 20)
- }):Play()
- game:GetService("Debris"):AddItem(ring, 1)
- for _, v in pairs(targ:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 160)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 130)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 110)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 50)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 30)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 20)
- elseif Mode == "SSJBKK" then
- hum:TakeDamage(hum.MaxHealth / 1)
- end
- end
- SWait()
- PunchSound.Looped = true
- PunchSound:Play()
- for i = 0, 12 do
- Neck.C0 = Ncf
- Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40))
- LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90))
- RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90))
- damage()
- wait(0.1)
- Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40))
- LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90))
- RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90))
- damage()
- wait(0.1)
- end
- PunchSound:Stop()
- PunchSound3:Play()
- local bv = Create("BodyVelocity", HRoot, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = Vector3.new(0, 0, 0)
- })
- weld:Destroy()
- Char:MoveTo(HRoot.CFrame * CFrame.new(0, 20, 0).p)
- PunchSound:Play()
- local weld = newWeld(Torso, tor, HRoot, CFrame.new(0, 0, 2))
- for i = 0, 24 do
- Neck.C0 = Ncf
- Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40))
- LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90))
- RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90))
- damage()
- wait(0.1)
- Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40))
- LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90))
- RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90))
- damage()
- wait(0.1)
- end
- PunchSound:Stop()
- local gyro = Create("BodyGyro", HRoot, "Gyro", {
- MaxTorque = Vector3.new(200000000, 200000000, 200000000),
- P = 30000
- })
- local conn = game:GetService("RunService").RenderStepped:connect(function()
- gyro.CFrame = workspace.CurrentCamera.CFrame
- end)
- weld:Destroy()
- hum.StateChanged:connect(function(old, new)
- if not Runnin then
- return
- end
- if new == Enum.HumanoidStateType.Landed then
- Runnin = false
- for _, v in pairs(targ:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- hum:TakeDamage(hum.MaxHealth / 100)
- ExplosionSound2:Play()
- local ray = Ray.new(HRoot.CFrame.p, HRoot.CFrame * CFrame.new(0, -1000, 0).p.unit * 500)
- local part, pos, face, material = workspace:FindPartOnRay(ray, Char, false, false)
- for i = 0, 360, 36 do
- local debris = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = part.BrickColor or BrickColor.new("Bright green"),
- Material = material or Enum.Material.Grass,
- Size = Vector3.new(15, 20, 10),
- CFrame = tor.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -15)
- })
- debris.CFrame = debris.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0))
- TweenService:Create(debris, TweenInfo.new(10), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(debris, 10)
- end
- end
- end)
- local onTouch = function(part, h)
- if h:IsDescendantOf(Char) then
- return
- end
- if h.Name:lower() == "kib" then
- return
- end
- local nk = part:Clone()
- nk.Parent = workspace
- nk.Anchored = true
- part:Destroy()
- TweenService:Create(nk, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(nk.Mesh, TweenInfo.new(1), {
- Scale = Vector3.new(16, 16, 16)
- }):Play()
- game:GetService("Debris"):AddItem(nk, 1)
- for _, v in pairs(workspace:GetChildren()) do
- if v:FindFirstChildOfClass("Humanoid") and v ~= Char then
- local tor = v:FindFirstChild("Torso") or v:FindFirstChild("HumanoidRootPart")
- local hum = v:FindFirstChildOfClass("Humanoid")
- if tor and (tor.Position - nk.Position).magnitude <= 80 then
- for _, b in pairs(v:GetChildren()) do
- if b:IsA("ForceField") then
- b:Destroy()
- end
- end
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 60)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 50)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 30)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 6)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 3)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 1)
- end
- end
- end
- end
- end
- Flying = true
- for i = 0, 100 do
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i)
- SWait()
- end
- do
- local kib = Create("Part", workspace, "Kib", {
- CanCollide = false,
- BrickColor = BrickColor.new("Electric blue"),
- Material = "Neon",
- Size = Vector3.new(2, 2, 2),
- CFrame = HRoot.CFrame * CFrame.new(-1, 0, -0.5)
- })
- kib.CFrame = kib.CFrame * CFrame.Angles(Rad(Random(-2, 2)), Rad(Random(-2, 2)), Rad(0))
- Create("SpecialMesh", kib, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 2)
- })
- Create("BodyVelocity", kib, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = kib.CFrame.lookVector * 100
- })
- kib.Touched:connect(function(h)
- onTouch(kib, h)
- end)
- game:GetService("Debris"):AddItem(kib, 10)
- SWait()
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(300)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i)
- SWait()
- end
- local kib = Create("Part", workspace, "Kib", {
- CanCollide = false,
- BrickColor = BrickColor.new("Electric blue"),
- Material = "Neon",
- Size = Vector3.new(2, 2, 2),
- CFrame = HRoot.CFrame * CFrame.new(1, 0, -0.5)
- })
- kib.CFrame = kib.CFrame * CFrame.Angles(Rad(Random(-20, 20)), Rad(Random(-45, 45)), Rad(0))
- Create("SpecialMesh", kib, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 2)
- })
- Create("BodyVelocity", kib, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = kib.CFrame.lookVector * 100
- })
- kib.Touched:connect(function(h)
- onTouch(kib, h)
- end)
- game:GetService("Debris"):AddItem(kib, 10)
- SWait()
- end
- end
- conn:Disconnect()
- bv:Destroy()
- gyro:Destroy()
- Attacking = false
- end
- end
- elseif Mode == "Ultra" then
- if key == Enum.KeyCode.Z then
- if Walkspeed ~= 100 then
- Walkspeed = 100
- Sprint = true
- else
- Walkspeed = 16
- Sprint = false
- end
- elseif key == Enum.KeyCode.X then
- Attacking = true
- Walkspeed = 0
- KamehamehaSound:Play()
- do
- local orb = Create("Part", Char, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1)
- })
- newWeld(LArm, orb, LArm, CFrame.new(0, 1, 0))
- local smesh = Create("SpecialMesh", orb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.01, 0.01, 0.01)
- })
- for i = 0, 1, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-65)) * CFrame.new(0, 0.2, 0), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(80), Rad(65)), i)
- wait()
- end
- TweenService:Create(smesh, TweenInfo.new(4.7), {
- Scale = Vector3.new(2, 2, 2)
- }):Play()
- wait(4.7)
- local fire = false
- for i = 0, 1, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i)
- if i >= 0.8 and not fire then
- fire = true
- end
- wait()
- end
- spawn(function()
- repeat
- SWait()
- until fire
- local hitb = Create("Part", workspace, "KameHameHaUltra", {
- Anchored = true,
- CanCollide = false,
- Transparency = 1,
- Size = Vector3.new(36, 36, 400),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -200)
- })
- local beam = Create("Part", workspace, "KameHameHaUltra", {
- Anchored = true,
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -2)
- })
- local mesh = Create("SpecialMesh", beam, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(mesh, TweenInfo.new(0.5), {
- Scale = Vector3.new(40, 40, 400)
- }):Play()
- TweenService:Create(beam, TweenInfo.new(0.5), {
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -200)
- }):Play()
- spawn(function()
- for i = 0, 1, 0.1 do
- local airPart = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -2)
- })
- airPart.CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(90), Rad(90))
- local airMesh = Create("SpecialMesh", airPart, "Mesh", {
- MeshId = "rbxassetid://168892432",
- Scale = Vector3.new(4, 4, 4),
- Offset = Vector3.new(0, 20, 0)
- })
- TweenService:Create(airMesh, TweenInfo.new(0.5), {
- Scale = Vector3.new(10, 50, 10),
- Offset = Vector3.new(0, -150, 0)
- }):Play()
- TweenService:Create(airPart, TweenInfo.new(7.3), {
- Transparency = 1,
- CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0))
- }):Play()
- game:GetService("Debris"):AddItem(airPart, 7.3)
- SWait()
- end
- end)
- hitb.Touched:connect(function(h)
- if h.Parent == nil then
- return
- end
- if h:IsDescendantOf(Char) then
- return
- end
- local anc
- local a, b = pcall(function()
- anc = findRealAncestor(h)
- end)
- if a then
- local hum = anc:FindFirstChildOfClass("Humanoid")
- if hum then
- hum:TakeDamage(hum.MaxHealth / 50)
- game:GetService("Debris"):AddItem(Create("BodyVelocity", anc:FindFirstChild("HumanoidRootPart") or anc:FindFirstChild("Torso"), "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = HRoot.CFrame.lookVector * 100
- }), 0.5)
- end
- end
- end)
- KamehamehaSound.Ended:connect(function()
- KamehamehaSound.Volume = 4
- hitb:Destroy()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(0.01, 0.01, 4)
- }):Play()
- TweenService:Create(beam, TweenInfo.new(1), {
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -4)
- }):Play()
- TweenService:Create(smesh, TweenInfo.new(1), {
- Scale = Vector3.new(0.01, 0.01, 0.01)
- }):Play()
- game:GetService("Debris"):AddItem(beam, 1)
- game:GetService("Debris"):AddItem(orb, 1)
- wait(1)
- Walkspeed = 16
- Attacking = false
- end)
- end)
- end
- elseif key == Enum.KeyCode.C then
- warn("Dodge: " .. tostring(Dodge))
- elseif key == Enum.KeyCode.V then
- Walkspeed = 0
- Attacking = true
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i)
- wait()
- end
- local hitp = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Transparency = 1,
- Size = Vector3.new(20, 20, 400),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -202)
- })
- hitp.Touched:connect(function(h)
- if h.Parent == nil then
- return
- end
- if h:IsDescendantOf(Char) then
- return
- end
- local anc
- local a, b = pcall(function()
- anc = findRealAncestor(h)
- end)
- if a then
- local hum = anc:FindFirstChildOfClass("Humanoid")
- if hum then
- h.Parent.Humanoid:TakeDamage(250000)
- end
- end
- end)
- for i = 0, 1, 0.1 do
- local bpart = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -2)
- })
- local mesh = Create("SpecialMesh", bpart, "Mesh", {
- MeshId = "rbxassetid://437347603",
- Scale = Vector3.new(1, 1, 1),
- Offset = Vector3.new(0, 0, 0)
- })
- TweenService:Create(bpart, TweenInfo.new(1), {
- Transparency = 1,
- CFrame = bpart.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(Random(-360, 360)))
- }):Play()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(2, 2, 20),
- Offset = Vector3.new(0, 0, -150)
- }):Play()
- game:GetService("Debris"):AddItem(bpart, 1)
- SWait()
- end
- game:GetService("Debris"):AddItem(hitp, 1.5)
- Attacking = false
- Walkspeed = 16
- elseif key == Enum.KeyCode.B then
- Attacking = true
- if Mouse.Target == nil then
- return
- end
- instinct = false
- do
- local targ
- local a, b = pcall(function()
- targ = findRealAncestor(Mouse.Target)
- end)
- if not a then
- pcall(function()
- targ = Mouse.Target.Parent
- end)
- end
- if targ ~= nil then
- do
- local hum = targ:FindFirstChildOfClass("Humanoid")
- local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
- if hum and tor then
- Walkspeed = 0
- local weld = newWeld(HRoot, tor, HRoot, CFrame.new(0, 0, 2))
- FloatVel.MaxForce = Vector3.new(200000000, 200000000, 200000000)
- spawn(function()
- tor.Anchored = true
- PunchSound.Looped = true
- for _, v in pairs(targ:GetChildren()) do
- if v:IsA("LocalScript") then
- v.Disabled = true
- end
- end
- Char:MoveTo(tor.Position + Vector3.new(0, 0, -2))
- wait(0.1)
- Torso.CFrame = CFrame.new(Torso.Position, tor.Position)
- PunchSound:Play()
- local punching = true
- spawn(function()
- repeat
- local fist = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(LArm.Size.X, 1, 8),
- BrickColor = LArm.BrickColor
- })
- local fist2 = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(RArm.Size.X, 1, 8),
- BrickColor = RArm.BrickColor
- })
- fist.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(-Random(1, 4), 0.5, 0).p, tor.Position)
- fist2.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(Random(1, 4), 0.5, 0).p, tor.Position)
- TweenService:Create(fist, TweenInfo.new(0.5), {Transparency = 1}):Play()
- TweenService:Create(fist2, TweenInfo.new(0.5), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(fist, 0.5)
- game:GetService("Debris"):AddItem(fist2, 0.5)
- SWait()
- until not punching
- end)
- for i = 0, 62 do
- for _, v in pairs(targ:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- SWait()
- local ring1 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = tor.CFrame
- })
- local mesh1 = Create("SpecialMesh", ring1, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(4, 4, 1)
- })
- TweenService:Create(ring1, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh1, TweenInfo.new(1), {
- Scale = Vector3.new(20, 20, 1)
- }):Play()
- game:GetService("Debris"):AddItem(ring1, 1)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- SWait()
- hum:TakeDamage(hum.MaxHealth / 210)
- local ring2 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = tor.CFrame
- })
- local mesh2 = Create("SpecialMesh", ring2, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(4, 4, 1)
- })
- TweenService:Create(ring2, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh2, TweenInfo.new(1), {
- Scale = Vector3.new(20, 20, 1)
- }):Play()
- game:GetService("Debris"):AddItem(ring2, 1)
- SWait()
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- SWait()
- hum:TakeDamage(hum.MaxHealth / 190)
- hum.Parent.Humanoid:TakeDamage(1000)
- end
- punching = false
- PunchSound:Stop()
- PunchSound.Looped = false
- wait()
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-90)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-90), Rad(0), Rad(0)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- SWait()
- end
- tor.Anchored = false
- local bv = Create("BodyVelocity", tor, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = HRoot.CFrame.lookVector * 350
- })
- hum.Parent.Humanoid:TakeDamage(100000000)
- for i = 0, 1, 0.1 do
- local bpart = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -2)
- })
- local mesh = Create("SpecialMesh", bpart, "Mesh", {
- MeshId = "rbxassetid://437347603",
- Scale = Vector3.new(1, 1, 1),
- Offset = Vector3.new(0, 0, 0)
- })
- TweenService:Create(bpart, TweenInfo.new(1), {
- Transparency = 1,
- CFrame = bpart.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(Random(-360, 360)))
- }):Play()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(2, 2, 20),
- Offset = Vector3.new(0, 0, -150)
- }):Play()
- game:GetService("Debris"):AddItem(bpart, 1)
- SWait()
- end
- bv:Destroy()
- Attacking = false
- instinct = true
- Walkspeed = 16
- end)
- else
- Attacking = false
- end
- end
- end
- end
- end
- end
- if key == Enum.KeyCode.Q then
- stopAllSounds()
- SSJSound1:Play()
- toggleEmitters("AllOff")
- HairWeld.C0 = Hcf
- Human.MaxHealth = 50000000000000
- wait(0.01)
- Human.Health = 500000000000000
- game:GetService("Chat"):Chat(Head, "This is a Super Saiyan.", Enum.ChatColor.White)
- Head.face.Texture = "rbxassetid://870187774"
- local Aura = Instance.new("ParticleEmitter")
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://411939841"
- Aura.Parent = Torso
- Aura.LightEmission = 1
- Aura.Transparency = NumberSequence.new(0.9, 1)
- Aura.Color = ColorSequence.new(BrickColor.new("Daisy orange").Color)
- Aura.Size = NumberSequence.new(0.2, 8)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(1.5)
- Aura.Rate = 50
- Aura.Speed = NumberRange.new(1.3)
- Aura.EmissionDirection = "Top"
- Aura.Rotation = NumberRange.new(-8, 8)
- local orb = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Bright yellow"),
- Material = "Neon",
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(30, 30, 30)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- Hair.Mesh.MeshId = "rbxassetid://430344159"
- Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5)
- Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2)
- Hair.BrickColor = BrickColor.new("Bright yellow")
- Aura.ImageColor3 = Color3.fromRGB(255, 227, 10)
- SSJContainer.StudsOffset = Vector3.new(0, 0, 0)
- SSJContainer.Size = UDim2.new(20, 0, 20, 0)
- Aura.ImageTransparency = 0
- Mode = "SSJ"
- elseif key == Enum.KeyCode.E then
- Attacking = true
- stopAllSounds()
- toggleEmitters("AllOff")
- SSJContainer.Size = UDim2.new(20, 0, 20, 0)
- for i = 0, 1, 0.1 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-70), Rad(-140)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(70), Rad(140)), i)
- wait()
- end
- do
- local rtr = true
- spawn(function()
- repeat
- local ring = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("New Yeller"),
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, -3, 0)
- })
- local mesh = Create("SpecialMesh", ring, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(1, 1, 1)
- })
- ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(0), Rad(0))
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(50, 50, 1)
- }):Play()
- TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(ring, 1)
- SWait()
- until not rtr
- end)
- wait(2)
- rtr = false
- local orb = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Bright yellow"),
- Material = "Neon",
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(30, 30, 30)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- for i = 0, 1, 0.1 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-20), Rad(0), Rad(0)), i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(70), Rad(-140)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-70), Rad(140)), i)
- wait()
- end
- HairWeld.C0 = Hcf
- Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5)
- Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2)
- Hair.BrickColor = BrickColor.new("Bright yellow")
- Aura.ImageTransparency = 0
- Hair.Mesh.MeshId = "rbxassetid://560718478"
- Char.Head.face.Texture = "rbxassetid://870187774"
- SSJContainer.StudsOffset = Vector3.new(0, 0, 0)
- Mode = "SSJ2"
- Attacking = false
- local Aura = Instance.new("ParticleEmitter")
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://411939841"
- Aura.Parent = Torso
- Aura.LightEmission = 1
- Aura.Transparency = NumberSequence.new(0.9, 1)
- Aura.Color = ColorSequence.new(BrickColor.new("Daisy orange").Color)
- Aura.Size = NumberSequence.new(0.2, 8)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(1.5)
- Aura.Rate = 50
- Aura.Speed = NumberRange.new(1.3)
- Aura.EmissionDirection = "Top"
- Aura.Rotation = NumberRange.new(-8, 8)
- local Aura2 = Instance.new("ParticleEmitter")
- Aura2.Name = "Aura"
- Aura2.Texture = "rbxassetid://1527326485"
- Aura2.Parent = Torso
- Aura2.LightEmission = 0.1
- Aura2.Transparency = NumberSequence.new(0, 0.9)
- Aura2.Color = ColorSequence.new(BrickColor.new("White").Color)
- Aura2.Size = NumberSequence.new(3.5, 3.6)
- Aura2.LockedToPart = true
- Aura2.Lifetime = NumberRange.new(0.1)
- Aura2.Rate = 10
- Aura2.Speed = NumberRange.new(2)
- Aura2.EmissionDirection = "Top"
- Aura2.Rotation = NumberRange.new(-360, 360)
- Aura2.VelocitySpread = 100
- Aura2.ZOffset = 2
- end
- elseif key == Enum.KeyCode.T then
- SSJContainer.Size = UDim2.new(10, 0, 20, 0)
- toggleEmitters("AllOff")
- Human.MaxHealth = 50000000000
- wait(0.01)
- Human.Health = 50000000000
- local RightAura = Instance.new("ParticleEmitter")
- RightAura.Name = "Aura"
- RightAura.Texture = "rbxassetid://111283279"
- RightAura.Parent = RLeg
- RightAura.LightEmission = 1
- RightAura.Transparency = NumberSequence.new(0.4, 1)
- RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- RightAura.Size = NumberSequence.new(0.05, 0)
- RightAura.LockedToPart = true
- RightAura.Lifetime = NumberRange.new(1)
- RightAura.Rate = 130
- RightAura.Speed = NumberRange.new(0.4)
- RightAura.Rotation = NumberRange.new(-360, 360)
- RightAura.EmissionDirection = "Top"
- RightAura.ZOffset = 2
- local RightLow = Instance.new("ParticleEmitter")
- RightLow.Name = "Aura"
- RightLow.Texture = "rbxassetid://111283279"
- RightLow.Parent = LLeg
- RightLow.LightEmission = 1
- RightLow.Transparency = NumberSequence.new(0.4, 1)
- RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- RightLow.Size = NumberSequence.new(0.05, 0)
- RightLow.LockedToPart = true
- RightLow.Lifetime = NumberRange.new(1.5)
- RightLow.Rate = 130
- RightLow.Speed = NumberRange.new(1)
- RightLow.Rotation = NumberRange.new(-360, 360)
- RightLow.EmissionDirection = "Top"
- RightLow.ZOffset = 2
- local LeftLow = Instance.new("ParticleEmitter")
- LeftLow.Name = "Aura"
- LeftLow.Texture = "rbxassetid://111283279"
- LeftLow.Parent = LArm
- LeftLow.LightEmission = 1
- LeftLow.Transparency = NumberSequence.new(0.4, 1)
- LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- LeftLow.Size = NumberSequence.new(0.05, 0)
- LeftLow.LockedToPart = true
- LeftLow.Lifetime = NumberRange.new(1.5)
- LeftLow.Rate = 130
- LeftLow.Speed = NumberRange.new(1)
- LeftLow.Rotation = NumberRange.new(-360, 360)
- LeftLow.EmissionDirection = "Top"
- LeftLow.ZOffset = 2
- local Tor = Instance.new("ParticleEmitter")
- Tor.Name = "Aura"
- Tor.Texture = "rbxassetid://111283279"
- Tor.Parent = Torso
- Tor.LightEmission = 1
- Tor.Transparency = NumberSequence.new(0.4, 1)
- Tor.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- Tor.Size = NumberSequence.new(0.05, 0)
- Tor.LockedToPart = true
- Tor.Lifetime = NumberRange.new(1)
- Tor.Rate = 130
- Tor.Speed = NumberRange.new(1)
- Tor.Rotation = NumberRange.new(-360, 360)
- Tor.EmissionDirection = "Top"
- Tor.ZOffset = 2
- local LeftLeg = Instance.new("ParticleEmitter")
- LeftLeg.Name = "Aura"
- LeftLeg.Texture = "rbxassetid://111283279"
- LeftLeg.Parent = RArm
- LeftLeg.LightEmission = 1
- LeftLeg.Transparency = NumberSequence.new(0.4, 1)
- LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- LeftLeg.Size = NumberSequence.new(0.05, 0)
- LeftLeg.LockedToPart = true
- LeftLeg.Lifetime = NumberRange.new(1)
- LeftLeg.Rate = 130
- LeftLeg.Speed = NumberRange.new(1)
- LeftLeg.Rotation = NumberRange.new(-360, 360)
- LeftLeg.EmissionDirection = "Top"
- LeftLeg.ZOffset = 2
- local Aura = Instance.new("ParticleEmitter")
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://1517856446"
- Aura.Parent = Torso
- Aura.LightEmission = 0.3
- Aura.Transparency = NumberSequence.new(0.5, 1)
- Aura.Color = ColorSequence.new(BrickColor.new("White").Color)
- Aura.Size = NumberSequence.new(0.7, 6)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(1)
- Aura.Rate = 100
- Aura.Speed = NumberRange.new(2)
- Aura.EmissionDirection = "Top"
- Aura.Rotation = NumberRange.new(-8, 8)
- Aura.ZOffset = -1
- Char.Head.face.Texture = "rbxassetid://792213048"
- Hair.BrickColor = BrickColor.new("Relly red")
- stopAllSounds()
- Mode = "SSJG"
- game:GetService("Chat"):Chat(Head, "This is Super Saiyan God.", Enum.ChatColor.White)
- local orb = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(8, 8, 8),
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- Scale = Vector3.new(1, 1, 1),
- MeshType = "Sphere"
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(3, 3, 3)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(orb, 1)
- Hair.Color = Color3.fromRGB(212, 2, 114)
- SSJGSound2:Play()
- wait(1)
- SSJContainer.StudsOffset = Vector3.new(-0.5, 0, 0)
- Torso.Anchored = false
- Attacking = false
- elseif key == Enum.KeyCode.K and Mode == "SSJB" then
- Human.MaxHealth = 600000000000000
- wait(0.01)
- Human.Health = 600000000000000
- Hair.Mesh.MeshId = "rbxassetid://430344159"
- Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5)
- Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2)
- HairWeld.C0 = Hcf
- stopAllSounds()
- for i = 1, 25 do
- wait()
- workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView - 2.1
- end
- game:GetService("Chat"):Chat(Head, "KAIOKEN TIMES TWENTY!", Enum.ChatColor.White)
- local Music4 = Instance.new("Sound", Torso)
- Music4.SoundId = "rbxassetid://1488660753"
- Music4.Volume = 7
- Music4.Pitch = 1
- Music4.Looped = true
- Music4:Play()
- local RightAura = Instance.new("ParticleEmitter")
- RightAura.Name = "Aura"
- RightAura.Texture = "rbxassetid://111283279"
- RightAura.Parent = RLeg
- RightAura.LightEmission = 1
- RightAura.Transparency = NumberSequence.new(0.4, 1)
- RightAura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
- RightAura.Size = NumberSequence.new(0.05, 0)
- RightAura.LockedToPart = true
- RightAura.Lifetime = NumberRange.new(1)
- RightAura.Rate = 130
- RightAura.Speed = NumberRange.new(0.4)
- RightAura.Rotation = NumberRange.new(-360, 360)
- RightAura.EmissionDirection = "Top"
- RightAura.ZOffset = 2
- local RightLow = Instance.new("ParticleEmitter")
- RightLow.Name = "Aura"
- RightLow.Texture = "rbxassetid://111283279"
- RightLow.Parent = LLeg
- RightLow.LightEmission = 1
- RightLow.Transparency = NumberSequence.new(0.4, 1)
- RightLow.Color = ColorSequence.new(BrickColor.new("Really red").Color)
- RightLow.Size = NumberSequence.new(0.05, 0)
- RightLow.LockedToPart = true
- RightLow.Lifetime = NumberRange.new(1.5)
- RightLow.Rate = 130
- RightLow.Speed = NumberRange.new(1)
- RightLow.Rotation = NumberRange.new(-360, 360)
- RightLow.EmissionDirection = "Top"
- RightLow.ZOffset = 2
- local LeftLow = Instance.new("ParticleEmitter")
- LeftLow.Name = "Aura"
- LeftLow.Texture = "rbxassetid://111283279"
- LeftLow.Parent = LArm
- LeftLow.LightEmission = 1
- LeftLow.Transparency = NumberSequence.new(0.4, 1)
- LeftLow.Color = ColorSequence.new(BrickColor.new("Really red").Color)
- LeftLow.Size = NumberSequence.new(0.05, 0)
- LeftLow.LockedToPart = true
- LeftLow.Lifetime = NumberRange.new(1.5)
- LeftLow.Rate = 130
- LeftLow.Speed = NumberRange.new(1)
- LeftLow.Rotation = NumberRange.new(-360, 360)
- LeftLow.EmissionDirection = "Top"
- LeftLow.ZOffset = 2
- local Tor = Instance.new("ParticleEmitter")
- Tor.Name = "Aura"
- Tor.Texture = "rbxassetid://174073769"
- Tor.Parent = Torso
- Tor.LightEmission = 1
- Tor.Transparency = NumberSequence.new(0.4, 1)
- Tor.Color = ColorSequence.new(BrickColor.new("Really red").Color)
- Tor.Size = NumberSequence.new(0.05, 0)
- Tor.LockedToPart = true
- Tor.Lifetime = NumberRange.new(1)
- Tor.Rate = 130
- Tor.Speed = NumberRange.new(1)
- Tor.Rotation = NumberRange.new(-360, 360)
- Tor.EmissionDirection = "Top"
- Tor.ZOffset = 2
- local LeftLeg = Instance.new("ParticleEmitter")
- LeftLeg.Name = "Aura"
- LeftLeg.Texture = "rbxassetid://111283279"
- LeftLeg.Parent = RArm
- LeftLeg.LightEmission = 1
- LeftLeg.Transparency = NumberSequence.new(0.4, 1)
- LeftLeg.Color = ColorSequence.new(BrickColor.new("Really red").Color)
- LeftLeg.Size = NumberSequence.new(0.05, 0)
- LeftLeg.LockedToPart = true
- LeftLeg.Lifetime = NumberRange.new(1)
- LeftLeg.Rate = 130
- LeftLeg.Speed = NumberRange.new(1)
- LeftLeg.Rotation = NumberRange.new(-360, 360)
- LeftLeg.EmissionDirection = "Top"
- LeftLeg.ZOffset = 2
- local Aura = Instance.new("ParticleEmitter")
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://411939841"
- Aura.Parent = Head
- Aura.LightEmission = 0.3
- Aura.Transparency = NumberSequence.new(0.5, 1)
- Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
- Aura.Size = NumberSequence.new(9.7, 14)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(1)
- Aura.Rate = 100
- Aura.Speed = NumberRange.new(5)
- Aura.EmissionDirection = "Top"
- Aura.Rotation = NumberRange.new(0, 0)
- Aura.ZOffset = -2
- local Spark = Instance.new("ParticleEmitter")
- Spark.Name = "Aura"
- Spark.Texture = "rbxassetid://740455924"
- Spark.Parent = Torso
- Spark.LightEmission = 0.3
- Spark.Transparency = NumberSequence.new(0, 1)
- Spark.Color = ColorSequence.new(BrickColor.new("Really red").Color)
- Spark.Size = NumberSequence.new(5)
- Spark.LockedToPart = true
- Spark.Lifetime = NumberRange.new(3)
- Spark.Rate = 1.3
- Spark.Speed = NumberRange.new(0)
- Spark.EmissionDirection = "Top"
- Spark.Rotation = NumberRange.new(-360, 360)
- Spark.ZOffset = 2
- local orb = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(8, 8, 8),
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- Scale = Vector3.new(1, 1, 1),
- MeshType = "Sphere"
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(3, 3, 3)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(orb, 1)
- Hair.Color = Color3.fromRGB(5, 178, 212)
- SSJBSound2:Play()
- SSJBSound3:Play()
- for i = 1, 25 do
- wait()
- workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + 2.1
- end
- wait(1)
- Torso.Anchored = false
- Attacking = false
- Char.Head.face.Texture = "rbxassetid://1444669398"
- SSJContainer.StudsOffset = Vector3.new(0.5, 0, 0)
- Mode = "SSJBKK"
- elseif key == Enum.KeyCode.Y then
- SSJContainer.Size = UDim2.new(10, 0, 20, 0)
- Aura.ImageTransparency = 0
- toggleEmitters("AllOff")
- Human.MaxHealth = 500000000000
- wait(0.01)
- Human.Health = 500000000000
- Hair.Mesh.MeshId = "rbxassetid://430344159"
- Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5)
- Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2)
- HairWeld.C0 = Hcf
- stopAllSounds()
- SSJBSound1:Play()
- game:GetService("Chat"):Chat(Head, "This is Super Saiyan Blue, I won't go so easy anymore.", Enum.ChatColor.White)
- local RightAura = Instance.new("ParticleEmitter")
- RightAura.Name = "Aura"
- RightAura.Texture = "rbxassetid://111283279"
- RightAura.Parent = RLeg
- RightAura.LightEmission = 1
- RightAura.Transparency = NumberSequence.new(0.4, 1)
- RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- RightAura.Size = NumberSequence.new(0.05, 0)
- RightAura.LockedToPart = true
- RightAura.Lifetime = NumberRange.new(1)
- RightAura.Rate = 130
- RightAura.Speed = NumberRange.new(0.4)
- RightAura.Rotation = NumberRange.new(-360, 360)
- RightAura.EmissionDirection = "Top"
- RightAura.ZOffset = 2
- local RightLow = Instance.new("ParticleEmitter")
- RightLow.Name = "Aura"
- RightLow.Texture = "rbxassetid://111283279"
- RightLow.Parent = LLeg
- RightLow.LightEmission = 1
- RightLow.Transparency = NumberSequence.new(0.4, 1)
- RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- RightLow.Size = NumberSequence.new(0.05, 0)
- RightLow.LockedToPart = true
- RightLow.Lifetime = NumberRange.new(1.5)
- RightLow.Rate = 130
- RightLow.Speed = NumberRange.new(1)
- RightLow.Rotation = NumberRange.new(-360, 360)
- RightLow.EmissionDirection = "Top"
- RightLow.ZOffset = 2
- local LeftLow = Instance.new("ParticleEmitter")
- LeftLow.Name = "Aura"
- LeftLow.Texture = "rbxassetid://111283279"
- LeftLow.Parent = LArm
- LeftLow.LightEmission = 1
- LeftLow.Transparency = NumberSequence.new(0.4, 1)
- LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- LeftLow.Size = NumberSequence.new(0.05, 0)
- LeftLow.LockedToPart = true
- LeftLow.Lifetime = NumberRange.new(1.5)
- LeftLow.Rate = 130
- LeftLow.Speed = NumberRange.new(1)
- LeftLow.Rotation = NumberRange.new(-360, 360)
- LeftLow.EmissionDirection = "Top"
- LeftLow.ZOffset = 2
- local Tor = Instance.new("ParticleEmitter")
- Tor.Name = "Aura"
- Tor.Texture = "rbxassetid://111283279"
- Tor.Parent = Torso
- Tor.LightEmission = 1
- Tor.Transparency = NumberSequence.new(0.4, 1)
- Tor.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- Tor.Size = NumberSequence.new(0.05, 0)
- Tor.LockedToPart = true
- Tor.Lifetime = NumberRange.new(1)
- Tor.Rate = 130
- Tor.Speed = NumberRange.new(1)
- Tor.Rotation = NumberRange.new(-360, 360)
- Tor.EmissionDirection = "Top"
- Tor.ZOffset = 2
- local LeftLeg = Instance.new("ParticleEmitter")
- LeftLeg.Name = "Aura"
- LeftLeg.Texture = "rbxassetid://111283279"
- LeftLeg.Parent = RArm
- LeftLeg.LightEmission = 1
- LeftLeg.Transparency = NumberSequence.new(0.4, 1)
- LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- LeftLeg.Size = NumberSequence.new(0.05, 0)
- LeftLeg.LockedToPart = true
- LeftLeg.Lifetime = NumberRange.new(1)
- LeftLeg.Rate = 130
- LeftLeg.Speed = NumberRange.new(1)
- LeftLeg.Rotation = NumberRange.new(-360, 360)
- LeftLeg.EmissionDirection = "Top"
- LeftLeg.ZOffset = 2
- local Aura = Instance.new("ParticleEmitter")
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://1526565953"
- Aura.Parent = Torso
- Aura.LightEmission = 0.3
- Aura.Transparency = NumberSequence.new(0.5, 1)
- Aura.Color = ColorSequence.new(BrickColor.new("White").Color)
- Aura.Size = NumberSequence.new(0.7, 6)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(1)
- Aura.Rate = 100
- Aura.Speed = NumberRange.new(2)
- Aura.EmissionDirection = "Top"
- Aura.Rotation = NumberRange.new(-8, 8)
- Aura.ZOffset = -1
- local orb = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(8, 8, 8),
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- Scale = Vector3.new(1, 1, 1),
- MeshType = "Sphere"
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(3, 3, 3)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(orb, 1)
- Hair.Color = Color3.fromRGB(5, 178, 212)
- SSJBSound2:Play()
- SSJBSound3:Play()
- wait(1)
- Torso.Anchored = false
- Attacking = false
- Char.Head.face.Texture = "rbxassetid://1444669398"
- SSJContainer.StudsOffset = Vector3.new(0.5, 0, 0)
- Mode = "SSJB"
- elseif key == Enum.KeyCode.U and Plr.Name ~= "venturiansonic" then
- Walkspeed = 0
- Attacking = true
- Mode = "Ultra"
- toggleEmitters("AllOff")
- stopAllSounds()
- Aura.ImageTransparency = 1
- lig = Instance.new("PointLight", Torso)
- lig.Color = Color3.new(0, 0, 255)
- lig.Range = 9
- lig.Brightness = 100
- local Music4 = Instance.new("Sound", Torso)
- Music4.SoundId = "rbxassetid://1504498051"
- Music4.Volume = 3.5
- Music4.Pitch = 1
- Music4.Looped = true
- Music4:Play()
- HairWeld.C0 = Hcf
- spawn(function()
- for i = 0, 1, 0.1 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(40), Rad(0), Rad(0)), i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(20), Rad(0), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(20), Rad(0), Rad(40)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-20)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), i)
- wait()
- end
- end)
- local beam1 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white"),
- Shape = "Cylinder",
- Size = Vector3.new(8, 8, 8),
- CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(90))
- })
- local effect1 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh1 = Create("SpecialMesh", effect1, "Mesh", {
- MeshId = "rbxassetid://168892432",
- Scale = Vector3.new(1.2, 1.2, 1.2)
- })
- local effect2 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh2 = Create("SpecialMesh", effect2, "Mesh", {
- MeshId = "rbxassetid://168892432",
- Scale = Vector3.new(1.2, 1.2, 1.2)
- })
- local effect3 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh3 = Create("SpecialMesh", effect3, "Mesh", {
- MeshId = "rbxassetid://168892432",
- Scale = Vector3.new(1.2, 1.2, 1.2)
- })
- local orb1 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- CFrame = HRoot.CFrame,
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white"),
- Size = Vector3.new(8, 8, 8)
- })
- local omesh1 = Create("SpecialMesh", orb1, "Mesh", {
- Scale = Vector3.new(1, 1, 1),
- MeshType = "Sphere"
- })
- spawn(function()
- for i = 0, 360, 36 do
- local cyl = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -5),
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white")
- })
- cyl.CFrame = cyl.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0))
- local cylmesh = Create("CylinderMesh", cyl, "Mesh", {
- Scale = Vector3.new(4, 4, 4)
- })
- cyl.CFrame = cyl.CFrame * CFrame.new(0, 2, 0)
- TweenService:Create(cyl, TweenInfo.new(2.8), {
- Transparency = 1,
- CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(i + 114), 0) * CFrame.new(0, -5, -5)
- }):Play()
- TweenService:Create(cylmesh, TweenInfo.new(2.8), {
- Scale = Vector3.new(4, 20, 4)
- }):Play()
- game:GetService("Debris"):AddItem(cyl, 2.8)
- end
- end)
- Hair.BrickColor = BrickColor.new("Black metallic")
- TweenService:Create(orb1, TweenInfo.new(2), {Transparency = 1}):Play()
- TweenService:Create(omesh1, TweenInfo.new(2), {
- Scale = Vector3.new(3, 3, 3)
- }):Play()
- TweenService:Create(mesh1, TweenInfo.new(3), {
- Scale = Vector3.new(4, 4, 4)
- }):Play()
- TweenService:Create(effect1, TweenInfo.new(3), {
- Transparency = 1,
- CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0))
- }):Play()
- TweenService:Create(mesh2, TweenInfo.new(3), {
- Scale = Vector3.new(4, 4, 4)
- }):Play()
- TweenService:Create(effect2, TweenInfo.new(3), {
- Transparency = 1,
- CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0))
- }):Play()
- TweenService:Create(mesh3, TweenInfo.new(3), {
- Scale = Vector3.new(4, 4, 4)
- }):Play()
- TweenService:Create(effect3, TweenInfo.new(3), {
- Transparency = 1,
- CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0))
- }):Play()
- TweenService:Create(beam1, TweenInfo.new(3), {
- Transparency = 1,
- Size = Vector3.new(100, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 45, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(90))
- }):Play()
- game:GetService("Debris"):AddItem(beam1, 2)
- game:GetService("Debris"):AddItem(effect1, 2)
- game:GetService("Debris"):AddItem(mesh1, 2)
- game:GetService("Debris"):AddItem(mesh2, 2)
- game:GetService("Debris"):AddItem(mesh3, 2)
- game:GetService("Debris"):AddItem(orb1, 2)
- game:GetService("Debris"):AddItem(omesh1, 2)
- Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://1394077487"
- Shirt.ShirtTemplate = "rbxassetid://1454239396"
- Pants.PantsTemplate = "rbxassetid://1449276082"
- local Hat = Instance.new("Part", Char)
- Hat.Size = Vector3.new(1, 1, 1)
- Hat.Material = "SmoothPlastic"
- Hat.BrickColor = BrickColor.new("Really black")
- Hat.CanCollide = false
- local Hat2 = Instance.new("SpecialMesh", Hat)
- Hat2.MeshId = "rbxassetid://1479574104"
- Hat2.Scale = Vector3.new(0.063, 0.063, 0.063)
- local Hat3 = Instance.new("Weld", Hat)
- Hat3.Part0 = Head
- Hat3.Part1 = Hat
- Hat3.C0 = CFrame.new(0.05, 0.85, -0.1) * CFrame.Angles(math.rad(88.93), math.rad(180), math.rad(0))
- Hair.Transparency = 1
- local HairAura = Instance.new("ParticleEmitter")
- HairAura.Name = "Aura"
- HairAura.Texture = "rbxassetid://1200947142"
- HairAura.Parent = Head
- HairAura.LightEmission = 1
- HairAura.Transparency = NumberSequence.new(0.1, 1)
- HairAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- HairAura.Size = NumberSequence.new(1.1)
- HairAura.LockedToPart = true
- HairAura.Lifetime = NumberRange.new(2)
- HairAura.Rate = 30
- HairAura.Speed = NumberRange.new(0.1)
- HairAura.Rotation = NumberRange.new(-360, 360)
- HairAura.EmissionDirection = "Top"
- HairAura.ZOffset = -1
- local RightAura = Instance.new("ParticleEmitter")
- RightAura.Name = "Aura"
- RightAura.Texture = "rbxassetid://1200947142"
- RightAura.Parent = RLeg
- RightAura.LightEmission = 1
- RightAura.Transparency = NumberSequence.new(0.1, 1)
- RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- RightAura.Size = NumberSequence.new(1.1)
- RightAura.LockedToPart = true
- RightAura.Lifetime = NumberRange.new(2)
- RightAura.Rate = 30
- RightAura.Speed = NumberRange.new(0.1)
- RightAura.Rotation = NumberRange.new(-360, 360)
- RightAura.EmissionDirection = "Top"
- RightAura.ZOffset = -1
- local RightLow = Instance.new("ParticleEmitter")
- RightLow.Name = "Aura"
- RightLow.Texture = "rbxassetid://1200947142"
- RightLow.Parent = LLeg
- RightLow.LightEmission = 1
- RightLow.Transparency = NumberSequence.new(0.1, 1)
- RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- RightLow.Size = NumberSequence.new(1.1)
- RightLow.LockedToPart = true
- RightLow.Lifetime = NumberRange.new(2)
- RightLow.Rate = 30
- RightLow.Speed = NumberRange.new(0.1)
- RightLow.Rotation = NumberRange.new(-360, 360)
- RightLow.EmissionDirection = "Top"
- RightLow.ZOffset = -1
- local LeftLow = Instance.new("ParticleEmitter")
- LeftLow.Name = "Aura"
- LeftLow.Texture = "rbxassetid://1200947142"
- LeftLow.Parent = LArm
- LeftLow.LightEmission = 1
- LeftLow.Transparency = NumberSequence.new(0.1, 1)
- LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- LeftLow.Size = NumberSequence.new(1.1)
- LeftLow.LockedToPart = true
- LeftLow.Lifetime = NumberRange.new(2)
- LeftLow.Rate = 30
- LeftLow.Speed = NumberRange.new(0.1)
- LeftLow.Rotation = NumberRange.new(-360, 360)
- LeftLow.EmissionDirection = "Top"
- LeftLow.ZOffset = -1
- local LeftLeg = Instance.new("ParticleEmitter")
- LeftLeg.Name = "Aura"
- LeftLeg.Texture = "rbxassetid://1200947142"
- LeftLeg.Parent = RArm
- LeftLeg.LightEmission = 1
- LeftLeg.Transparency = NumberSequence.new(0.1, 1)
- LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- LeftLeg.Size = NumberSequence.new(1.1)
- LeftLeg.LockedToPart = true
- LeftLeg.Lifetime = NumberRange.new(2)
- LeftLeg.Rate = 30
- LeftLeg.Speed = NumberRange.new(0.1)
- LeftLeg.Rotation = NumberRange.new(-360, 360)
- LeftLeg.EmissionDirection = "Top"
- LeftLeg.ZOffset = -1
- wait(0.1)
- local Small = Instance.new("ParticleEmitter")
- Small.Name = "Aura"
- Small.Texture = "rbxassetid://242102147"
- Small.Parent = Torso
- Small.LightEmission = 1
- Small.Transparency = NumberSequence.new(0.5, 1)
- Small.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
- Small.Size = NumberSequence.new(0.5)
- Small.LockedToPart = false
- Small.Lifetime = NumberRange.new(0.5)
- Small.Rate = 150
- Small.Speed = NumberRange.new(4)
- Small.Rotation = NumberRange.new(-50, 50)
- Small.EmissionDirection = "Top"
- Small.ZOffset = 2
- local Small2 = Instance.new("ParticleEmitter")
- Small2.Name = "Aura"
- Small2.Texture = "rbxassetid://242102147"
- Small2.Parent = RArm
- Small2.LightEmission = 1
- Small2.Transparency = NumberSequence.new(0.5, 1)
- Small2.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
- Small2.Size = NumberSequence.new(0.5)
- Small2.LockedToPart = false
- Small2.Lifetime = NumberRange.new(0.5)
- Small2.Rate = 150
- Small2.Speed = NumberRange.new(4)
- Small2.Rotation = NumberRange.new(-50, 50)
- Small2.EmissionDirection = "Top"
- Small2.ZOffset = 2
- local Small3 = Instance.new("ParticleEmitter")
- Small3.Name = "Aura"
- Small3.Texture = "rbxassetid://242102147"
- Small3.Parent = LArm
- Small3.LightEmission = 1
- Small3.Transparency = NumberSequence.new(0.5, 1)
- Small3.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
- Small3.Size = NumberSequence.new(0.5)
- Small3.LockedToPart = false
- Small3.Lifetime = NumberRange.new(0.5)
- Small3.Rate = 150
- Small3.Speed = NumberRange.new(4)
- Small3.Rotation = NumberRange.new(-50, 50)
- Small3.EmissionDirection = "Top"
- Small3.ZOffset = 2
- local Small4 = Instance.new("ParticleEmitter")
- Small4.Name = "Aura"
- Small4.Texture = "rbxassetid://242102147"
- Small4.Parent = RLeg
- Small4.LightEmission = 1
- Small4.Transparency = NumberSequence.new(0.5, 1)
- Small4.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
- Small4.Size = NumberSequence.new(0.5)
- Small4.LockedToPart = false
- Small4.Lifetime = NumberRange.new(0.5)
- Small4.Rate = 150
- Small4.Speed = NumberRange.new(4)
- Small4.Rotation = NumberRange.new(-50, 50)
- Small4.EmissionDirection = "Top"
- Small4.ZOffset = 2
- local Small5 = Instance.new("ParticleEmitter")
- Small5.Name = "Aura"
- Small5.Texture = "rbxassetid://242102147"
- Small5.Parent = LLeg
- Small5.LightEmission = 1
- Small5.Transparency = NumberSequence.new(0.5, 1)
- Small5.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
- Small5.Size = NumberSequence.new(0.5)
- Small5.LockedToPart = false
- Small5.Lifetime = NumberRange.new(0.5)
- Small5.Rate = 150
- Small5.Speed = NumberRange.new(4)
- Small5.Rotation = NumberRange.new(-50, 50)
- Small5.EmissionDirection = "Top"
- Small5.ZOffset = 2
- local Small6 = Instance.new("ParticleEmitter")
- Small6.Name = "Aura"
- Small6.Texture = "rbxassetid://242102147"
- Small6.Parent = Head
- Small6.LightEmission = 1
- Small6.Transparency = NumberSequence.new(0.5, 1)
- Small6.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
- Small6.Size = NumberSequence.new(0.5)
- Small6.LockedToPart = false
- Small6.Lifetime = NumberRange.new(0.5)
- Small6.Rate = 150
- Small6.Speed = NumberRange.new(4)
- Small6.Rotation = NumberRange.new(-50, 50)
- Small6.EmissionDirection = "Top"
- Small6.ZOffset = 2
- wait(0.2)
- local Grab = Instance.new("Part", Head)
- Grab.Size = Vector3.new(3.5, 1, 3.5)
- Grab.CanCollide = false
- Grab.BrickColor = BrickColor.new("Deep orange")
- Grab.Transparency = 1
- local Grabo = Instance.new("Weld", Grab)
- Grabo.Part0 = Head
- Grabo.Part1 = Grab
- Grabo.C0 = CFrame.new(0, -3.6, 0)
- local AuraB = Instance.new("Part", Head)
- AuraB.Size = Vector3.new(2, 1, 2)
- AuraB.CanCollide = false
- AuraB.BrickColor = BrickColor.new("Deep orange")
- AuraB.Transparency = 1
- local AuraBo = Instance.new("Weld", AuraB)
- AuraBo.Part0 = Head
- AuraBo.Part1 = AuraB
- AuraBo.C0 = CFrame.new(0, -3.6, 0)
- local FZcharge3 = Instance.new("ParticleEmitter", Grab)
- FZcharge3.Texture = "rbxassetid://1468162128"
- FZcharge3.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248))
- FZcharge3.EmissionDirection = "Top"
- FZcharge3.Speed = NumberRange.new(3)
- FZcharge3.Size = NumberSequence.new(0.2, 0.3)
- FZcharge3.Transparency = NumberSequence.new(0.2, 0.7)
- FZcharge3.Drag = 1
- FZcharge3.LockedToPart = true
- FZcharge3.Lifetime = NumberRange.new(2)
- FZcharge3.Rate = 20
- FZcharge3.LightEmission = 0.3
- FZcharge3.Rotation = NumberRange.new(0, 0)
- FZcharge3.VelocitySpread = 0.2
- FZcharge3.ZOffset = 2.5
- wait(3)
- for i = 0, 0.5, 0.01 do
- Neck.C0 = Neck.C0:lerp(Ncf, i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf, i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- wait()
- end
- Attacking = false
- Walkspeed = 16
- CanMelee = true
- instinct = true
- elseif key == Enum.KeyCode.P then
- Mode = "Base"
- Attacking = true
- Aura.ImageTransparency = 1
- toggleEmitters("AllOff")
- Torso.Anchored = true
- Human.MaxHealth = 50000
- wait(0.01)
- Human.Health = 50000
- Char.Head.face.Texture = "rbxassetid://413593222"
- Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=1378167215"
- HairWeld.C0 = Hcf
- Hair.Mesh.Offset = Vector3.new(0, 0.47, -0.4)
- Hair.Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
- stopAllSounds()
- PowerDown:Play()
- local orb = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(8, 8, 8),
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- Scale = Vector3.new(1, 1, 1),
- MeshType = "Sphere"
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(3, 3, 3)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(orb, 1)
- Hair.BrickColor = BrickColor.new("Black metallic")
- wait(1)
- Torso.Anchored = false
- Attacking = false
- elseif key == Enum.KeyCode.G then
- Attacking = true
- do
- local cf = Mouse.Hit.p
- local hcf = HRoot.CFrame
- for i = 0, 0.4, 0.01 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(30), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-90), Rad(-120)), i)
- wait()
- end
- spawn(function()
- for i = 0, 1, 0.1 do
- local part = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Really black"),
- Material = "Neon",
- Size = Vector3.new(0.3, 9, 9),
- CFrame = hcf * CFrame.new(Random(-5, 5), -5, Random(-5, 5))
- })
- Create("CylinderMesh", part, "Mesh", {})
- TweenService:Create(part, TweenInfo.new(1), {
- Transparency = 0.6,
- CFrame = part.CFrame * CFrame.new(0, 10, 0)
- }):Play()
- game:GetService("Debris"):AddItem(part, 1)
- SWait()
- end
- end)
- Char:MoveTo(cf)
- local Music3 = Instance.new("Sound", Torso)
- Music3.SoundId = "rbxassetid://1055279036"
- Music3.Volume = 3
- Music3.Pitch = 1
- Music3.Looped = false
- Music3:Play()
- Attacking = false
- end
- elseif key == Enum.KeyCode.H and Mode ~= "Ultra" then
- Attacking = true
- do
- local sbomb = Create("Part", workspace, "Part", {
- CanCollide = false,
- BrickColor = BrickColor.new("Electric blue"),
- Material = "Neon",
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 50, 0)
- })
- local hitb = Create("Part", sbomb, "Part", {
- CanCollide = false,
- Transparency = 1,
- Size = Vector3.new(20, 20, 20),
- CFrame = sbomb.CFrame
- })
- local mesh = Create("SpecialMesh", sbomb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 1)
- })
- newWeld(sbomb, hitb, sbomb, CFrame.new(0, -10, 0))
- TweenService:Create(mesh, TweenInfo.new(20), {
- Scale = Vector3.new(55, 55, 55)
- }):Play()
- local bv = Create("BodyVelocity", sbomb, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = Vector3.new(0, 0, 0)
- })
- for i = 0, 0.28, 0.01 do
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(10), Rad(0), Rad(-180)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(10), Rad(0), Rad(180)), i)
- wait()
- end
- game:GetService("Debris"):AddItem(sbomb, 20)
- wait(7)
- for i = 0, 0.2, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(10), Rad(0), Rad(-45)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(10), Rad(0), Rad(40)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-20)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20)), i)
- SWait()
- end
- local trg = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Transparency = 1,
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -50)
- })
- sbomb.CFrame = CFrame.new(sbomb.Position, trg.Position)
- bv.Velocity = Mouse.hit.lookVector * 30
- trg:Destroy()
- local Explode = false
- hitb.Touched:connect(function(h)
- if Explode then
- return
- end
- if hitb == sbomb then
- return
- end
- Explode = true
- sbomb.Anchored = true
- SpiritBombSound:Stop()
- ExplosionSound:Play()
- local nsbomb = sbomb:Clone()
- sbomb:Destroy()
- nsbomb.Parent = workspace
- TweenService:Create(nsbomb.Mesh, TweenInfo.new(2), {
- Scale = Vector3.new(250, 250, 250)
- }):Play()
- TweenService:Create(nsbomb, TweenInfo.new(2), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(nsbomb, 2)
- spawn(function()
- for i = 0, 1, 0.01 do
- local effect = Create("Part", workspace, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = Colours.Spirit[Random(1, #Colours.Spirit)],
- Size = Vector3.new(1, 1, 1),
- CFrame = nsbomb.CFrame * CFrame.Angles(Rad(Random(-360, 360)), Rad(Random(-360, 360)), Rad(Random(-360, 360)))
- })
- Create("BodyVelocity", effect, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = effect.CFrame.lookVector * 50
- })
- Create("SpecialMesh", effect, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(5, 5, 255)
- })
- TweenService:Create(effect, TweenInfo.new(0.5), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(effect, 0.5)
- SWait()
- end
- end)
- spawn(function()
- local reg = CreateRegion3(sbomb.Position, Vector3.new(100, 100, 100))
- for _, v in pairs(workspace:FindPartsInRegion3(reg, Char, 100)) do
- if v.Parent ~= nil then
- local hum = v.Parent:FindFirstChildOfClass("Humanoid")
- if hum and v.Parent ~= Char then
- for _, b in pairs(v.Parent:GetChildren()) do
- if b:IsA("ForceField") then
- b:Destroy()
- end
- end
- hum:TakeDamage(hum.MaxHealth / 5)
- end
- end
- end
- end)
- end)
- wait(0.2)
- Attacking = false
- end
- elseif key == Enum.KeyCode.F then
- end
- end
- function keyUp(key)
- Keys[key] = nil
- end
- UserInputService.TextBoxFocused:connect(function()
- Typing = true
- end)
- UserInputService.TextBoxFocusReleased:connect(function()
- Typing = false
- end)
- if UserInputService.KeyboardEnabled and UserInputService.MouseEnabled then
- UserInputService.InputBegan:connect(function(inpType)
- if inpType.KeyCode ~= Enum.KeyCode.Unknown and not Typing then
- keyDown(inpType.KeyCode)
- end
- end)
- UserInputService.InputEnded:connect(function(inpType)
- if inpType.KeyCode ~= Enum.KeyCode.Unknown and not Typing then
- keyUp(inpType.KeyCode)
- end
- end)
- end
- spawn(function()
- while SWait() do
- if Mode == "SSJ" or Mode == "SSJ2" or Mode == "SSJ3" then
- elseif Mode == "SSJG" then
- elseif Mode == "SSJB" then
- elseif Mode == "Vegito" then
- end
- end
- end)
- Human.FreeFalling:connect(function(active)
- if Attacking then
- return
- end
- if not Flying then
- Falling = active
- end
- end)
- game:GetService("RunService").RenderStepped:connect(function()
- Human.WalkSpeed = Walkspeed
- if Flying then
- FloatGyro.Parent = HRoot
- FloatVel.Parent = HRoot
- FloatGyro.MaxTorque = Vector3.new(200000000, 200000000, 200000000)
- FloatVel.MaxForce = Vector3.new(200000000, 200000000, 200000000)
- FloatGyro.CFrame = workspace.CurrentCamera.CFrame
- if Keys[Enum.KeyCode.W] then
- Dir = "Forward"
- elseif Keys[Enum.KeyCode.S] then
- Dir = "Backward"
- elseif Keys[Enum.KeyCode.A] then
- Dir = "Left"
- elseif Keys[Enum.KeyCode.D] then
- Dir = "Right"
- else
- Dir = "None"
- end
- if Dir == "Forward" then
- FloatVel.Velocity = workspace.CurrentCamera.CFrame.lookVector * 100
- elseif Dir == "Backward" then
- FloatVel.Velocity = workspace.CurrentCamera.CFrame.lookVector * -100
- elseif Dir == "Left" then
- FloatVel.Velocity = workspace.CurrentCamera.CFrame * CFrame.new(-60, 0, 0).p - workspace.CurrentCamera.CFrame.p
- elseif Dir == "Right" then
- FloatVel.Velocity = workspace.CurrentCamera.CFrame * CFrame.new(60, 0, 0).p - workspace.CurrentCamera.CFrame.p
- else
- FloatVel.Velocity = Vector3.new(0, 0, 0)
- end
- else
- FloatGyro.MaxTorque = Vector3.new(0, 0, 0)
- FloatVel.MaxForce = Vector3.new(0, 0, 0)
- FloatGyro.Parent = nil
- FloatVel.Parent = nil
- end
- if not Attacking then
- if not Flying then
- if Torso.Velocity.magnitude < 2 then
- Anim = "Idle"
- elseif Torso.Velocity.magnitude < 2000 then
- Anim = "Walk"
- else
- Anim = "Run"
- end
- elseif Torso.Velocity.magnitude < 2000 then
- Anim = "Float"
- elseif Dir == "Forward" then
- Anim = "Fly"
- elseif Dir == "Backward" then
- Anim = "FlyBack"
- elseif Dir == "Left" then
- Anim = "FlyLeft"
- elseif Dir == "Right" then
- Anim = "FlyRight"
- end
- if not Falling then
- if Anim == "Idle" then
- if Mode ~= "Ultra" and Mode ~= "SSJ3" then
- Neck.C0 = Neck.C0:lerp(Ncf, 0.1)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(2 * Sin(tick() / 1.5)), Rad(0), Rad(0)), 0.1)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(2 * Sin(tick() / 1.5))), 0.1)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(2 * Sin(tick() / 1.5))), 0.1)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1)
- elseif Mode == "Vegito" then
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), 0.1)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(2 * Sin(tick() / 1.5)), Rad(0), Rad(60)), 0.1)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(2 * Sin(tick() / 1.5))), 0.1)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(2 * Sin(tick() / 1.5))), 0.1)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(-90), Rad(-90)), 0.1)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(90), Rad(90)), 0.1)
- elseif Mode == "Ultra" then
- Neck.C0 = Neck.C0:lerp(Ncf, 0.1)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(Sin(tick() / 1.5)), Rad(0), Rad(0)), 0.1)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(Sin(tick() / 1.5))), 0.1)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(Sin(tick() / 1.5))), 0.1)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1)
- end
- elseif Anim == "Walk" then
- if Mode ~= "Ultra" then
- Neck.C0 = Neck.C0:lerp(Ncf, 0.5)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- elseif Mode == "Ultra" then
- Neck.C0 = Neck.C0:lerp(Ncf, 0.5)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(-15), Rad(10 * Sin(tick() * 4))), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(15), Rad(10 * Sin(tick() * 4))), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- end
- elseif Anim == "Run" then
- if Mode == "Ultra" then
- Neck.C0 = Neck.C0:lerp(Ncf, 0.5)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5)
- end
- elseif Anim == "Float" then
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.new(0, 0, Sin(tick()) / 10), 0.2)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.2)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.2)
- LHip.C0 = LHip.C0:lerp(Lhcf, 0.2)
- RHip.C0 = RHip.C0:lerp(Rhcf, 0.2)
- Neck.C0 = Neck.C0:lerp(Ncf, 0.2)
- elseif Anim == "Fly" then
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(80), Rad(0), Rad(0)), 0.5)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-80), Rad(0), Rad(0)), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5)
- elseif Anim == "FlyBack" then
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), 0.5)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(40), Rad(0), Rad(0)), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5)
- elseif Anim == "FlyLeft" then
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(20), Rad(-90)), 0.5)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5)
- elseif Anim == "FlyRight" then
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(-20), Rad(90)), 0.5)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5)
- end
- else
- Hrj.C0 = Hrj.C0:lerp(Hrjcf, 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5)
- end
- end
- if Mode == "Ultra" and Sprint and Anim == "Run" then
- local c = Clone:Clone()
- c.Torso["Left Shoulder"].C0 = c.Torso["Left Shoulder"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8)))
- c.Torso["Right Shoulder"].C0 = c.Torso["Right Shoulder"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8)))
- c.Torso["Left Hip"].C0 = c.Torso["Left Hip"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8)))
- c.Torso["Right Hip"].C0 = c.Torso["Right Hip"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8)))
- c.HumanoidRootPart.RootJoint.C0 = c.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8)))
- for _, v in pairs(c:GetChildren()) do
- if v:IsA("BasePart") then
- TweenService:Create(v, TweenInfo.new(0.1), {Transparency = 1}):Play()
- if v.Name == "Head" then
- TweenService:Create(v.face, TweenInfo.new(0.1), {Transparency = 1}):Play()
- end
- end
- end
- c.Parent = Char
- game:GetService("Debris"):AddItem(c, 0.1)
- c.Torso.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(0, 0, 1).p, HRoot.CFrame.p)
- end
- if Dodge and Mode == "Ultra" then
- do
- local reg = CreateRegion3(HRoot.CFrame.p, Vector3.new(100, 100, 100))
- local hcf = HRoot.CFrame
- for _, v in pairs(workspace:FindPartsInRegion3WithIgnoreList(reg, {Char}, 100)) do
- if v:IsA("BasePart") and v.Name ~= "KameHameHaUltra" and v:FindFirstChildOfClass("TouchTransmitter") then
- spawn(function()
- v.Anchored = true
- pcall(function()
- v:FindFirstChildOfClass("TouchTransmitter"):Destroy()
- end)
- spawn(function()
- local c = Clone:Clone()
- c.Parent = workspace
- for _, v in pairs(c:GetChildren()) do
- if v:IsA("BasePart") then
- v.Anchored = true
- TweenService:Create(v, TweenInfo.new(1), {Transparency = 1}):Play()
- end
- end
- c:MoveTo(hcf.p)
- game:GetService("Debris"):AddItem(c, 1)
- end)
- Char:MoveTo(CFrame.new(v.CFrame.X, v.CFrame.Y, v.CFrame.Z) * CFrame.new(0, 0, v.Size.magnitude / 2 + 10).p)
- game:GetService("Debris"):AddItem(v, 0.1)
- end)
- end
- end
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Character and v ~= Plr and 20 >= v:DistanceFromCharacter(Head.CFrame.p) then
- spawn(function()
- local c = Clone:Clone()
- c.Parent = workspace
- for _, v in pairs(c:GetChildren()) do
- if v:IsA("BasePart") then
- v.Anchored = true
- TweenService:Create(v, TweenInfo.new(1), {Transparency = 1}):Play()
- end
- end
- c:MoveTo(hcf.p)
- game:GetService("Debris"):AddItem(c, 1)
- end)
- Char:MoveTo(v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 25).p)
- end
- end
- end
- end
- LArm.BrickColor = BrickColor.new("Pastel brown")
- RArm.BrickColor = BrickColor.new("Pastel brown")
- RLeg.BrickColor = BrickColor.new("Pastel brown")
- LLeg.BrickColor = BrickColor.new("Pastel brown")
- Torso.BrickColor = BrickColor.new("Pastel brown")
- Head.BrickColor = BrickColor.new("Pastel brown")
- if Mode == "Ultra" then
- Nose.Transparency = 1
- Mouth.Transparency = 1
- else
- Nose.Transparency = 0
- Mouth.Transparency = 0
- end
- end)
Add Comment
Please, Sign In to add comment