There is an error in this script. This gui should move to the Mouse's X position. I'm using scale, It could also be offset through. Please help!
1 | local mouse = game.Players.LocalPlayer:GetMouse() |
2 | while wait() do |
3 | script.Parent.Position.X.Scale = mouse.X --The error is on line 3. |
4 | end |
There is no output.
FIXED.
Here is the fixed script. I fixed it myself.
1 | local mouse = game.Players.LocalPlayer:GetMouse() |
2 | while wait() do |
3 | script.Parent.Position = UDim 2. new( 0 , mouse.X, 0.65 , 0 ) |
4 | end |
Locked by EzraNehemiah_TF2 and BlueTaslem
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?