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 » Scripting Helpers
Home Search
 

Re: Re:

Previous Thread :: Next Thread 
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
24 May 2008 11:02 AM
This is a theory. It wont work like a Hopper Bin/Tool where it can detect who clicked it, but this will let only a certain person click it.
The theory:

The ClickDetector MaxActivatonDistance is 0. The script in the ClickDetector will keep checking the players. If the certain player which is marked in the script or a value is within X studs, then make the MaxActivationDistance be the distance from where they are to the part, or make it be X studs. This means that when the person is within X studs, it can be clicked, but when they go away, the script checks they have gone and then set the MaxActivationDistance to 0.

I'm about to test this, if it works, I'll make it public.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
24 May 2008 11:19 AM
Yays! It works. I'm about to publish it.
Report Abuse
DOOMKING is not online. DOOMKING
Joined: 27 Dec 2007
Total Posts: 9516
24 May 2008 11:20 AM
Good because this can greatly help with a map i'm going to build. So keep up the good work!
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
24 May 2008 11:23 AM
Yw. Any requests for other things to go in your map?
I made this for a map I'm making, I'm not telling you what it is, but here is a hint: It is fully customizable.
Report Abuse
DOOMKING is not online. DOOMKING
Joined: 27 Dec 2007
Total Posts: 9516
24 May 2008 11:27 AM
Well any idea how to make the click detector only work for one team?
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
24 May 2008 11:28 AM
I'll try, expect it in under 10 mins.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
24 May 2008 11:32 AM
It's finished and uploaded, read description for instructions.
Report Abuse
DOOMKING is not online. DOOMKING
Joined: 27 Dec 2007
Total Posts: 9516
24 May 2008 11:34 AM
Thanks i should be able to make a very interesting map now.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
24 May 2008 11:36 AM
Yw, do I get paied? or just credit in the description?
Report Abuse
DOOMKING is not online. DOOMKING
Joined: 27 Dec 2007
Total Posts: 9516
24 May 2008 11:37 AM
Depends what you would prefer either way it works out for me...
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
24 May 2008 11:38 AM
How many tix you got? I'm 945 away from Golden Teapot, but becuase ROBLOX gets some, It would be about 1200.
Report Abuse
DOOMKING is not online. DOOMKING
Joined: 27 Dec 2007
Total Posts: 9516
24 May 2008 11:39 AM
Well been getting alot so i have over 1375.....
Report Abuse
valitini94 is not online. valitini94
Joined: 27 Sep 2007
Total Posts: 3738
24 May 2008 11:40 AM
I will trade 1300 if you fix my bot script !
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
24 May 2008 11:41 AM
@ DOOM: How many would you give?
@ Valitini: Whats the script? What breaks?
Report Abuse
DOOMKING is not online. DOOMKING
Joined: 27 Dec 2007
Total Posts: 9516
24 May 2008 11:44 AM
Well maybe 350 tickets because i still need some tickets maybe 500.....
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
24 May 2008 12:13 PM
Just tell me how many and I'll change my trade shirt price. Btw, what is the place you are making?
Report Abuse
DOOMKING is not online. DOOMKING
Joined: 27 Dec 2007
Total Posts: 9516
24 May 2008 12:18 PM
Well it's a play ground of destruction which you set up bombs near buildings in a city and then at your team base a click detector appear and then Boom! goes the building and the idea is to destroy more building than the other team within 5 minutes also the other team can disable or get rid of your bombs before they go off...
Report Abuse
DOOMKING is not online. DOOMKING
Joined: 27 Dec 2007
Total Posts: 9516
24 May 2008 12:19 PM
Also the amount of tickets i'll give is 550.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
24 May 2008 12:27 PM
Sounds like Counter Strike.
Here is my shirt for you to buy:
http://www.roblox.com/Item.aspx?ID=1851455&UserAssetID=2694104
Report Abuse
DOOMKING is not online. DOOMKING
Joined: 27 Dec 2007
Total Posts: 9516
24 May 2008 12:33 PM
I bought it.... Now to build my Playground of Destruction map!
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
24 May 2008 02:53 PM
Bumping Teapot!

(I just got the Golden Teapot and the double post filter wont let me say bump).
Report Abuse
YoTroll is not online. YoTroll
Joined: 11 Jul 2011
Total Posts: 29675
03 Aug 2013 02:40 PM
wat
Report Abuse
Vector2D is not online. Vector2D
Joined: 11 May 2013
Total Posts: 195
03 Aug 2013 03:04 PM
script.Parent.Selected:connect(function(mouse)
mouse.Button1Down:connect(function()
if (mouse.target and mouse.target:FindFirstChild('StringValue')) then
if (mouse.target.StringValue == game:GetService('Players')['LocalPlayer'].Name) then
-- stuff
elseif (game:GetService('Teams'):FindFirstChild(mouse.target.StringValue.Value) and game:GetService('Players')['LocalPlayer'].TeamColor == game:GetService('Teams'):FindFirstChild(mouse.target.StringValue.Value.TeamColor) then
-- stuff
end;
end;
end);
end);
Report Abuse
BJCarpenter is online. BJCarpenter
Joined: 04 Nov 2008
Total Posts: 4416
03 Aug 2013 03:36 PM
Dr,

Y ca't u just check the name of the Person who clicked (Which is what a ClickDetector returns)? If right person; horay!

Or Just put a Local Click Detector in each-player-allowed-tp-click's Camera.

Either way.
Report Abuse
Vector2D is not online. Vector2D
Joined: 11 May 2013
Total Posts: 195
03 Aug 2013 03:38 PM
@BJC
Everything has to be complicated, that is why.
Why can't you use *proper* English?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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