Ok so if you look at my script you will see in the server script i tried changing The first one is my local script which everything is right i think
--local script local ScreenGui = script.Parent local button = ScreenGui.TextButton local Remote = game:GetService("ReplicatedStorage"):WaitForChild('RemoteEvent') button.MouseButton1Click:Connect(function() Remote:FireServer() end)
--serverscript local ScreenGui = script.Parent local Button = ScreenGui.TextButton local Remote = game:GetService("ReplicatedStorage"):WaitForChild('RemoteEvent') Remote.OnServerEvent:Connect(function(player) print(player) print('0eventfired') local part = Instance.new("Part",workspace) part.Position = Vector3.new(0,0,0,0) part.Size = Vector3.new(10,10,10) part.Shape = 'Ball' end)
theres four arguments in the Vector3.new declaration, perhaps this is throwing an error and thus won't run the .Size change