I put the following code in a Local script in startergui because on the button click the model will rotate

but = script.Parent.but
model = game.Workspace.TheFlyingOof
pp = model.PrimaryPart
but.MouseButton1Down:connect(function()
	model:SetPrimaryPartCFrame(pp.CFrame * CFrame.Angles(0,0.1,0))
end)

I need to know how to make this model only do that following code for the player who clicks it..

5 comments

0

you can turn on filtering enabled but it depends if u want to work with filtering enabled scripting

0

Ok that works, thanks .. but what if I dont want to work with FE scripting?

0

well u cloud take the model inside the camara

0

i did then it says 09:55:22.947 - TheFlyingOof is not a valid member of Camera 09:55:22.948 - Stack Begin

0

Never mind ( solved thanks)