this is a part of the local script:
local found = game:GetService("Players").LocalPlayer:FindFirstChild("Backpack")
if found then
script.Parent.RemoteEvent:FireServer()
this is the regular script:
script.Parent.RemoteEvent.OnServerEvent:Connect(function()
game.Players.LocalPlayer.Backpack.Values.Level.Value = 1
game.Players.LocalPlayer.Backpack.Values.PlayedValue.Value = 1
end)
works perfect in studio but in the actual game it still acts like a local script or it doesnt work at all. no errors appear.

1 comment
Make sure to accept Mythical's answer.