generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: I NEED A SCRIPT

Previous Thread :: Next Thread 
goodice123 is not online. goodice123
Joined: 18 May 2010
Total Posts: 2946
30 May 2013 11:40 AM
[ Content Deleted ]
Report Abuse
digpoe is not online. 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
goodice123 is not online. goodice123
Joined: 18 May 2010
Total Posts: 2946
30 May 2013 11:46 AM
[ Content Deleted ]
Report Abuse
digpoe is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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
NerdMasterAlpha is not online. NerdMasterAlpha
Joined: 15 May 2013
Total Posts: 20
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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
30 May 2013 12:05 PM
Good, we both have equaled our fail.
Report Abuse
goodice123 is not online. goodice123
Joined: 18 May 2010
Total Posts: 2946
30 May 2013 12:10 PM
[ Content Deleted ]
Report Abuse
gamert7 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image