| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 30 May 2013 11:41 AM |
What does the script do.
Also, learn2script - it's not that hard. |
|
|
| Report Abuse |
|
|
| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 30 May 2013 11:47 AM |
| I said, what does the script do. A script can't 'say' something. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 30 May 2013 11:47 AM |
| ...You know that making GUI is not scripting related? |
|
|
| Report Abuse |
|
|
zakary99
|
  |
| Joined: 19 Jan 2010 |
| Total Posts: 1095 |
|
|
| 30 May 2013 11:50 AM |
game.Players.PlayerAdded:connect(function(player) gui=Instance.new("ScreenGui") textlabel=Instance.new("TextLabel") gui.Parent=player.PlayerGui gui.Name="Credit" textlabel.Parent=player.PlayerGui.Credit textlabel.Text="Made by Zahin1 for JC" textlabel.Position = UDim2.new(0.05, 0, 0.5, 0) textlabel.TextColor3=BrickColor.new("White").Color textlabel.TextSize = "Size24"
end)
~You have to think like a Dinosaur to become a Dinosaur~ |
|
|
| Report Abuse |
|
|
zakary99
|
  |
| Joined: 19 Jan 2010 |
| Total Posts: 1095 |
|
|
| 30 May 2013 11:50 AM |
@zars15, it sometimes can be - some people don't even know how to place a gui, that's why I write the PlayerAdded function for them.
~You have to think like a Dinosaur to become a Dinosaur~ |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 30 May 2013 11:52 AM |
| Well making GUI doesn't need scripting at all, just like building a house. Of course it's possible to make GUI and house with only a script. But yeah, to make house or GUI more interactive, then you would have to script. |
|
|
| Report Abuse |
|
|
gamert7
|
  |
| Joined: 18 Nov 2008 |
| Total Posts: 4986 |
|
|
| 30 May 2013 11:53 AM |
@Zars it can be.
Example in a local script:
first = Instance.new("ScreenGui", plr.PlayerGui) second = Instance.new("TextLabel", first) second:TweenPosition(UDim2(0, 400, 0, 20), "Out", "Quad", 3, true) second:TweenSize(UDim2(0, 90, 0, 20), "Out", "Quad", 4, true) second.Text = "Made by lala" second.Font = "ArialBold" -- Might be Arial Bold or TextFont second.Wrapped = true |
|
|
| Report Abuse |
|
|
zakary99
|
  |
| Joined: 19 Jan 2010 |
| Total Posts: 1095 |
|
|
| 30 May 2013 11:53 AM |
@zars15, correct, I like coding - that's why I'm helping.
~You have to think like a Dinosaur to become a Dinosaur~ |
|
|
| Report Abuse |
|
|
gamert7
|
  |
| Joined: 18 Nov 2008 |
| Total Posts: 4986 |
|
|
| 30 May 2013 11:55 AM |
| Sorry I didn't see your second post. |
|
|
| Report Abuse |
|
|
gamert7
|
  |
| Joined: 18 Nov 2008 |
| Total Posts: 4986 |
|
|
| 30 May 2013 11:56 AM |
| Whoops in both 'In TweenPosition and TweenSize' it should have been UDim2.new |
|
|
| Report Abuse |
|
|
zakary99
|
  |
| Joined: 19 Jan 2010 |
| Total Posts: 1095 |
|
|
| 30 May 2013 11:57 AM |
The problem with your code is you never defined plr. game.Players.PlayerAdded:connect(function(plr) end)
~You have to think like a Dinosaur to become a Dinosaur~ |
|
|
| Report Abuse |
|
|
|
| 30 May 2013 11:57 AM |
function onPlayerEntered(newPlayer) wait(5) local m = Instance.new("Hint") m.Parent = game.Workspace m.Text = "Made by Zahin1 for JC" end
game.Players.PlayerAdded:connect(onPlayerEntered)
I'm a beginner with Lua and I made this. |
|
|
| Report Abuse |
|
|
gamert7
|
  |
| Joined: 18 Nov 2008 |
| Total Posts: 4986 |
|
|
| 30 May 2013 11:58 AM |
| Yea that too I rush things when it is for other people. |
|
|
| Report Abuse |
|
|
zakary99
|
  |
| Joined: 19 Jan 2010 |
| Total Posts: 1095 |
|
|
| 30 May 2013 11:59 AM |
Nerd, Hints are very ugly in-game.
~You have to think like a Dinosaur to become a Dinosaur~ |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 30 May 2013 12:03 PM |
@gamert7.
"Of course it's possible to make GUI and house with only a script." |
|
|
| Report Abuse |
|
|
gamert7
|
  |
| Joined: 18 Nov 2008 |
| Total Posts: 4986 |
|
|
| 30 May 2013 12:04 PM |
| @Zars and I said "Sorry I didn't see your second post". Meaning I did not see that post before I posted. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 30 May 2013 12:05 PM |
| Good, we both have equaled our fail. |
|
|
| Report Abuse |
|
|
| |
|
gamert7
|
  |
| Joined: 18 Nov 2008 |
| Total Posts: 4986 |
|
|
| 30 May 2013 12:11 PM |
| You wouldn't. The script executes when you join in game. |
|
|
| Report Abuse |
|
|