Output: 20:57:06.079 - Unable to create an Instance of type "StockSound"
I don't understand. Where did I go wrong? The script is where if you touch a door, you will claim that tycoon.
-- made by roboy5857 local gate = script.Parent.Parent local door = script.Parent local player = game.Players.LocalPlayer function Claim() door.Transparency=0.5 door.CanCollide=false if player.Humanoid == nil then wait(1) door.Name="Claimed" end end function onTouched(door) if player:onTouched(door) then if player.Humanoid == nil then Claim() end end end
i think its because you do ~= nil for line 19 i think but im not entirely sure.