generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: GUI Help

Previous Thread :: Next Thread 
CaharDudayev is not online. CaharDudayev
Joined: 15 Sep 2014
Total Posts: 32
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 is online. 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
CaharDudayev is not online. CaharDudayev
Joined: 15 Sep 2014
Total Posts: 32
22 Feb 2016 09:46 AM
and its needs to kill player too


i am fokar
Report Abuse
CaharDudayev is not online. CaharDudayev
Joined: 15 Sep 2014
Total Posts: 32
22 Feb 2016 11:08 AM
bump


i am fokar
Report Abuse
Nickelele is online. 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
CaharDudayev is not online. CaharDudayev
Joined: 15 Sep 2014
Total Posts: 32
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
CaharDudayev is not online. CaharDudayev
Joined: 15 Sep 2014
Total Posts: 32
22 Feb 2016 11:37 AM
(not opening scrolling frame)


i am fokar
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image