Why my script is not working?
it dont print anythings
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
local t = mouse.Target
while true do
local t = mouse.Target
print(t)
wait()
end
(this script is in LocalScript)
Why my script is not working?
it dont print anythings
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
local t = mouse.Target
while true do
local t = mouse.Target
print(t)
wait()
end
(this script is in LocalScript)
For me, it prints just fine, make sure the local script is in StarterPlayerScripts
folder