-- Function to turn the character left local function turnLeft() character.HumanoidRotation = character.HumanoidRotation - 10 end
-- Connect the button events to the functions moveForwardButton.MouseButton1Click:Connect(moveForward) moveBackwardButton.MouseButton1Click:Connect(moveBackward) turnLeftButton.MouseButton1Click:Connect(turnLeft) turnRightButton.MouseButton1Click:Connect(turnRight) fe op player control gui script roblox fe work
-- Function to move the character forward local function moveForward() character.Humanoid.WalkDirection = Vector3.new(0, 0, -1) end -- Function to turn the character left local