I’m trying out certain features while reading the documentation. In this situation the “Bindable Event” object
When running the script its about a 50/50 chance of the script actually firing
I tried copy-pasting the example script from the documentation just in case my script was wrong, but I got the same result
Scripts:
Event Firing script:
local ServerScriptService = game:GetService("ServerScriptService")
local TestBindableEvent = ServerScriptService:WaitForChild("TestBindableEvent")
TestBindableEvent:Fire("Ball")
Event Connection script:
local ServerScriptService = game:GetService("ServerScriptService")
local TestBindableEvent = ServerScriptService:WaitForChild("TestBindableEvent")
TestBindableEvent.Event:Connect(function(shape)
print("Signal recieved")
local part = Instance.new("Part")
part.Shape = shape
part.Parent = workspace
part.Position = Vector3.new(0,10,0)
end)