new.Frame.Position = UDim2.new(plr:GetMouse().X/plr:GetMouse().ViewSizeX,0,plr:GetMouse().Y/plr:GetMouse().ViewSizeY,0)
This works in play solo but not in a server. Why?
new.Frame.Position = UDim2.new(plr:GetMouse().X/plr:GetMouse().ViewSizeX,0,plr:GetMouse().Y/plr:GetMouse().ViewSizeY,0)
This works in play solo but not in a server. Why?
Try using a LocalScript if you're not already :)
Yeah just copy and past that script into a Local Script and you should be okay!
Copy and paste it into a Local Script, please could you tell us what this script is for so we can assist you more?
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
I'm playing with ClickDetectors and tried localscripts, but it didn't work.
Hmm do you have a GUI with a frame?