I know it can be done but not sure how to script it because im fairly new at scripting
Model:MoveTo(mouse.Hit.p)
wait()
that's my attempt. help pls
I know it can be done but not sure how to script it because im fairly new at scripting
Model:MoveTo(mouse.Hit.p)
wait()
that's my attempt. help pls
model = game.Workspace.Model
function onClick(Mouse)
location = Mouse.Hit
location.CFrame = model.Position.CFrame
end
script.Parent.Selected:Connect(onClick)
thanks! I don't know this either.
lol
Maaruv not a valid member of workspace?
what do u mean? as in server script?
u cant get a mouse in a server script...?
look at that one
that one uses a HopperBin though, i'm not sure if you're looking for that
how do u insert a hopperbin object? i cant find it anywhere
right click >> Insert >> HopperBin
i tried that in the starterpack, cant find it. even in advanced objects there isnt a hopperbin. only tools
^ that's because they're deprecated
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
What went wrong, did you even try it, btw, use remote events, mouse doesn't exist for the server