Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- local backpack = player.Backpack
- local char = player.Character
- local hrp = char.HumanoidRootPart
- local hum = char.Humanoid
- local tween = game:GetService("TweenService")
- function gatherswords()
- local swords = {}
- for i, v in pairs(backpack:GetChildren())do
- if(v:IsA"Tool")then
- table.insert(swords,v)
- end
- end
- for i, v in pairs(char:GetChildren())do
- if(v:IsA"Tool")then
- table.insert(swords,v)
- end
- end
- return swords
- end
- local swords = gatherswords()
- for i, sword in pairs(swords) do
- if(i~=#swords)then
- sword.Parent = backpack
- sword.Handle.Massless = true
- --Change the Frame.New Things that says 0 to any number to not have a chubby sword sword.Grip = (sword.Grip*CFrame.new(0,0,-0.0)) * CFrame.Angles(0, (6.28/(#swords-1))*i, 0)
- end
- sword.Parent = char
- end
Advertisement
Add Comment
Please, Sign In to add comment