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
Mouse, Tool, Help! Vote_lcapMouse, Tool, Help! Voting_barMouse, Tool, Help! Vote_rcap 
naknak
Mouse, Tool, Help! Vote_lcapMouse, Tool, Help! Voting_barMouse, Tool, Help! Vote_rcap 
Supernapalm
Mouse, Tool, Help! Vote_lcapMouse, Tool, Help! Voting_barMouse, Tool, Help! Vote_rcap 
m27frogy
Mouse, Tool, Help! Vote_lcapMouse, Tool, Help! Voting_barMouse, Tool, Help! Vote_rcap 
slayer9365
Mouse, Tool, Help! Vote_lcapMouse, Tool, Help! Voting_barMouse, Tool, Help! Vote_rcap 
myrco919
Mouse, Tool, Help! Vote_lcapMouse, Tool, Help! Voting_barMouse, Tool, Help! Vote_rcap 
branefreez
Mouse, Tool, Help! Vote_lcapMouse, Tool, Help! Voting_barMouse, Tool, Help! Vote_rcap 
ninga95
Mouse, Tool, Help! Vote_lcapMouse, Tool, Help! Voting_barMouse, Tool, Help! Vote_rcap 
CloneTrooper787
Mouse, Tool, Help! Vote_lcapMouse, Tool, Help! Voting_barMouse, Tool, Help! Vote_rcap 
raboy117
Mouse, Tool, Help! Vote_lcapMouse, Tool, Help! Voting_barMouse, Tool, Help! Vote_rcap 
Top posting users this month
No user
Latest topics
» Where to go from here.
Mouse, Tool, Help! EmptySeptember 14th 2020, 1:20 pm by MrNicNac

» Send me an Email
Mouse, Tool, Help! EmptySeptember 14th 2020, 1:16 pm by MrNicNac

» [v1.6.0.0] Lua Script Obfuscator [No Bytecode]
Mouse, Tool, Help! EmptyJuly 6th 2015, 7:38 pm by m27frogy

» New Site Possibly
Mouse, Tool, Help! EmptyJuly 6th 2015, 4:16 pm by m27frogy

» Ambassador!
Mouse, Tool, Help! EmptyApril 15th 2015, 11:40 pm by naknak

» Boop - Tag
Mouse, Tool, Help! EmptyApril 13th 2015, 9:46 pm by naknak

» Vip Class Script
Mouse, Tool, Help! EmptyApril 13th 2015, 4:54 pm by naknak

» Who's active?!
Mouse, Tool, Help! EmptyApril 13th 2015, 4:52 pm by naknak

» Genesis Point
Mouse, Tool, Help! EmptyJuly 17th 2014, 7:04 pm by branefreez

» Reward System
Mouse, Tool, Help! EmptyJuly 17th 2014, 5:41 am by m27frogy

» Script Request
Mouse, Tool, Help! EmptyJuly 10th 2014, 11:43 am by naknak

» local scripts?
Mouse, Tool, Help! EmptyJuly 10th 2014, 11:39 am by naknak

» Project: Reconstruction [Died]
Mouse, Tool, Help! EmptyJuly 10th 2014, 11:36 am by naknak

» Hi. I am new here
Mouse, Tool, Help! EmptyApril 26th 2014, 4:01 pm by altshiftkey

» What's your favorite sport?
Mouse, Tool, Help! EmptyJanuary 1st 2014, 2:13 pm by m27frogy

» FlashLight Script
Mouse, Tool, Help! EmptyJanuary 1st 2014, 2:11 pm by m27frogy

» Gun Making! [READ DESC]
Mouse, Tool, Help! EmptyJanuary 1st 2014, 2:10 pm by m27frogy

» Hi, I am new here!
Mouse, Tool, Help! EmptyNovember 26th 2013, 3:33 pm by Keanu73

» Improve Coding
Mouse, Tool, Help! EmptyOctober 26th 2013, 1:12 pm by pook03

» Simple Button
Mouse, Tool, Help! EmptySeptember 1st 2013, 6:19 pm by branefreez


 

 Mouse, Tool, Help!

Go down 
5 posters
AuthorMessage
Sethalonian
Intermediate Scripter
Intermediate Scripter
Sethalonian


Posts : 63
Join date : 2011-06-10
Age : 26

Mouse, Tool, Help! Empty
PostSubject: Mouse, Tool, Help!   Mouse, Tool, Help! EmptyJune 11th 2011, 2:38 pm

ok, Im trying to make a gui game. I need to get the player mouse. Apparently no one can do this without simulating it with a tool. So i want to protect the game from the risk of breaking if a tool is deselected... so how do i get it to in a way... not be visible but be on... without deleting the tool. I have to use local scripts so can any one answer me?
Back to top Go down
naknak
Administrator
Administrator
naknak


Posts : 878
Join date : 2010-07-30

Mouse, Tool, Help! Empty
PostSubject: Re: Mouse, Tool, Help!   Mouse, Tool, Help! EmptyJune 11th 2011, 5:54 pm

Force them to select it then remove the tool?
Back to top Go down
Sethalonian
Intermediate Scripter
Intermediate Scripter
Sethalonian


Posts : 63
Join date : 2011-06-10
Age : 26

Mouse, Tool, Help! Empty
PostSubject: Re: Mouse, Tool, Help!   Mouse, Tool, Help! EmptyJune 12th 2011, 2:24 pm

But if i remove the tool how can the scripts run?
Back to top Go down
naknak
Administrator
Administrator
naknak


Posts : 878
Join date : 2010-07-30

Mouse, Tool, Help! Empty
PostSubject: Re: Mouse, Tool, Help!   Mouse, Tool, Help! EmptyJune 12th 2011, 2:46 pm

Try it. I thought they still work.
Back to top Go down
Sethalonian
Intermediate Scripter
Intermediate Scripter
Sethalonian


Posts : 63
Join date : 2011-06-10
Age : 26

Mouse, Tool, Help! Empty
PostSubject: Re: Mouse, Tool, Help!   Mouse, Tool, Help! EmptyJune 16th 2011, 7:52 am

Ok, I'll have to try it. I'm not done scripting it yet, but I'll try it.
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


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

Mouse, Tool, Help! Empty
PostSubject: Re: Mouse, Tool, Help!   Mouse, Tool, Help! EmptyJune 16th 2011, 9:08 am

:o I made a hack around this but it broke:

player = PutPlayerHere
mouse = nil
tool = Instance.new("Tool")
hand = Instance.new("Part",tool)
hand.Name = "Handle"
tool.Equipped:connect(function(m) mouse = m end)
tool.Parent = player.Character
repeat wait() until mouse
tool.Parent = nil

print(mouse)


i tryed using mouse events but it said that the mouse was no longer active. :O
Back to top Go down
Sethalonian
Intermediate Scripter
Intermediate Scripter
Sethalonian


Posts : 63
Join date : 2011-06-10
Age : 26

Mouse, Tool, Help! Empty
PostSubject: Re: Mouse, Tool, Help!   Mouse, Tool, Help! EmptyJune 16th 2011, 4:02 pm

I wish it was possible to do it without a tool :(.... but what I tried works so turn my :( upside down :)!
Back to top Go down
CloneTrooper787
Moderator
Moderator
CloneTrooper787


Posts : 81
Join date : 2011-01-22

Mouse, Tool, Help! Empty
PostSubject: Re: Mouse, Tool, Help!   Mouse, Tool, Help! EmptyJune 28th 2011, 8:29 pm

The tool still works when deleted. Use Person299's Admin Commands and type 'givebtools/me', select the delete tool, then type 'removebtools/me' the tool will not be visible at the bottom of the screen, but the actual tool still can be used.
Back to top Go down
Sethalonian
Intermediate Scripter
Intermediate Scripter
Sethalonian


Posts : 63
Join date : 2011-06-10
Age : 26

Mouse, Tool, Help! Empty
PostSubject: Re: Mouse, Tool, Help!   Mouse, Tool, Help! EmptyJune 29th 2011, 9:04 am

cool
Back to top Go down
TheSiteBringer
Novice Scripter
Novice Scripter
TheSiteBringer


Posts : 28
Join date : 2011-07-31

Mouse, Tool, Help! Empty
PostSubject: Re: Mouse, Tool, Help!   Mouse, Tool, Help! EmptyAugust 1st 2011, 9:30 pm

Person299's admin commands can do the thing. Give it a try!
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


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

Mouse, Tool, Help! Empty
PostSubject: Re: Mouse, Tool, Help!   Mouse, Tool, Help! EmptyFebruary 12th 2012, 4:09 am

yay his first active post! lets celebrate naknak!
btw: Person299's AC's are outdated and i wouldn't rely on them! :P
Back to top Go down
Sponsored content





Mouse, Tool, Help! Empty
PostSubject: Re: Mouse, Tool, Help!   Mouse, Tool, Help! Empty

Back to top Go down
 
Mouse, Tool, Help!
Back to top 
Page 1 of 1
 Similar topics
-
» Getting a mouse with no tool/gui.
» GUIs: Mouse over
» Keylogging/getting the mouse unnoticed
» The Hopperbin101 Lesson-1 Hat/Tool Jacker
» 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 :: Questions and Help :: Scripting-
Jump to: