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: how to make a script when you touch the part your inv cleans

Previous Thread :: Next Thread 
Ocmez is not online. Ocmez
Joined: 05 Sep 2015
Total Posts: 63
22 Jan 2017 11:31 AM
how to make a script when you touch the part your inv cleans up?????


Report Abuse
Reset3096171 is not online. Reset3096171
Joined: 01 Jan 2017
Total Posts: 404
22 Jan 2017 11:39 AM
script.Parent.Touched:connect(function(plr)
if plr:FindFirstChild('Humanoid') ~= nil then
player = game.Players:GetPlayerFromCharacter(plr.Parent)
player.Backpack:ClearAllChildren()--probs got this wrong
end
end)


Report Abuse
Ocmez is not online. Ocmez
Joined: 05 Sep 2015
Total Posts: 63
22 Jan 2017 11:40 AM
Thanks


Report Abuse
Ocmez is not online. Ocmez
Joined: 05 Sep 2015
Total Posts: 63
22 Jan 2017 11:45 AM
wait there is some thing work, it dont work


Report Abuse
Thedagz is not online. Thedagz
Joined: 10 Mar 2012
Total Posts: 798
22 Jan 2017 11:47 AM
did you put the script inside of the block?
Report Abuse
Ocmez is not online. Ocmez
Joined: 05 Sep 2015
Total Posts: 63
22 Jan 2017 11:47 AM
wrong**


Report Abuse
Ocmez is not online. Ocmez
Joined: 05 Sep 2015
Total Posts: 63
22 Jan 2017 11:48 AM
yes i did then i got some thing inside the inv and i touched the part and no thing happend


Report Abuse
Thedagz is not online. Thedagz
Joined: 10 Mar 2012
Total Posts: 798
22 Jan 2017 11:48 AM
Is the block uncollided?
Report Abuse
Bit_blox is not online. Bit_blox
Joined: 28 Aug 2016
Total Posts: 974
22 Jan 2017 11:49 AM
a common problem with you people is that you dont post what the problem is because you will specifically know by looking in your OUTPUT


#code print("ro-cheezits are a thing now")
Report Abuse
Ocmez is not online. Ocmez
Joined: 05 Sep 2015
Total Posts: 63
22 Jan 2017 11:50 AM
both dont work
the collided and the uncollided


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