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 » Scripters
Home Search
 

Re: If Click give command help

Previous Thread :: Next Thread 
xX1StarLord1Xx is online. xX1StarLord1Xx
Joined: 18 Mar 2014
Total Posts: 131
27 Jun 2017 09:23 AM
I wanted to make a clickable button but I want it to be when you click it it gives you the model. I just need the script i am not ####### enough to not put a Clickdetector.(kinda)
Report Abuse
amanda is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
27 Jun 2017 09:25 AM
"I just need the script"
Report Abuse
xX1StarLord1Xx is online. xX1StarLord1Xx
Joined: 18 Mar 2014
Total Posts: 131
27 Jun 2017 09:40 AM
xD I just need the script,clickdetector and the model. Just that
Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
27 Jun 2017 09:43 AM
Put this in a script:

local skurr = Instance.new("Script", workspace)
local skurrSkurr = Instance.new("ClickDetector", workspace)
local yerr = Instance.new("Model", workspace)

Should work just fine, and it'll have everything you need.
Report Abuse
Milenveliki is not online. Milenveliki
Joined: 14 Aug 2013
Total Posts: 1097
27 Jun 2017 09:56 AM
local brick=Instance.new("Part",Workspace)
brick.Shape="Ball"
brick.BrickColor=BrickColor.Random()
local mehclickdetector=Instance.new("ClickDetector",brick)
mehclickdetector.MouseClick:connect(function(plr)
plr.Character.Humanoid.Health=0
end)
Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
27 Jun 2017 09:57 AM
Hey, you forgot the model.

But I forgot the button.
Report Abuse
xX1StarLord1Xx is online. xX1StarLord1Xx
Joined: 18 Mar 2014
Total Posts: 131
27 Jun 2017 10:16 AM
it doesnt seem to work ive tried a regular script and a local script
Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
27 Jun 2017 10:18 AM
Did you try a module script?
Report Abuse
xX1StarLord1Xx is online. xX1StarLord1Xx
Joined: 18 Mar 2014
Total Posts: 131
27 Jun 2017 10:21 AM
lol
Report Abuse
xX1StarLord1Xx is online. xX1StarLord1Xx
Joined: 18 Mar 2014
Total Posts: 131
27 Jun 2017 10:22 AM
no
Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
27 Jun 2017 10:23 AM
You should try it.
Report Abuse
xX1StarLord1Xx is online. xX1StarLord1Xx
Joined: 18 Mar 2014
Total Posts: 131
27 Jun 2017 10:23 AM
so i want to make a cup giver so should i make 1 cup put it in workshop and use your command and where do i put the name of the object.also if there is 2 names called cup will it give me both or not work?
Report Abuse
xX1StarLord1Xx is online. xX1StarLord1Xx
Joined: 18 Mar 2014
Total Posts: 131
27 Jun 2017 10:24 AM
it didnt work when i clicked it
Report Abuse
xX1StarLord1Xx is online. xX1StarLord1Xx
Joined: 18 Mar 2014
Total Posts: 131
27 Jun 2017 10:45 AM
what should i do?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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