T
T
Tera Incognita2020-12-09 21:24:27
Lua
Tera Incognita, 2020-12-09 21:24:27

Is there anyone who works in Core open alpha language Lua?

the task is, if the player enters the trigger, then the object in the trigger disappears.
Simplified the code to elementary .

function a(trigger, object)
if a ~= trigger and object:IsA("Player") then
trigger:Destroy()
end
end
script.parent.beginOverlapEvent:Connect(a)

I was terrified, but the network button turned on the code works, everything works, it works on the wall.
I go to the publication does not work.
What's wrong?
already simplified the code to a primitive ....
In the game it works, you approach the wall, it disappears, after publication it either works once or does not work at all
Who worked with Core open alpha ? tell me what is the problem? why does it work for me and on my wall, but when in a group it doesn't work?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question