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 » Club Houses » Clans & Guilds
Home Search
 

Re: @Scripters

Previous Thread :: Next Thread 
WarVex is not online. WarVex
Joined: 12 Mar 2015
Total Posts: 318
13 Mar 2015 02:37 PM
How would i make a script where i say "Set weapon (whatever tool i choose)" With multiple different weapons to choose from?
Report Abuse
Seviro is not online. Seviro
Joined: 08 Dec 2009
Total Posts: 46758
13 Mar 2015 02:38 PM
what
Report Abuse
WarVex is not online. WarVex
Joined: 12 Mar 2015
Total Posts: 318
13 Mar 2015 02:38 PM
I want to be able to say a command and everyone in the game gets the tool i want.
Report Abuse
BIoodraven is not online. BIoodraven
Joined: 14 Sep 2014
Total Posts: 11981
13 Mar 2015 02:39 PM
and what does it do?

http://wiki.roblox.com/index.php?title=API:Class/Humanoid/EquipTool
http://wiki.roblox.com/index.php?title=API:Class/Player/Chatted

mikasa >
Report Abuse
Seviro is not online. Seviro
Joined: 08 Dec 2009
Total Posts: 46758
13 Mar 2015 02:39 PM
Admin commands can already do that if you put the tool in the lighting.

Do you want them to spawn with the weapon?
Report Abuse
WarVex is not online. WarVex
Joined: 12 Mar 2015
Total Posts: 318
13 Mar 2015 02:40 PM
Yes
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
13 Mar 2015 02:40 PM
your question is stupid and not specific enough
Report Abuse
Seviro is not online. Seviro
Joined: 08 Dec 2009
Total Posts: 46758
13 Mar 2015 02:41 PM
You'll need this:
http://wiki.roblox.com/index.php?title=CharacterAdded

along with what blood posted
Report Abuse
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
13 Mar 2015 02:42 PM
error cant comprehend
Report Abuse
WarVex is not online. WarVex
Joined: 12 Mar 2015
Total Posts: 318
13 Mar 2015 02:44 PM
wtf guys. You tell me to add an admin script and then i gotta add those things?
Report Abuse
Seviro is not online. Seviro
Joined: 08 Dec 2009
Total Posts: 46758
13 Mar 2015 02:44 PM
You don't need to add anything.

You don't even need to script this. Admin can do it for you. Just put the tools in the lighting and the command is "startergive"
Report Abuse
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
13 Mar 2015 02:45 PM
You mean setting a starter weapon with various others?
Report Abuse
WarVex is not online. WarVex
Joined: 12 Mar 2015
Total Posts: 318
13 Mar 2015 02:45 PM
Yeah
Report Abuse
BIoodraven is not online. BIoodraven
Joined: 14 Sep 2014
Total Posts: 11981
13 Mar 2015 02:46 PM
--put a model named Tools in ReplicatedStorage with the tools in it
local rs = game:GetService('ReplicatedStorage')
local tools = rs.Tools:GetChildren()
local plr = game.Players.LocalPlayer
player.Chatted:connect(function(msg)
if string.sub(string.lower(msg),0,10) == "set weapon" then
toolToFind = rs:FindFirstChild(string.sub(string.lower(msg),11))
playerList = game.Players:GetPlayers()
for i=1,#playerList do
local c = playerList[i].Character or playerList[i].CharacterAdded:wait()
local t = toolToFind:clone(game.Workspace)
c:WaitForChild('Humanoid'):EquipTool(t)
end
end
end)



something like this maybe.
unclean, I know, but it should work.

mikasa >
Report Abuse
BIoodraven is not online. BIoodraven
Joined: 14 Sep 2014
Total Posts: 11981
13 Mar 2015 02:47 PM
also might wanna check who is running said function. make sure it's not a random player.

mikasa >
Report Abuse
WarVex is not online. WarVex
Joined: 12 Mar 2015
Total Posts: 318
13 Mar 2015 02:48 PM
Do i put that in a script?
Report Abuse
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
13 Mar 2015 02:49 PM
JUST PUT WEAPON IN LIGHTNING THEN SAY STARTERGIVE (WEPS NAME)

Add a script that removes all of the staterpack
Report Abuse
BIoodraven is not online. BIoodraven
Joined: 14 Sep 2014
Total Posts: 11981
13 Mar 2015 02:52 PM
@War, No, you put it in notepad and do nothing with it ever again.

No, you put it in a localscript in startergui or starterpack
e.e

mikasa >
Report Abuse
WarVex is not online. WarVex
Joined: 12 Mar 2015
Total Posts: 318
13 Mar 2015 02:54 PM
i did it and tryed it. What do i say to get the gun?
Report Abuse
BIoodraven is not online. BIoodraven
Joined: 14 Sep 2014
Total Posts: 11981
13 Mar 2015 02:54 PM
did you even read the script

mikasa >
Report Abuse
WarVex is not online. WarVex
Joined: 12 Mar 2015
Total Posts: 318
13 Mar 2015 02:56 PM
i said set weapon GPR

:set weapon GPR
Report Abuse
BIoodraven is not online. BIoodraven
Joined: 14 Sep 2014
Total Posts: 11981
13 Mar 2015 02:57 PM
why did you add a :

mikasa >
Report Abuse
WarVex is not online. WarVex
Joined: 12 Mar 2015
Total Posts: 318
13 Mar 2015 02:58 PM
The admin?

If i want the gun GPR what would i say?
Report Abuse
BIoodraven is not online. BIoodraven
Joined: 14 Sep 2014
Total Posts: 11981
13 Mar 2015 02:58 PM
set weapon gpr

mikasa >
Report Abuse
WarVex is not online. WarVex
Joined: 12 Mar 2015
Total Posts: 318
13 Mar 2015 03:00 PM
come to my game for a minute please.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • 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