Maybe it is because on the owner door I have a decal as well with the SurfaceGui?
Here let me send you a video. The game now loads but when the player claims the tycoon this is what happens:
I did that. I tried that 9 times. Here let me show you a video.
let me upload it on youtube so you can see it.
Then the rendering thing shows up.
Can you check all the other scripts for any breakpoints (red dots) on the side?
It looks like MainItems
doesn’t have a child called OwnerDoor
or OwnerDoor
doesn’t have a child called MainDoor
or MainDoor
isn’t a BasePart
.
Do you know when roblox console shows an error and it doesn’t show you what script it is from how can you find it?
When it doesn’t show which script caused an error, 99% of the time that’s just a roblox error that doesn’t have to do with your script(s).
wait bro. Can you help me with something else. I have been stuck on this error for half a error. It sayss, "CashValue is not a valid member of Folder “Workspace.TycoonModel.Values” but it is.
local CashValue = script.Parent.Parent.Parent.Parent.Values.CashValue
script.Parent.Touched:Connect(function(Hit)
if Hit.Name == “Part” and Hit:FindFirstChild(“CashValue”) then
CashValue.Value += Hit:FindFirstChild(“CashValue”).Value
Hit:Destroy()
end
end)
Try:
local CashValue = script.Parent.Parent.Parent.Parent.Values:WaitForChild("CashValue")
Sorry for late response
It didn’t work here let me show you a video:
robloxapp-20230412-1827261.wmv (1.8 MB)
It collects the parts but it doesn’t increase the cash.
Here is the script