local function onTouch (hit) if (hit.Parent:findFirstChild("Ball") ~= nil) then print(hit) print("collision started") game.ReplicatedStorage.MenuGuis.CollideGui:Clone.Parent = (don't know what to do here) end end script.Parent.Touched:connect(onTouch)
You're using clone the wrong way. It requires a parenthesis.
This is a parenthesis: ()
Correct usage: :Clone()
Correct script:
game.ReplicatedStorage.MenuGuis.CollideGui:Clone().Parent = (put path to the place where you want to put it, for example game.Workspace.)
A method is defined with a colon at the start and parenthesis at the end that can or not have a parameter. :Clone()
is a method.