In output it says "ServerScriptService.Script:112: attempt to index a nil value" when I play in a normal server, but when I play in Roblox Studio solo everything works fine. Why is this happening? Thanks!
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
player.PlayerGui.ScreenGui.JumpPowerTextButton.MouseEnter:connect(function()
TextLabel.Position = UDim2.new(0, player:GetMouse().X, 0, player:GetMouse().Y) -- Line 112
end)
end)
end)

6 comments
Only 3 lines but it says it has 112 gg
Hopefully this isn't the right script... Becuase your error is happening on line 112 and this one only had 3.
Line 2 is line 112.
This should be a local script in ReplicatedFirst?
This script is in server script service
It may be that this script is attempting to index the ScreenGui before it has loaded. Use WaitForChild on the ScreenGui and get back to me.