|
| 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
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
| |
|
|
| 27 Jun 2017 09:40 AM |
| xD I just need the script,clickdetector and the model. Just that |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 27 Jun 2017 09:57 AM |
Hey, you forgot the model.
But I forgot the button. |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2017 10:16 AM |
| it doesnt seem to work ive tried a regular script and a local script |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2017 10:18 AM |
| Did you try a module script? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 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 |
|
|
|
| 27 Jun 2017 10:24 AM |
| it didnt work when i clicked it |
|
|
| Report Abuse |
|
|
| |
|