k0jv5
(XBC)
1
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

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
k0jv5
(XBC)
3
still not working, same errors show up
The same error or a different error?
k0jv5
(XBC)
5
same errors show. change the script to the actual part n model names.
May you the whole script because its just the module script
k0jv5
(XBC)
7
Never find I have fixed it thanks for the help Though. It was the name of the portal music.