Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tool=Instance.new("Tool")
- local active=false
- local head=Instance.new("Part")
- head.BrickColor=BrickColor.new("Maroon")
- local stick=Instance.new("Part")
- stick.BrickColor=BrickColor.new("Pastel brown")
- stick.Material="Wood"
- local m3=Instance.new("Model")
- stick.Position=Vector3.new(26.21, 0.21, -40.545)
- stick.Size=Vector3.new(0.2, 0.2, 1.33)
- head.Position=Vector3.new(26.2, 0.2, -39.9)
- head.Size=Vector3.new(0.4, 0.4, 0.6)
- stick.Parent=tool
- head.Parent=tool
- local w=Instance.new("Weld")
- w.Parent=stick
- w.Part0=stick
- w.Part1=head
- stick.CFrame:inverse()
- head.CFrame:inverse()
- stick.Name="Handle"
- tool.Parent=game.Players.COOLBRAYDENNOOB.Backpack
- tool.Name="Match"
- local player=game.Players.COOLBRAYDENNOOB
- local m=player:GetMouse()
- tool.Equipped:connect(function()
- active=true
- end)
- tool.Unequipped:connect(function()
- active=false
- end)
- m.Button1Down:connect(function()
- if active==true then
- print'activated'
- local p1=head:Clone()
- local p2=stick:Clone()
- if p2:FindFirstChild("Weld") then
- p2.Weld:Destroy()
- end
- local w2=Instance.new("Weld")
- w2.Parent=p2
- w2.Part0=p2
- w2.Part1=p1
- p1.Parent=m3
- p2.Parent=m3
- p1.Name="Match"
- local fire=Instance.new("Fire")
- fire.Parent=p1
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement