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: I need a giving script that works like this

Previous Thread :: Next Thread 
Par2ival is not online. Par2ival
Joined: 31 Jan 2015
Total Posts: 119
28 May 2015 04:19 PM
I'm currently using a script where I put the tool inside of the part, then the script inside of the tool and it gives you the tool when you touch the part. What I need though, is a giving script where when you touch the part, it gives you the tool (in this case, a retextured model I made) without the tool already existing in the game. Thanks in advance, please don't tell me to drink bleach.

I am an alt.
Report Abuse
Par2ival is not online. Par2ival
Joined: 31 Jan 2015
Total Posts: 119
28 May 2015 04:26 PM
bump
Report Abuse
Par2ival is not online. Par2ival
Joined: 31 Jan 2015
Total Posts: 119
28 May 2015 04:27 PM
b2
Report Abuse
killaman333 is not online. killaman333
Joined: 16 Jan 2013
Total Posts: 1143
28 May 2015 04:43 PM
-- Made by killaman333

function touch(hit)
local NameOfTool = "Basic tool"
local tool = script.Parent:FindFirstChild(NameOfTool)
local player = game.Players:FindFirstChild(hit.Parent.Name)
local Clone = tool:Clone()
local time = 5 -- how long before the giver works again
Clone.Parent = player.Backpack
for i, time, 0, -1 do
script.Diasabled = true
print(i)
wait(1)
end
script.Disabled = false
end
script.Parent.Touched:connect(touch)
Report Abuse
Par2ival is not online. Par2ival
Joined: 31 Jan 2015
Total Posts: 119
28 May 2015 04:47 PM
Thanks dude, I normally get like 3 death threats before a real reply.
Report Abuse
killaman333 is not online. killaman333
Joined: 16 Jan 2013
Total Posts: 1143
28 May 2015 04:49 PM
i can relate, people are so mean in forums...
Report Abuse
Par2ival is not online. Par2ival
Joined: 31 Jan 2015
Total Posts: 119
28 May 2015 04:57 PM
Party me, I can't figure out how to use the script. I tried my model's name and ID, but it doesn't work. (Thanks again, btw)
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