CreateClientConVar( "exploit_dance", 0, true, false)
local actdelay = false
local acttable = {
{ Act = ACT_GMOD_TAUNT_LAUGH, Delay = 6.3 },
{ Act = ACT_GMOD_TAUNT_PERSISTENCE, Delay = 3.1 },
{ Act = ACT_GMOD_GESTURE_DISAGREE, Delay = 2.7 },
{ Act = ACT_GMOD_GESTURE_AGREE, Delay = 2.7},
{ Act = ACT_GMOD_GESTURE_WAVE, Delay = 3.7 },
{ Act = ACT_GMOD_GESTURE_BECON, Delay = 3.4 },
{ Act = ACT_GMOD_TAUNT_MUSCLE, Delay = 11 },
{ Act = ACT_GMOD_GESTURE_BOW, Delay = 3 },
}
local function rpact()
if GAMEMODE.Name != "DarkRP" then
LocalPlayer():ChatPrint("You are mentally insane for not running this on DarkRP!")
RunConsoleCommand("exploit_dance", 0)
return
end
if !(actdelay) then
local act = table.Random(acttable)
RunConsoleCommand("_DarkRP_DoAnimation", act.Act)
actdelay = true
timer.Simple(act.Delay, function()
actdelay = false
end)
end
end
RunConsoleCommand("exploit_dance", 0)
cvars.AddChangeCallback("exploit_dance", function()
if GetConVarNumber("exploit_dance") == 1 then
hook.Add("Think", "hooked_dance", rpact)
actdelay = false
else
hook.Remove("Think", "hooked_dance", rpact)
actdelay = false
end
end)
Not an exploit lol.
- - - Updated - - -

Originally Posted by
yung420
CreateClientConVar( "exploit_dance", 0, true, false)
local actdelay = false
local acttable = {
{ Act = ACT_GMOD_TAUNT_LAUGH, Delay = 6.3 },
{ Act = ACT_GMOD_TAUNT_PERSISTENCE, Delay = 3.1 },
{ Act = ACT_GMOD_GESTURE_DISAGREE, Delay = 2.7 },
{ Act = ACT_GMOD_GESTURE_AGREE, Delay = 2.7},
{ Act = ACT_GMOD_GESTURE_WAVE, Delay = 3.7 },
{ Act = ACT_GMOD_GESTURE_BECON, Delay = 3.4 },
{ Act = ACT_GMOD_TAUNT_MUSCLE, Delay = 11 },
{ Act = ACT_GMOD_GESTURE_BOW, Delay = 3 },
}
local function rpact()
if GAMEMODE.Name != "DarkRP" then
LocalPlayer():ChatPrint("You are mentally insane for not running this on DarkRP!")
RunConsoleCommand("exploit_dance", 0)
return
end
if !(actdelay) then
local act = table.Random(acttable)
RunConsoleCommand("_DarkRP_DoAnimation", act.Act)
actdelay = true
timer.Simple(act.Delay, function()
actdelay = false
end)
end
end
RunConsoleCommand("exploit_dance", 0)
cvars.AddChangeCallback("exploit_dance", function()
if GetConVarNumber("exploit_dance") == 1 then
hook.Add("Think", "hooked_dance", rpact)
actdelay = false
else
hook.Remove("Think", "hooked_dance", rpact)
actdelay = false
end
end)
Not an exploit lol.