#ProximityPrompt got bugged when i tried to clone object
13 messages · Page 1 of 1 (latest)
Than i have to make script in server script service?
** You are now Level 2! **
yes, probably
But how to make this script because i have made 30 clones of this object
something like this
--make a table of all the proxies it needs to listen to
local proxyTable = --you know what to do, I hope
local function Triggered()
--the stuff that happens when the proxy gets triggered
end
for _, proxy in proxyTable do
if not proxy:IsA("ProximityPrompt") then return end
proxy.Triggered:Connect(Triggered)
end
Maybe it's funny, maybe it's not, but the last thing I would know how to do is "proxyTable"
that's just a variable
if you wish then I can rename it to MagicMushroom, so just ignore the name
make the script make the clones
and then assign them to a list
Sooooo what i have to write there
Anything i want or it have to be something important