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

Can You help me on making a script that does this?

Asked by 10 years ago

How do you make a script that when a your mouse points at a player it shows his name.

1 answer

Log in to vote
1
Answered by 10 years ago
mouse = GetMouse:()
name = game.Players.LocalPlayer.Name

if game.Players.LocalPlayer.Character.Torso.mouse.MouseOver then
nameshow = Instance.new("ScreenGui")
nameshow2 = Instance.new("TextLabel")
nameshow2.Parent = nameshow
nameshow2.Text = name   
end

I'm not a scripting genius, but I'm sure this will work.

0
it dosen't work Revenant101 25 — 10y
Ad

Answer this question