My dice only gets affected on the server

i want the dice to jump on both server and client

the issue is that when i click roll the dice only jumps when i toggle server view

i have not been able to think about a way to solve this that would work

i use a local script to fire a remote event when i press the roll button wich a script in serverscriptservice gets and would make the dice fly up.

localscript


local rollbutton = script.Parent.TextButton

rollbutton.MouseButton1Click:Connect(function()
	game.ReplicatedStorage.rool:FireServer()
end)

server script


local dice = game.Workspace.Dice


game.ReplicatedStorage.rool.OnServerEvent:Connect(function(plr)
	dice.PrimaryPart.AssemblyLinearVelocity += Vector3.new(0, 200, 0)
	dice.PrimaryPart.AssemblyAngularVelocity += Vector3.new(0, 30, 30)
end)

give the player ownership of the dice and make the player who rolls the dice to set angularvel

its weird that it worked because when i tested it on another part it didnt need ownership and it applied ownership before i had even pressed roll