Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

why do I keep getting No method name passed in __namecall for Object?

Asked by 7 years ago
Edited 7 years ago
local x = 81.6
local y = -10.1
local z = -52
local Map = game.ServerStorage.Maps
local Maps = game.ServerStorage.Maps:GetChildren()
    -- Map selection
local function mapchoice()

    local Choose = Maps[math.random(1,#Maps)]
    Choose.Name = "ChosenMap"
    local placemap = Choose:Clone() 
    placemap:SetPrimaryPartCFrame(CFrame.new (x, y, z))
    placemap.Parent = game.Workspace()

end 
    wait (Resttime)
    mapchoice()

I've been stuck on these lines of code for months.

0
Can you include the context? How are `Maps` and `x y z` etc defined? BlueTaslem 18071 — 7y
0
ok done xxUmbreonDarkxx 6 — 7y

Answer this question