Teleport issue. Not very good with scripting!

Can someone tell me why this is not working please?

Code:
local worldStats = {}

worldStats[“EventPortal”] = {
GemsRequired = 10, – 10
TeleportPoint = workspace.Portals.Teleport.EventTeleport,
Portal = workspace.Portals[“Event Portal”],
HomePortal = workspace.Portals.EventHomeTeleport,
SkyColour = Color3.fromRGB(192, 229, 229),
Multiplier = 2,
Music = game:GetService(“SoundService”):WaitForChild(“SpaceMusic”)
}

return worldStats

Screenshot 2022-03-07 173037

1 Like

Not sure but I think it should be:

HomePortal = workspace.Portals.Teleport.EventHomeTeleport,

because you are trying to get EventHomeTeleport in the Portals folder but its in the Teleport inside the Portals folder.

2 Likes

still not working, same errors show up

The same error or a different error?

same errors show. change the script to the actual part n model names.

May you the whole script because its just the module script

Never find I have fixed it thanks for the help Though. It was the name of the portal music.