|
| 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 |
|
|
|
| 28 Oct 2017 08:49 AM |
| this does not has to cost robux, so no gamepass or developer product |
|
|
| Report Abuse |
|
|
| |
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 29 Oct 2017 07:31 AM |
| Mono, no it's not. You clearly don't read. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2017 07:56 AM |
@MillerGemini
Yes sure. https://forum.roblox.com/Forum/ShowForumGroup.aspx?ForumGroupID=9
Read their description
|
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
| |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 30 Oct 2017 05:00 PM |
Why is there a third "end)" there?
delete it |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|