I am trying to make a script where when someone enters the game it changes rotation. But apparently there is an error on line 2. This is a regular script in a leaf (part).
game.Players.PlayerAdded:connect(function()
game.Workspace.Leaf.Rotation = (math.random(), math.random(), math.random()) -- The output says Error in script: ')' expected near ',' but I have no idea what is wrong with it.
end)

1 comment
let me see