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
 

Re: Why wont this script work ?

Previous Thread :: Next Thread 
PresidentRobux is not online. PresidentRobux
Joined: 22 Nov 2015
Total Posts: 481
01 May 2016 03:22 PM
I put this script inside a dialogue
game.ServerStorage.Pistol:Clone() .parent = game.Players.LocalPlayer.StarterGear
Report Abuse
PresidentRobux is not online. PresidentRobux
Joined: 22 Nov 2015
Total Posts: 481
01 May 2016 03:23 PM
bump
Report Abuse
lululukas is not online. lululukas
Joined: 23 Aug 2010
Total Posts: 1043
01 May 2016 03:29 PM
Parent has to be capitalized
Report Abuse
lululukas is not online. lululukas
Joined: 23 Aug 2010
Total Posts: 1043
01 May 2016 03:30 PM
And theres a space after clone, remove it.
Report Abuse
lululukas is not online. lululukas
Joined: 23 Aug 2010
Total Posts: 1043
01 May 2016 03:31 PM
And you cant access ServerStorage from a LocalScript and if you're using a server script you can't use LocalPlayer and Local scripts only go in certain places, startergear is not one of them


So pretty much everything is wrong with your script.
Report Abuse
PresidentRobux is not online. PresidentRobux
Joined: 22 Nov 2015
Total Posts: 481
01 May 2016 04:41 PM
How do I fix it then
Report Abuse
RobuxLife is not online. RobuxLife
Joined: 19 Sep 2012
Total Posts: 13336
01 May 2016 05:25 PM
game.ReplicatedStorage.Pistol:Clone().Parent = game.Players.LocalPlayer.Backpack

use replicatedstorage, not serverstorage.



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