Simple Solution to all of Dear Leader's Problems.

Go down

Simple Solution to all of Dear Leader's Problems.

Post by Dear Leader on Mon May 27, 2013 11:44 am

--[[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)
avatar
Dear Leader
Admin

Posts : 487
Join date : 2013-05-21
Age : 20

View user profile http://greyarmy.forumotion.com

Back to top Go down

Re: Simple Solution to all of Dear Leader's Problems.

Post by Autismo on Mon May 27, 2013 12:00 pm

derp for brains
avatar
Autismo

Posts : 469
Join date : 2013-05-25

View user profile http://thechurchofautismo.weebly.com/

Back to top Go down

Re: Simple Solution to all of Dear Leader's Problems.

Post by Lefty13 on Mon May 27, 2013 1:26 pm

^
avatar
Lefty13

Posts : 26
Join date : 2013-05-24

View user profile

Back to top Go down

Re: Simple Solution to all of Dear Leader's Problems.

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum