local Gamepass = 122313
local Player = game.Players.LocalPlayer
function onTouched(m) p = m.Parent:findFirstChild("Humanoid") if p ~= nil and game.MarketplaceService:PlayerOwnsAsset(Player,Gamepass) then p.LowerTorso.CFrame = CFrame.new(0,8,9) end end script.Parent:connect(onTouched)
You are trying to call "connect" on an instance, not an event.
Instead of:
script.Parent:connect(onTouched)
do
script.Parent.PUT_EVENT_CALL_HERE:connect(onTouched) -- For example: -- script.Parent.OnServerEvent:connect(onTouched) (if RemoteEvent in a Server Script)