A Roblox Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

A Roblox Community

A community of Robloxians who want to learn to script and build on Roblox Studio.
 
HomeLatest imagesRegisterLog in
If you're a experienced coder make some tutorials! It would really help the site grow.
Make sure you read the rules(Which can be found by clicking here)
If you're a beginner at coding, try some tutorials.
We have many Moderators/Admins watching this site. Contact them with Questions.
Let us know what your favorite sport is. By clicking here to vote (Click here)
This site is becoming inactive. Lets make it active.
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Top posters
blueymaddog
The Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_lcapThe Hopperbin101 Lesson-1 Hat/Tool Jacker Voting_barThe Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_rcap 
naknak
The Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_lcapThe Hopperbin101 Lesson-1 Hat/Tool Jacker Voting_barThe Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_rcap 
Supernapalm
The Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_lcapThe Hopperbin101 Lesson-1 Hat/Tool Jacker Voting_barThe Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_rcap 
m27frogy
The Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_lcapThe Hopperbin101 Lesson-1 Hat/Tool Jacker Voting_barThe Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_rcap 
slayer9365
The Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_lcapThe Hopperbin101 Lesson-1 Hat/Tool Jacker Voting_barThe Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_rcap 
myrco919
The Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_lcapThe Hopperbin101 Lesson-1 Hat/Tool Jacker Voting_barThe Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_rcap 
branefreez
The Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_lcapThe Hopperbin101 Lesson-1 Hat/Tool Jacker Voting_barThe Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_rcap 
ninga95
The Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_lcapThe Hopperbin101 Lesson-1 Hat/Tool Jacker Voting_barThe Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_rcap 
CloneTrooper787
The Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_lcapThe Hopperbin101 Lesson-1 Hat/Tool Jacker Voting_barThe Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_rcap 
raboy117
The Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_lcapThe Hopperbin101 Lesson-1 Hat/Tool Jacker Voting_barThe Hopperbin101 Lesson-1 Hat/Tool Jacker Vote_rcap 
Top posting users this month
No user
Latest topics
» Where to go from here.
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptySeptember 14th 2020, 1:20 pm by MrNicNac

» Send me an Email
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptySeptember 14th 2020, 1:16 pm by MrNicNac

» [v1.6.0.0] Lua Script Obfuscator [No Bytecode]
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyJuly 6th 2015, 7:38 pm by m27frogy

» New Site Possibly
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyJuly 6th 2015, 4:16 pm by m27frogy

» Ambassador!
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyApril 15th 2015, 11:40 pm by naknak

» Boop - Tag
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyApril 13th 2015, 9:46 pm by naknak

» Vip Class Script
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyApril 13th 2015, 4:54 pm by naknak

» Who's active?!
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyApril 13th 2015, 4:52 pm by naknak

» Genesis Point
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyJuly 17th 2014, 7:04 pm by branefreez

» Reward System
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyJuly 17th 2014, 5:41 am by m27frogy

» Script Request
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyJuly 10th 2014, 11:43 am by naknak

» local scripts?
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyJuly 10th 2014, 11:39 am by naknak

» Project: Reconstruction [Died]
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyJuly 10th 2014, 11:36 am by naknak

» Hi. I am new here
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyApril 26th 2014, 4:01 pm by altshiftkey

» What's your favorite sport?
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyJanuary 1st 2014, 2:13 pm by m27frogy

» FlashLight Script
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyJanuary 1st 2014, 2:11 pm by m27frogy

» Gun Making! [READ DESC]
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyJanuary 1st 2014, 2:10 pm by m27frogy

» Hi, I am new here!
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyNovember 26th 2013, 3:33 pm by Keanu73

» Improve Coding
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyOctober 26th 2013, 1:12 pm by pook03

» Simple Button
The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptySeptember 1st 2013, 6:19 pm by branefreez


 

 The Hopperbin101 Lesson-1 Hat/Tool Jacker

Go down 
3 posters
AuthorMessage
justin7674
Expert Scripter
Expert Scripter
avatar


Posts : 11
Join date : 2010-08-02

The Hopperbin101 Lesson-1 Hat/Tool Jacker Empty
PostSubject: The Hopperbin101 Lesson-1 Hat/Tool Jacker   The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyAugust 2nd 2010, 11:24 am

Ok well I decided to post this in advanced because this is advanced :3 its something u just wont understand how to fix if u get it wrong and ur an intermediate level

if script.Parent.className ~= "HopperBin" then --this method is used to keep from creating two tools
--in a SB
m = Instance.new("HopperBin")
m.Parent = game.Players.justin7674.Backpack--Change my name to yours
script.Parent = m
m.Name = "Fun"
Plyr = game.Players.justin7674--Defining who player is yet again change my name to yours
end

function B1D(mouse)
brick = mouse.Target --so this is the method used to find out what u just clicked
if brick.Name == "Handle" then --if the part u clicked is named handle which is a hat or weapon jetpack maybe
brick.Parent.Parent = workspace --ok so if you made a tool from their parent Character to yours it would crash your client because that movement isnt allowed!
wait(1)
brick.Parent.Parent = Plyr.Character --to bypass that i changed its parent to workspace first even if they pick it back up it still gives it to you without crashing.
end
end

function onEquippedLocal(mouse)
mouse.Icon = "rbxasset://textures\\GunCursor.png" --changes the cursor of course
mouse.Button1Down:connect(function() B1D(mouse) end) --thats it :3 you know this its just the method used to detect when the mouse button has been clicked!
end

script.Parent.Selected:connect(onEquippedLocal) --this connects the Selected function or status to oEL


Last edited by justin7674 on August 2nd 2010, 11:36 am; edited 1 time in total
Back to top Go down
http://ProjectArcher.com
Guest
Guest
avatar



The Hopperbin101 Lesson-1 Hat/Tool Jacker Empty
PostSubject: Re: The Hopperbin101 Lesson-1 Hat/Tool Jacker   The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyAugust 9th 2010, 8:38 pm

Um. I wouldn't consider a HopperBin to be advanced, maybe the one before advanced (was it moderate?)
Back to top Go down
Prodigy
Administrator
Administrator
avatar


Posts : 58
Join date : 2010-07-28

The Hopperbin101 Lesson-1 Hat/Tool Jacker Empty
PostSubject: Re: The Hopperbin101 Lesson-1 Hat/Tool Jacker   The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyAugust 9th 2010, 9:21 pm

VoidHack wrote:
Um. I wouldn't consider a HopperBin to be advanced, maybe the one before advanced (was it moderate?)
Intermediate, moderate, medium; same stuff.
Back to top Go down
http://roblox.forumclan.com
justin7674
Expert Scripter
Expert Scripter
avatar


Posts : 11
Join date : 2010-08-02

The Hopperbin101 Lesson-1 Hat/Tool Jacker Empty
PostSubject: Re: The Hopperbin101 Lesson-1 Hat/Tool Jacker   The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyAugust 21st 2010, 6:59 pm

I just this the part to take tools is advanced because it will crash if you try moving it straight to your player
Back to top Go down
http://ProjectArcher.com
Guest
Guest
avatar



The Hopperbin101 Lesson-1 Hat/Tool Jacker Empty
PostSubject: Re: The Hopperbin101 Lesson-1 Hat/Tool Jacker   The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyAugust 24th 2010, 6:41 pm

Ya know, there is a format for code...that is an eyesore
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 26

The Hopperbin101 Lesson-1 Hat/Tool Jacker Empty
PostSubject: Re: The Hopperbin101 Lesson-1 Hat/Tool Jacker   The Hopperbin101 Lesson-1 Hat/Tool Jacker EmptyJanuary 18th 2011, 6:58 am

the tool script would break if the user clicked open space.
Back to top Go down
Sponsored content





The Hopperbin101 Lesson-1 Hat/Tool Jacker Empty
PostSubject: Re: The Hopperbin101 Lesson-1 Hat/Tool Jacker   The Hopperbin101 Lesson-1 Hat/Tool Jacker Empty

Back to top Go down
 
The Hopperbin101 Lesson-1 Hat/Tool Jacker
Back to top 
Page 1 of 1
 Similar topics
-
» Getting a mouse with no tool/gui.
» Mouse, Tool, Help!
» I just make a Local, Tool-less weapon system, and a radar complete with a rotating compass.

Permissions in this forum:You cannot reply to topics in this forum
A Roblox Community :: Tutorials and Resources :: Advanced-
Jump to: