From d8e1d59104561a0374ea66d184b19b0ae55a257b Mon Sep 17 00:00:00 2001 From: f2626222-glitch Date: Tue, 18 Nov 2025 06:11:54 +0530 Subject: [PATCH] Create math.randomseed math.randomseed(tick()) --- math.randomseed(tick()) | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 math.randomseed(tick()) diff --git a/math.randomseed(tick()) b/math.randomseed(tick()) new file mode 100644 index 00000000..72600918 --- /dev/null +++ b/math.randomseed(tick()) @@ -0,0 +1,18 @@ +math.randomseed(tick()) + +script.Parent.Touched:Connect(function(hit) + if hit.Parent:FindFirstChild("Humanoid") then + script.Disabled = true + local player = hit.Parent.Name + local num = math.random(0,100) + if num < 5 then + local item = game.ServerStorage.XM1404:Clone() + item.Parent = game.Players[player].Backpack + elseif num < 10 then + local item = game.ServerStorage.MP5:Clone() + item.Parent = game.Players[player].Backpack + end + -- Add more reward logic here + script.Parent:Destroy() + end +end)