Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.StarterGui:SetCoreGuiEnabled(2, true)
- mouse = game.Players.LocalPlayer:GetMouse()
- tool = Instance.new("Tool")
- tool.RequiresHandle = false
- tool.Name = "Click Collsion"
- tool.Activated:connect(function()
- local hit = mouse.Target
- if hit.CanCollide == true then
- hit.CanCollide = false
- else
- hit.CanCollide = true
- end
- end)
- tool.Parent = game.Players.LocalPlayer.Backpack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement