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
 

how do i create a weapon that only the owner spawns with

Previous Thread :: Next Thread 
atomicblast31 is not online. atomicblast31
Joined: 05 Jun 2014
Total Posts: 22
26 Apr 2017 08:18 PM
i need help with this problem
Report Abuse
atomicblast31 is not online. atomicblast31
Joined: 05 Jun 2014
Total Posts: 22
26 Apr 2017 08:21 PM
please help
Report Abuse
atomicblast31 is not online. atomicblast31
Joined: 05 Jun 2014
Total Posts: 22
26 Apr 2017 08:29 PM
i really need help with my game
Report Abuse
fyshstyx is online. fyshstyx
Joined: 14 Feb 2015
Total Posts: 10
27 Apr 2017 01:17 AM
Here is a script (put in serverscriptservice)

local weapon = #Weapon location here. Ex: game.ReplicatedStorage.GoldenSword

game.Players.PlayerAdded:connect(function(plr)
if plr.UserId == game.CreatorId then
local newWeapon = weapon:Clone()
newWeapon.Parent = plr.StarterGear
local newWeapon = newWeapon:Clone()
newWeapon.Parent = plr.Backpack
end
end)


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