Simple Solution to all of Dear Leader's Problems.
3 posters
Page 1 of 1
Simple Solution to all of Dear Leader's Problems.
--[[Grey Army Rybak System]]
gun = script.Parent
function onSelected()
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.CurrentAmmo.Text = script.Parent.Ammo.Value
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.ClipsLeft.Text = script.Parent.Clips.Value
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.FullClip.Text = script.Parent.FullAmmo.Value
wait(0.2)
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.CurrentAmmo.Text = script.Parent.Ammo.Value
end
function onDeselected()
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.CurrentAmmo.Text = "--"
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.FullClip.Text = "--"
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.ClipsLeft.Text = "--"
wait(0.2)
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.CurrentAmmo.Text = "--"
end
gun.Equipped:connect(onSelected)
gun.Unequipped:connect(onDeselected)
gun = script.Parent
function onSelected()
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.CurrentAmmo.Text = script.Parent.Ammo.Value
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.ClipsLeft.Text = script.Parent.Clips.Value
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.FullClip.Text = script.Parent.FullAmmo.Value
wait(0.2)
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.CurrentAmmo.Text = script.Parent.Ammo.Value
end
function onDeselected()
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.CurrentAmmo.Text = "--"
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.FullClip.Text = "--"
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.ClipsLeft.Text = "--"
wait(0.2)
Game.Players.LocalPlayer.PlayerGui.GunGui.ClipFrame.CurrentAmmo.Text = "--"
end
gun.Equipped:connect(onSelected)
gun.Unequipped:connect(onDeselected)
Similar topics
» Dear Leader,
» Dear Leader
» Dear Leader, we're the only two on
» Dear Leader
» Dear Leader once again has BC
» Dear Leader
» Dear Leader, we're the only two on
» Dear Leader
» Dear Leader once again has BC
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|