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 » Game Design
Home Search
 

Select specific players

Previous Thread :: Next Thread 
RedcommanderV2 is not online. RedcommanderV2
Joined: 09 Jul 2017
Total Posts: 128
28 Oct 2017 08:47 AM
Let me say, I want to give 2x speed to guest666, can anyone create a script for me?
( it doesn't have to be guest666 tough xD)
Report Abuse
RedcommanderV2 is not online. RedcommanderV2
Joined: 09 Jul 2017
Total Posts: 128
28 Oct 2017 08:49 AM
this does not has to cost robux, so no gamepass or developer product
Report Abuse
RedcommanderV2 is not online. RedcommanderV2
Joined: 09 Jul 2017
Total Posts: 128
29 Oct 2017 03:47 AM
damn this forum is dead
Report Abuse
MillerGemini is not online. MillerGemini
Joined: 21 Aug 2015
Total Posts: 898
29 Oct 2017 03:54 AM
This isn't the right forum that's why. However, that is beyond simple.

http://wiki.roblox.com/index.php?title=API:Class/Humanoid/WalkSpeed
Report Abuse
MonoBlockZ is online. MonoBlockZ
Joined: 22 Dec 2016
Total Posts: 578
29 Oct 2017 04:36 AM
@MillerGemini

This is the right place to ask for scripts for your game, scripting forum is for asking helps on scripting, like Debugging, op is obviously not a scripter i doubt that link will help


@OP

Use this script :


playerList = {"MonoBlockZ", "guest666", "RedcommanderV2", "Player1"}

game.Players.PlayerAdded:connect(function(player)

player.CharacterAdded:connect(function(char)

for i,v in pairs(playerList) do

if v == char.Name then

char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed * 2

end

end
end)

end)


end)

--Any question, just ask.
Report Abuse
MillerGemini is not online. MillerGemini
Joined: 21 Aug 2015
Total Posts: 898
29 Oct 2017 07:31 AM
Mono, no it's not. You clearly don't read.
Report Abuse
MonoBlockZ is online. MonoBlockZ
Joined: 22 Dec 2016
Total Posts: 578
29 Oct 2017 07:56 AM
@MillerGemini

Yes sure.
https://forum.roblox.com/Forum/ShowForumGroup.aspx?ForumGroupID=9

Read their description
Report Abuse
MillerGemini is not online. MillerGemini
Joined: 21 Aug 2015
Total Posts: 898
29 Oct 2017 08:13 AM
"Anything that is not a help request"

You wrote, "scripting forum is for asking helps on scripting,".

Plus, that link helps to learn. Literally how you will end up learning, instead of begging for scripts.
Report Abuse
MonoBlockZ is online. MonoBlockZ
Joined: 22 Dec 2016
Total Posts: 578
29 Oct 2017 08:50 AM
@MillerGemini

Help request : "Pls make "Insert script name" script for my game!"

Scripting help : "Is "Insert function name" deprecated? I can't seem to use it anymore, is there an alternative?"

And as for the link, as I said OP is not a scripter, it would be impossible to learn from that, do you even check the content of the link, even if he manage to learn, best he can do is change his own speed, you are only looking at things at your own perspective.

Even if you want him to learn to script, isn't the best thing to do is to link them on where to start?
Report Abuse
MonoBlockZ is online. MonoBlockZ
Joined: 22 Dec 2016
Total Posts: 578
29 Oct 2017 08:51 AM
This is also literally on the top list of the front page.

https://forum.roblox.com/Forum/ShowPost.aspx?PostID=224833490
Report Abuse
MonoBlockZ is online. MonoBlockZ
Joined: 22 Dec 2016
Total Posts: 578
29 Oct 2017 09:08 AM
Oh and by where to start it's here. Just in case OP is interested in scripting :

https://www.youtube.com/watch?v=0LiaEDui2vE

This in my opinion is the best way to start
Report Abuse
RedcommanderV2 is not online. RedcommanderV2
Joined: 09 Jul 2017
Total Posts: 128
30 Oct 2017 09:35 AM
It didn't work for me, I tried with 2 different accounts ( DragoncraftG, and a friend lil_trey247) I added it to serverscriptservice, if I need to change that please tell, this is the script:
playerList = {"lil_trey247", "DragoncraftG"}

game.Players.PlayerAdded:connect(function(player)

player.CharacterAdded:connect(function(char)

for i,v in pairs(playerList) do

if v == char.Name then

char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed * 2

end

end
end)

end)


end)
Report Abuse
joelastley555 is not online. joelastley555
Joined: 29 Aug 2013
Total Posts: 70
30 Oct 2017 09:58 AM
Just put it in workspace
Report Abuse
RedcommanderV2 is not online. RedcommanderV2
Joined: 09 Jul 2017
Total Posts: 128
30 Oct 2017 02:42 PM
That doesn't work either
Report Abuse
dexperaux is not online. dexperaux
Joined: 18 Dec 2013
Total Posts: 153
30 Oct 2017 02:56 PM
Hey. This is what I did:

local name1 = "PLAYERNAME" --put the names here, add more if you want
local name2 = "ANOTHERNAME"

game.Players.PlayerAdded:connect(function(p)--when someone joins activate this
while true do --this will be a loop that will repeat every 0.1 seconds
if p.Name == name1 or p.Name == name2 then --check guy's name
if p.Character ~= nil then --if his character loaded...
p.Character.Humanoid.WalkSpeed = 32 --give speed
return false --break the loop
else
print("Character didn't loaded yet")
end
else
print("The player that just joined don't have the power for having 2x speed!")
end
wait(0.1)
end
end)
Report Abuse
dexperaux is not online. dexperaux
Joined: 18 Dec 2013
Total Posts: 153
30 Oct 2017 02:59 PM
Btw: please write below the "print("The player that just joined don't have the power for having 2x speed!")" this: return false
this will break the loop after recognizing that the player's name is not what you want. Otherwise, it will constantly appear in the output what the print is saying. Hope I helped
Report Abuse
MonoBlockZ is online. MonoBlockZ
Joined: 22 Dec 2016
Total Posts: 578
30 Oct 2017 05:00 PM
Why is there a third "end)" there?

delete it
Report Abuse
MonoBlockZ is online. MonoBlockZ
Joined: 22 Dec 2016
Total Posts: 578
30 Oct 2017 05:02 PM
Oh, the script I gave you does have 3 end), I don't know how it end up there but it isn't supposed to be there

so delete the last end), in my script
Report Abuse
joelastley555 is not online. joelastley555
Joined: 29 Aug 2013
Total Posts: 70
01 Nov 2017 05:33 AM
Roblox Studio probbably added it via their "auto-complete". Notice when you write the first line of an if statement, when you press enter, it makes a new "end". Easy to ignore ;)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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