local rs = game:GetService("ReplicatedStorage")
local players = game:GetService("Players")
local localPlayer = players.LocalPlayer
local serverEvent = rs:WaitForChild("Modules"):WaitForChild("EventManagerClient"):WaitForChild("ServerEvent")
serverEvent.OnClientEvent:Connect(function(action, data)
if action == "StartTurn" and type(data) == "table" then
if data.Player == localPlayer then
--task.wait(math.random(1,3)) --u can set delay
serverEvent:FireServer("ExecuteThrow", {
Result = "Green"
})
end
end
end)
print("Xsaf, a love it")
Comments
No comments yet
Be the first to share your thoughts!