Terrible input issues once I published to roblox

Hello everyone, I don’t usually ask here because I always find answers, but I’m currently facing a problem I can’t understand.

When I play my Roblox game on my laptop, absolutely every key has some kind of delay, whether it’s from the keyboard or the mouse. This even affects a bit Roblox menus like the Escape menu! (This doesn’t happen in other games, though.)

In Roblox Studio, there’s no issue at all, but as soon as I play the game on Roblox, everything starts to act weird. I’ll send a video with my keyboard visible so it’s clear to see what’s happening.

I want to mention that on my desktop computer, there are absolutely no issues, and all delayed actions happen 100% on the client side.

Strange thing too the game has 60fps on studio and ~40 on roblox

here you’ll found two videos, one or roblox and the other one on roblox studio

on roblox studio https://youtube.com/shorts/SumJS-ZKzeA?feature=share

on roblox https://youtube.com/shorts/Z5cmoUY7i30

if someone may know what is possibly going one please tell !

thanks !

Is there a script that is running only when someone is on a laptop?

If not, then try another laptop.

Thanks for the fast reply! I have just tried to play the game from roblox app and not from browser, and it’s now running well, 60fps and no delay. So it seems it was only a roblox bug, but I don’t know why it only happened on my game.

I will try to redownload it and see

So I have tested that and it change nothing, I have tested another camera script to see if they were input delay and on another place and the same thing happened, I guess It come from roblox and my laptop.

Even with a just simple script on another place that only make a ui appear if you click W and not appear if you don’t click W there is this delay

local uip = game:GetService("UserInputService")

uip.InputBegan:Connect(function(input)
	if input.KeyCode == Enum.KeyCode.W then
	script.Parent.ScreenGui.Frame.Visible = true
	end
end)

uip.InputEnded:Connect(function(input)
	if input.KeyCode == Enum.KeyCode.W then
		script.Parent.ScreenGui.Frame.Visible = false
	end
end)

but the most weird things is that I don’t have any problems on other games