RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make me fly if i press "e" and i can toggle on/off."
local player = game.Players.LocalPlayer local character = player.Character local humanoid = character:WaitForChild("Humanoid") local flying = false player.Chatted:Connect(function(message) if message == "e" then if flying then flying = false humanoid.PlatformStand = false humanoid.Jump = true else flying = true humanoid.PlatformStand = true humanoid.Jump = false end end end)