Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cd = 5 -- cooldown
- local position
- while wait(cd) do -- loop
- local folder = script.Folder:GetChildren() -- gets the parts in the folder
- local random = math.random(1,#folder) -- randomizes
- local index = folder[random] -- randomizes the parts
- local copy = game.ReplicatedStorage.ClassicSword:Clone() -- tool/item ( JUST CHANGE THE "ClassicSword" )
- copy.Parent = game.Workspace -- parent
- copy.Handle.CFrame = index.CFrame -- the cframe of the item
- position = copy.Handle.Position
- end
Advertisement
Add Comment
Please, Sign In to add comment