|
| 21 Jun 2013 08:48 PM |
a script that makes a picture of you sand says welcome once you join and then it goes?
like the onchildadded bla bla make gui idk how to do it |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2013 08:50 PM |
| i mean that says welcome not sand says welcome lol |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2013 09:07 PM |
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:wait() local sg = Instance.new("ScreenGui", player.PlayerGui) sg.Name = "ScreenGui" local fr = Instance.new("Frame", sg) fr.Size = UDim2.new(0.3, 0, 0.2, 0) fr.Position = UDim2.new(0.35, 0, 0.4, 0) fr.Style = "RobloxRound" local il = Instance.new("ImageLabel", fr) il.Size = UDim2.new(0.3, 0, 1, 0) il.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&format=png&username=" .. player.Name il.BackgroundTransparency = 1 local tl = Instance.new("TextLabel", fr) tl.Size = UDim2.new(0.75, 0, 1, 0) tl.Position = UDim2.new(0.25, 0, 0, 0) tl.BackgroundTransparency = 1 tl.TextScaled = true tl.TextColor3 = Color3.new(1, 1, 1) tl.Text = "Welcome, " .. player.Name .. "!" game:GetService("Debris"):AddItem(sg, 3) end)
http://wiki.roblox.com/index.php/User:ElectricBlaze |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2013 09:14 PM |
Oh, and you might want to add this line right before the second to last:
tl.Font = "ArialBold"
http://wiki.roblox.com/index.php/User:ElectricBlaze |
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Jun 2013 09:24 PM |
| what does fr and sg means xd |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2013 09:29 PM |
fr is frame sg is ScreenGui |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2013 09:40 PM |
They're only variables. And you're welcome.
http://wiki.roblox.com/index.php/User:ElectricBlaze |
|
|
| Report Abuse |
|
|