This is the code I have that is supposed to fire it, I get "Brick Touched" to print. However I never get "maybe" to print so I believe it breaks on the Fire command.
local BindableEvent = game.ServerStorage:WaitForChild("Pass") local debounce = false script.Parent.Touched:Connect(function() if not debounce then debounce = true print("Brick Touched") BindableEvent:Fire() print("maybe") wait(1) end end)
This is my receiver script
local GlitchURL = "Removed for Security" --Place the glitch project URL inside of the quotes local BindableEvent = game.ServerStorage:WaitForChild("Pass") function rankUser(UserID, RoleID) game:GetService("HttpService"):GetAsync(GlitchURL .. "ranker?userid=" .. UserID .. "&rank=" .. RoleID) end local UserID = 1234567 --Replace 12345 with the users userid local RoleID = 123 --Replace 255 with the role id that you would like the user to be set to rankUser(UserID, RoleID) local Configuration = { {10} } BindableEvent.Event:Connect(function(Player) for i = 1, #Configuration do local RankID = Configuration[i][1] rankUser(Player.UserID, RankID) print("Ranked!") end end)
My bindable event is called "Pass" and it is located in ServerStorage.