Im a noob at scripting so i wanted to test a script that makes me invisible and gives me speed but it dosnt seem to work. this is what im using. v
local Player = script.Parent.Parent mouse = Player:GetMouse()
function onKeyDown(key) key = key:lower() if key == "x" then game:GetService("Chat"):Chat(Player.Character.Head, "Vanishing Drive") script.Disabled = true Player.Character.Humanoid.WalkSpeed = 100 game.Workspace.Player.Transperancy = 1 wait(0.4) game.Workspace.Player.Transperancy = 0 Player.Character.Humanoid.WalkSpeed = 16 script.Disabled = false end end mouse.KeyDown:connect(onKeyDown)