|
| 22 Feb 2016 09:32 AM |
Hello i madea gui when you click textbutton opens scrollingframe and there is a bunch of buttons in scrollingframe, I want when you click button on scrollingframe your team will change i wrote some script but dont working please help me
local screenGui = game.Players.LocalPlayer.PlayerGui.ScreenGui.Normal local willop = game.Players.LocalPlayer.PlayerGui.ScreenGui.willopen local ScrollingFrame = game.Players.LocalPlayer.PlayerGui.ScreenGui.willopen.ScrollingFrame local group1 = ScrollingFrame.Anythin local group2 = ScrollingFrame.Anythin2 local group3 = ScrollingFrame.Anythin3 local group4 = ScrollingFrame.Anythin4 local group5 = ScrollingFrame.Anythin5 local group6 = ScrollingFrame.Anythin6 local group7 = ScrollingFrame.Anythin7 local group8 = ScrollingFrame.Anythin8 local group9 = ScrollingFrame.Anythin9 local group10 = ScrollingFrame.Anythin10 local group11 = ScrollingFrame.Anythin11 local group12 = ScrollingFrame.Anythin12 local group13 = ScrollingFrame.Anythin13 local group14 = ScrollingFrame.Anythin14 local group15 = ScrollingFrame.Anythin15 local group16 = ScrollingFrame.Anythin16 local group17 = ScrollingFrame.Anythin17 local group18 = ScrollingFrame.Anythin18 local group19 = ScrollingFrame.Anythin19 local group20 = ScrollingFrame.Anythin20
screenGui.MouseButton1Down:connect(function() willop.Visible = not willop.Visible ScrollingFrame.Visible = not ScrollingFrame.Visible end)
group1.MouseButton1Down:connect(function() local parent = script.parent if game.Players:GetPlayerFromCharacter():IsInGroup(2558327) then parent.Humanoid.Health = 100 parent.TeamColor = BrickColor.new("Navy blue") end end)
group1.MouseButton1Down:connect()
i am fokar |
|
|
| Report Abuse |
|
|
Nickelele
|
  |
| Joined: 26 Oct 2010 |
| Total Posts: 11550 |
|
|
| 22 Feb 2016 09:37 AM |
parent.BrickColor = BrickColor.new("Navy blue")
http://www.roblox.com/games/228437605/RPG-IN-PROGRESS - 25R$, TEST FOR ME! |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2016 09:46 AM |
and its needs to kill player too
i am fokar |
|
|
| Report Abuse |
|
|
| |
|
Nickelele
|
  |
| Joined: 26 Oct 2010 |
| Total Posts: 11550 |
|
|
| 22 Feb 2016 11:31 AM |
to make it kill too, do elseif
http://www.roblox.com/games/228437605/RPG-IN-PROGRESS - 25R$, TEST FOR ME! |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2016 11:36 AM |
and its working on roblox studio play but not working when I am trying to play game
i am fokar |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2016 11:37 AM |
(not opening scrolling frame)
i am fokar |
|
|
| Report Abuse |
|
|