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
 

[70 Robux Reward] Calling tycoon scripters.

Previous Thread :: Next Thread 
Lydn is not online. Lydn
Joined: 20 Jul 2014
Total Posts: 287
01 Feb 2015 03:09 PM
I've been looking all morning in the roblox wiki scripts and have asked friends but can't seem to find this one badge script. If you are experienced and can make this script for me I will pay, Thanks.


( ͡° ͜ʖ ͡°)
Report Abuse
Lydn is not online. Lydn
Joined: 20 Jul 2014
Total Posts: 287
01 Feb 2015 03:12 PM
Invite me to a chat/party please for more info, thanks!


( ͡° ͜ʖ ͡°)
Report Abuse
Lydn is not online. Lydn
Joined: 20 Jul 2014
Total Posts: 287
01 Feb 2015 03:21 PM
haaaaalp


( ͡° ͜ʖ ͡°)
Report Abuse
Lydn is not online. Lydn
Joined: 20 Jul 2014
Total Posts: 287
01 Feb 2015 03:40 PM
nobody that has pm'd me knows


( ͡° ͜ʖ ͡°)
Report Abuse
XlAscensionlX is not online. XlAscensionlX
Joined: 17 Apr 2014
Total Posts: 872
01 Feb 2015 03:51 PM
I think it would be something like.

Local BS=Game:GetService("BadgeService")
local PS=Game:GetService("Players")
local bin=script.Parent
local BadgeID=512893 --Works as long as you're the owner of a certain badge with certain ID

bin.Touched:connect(function(Hit)
if Hit.Parent:FindFirstChild("Humanoid").Health~=0 then
local player=PS:GetPlayerFromCharacter(Hit.Parent) if player then
if player.userId<=100==nil then --[[Makes sure guests can't use it, without this line, guests would glitch the script, I think.]]
BS:AwardBadge(player.userId,BadgeID) end end end)
Report Abuse
025110 is not online. 025110
Joined: 23 Nov 2012
Total Posts: 57661
01 Feb 2015 03:54 PM
"if player.userId<=100==nil then "

if (player.Name:sub(1, 6) == "Guest ") then




R$6,546
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
01 Feb 2015 03:55 PM
*if not (player.Name:sub(1, 6) == "Guest ") then*
Report Abuse
XlAscensionlX is not online. XlAscensionlX
Joined: 17 Apr 2014
Total Posts: 872
01 Feb 2015 03:55 PM
That would work, but it bans anyone with the username that starts with "Guest"
So if they have a username like "GuestUndectected" It wouldnt work for them. Thats why I did userID
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
01 Feb 2015 03:56 PM
There are no glitched to awarding a guest a badge.
Report Abuse
Interactivity is not online. Interactivity
Joined: 03 Dec 2011
Total Posts: 23738
01 Feb 2015 03:57 PM
@xl
notice in his "guest " string there's a space
it would only work if there was a space after guest
either way works
Report Abuse
XlAscensionlX is not online. XlAscensionlX
Joined: 17 Apr 2014
Total Posts: 872
01 Feb 2015 03:58 PM
I guess you're right. Either way works.
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