Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why isn't this line working?

Asked by
3rdblox 30
10 years ago
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?

3 answers

Log in to vote
0
Answered by 10 years ago

Try using a LocalScript if you're not already :)

Ad
Log in to vote
0
Answered by 10 years ago

Yeah just copy and past that script into a Local Script and you should be okay!

0
I'm playing with ClickDetectors and tried localscripts, but it didn't work. 3rdblox 30 — 10y
0
Hmm do you have a GUI with a frame? RedstoneStudios 0 — 10y
Log in to vote
0
Answered by 10 years ago

Copy and paste it into a Local Script, please could you tell us what this script is for so we can assist you more?

Answer this question