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

How do I put a GUI on someones screen?

Asked by 9 years ago

How do I put a GUI on someones screen and change it every second?

I think it may be like

function onTouch()
Instance.new('ImageLabel')
    ImageLabel.Image = 'rbxassetid://133293265'
end)

(Im just using the images as a example, its the "R" on most GUI's.)

2 answers

Log in to vote
0
Answered by 9 years ago

Not quite sure since I have never done that before but I would assume you need to insert a ScreenGui and put the ImageLabel inside that. Also I am not sure if this is needed but try adding it directly into the players Gui rather than just creating that Gui itself. You would need a true scripter to help elaborate on what I said. Again, not quite sure. Hope the little ramble I just did helps at all. :D

Ad
Log in to vote
-2
Answered by 9 years ago

@a above i don't know how to script but i started 5 mins ago.And i think this might work

game.Players.PlayerAdded:connect(function(player) if player.Name == "Name of Player" then do game.Workspace.ScreenGui:clone().player.PlayerGui end)

then for the changing you could do

ImageLabel.Image = "" wait (1) ImageLabel.Image = '"

repeat

something like that

Answer this question