Big Codens Trigger BOT Enjoy
Code:local Bighook = hook local BigPly = LocalPlayer() local BigEye = BigPly:GetEyeTrace() bighook.Add("Think", "TriggerClot", function() for k,v in pairs(player.GetAll()) do if v ~= BigPly then if BigEye.Entity == v then BigPly:ConCommand("+attack") end end end end)
IT WILL WORK I AM LUA NOOB!
Fixed Big Codens big code
Code:hook.Add("Think", "TriggerClot", function() local BigPly = LocalPlayer() local BigEye = BigPly:GetEyeTrace() if IsValid(BigPly) then if BigEye.Entity:IsPlayer() then BigPly:ConCommand("+attack") elseif not BigEye.Entity:IsPlayer() then BigPly:ConCommand("-attack") end end end)
Last edited by suchisgood; 12-26-2014 at 06:52 AM.