Lecturous
|
  |
| Joined: 17 Aug 2013 |
| Total Posts: 1096 |
|
|
| 31 Jan 2015 07:16 PM |
Well, my Battle Blocks game was horrible given the reviews from my friends. Looks like I need to update it. Now, first I am editing the class screen. What does this have to do with the problem? THIS IS THE PROBLEM.
I want to make it so that whenever a player spawns or dies, they can select their class again. Problem is, I don't know how to do this. Sure, I can DELETE the class GUI once the player selects the class, but then what? Any ideas?
Here is the script I am using (server script, parent is a class GUI button): local c = script.Parent local plr = script.Parent.Parent.Parent.Parent.Parent.Parent local text = script.Parent.Parent.Parent.Description.Text local q = "No class selected." local wep = game.ServerStorage.Weapons.Scout
c.MouseEnter:connect(function() text.Text = [[ "The Scout is a great class for beginners that has regular health and walkspeed. Don't expect TOO much from this class, it is for beginners." ]] end)
c.MouseLeave:connect(function() text.Text = q end)
c.MouseButton1Down:connect(function() local class = plr:FindFirstChild('Class') if class then class.Value = "Scout" for i, v in pairs(wep:GetChildren()) do v.Parent = plr.Backpack script.Parent.Parent.Parent.Visible = false end end end)
HeavyBomber1 / Lecturous - Developer and Player |
|
|
| Report Abuse |
|
|
Lecturous
|
  |
| Joined: 17 Aug 2013 |
| Total Posts: 1096 |
|
|
| 31 Jan 2015 07:43 PM |
Bump.
HeavyBomber1 / Lecturous - Developer and Player |
|
|
| Report Abuse |
|
|
Lecturous
|
  |
| Joined: 17 Aug 2013 |
| Total Posts: 1096 |
|
|
| 31 Jan 2015 08:20 PM |
I know someone is at LEAST going to help me. Please.
HeavyBomber1 / Lecturous - Developer and Player |
|
|
| Report Abuse |
|
|
Lecturous
|
  |
| Joined: 17 Aug 2013 |
| Total Posts: 1096 |
|
|
| 31 Jan 2015 09:00 PM |
Why is NO ONE helping me?
HeavyBomber1 / Lecturous - Developer and Player |
|
|
| Report Abuse |
|
|
Lecturous
|
  |
| Joined: 17 Aug 2013 |
| Total Posts: 1096 |
|
|
| 31 Jan 2015 09:17 PM |
Ugh.... this is agitating...
HeavyBomber1 / Lecturous - Developer and Player |
|
|
| Report Abuse |
|
|
Lecturous
|
  |
| Joined: 17 Aug 2013 |
| Total Posts: 1096 |
|
|
| 31 Jan 2015 09:38 PM |
bump.....................
HeavyBomber1 / Lecturous - Developer and Player |
|
|
| Report Abuse |
|
|