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 » Scripting Helpers
Home Search
 

Re: Want help

Previous Thread :: Next Thread 
dylanmillicankid is not online. dylanmillicankid
Joined: 10 Oct 2011
Total Posts: 278
01 May 2012 04:54 PM
Ok ill help people with there scripting, ill edit and help with anything..
Report Abuse
liavt is not online. liavt
Joined: 12 Mar 2009
Total Posts: 1241
01 May 2012 04:56 PM
script7 = game.StarterGui.TeamButton.ImageButton.script7
local player = game.Players.LocalPlayer
local human = script7.Parent.Parent.Parent.Parent

script7.Parent.MouseButton1Click:connect(function(onclick)
human.Character.Humanoid.Health = 0
script7.player.TeamColor = BrickColor.new("1")
end)


output is saying everything is alright, but im not dieing OR changing teams :/
Report Abuse
dylanmillicankid is not online. dylanmillicankid
Joined: 10 Oct 2011
Total Posts: 278
02 May 2012 01:32 AM
I can help here
Report Abuse
rangersmash is not online. rangersmash
Joined: 18 Nov 2009
Total Posts: 2891
02 May 2012 01:34 AM
local script7 = player.PlayerGui.TeamButton.ImageButton.script7
local player = game.Players.LocalPlayer
local human = script7.Parent.Parent.Parent.Parent
script7.Parent.MouseButton1Click:connect(function(onclick)
human.Character.Humanoid.Health = 0
player.TeamColor = BrickColor.new(1)
end)

-[ ɥsɐɯsɹǝƃuɐɹ ]-
Report Abuse
dylanmillicankid is not online. dylanmillicankid
Joined: 10 Oct 2011
Total Posts: 278
02 May 2012 01:35 AM
What kind of Team change is this for "Group Team Change" or just a normal red to bue Team Change????
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
02 May 2012 01:36 AM
game.Parent:Destroy() --Why doesn't it work? ;)
Report Abuse
rangersmash is not online. rangersmash
Joined: 18 Nov 2009
Total Posts: 2891
02 May 2012 01:37 AM
Put this in a localscript inside the button

p = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
human.Character.Humanoid.Health = 0
p.TeamColor = BrickColor.new(1)
end)

-[ ɥsɐɯsɹǝƃuɐɹ ]-
Report Abuse
dylanmillicankid is not online. dylanmillicankid
Joined: 10 Oct 2011
Total Posts: 278
02 May 2012 01:37 AM
You need to have an object to Destroy
Report Abuse
rangersmash is not online. rangersmash
Joined: 18 Nov 2009
Total Posts: 2891
02 May 2012 01:37 AM
Also explain NewProxy please.

-[ ɥsɐɯsɹǝƃuɐɹ ]-
Report Abuse
dylanmillicankid is not online. dylanmillicankid
Joined: 10 Oct 2011
Total Posts: 278
02 May 2012 01:38 AM
@Cheater you need to have an object to Destroy and @Ranger are you posting for help or posting to help
Report Abuse
rangersmash is not online. rangersmash
Joined: 18 Nov 2009
Total Posts: 2891
02 May 2012 01:39 AM
For help.
How does NewProxy work?

-[ ɥsɐɯsɹǝƃuɐɹ ]-
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
02 May 2012 01:39 AM
The paren't of the game is an unknown object...
Report Abuse
dylanmillicankid is not online. dylanmillicankid
Joined: 10 Oct 2011
Total Posts: 278
02 May 2012 01:41 AM
I dont know how NewProxy works
Report Abuse
liavt is not online. liavt
Joined: 12 Mar 2009
Total Posts: 1241
03 May 2012 03:35 PM
@dylan
its a 'team change gui' for team yellow, blue, red, and green. white team is the undecided team and the team change gui only appears on the white team. BTW the actual team change gui itself is working, this is just a button if you want to change teams in the middle of the game.
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
03 May 2012 03:38 PM
@dylan; A little advice- don't make threads like these. That's what scripting helpers is for, you don't need to make another thread about it. Just help people on their threads.
Report Abuse
Jlobblet is not online. Jlobblet
Joined: 05 Sep 2010
Total Posts: 587
03 May 2012 03:40 PM
@cheater
game:shutdown()
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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