This is a script that is modified by me, the original is this;
➡️ https://scriptblox.com/script/FE-Invi...
Song used -
Sunset Fever · Vermair
➡️ • Sunset Fever
~ Script ~
-- Invis Script (KEYBIND Z TO INVIS)
local key = Enum.KeyCode.Z -- key to toggle invisibility
--// don't edit script below
local invis_on = false
local originalSpeed = 16 -- Default walk speed
function rainbowEffect(seat)
while invis_on do
for i = 0, 1, 0.01 do
task.wait(0.1) -- Adjust the speed of the color change
local color = Color3.fromHSV(i, 1, 1)
seat.Color = color -- Change the seat color
-- If you have a particle effect, update its color as well
if seat:FindFirstChild("ParticleEmitter") then
local particleEmitter = seat.ParticleEmitter
particleEmitter.Color = ColorSequence.new(color)
end
end
end
end
function onKeyPress(inputObject, chat)
if chat then return end
if inputObject.KeyCode == key then
local player = game.Players.LocalPlayer
local character = player.Character
local humanoid = character:FindFirstChildOfClass("Humanoid")
if invis_on then
-- Turning invisibility off
invis_on = false
humanoid.WalkSpeed = originalSpeed -- Restore original speed
local invisChair = workspace:FindFirstChild('invischair')
if invisChair then
invisChair.ParticleEmitter:Destroy() -- Remove particle effect
invisChair:Destroy()
end
game.StarterGui:SetCore("SendNotification", {
Title = "Invis Off";
Duration = 1;
Text = "";
})
else
-- Turning invisibility on
invis_on = true
originalSpeed = humanoid.WalkSpeed -- Save the original speed
humanoid.WalkSpeed = 32 -- Set speed to 32 for invisibility
local savedpos = character.HumanoidRootPart.CFrame
wait()
character:MoveTo(Vector3.new(-25.95, 84, 3537.55))
wait(.15)
-- Create a massless seat with dimensions 6x6x6
local Seat = Instance.new('Seat', game.Workspace)
Seat.Anchored = false
Seat.CanCollide = false
Seat.Name = 'invischair'
Seat.Transparency = 0.5
Seat.Position = Vector3.new(-25.95, 84, 3537.55)
Seat.CastShadow = false
-- Set the size to 6x6x6
Seat.Size = Vector3.new(6, 6, 6)
-- Set the initial color
Seat.BrickColor = BrickColor.new("White")
Seat.Material = Enum.Material.ForceField
-- Making the seat massless
Seat.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
local Weld = Instance.new("Weld", Seat)
Weld.Part0 = Seat
Weld.Part1 = character:FindFirstChild("HumanoidRootPart")
wait()
Seat.CFrame = savedpos
-- Create and configure ParticleEmitter
local particleEmitter = Instance.new("ParticleEmitter", Seat)
particleEmitter.SpreadAngle = Vector2.new(-180,180)
particleEmitter.Rate = 45
particleEmitter.Size = NumberSequence.new(1,0)
particleEmitter.Transparency = NumberSequence.new(0.8)
particleEmitter.Lifetime = NumberRange.new(0.7,1)
particleEmitter.RotSpeed = NumberRange.new(-45,45)
particleEmitter.Color = ColorSequence.new(Color3.fromRGB(255, 255, 255)) -- Initial color
particleEmitter.Texture = "rbxassetid://15368451372" -- Change to your desired particle texture
game.StarterGui:SetCore("SendNotification", {
Title = "Invis On";
Duration = 1;
Text = "";
})
-- Start the rainbow effect
rainbowEffect(Seat)
end
end
end
game:GetService("UserInputService").InputBegan:Connect(onKeyPress)