|
|
| 13 Jul 2017 11:58 PM
|
I'm trying to make a script where a gui appears on the screen and a character disappears when you click it, but I don't know how to do that. This is what I have:
local function onMouseClick(mouse)
--stuff
end
function onMousePressed()
local tool = mouse.Target:FindFirstChild("Handle")
if (tool ~= nil) then
mouse.KeyDown:connect(function(key) if (key == "z") then
tool.Parent = workspace
end end)
end
end
mouse.Button1Up:connect(onMouseButton)
|
|
|
|
|
|
|
Report
Abuse
|
|
|
|
|
|
|
|
|
|
| 14 Jul 2017 12:08 AM
|
Please someone help me I've been stuck on this for so long.
|
|
|
|
|
|
|
Report
Abuse
|
|
|
|
|