Can anyone help?
So basically im making a sniper tool and im trying to make a zoom script but it doesnt work
Heres the code (LocalScript):
local Mouse = game.Players.LocalPlayer:GetMouse()
local Tool = script.Parent
local PlayerGUI = game.Players.LocalPlayer.PlayerGui --Im gonna use it later
local char = game.Players.LocalPlayer.Character
local Zoomed = false
local CurrentCamera = workspace.CurrentCamera --Also gonna use it later
Mouse.Button2Down:Connect(function()
if Tool.Parent == char then
if Zoomed == false then
print("UP")
elseif Zoomed == true then
print("DOWN")
end
end
end)
