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
 

Re: Help me out please

Previous Thread :: Next Thread 
tardysauce is not online. tardysauce
Joined: 05 May 2012
Total Posts: 8444
29 Dec 2014 08:18 PM
player = game.Players.LocalPlayer
script.Parent.ClickDetector.MouseClick:connect(function()
local torch = game.Lighting.Tool:Clone()
torch.Parent = player.Backpack
end)

does not work and theres no output.
Report Abuse
tardysauce is not online. tardysauce
Joined: 05 May 2012
Total Posts: 8444
29 Dec 2014 08:27 PM
bump
Report Abuse
tardysauce is not online. tardysauce
Joined: 05 May 2012
Total Posts: 8444
29 Dec 2014 08:31 PM
le bump
Report Abuse
tardysauce is not online. tardysauce
Joined: 05 May 2012
Total Posts: 8444
29 Dec 2014 08:39 PM
le bump of impatient
Report Abuse
jameswowsmile is not online. jameswowsmile
Joined: 28 Dec 2012
Total Posts: 1395
29 Dec 2014 08:41 PM
Explain.
Report Abuse
tardysauce is not online. tardysauce
Joined: 05 May 2012
Total Posts: 8444
29 Dec 2014 08:44 PM
Torch is not added to player's inventory.
Report Abuse
tardysauce is not online. tardysauce
Joined: 05 May 2012
Total Posts: 8444
29 Dec 2014 08:52 PM
bump
Report Abuse
tardysauce is not online. tardysauce
Joined: 05 May 2012
Total Posts: 8444
29 Dec 2014 08:59 PM
bump pls reply
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
29 Dec 2014 09:00 PM

script.Parent.ClickDetector.MouseClick:connect(function(player)
local torch = game.Lighting.Tool:Clone()
torch.Parent = player.Backpack
end)
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
29 Dec 2014 09:01 PM
and it can be a normal script

localscripts can only work when in the player

the clickdetecter returns the player who clicked it
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