FIRST BUILDISM BADGE! - Printable Version +- 2DWorlds Forums (http://2dworlds.buildism.net/forum) +-- Forum: Your Stuff (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=6) +--- Forum: Current Games (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=11) +--- Thread: FIRST BUILDISM BADGE! (/showthread.php?tid=1430) Pages:
1
2
|
FIRST BUILDISM BADGE! - Dignity - 03-16-2011 I has done it! I made the first buildism badge! Code: enabled = true function TestHit(part) if not enabled then return end enabled = false print(part.Parent.Name .. " has hit " .. script.Parent.Name) game:chat(Color(100,100,0), "System: " .. part.Parent.Name .. " has won!") sleep(5) enabled = true end link(script.Parent.Collided, TestHit) Free to use. :p The first badge is in my Lava Obby! RE: FIRST BUILDISM BADGE! - Fat_Sacks - 03-17-2011 Yes, this is a great achievement. But the chat spams up the chat part. RE: FIRST BUILDISM BADGE! - Dignity - 03-17-2011 Yes, I'm working on that. RE: FIRST BUILDISM BADGE! - Jacob__mybb_import1 - 03-17-2011 Try this. It will prevent the message from being shown more than once every 5 seconds. [lua] enabled = true function TestHit(part) if not enabled then return end enabled = false print(part.Parent.Name .. " has hit " .. script.Parent.Name) game:chat(Color(100,100,0), "System: " .. part.Parent.Name .. " has won!") sleep(5) enabled = true end link(script.Parent.Collided, TestHit) [/lua] RE: FIRST BUILDISM BADGE! - Dignity - 03-17-2011 Thanks. RE: FIRST BUILDISM BADGE! - Player - 04-03-2011 Cool! RE: FIRST BUILDISM BADGE! - Duck - 04-03-2011 Awesome. Now we just need some form of data persistance. RE: FIRST BUILDISM BADGE! - Dignity - 04-03-2011 lol, yes, we do Get the current version! RE: FIRST BUILDISM BADGE! - Mazzyandmilk - 04-04-2011 Epic. RE: FIRST BUILDISM BADGE! - Bramwell - 04-04-2011 Awesome! |