menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
How do i script pick up with click detector
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
How do i script pick up with click detector
OnDaLoos11
Join Date: 2016-05-27
Post Count: 23
#227571928
Wednesday, November 15, 2017 6:41 AM GMT
Im a new scripter and i need help when i click a item with click detector it doesnt work any help??
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
OnDaLoos11
Join Date: 2016-05-27
Post Count: 23
#227572198
Wednesday, November 15, 2017 7:04 AM GMT
BUMP!
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
KryptoKey
Join Date: 2017-02-10
Post Count: 192
#227572463
Wednesday, November 15, 2017 7:36 AM GMT
local part = script.Parent local click = Instance.new("ClickDetector") click.Parent = part function onMouseClick(plr) -- code here end click.MouseClick:connect(onMouseClick)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
OnDaLoos11
Join Date: 2016-05-27
Post Count: 23
#227572601
Wednesday, November 15, 2017 7:50 AM GMT
when i click the tool it didnt work
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
OnDaLoos11
Join Date: 2016-05-27
Post Count: 23
#227572650
Wednesday, November 15, 2017 7:54 AM GMT
Bump
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
rcepiczkad
Join Date: 2014-04-24
Post Count: 6822
#227573099
Wednesday, November 15, 2017 8:39 AM GMT
Put that code inside a script which goes inside a brick. Under "code here" is where you code the pick up item portion
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
OnDaLoos11
Join Date: 2016-05-27
Post Count: 23
#227573342
Wednesday, November 15, 2017 9:06 AM GMT
Im a little bit confused i put it in the tool and the script is in a click detector with code it doesnt work can you give me a Full Explain
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
XandertjeKnal
Join Date: 2016-02-25
Post Count: 543
#227573426
Wednesday, November 15, 2017 9:18 AM GMT
Please learn some basic scripting first. - I produce dank memes
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
OnDaLoos11
Join Date: 2016-05-27
Post Count: 23
#227573563
Wednesday, November 15, 2017 9:35 AM GMT
Im a little bit confused i put it in the tool and the script is in a click detector with code it doesnt work can you give me a Full Explain
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
LuluPls
Join Date: 2010-08-23
Post Count: 1221
#227576225
Wednesday, November 15, 2017 1:37 PM GMT
A click detector goes in a part, not a tool. Which in turn would allow you to clone a tool and put it in your character or backpack.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right