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: Custom Leaderboard Help

Previous Thread :: Next Thread 
mark298 is not online. mark298
Joined: 24 Oct 2008
Total Posts: 1264
14 Dec 2013 12:18 PM
Ok, so, I want to make my own Custom Leaderboard for my game.
I've removed the Default Leaderboard with 'game.StarterGui:SetCoreGuiEnabled("PlayerList", false)' And I have no problem scripting my own gui one.

My problem is that, on the default leadarboard, you can send Friend Requests to other players. Is there any way for a player to send a friend request to another through a gui button, and to accept one through a gui button? Because this is a feature I would like on my own one.

-Mark298
Report Abuse
Superfryx is not online. Superfryx
Joined: 01 Aug 2011
Total Posts: 3253
14 Dec 2013 12:19 PM
You can click on the player and send a friend request.( At least I think it is still a feature)

~local Superfryx=game.Workspace.Awesomeness
Report Abuse
DrWaffler is not online. DrWaffler
Joined: 16 Sep 2011
Total Posts: 4248
14 Dec 2013 12:20 PM
No, the required methods are protected and you can't use them.

However you could always give a nice popup to the players saying "This user would like to become friends with you! Send them a FR on the website! :D"

--[Territory Conquest Developer, Valerian Studios Developer, Business Casual Narwhal Moai. ]]--
Report Abuse
greatarchon999 is not online. greatarchon999
Joined: 09 Jun 2011
Total Posts: 772
14 Dec 2013 12:21 PM
u no whut?
you just learnt me how to remove the playerslist from my place.
THANK YOU! :D
Report Abuse
mark298 is not online. mark298
Joined: 24 Oct 2008
Total Posts: 1264
14 Dec 2013 12:25 PM
@DrWaffler, That's very unfortunate.

I may just have to use what you suggested, or have the default Leaderboard pop-up when you open your character menu(It would fit nicely with the other features). My custom leaderboard opens in the middle of the screen when you click a gui button that says 'Leaderboard', you see. So it wouldn't get in the way either.
Report Abuse
Predator205660 is not online. Predator205660
Joined: 26 Jul 2011
Total Posts: 3757
14 Dec 2013 12:26 PM
http://wiki.roblox.com/index.php/RequestFriendship_(Method)
http://wiki.roblox.com/index.php/RevokeFriendship_(Method)

Yes, it's protected by ROBLOX.
Report Abuse
mark298 is not online. mark298
Joined: 24 Oct 2008
Total Posts: 1264
14 Dec 2013 12:29 PM
Thanks anyway, guys.
Report Abuse
freerobux456 is not online. freerobux456
Joined: 25 Feb 2010
Total Posts: 244
14 Dec 2013 12:46 PM
you cant edit linkedLeaderboard, but here is a custom one just for you ;D

function Entered(player)
wait()
if player:findFirstChild("leaderstats") ~= nil then
player.leaderstats:remove()
end

stats = Instance.new("IntValue")
stats.Parent = player
stats.Name = "leaderstats"

money = Instance.new("IntValue")
money.Parent = stats
money.Name = "Points"
money.Value = 0
end
game.Players.PlayerAdded:connect(Entered)

c = game.Players:GetChildren()
for i=1, #c do
Entered(c[i])
end
Report Abuse
mark298 is not online. mark298
Joined: 24 Oct 2008
Total Posts: 1264
14 Dec 2013 01:29 PM
@freerobux456, no, you've got the wrong idea... :/

I can make my own leaderboards perfectly fine.

I was removing the actual PlayerList from the game and making my own GUI one, which I can do very easily. I just wanted to know if you could Send/Accept friend requests with GUI buttons, which I now know you cannot.
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