How do you make a script where when you touch a block the size of another changes?
function touch()
wait (1)
game.workspace.GETrekt.Size = ("1, 11, 11")
end
script.Parent.Touched:connect(touch)
function touch()
wait (1)
game.workspace.GETrekt.Size = Vector3.new(1, 11, 11)
end
script.Parent.Touched:connect(touch)
so i got this
how do i make it so it only activates when its a person who touches it>
function touch(a)
if a.Parent:findFirstChild("humanoid")
then
wait (1)
game.workspace.GETrekt.Size = Vector3.new(1, 11, 11)
end
end
script.Parent.Touched:connect(touch)