Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how can i make this script have compatability with a tool?

Asked by 2 years ago

i want code below to work with tools on the ground. (Like the cube doors from portal.)

script.Parent.Touched:connect(function()

    workspace.door1_level1.Transparency = 0.5
    workspace.door1_level1.CanCollide = false

end)



script.Parent.TouchEnded:connect(function()

workspace.door1_level1.Transparency = 0
    workspace.door1_level1.CanCollide = true
end)
0
I can't understand about this. Would you provide some explanations before I will find an answer. PLplayz999 14 — 2y

Answer this question