Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- wait(2)
- for i, v in pairs(game.Workspace.BensIceCream:GetChildren()) do
- if v.Name == "CustomerTargets" then
- for a, b in pairs(v:GetChildren()) do
- if b.Name == "CustomerTarget" then
- game.ReplicatedStorage.DataFunction:InvokeServer({Item="Ice Cream Cup", Type="EquipItem"})
- game.ReplicatedStorage.DataEvent:FireServer({Type="FinishOrder", Correct=true, Workstation=b})
- end
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment