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: TITLE TOO LONG!

Previous Thread :: Next Thread 
ntmcd is not online. ntmcd
Joined: 07 Oct 2011
Total Posts: 2432
20 Apr 2013 03:11 PM
I made a new script. It works perfectly in build but not edit. Why?
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
20 Apr 2013 03:12 PM
What is the script and what does it do (if anything)?
Report Abuse
ntmcd is not online. ntmcd
Joined: 07 Oct 2011
Total Posts: 2432
20 Apr 2013 03:14 PM
a regular(non free model) gameround script.
Report Abuse
ExtremeMarioTime is not online. ExtremeMarioTime
Joined: 25 Jul 2011
Total Posts: 1862
20 Apr 2013 03:14 PM
lol... I never use edit mode so I can't really help.
Report Abuse
ntmcd is not online. ntmcd
Joined: 07 Oct 2011
Total Posts: 2432
20 Apr 2013 03:16 PM
I'm so sorry i didnt mean edit i meant play mode.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
20 Apr 2013 03:18 PM
Your script might be relying on segments that MUST be performed in a LocalScript.
If you post the script we might be able to help.
Report Abuse
ntmcd is not online. ntmcd
Joined: 07 Oct 2011
Total Posts: 2432
20 Apr 2013 03:19 PM
--hax bro
--script by ntmcd

function gameround()
c = Instance.new("Message")
c.Parent = Workspace
c.Name = "GameMessage" --inserts a message
c.Text = ("Game Round ended")
wait(0.5)
local players = game.Players:GetChildren()
for i = 1, #players do
if players[i].TeamColor == BrickColor.new("White") and players[i].Neutral == true then

end
if players[i].TeamColor == BrickColor.new("Really red") then
redscore = players[i].leaderstats.KOs.Value
print(redscore)
reddeaths = players[i].leaderstats.Wipeouts.Value
print(reddeaths)

end
if players[i].TeamColor == BrickColor.new("Lime green") then
greenscore = players[i].leaderstats.KOs.Value
print(greenscore)
reddeaths = players[i].leaderstats.Wipeouts.Value
end
end
if redscore == nil then
redscore = 0
end
if greenscore == nil then
greenscore = 0
end
if greenscore < redscore then
c.Text = "Red Victory"
wait(2)

end
if redscore < greenscore then
c.Text = "Green Victory"
wait(2)

if redscore == greenscore then
c.Text = "Tie"
wait(2)
end

end
p = game.Players:GetChildren()
for i= 1, #p do
p[i].Character.Torso.Neck:remove() --kills everyone
wait (0.1)
p[i].leaderstats.KOs.Value = 0
p[i].leaderstats.Wipeouts.Value = 0
end
wait(2)
game.Lighting.Pauseboxes.Parent = game.Workspace --boxes everyone
c.Text = ("New Game Round Loading")
wait(1)
c.Text = ("New Game Round Loading.") --the game round is loading
wait(1)
c.Text = ("New Game Round Loading..")
wait(1)
c.Text = ("New Game Round Loading...")
wait(1)
tdm()

end

function tdm()
c.Text = ("Game Round: Team Deathmatch")
wait(5)
game.Workspace.Pauseboxes.Parent = game.Lighting --gets rid of the boxes
c.Text = ("GO!!!!!!!!!!!")
wait(1)
game.Workspace.GameMessage:Destroy() --destroys the message
wait(200)
end




wait(10)
while true do
a = 6
gameround()
end


Report Abuse
ntmcd is not online. ntmcd
Joined: 07 Oct 2011
Total Posts: 2432
20 Apr 2013 03:22 PM
did u find anything
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
20 Apr 2013 03:26 PM
The only thing I can think of is if the players' characters don't exist, or the Neck/Torso doesn't exist when the roundend() function is called. Try checkign to see if the Character, Torso, and Neck all exist.
Report Abuse
TheGamer101 is not online. TheGamer101
Joined: 14 Feb 2009
Total Posts: 11943
20 Apr 2013 03:31 PM
I recomend using this : http://www.roblox.com/Remote-Error-Monitoring-System-item?id=65774258 to debug it.
Report Abuse
ntmcd is not online. ntmcd
Joined: 07 Oct 2011
Total Posts: 2432
20 Apr 2013 07:09 PM
Thnx
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