This error comes from clonetrooper1019’s realism system, breaking the script completely. other users of this system don’t seem to be experiencing this so, what’s wrong? what i can do to fix this?
This topic might helpful in your situation:
Likely a memory leak due to the fact that the amount of dropped events are increasing by a magnitude of 2.
Can you share the code responsible?
Same things happening to me, I know this is an old post, but here is my code:
–LOCAL SCRIPT INSIDE OF TEXTBUTTON
local UIS = game:GetService(“UserInputService”) --UserInputService
local Frame = script.Parent
local event = game.ReplicatedStorage.Classes.Peasent.MobileButtons
function updateInput()
local lastInput = UIS:GetLastInputType()
if lastInput == Enum.UserInputType.Focus then return end – ignore if the player focuses on the app
event:FireServer(Frame) – makes the frame visible if the user touched the screen
end
updateInput() – Detect input on Startup
UIS.LastInputTypeChanged:Connect(updateInput)
–SERVER SCRIPT
– Show mobile buttons if the player is on mobile
mobileButtonsEvent.OnServerEvent:Connect(function(player,button)
tool.Equipped:Connect(function()
button.Visible=true
end)
tool.Unequipped:Connect(function()
button.Visible=false
end)
end)