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 » Scripters
Home Search
 

Re: Did my first script proud

Previous Thread :: Next Thread 
kingk4hack is not online. kingk4hack
Joined: 03 Jan 2011
Total Posts: 11690
05 Jun 2015 09:58 PM
Part = game.Workspace.Part.Transparency
Part = 0.25
num2 = game.Workspace.num2.Transparency
num2 = 1
if Part < num2 then
print("trans part numb2 higher than Part")
end



-- proud
Report Abuse
Darkenus is not online. Darkenus
Joined: 17 Jul 2014
Total Posts: 1997
05 Jun 2015 09:59 PM
print("OMG, CONGRATS!")


Nice job!
Report Abuse
kingk4hack is not online. kingk4hack
Joined: 03 Jan 2011
Total Posts: 11690
05 Jun 2015 10:02 PM
thx c:
Report Abuse
KenjiMatsumura is not online. KenjiMatsumura
Joined: 01 Dec 2013
Total Posts: 195
05 Jun 2015 10:02 PM

part = script.Parent

part.Touched:connect(function(hit)
congrats = "Congrats Dude!"
fun = "Have Fun Learning More!"
keep = "Keep up the good work!"
print(congrats, keep, fun)
end)
Report Abuse
KenjiMatsumura is not online. KenjiMatsumura
Joined: 01 Dec 2013
Total Posts: 195
05 Jun 2015 10:04 PM
oops silly me. Forgot to change the variables to local variables xD.
Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
05 Jun 2015 10:08 PM
My very first script for a gui button aka it's for Berezaa's Tycoon Kit

script.Parent.MouseButton1Click:connect(function()
local player = game.Players.Player
local cashmoney = game.ServerStorage.MoneyStorage:FindFirstChild(player.Name)
if cashmoney then
cashmoney.Value = cashmoney.Value + 10000000
end
end)
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
05 Jun 2015 10:11 PM
Above will only work in a serverscript. So you kinda failed, unless that IS in a server script. Which would be a double fail.
Report Abuse
lilblitz56 is not online. lilblitz56
Joined: 06 Nov 2010
Total Posts: 461
05 Jun 2015 10:23 PM
He also defined Player as game.Players.Player so it would only work in test mode xD
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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