Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why wont this script work?

Asked by 8 years ago

local player = game.Players.LocalPlayer local R1 = game.ReplicatedStorage.Weapons:WaitForChild('R1') local introran = player:WaitForChild('IntroRan')

if introran.Value == 1 then wait(0.5) if player.leaderstats.R1.Value == 1 then local cR1 = R1:Clone() cR1.Parent = player.Backpack end end

This script is inside a local script. Inside the StarterGUI

Answer this question