Y'know the RobloxScriptService thing :Wait()?
like
-- :GetService() is for the laughs
game:GetService("Workspace").Part.Touched:Wait()
-- blab
I was wondering if you could like, make it so that the event would only get through :Wait() if a parameter of it had a certain value.
I mean like sorta like
script.Parent.Touched:Connect(function(otherThing)
local player = game:GetService("Players"):GetPlayerFromCharacter(otherThing.Parent)
if player then
game:GetService("ReplicatedStorage").TouchEvent:FireClient(player)
-- importent
script.Parent.TouchEnded:Wait(otherPart = otherThing)
-- end
game:GetService("ReplicatedStorage").MoveEvent:FireClient(player)
end
end)
Soo.... yes or no?

1 comment
Makes sense, should work.