Could I get some examples of selected & deslected connections?
#2
It should be:
Code:
link(script.Parent.selected,
function()
cam.FollowObject = car
cam.ScaleFactor = 50
end)

or

Code:
function onSelected()
cam.FollowObject = car
cam.ScaleFactor = 50
end
link(script.Parent.selected, onSelected)

The second argument is a function, not just a piece of code.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)