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: Flag Captured Script on a Raider Team Not working at all

Previous Thread :: Next Thread 
masdog456 is not online. masdog456
Joined: 04 Feb 2010
Total Posts: 4469
14 Nov 2011 06:15 PM
Ok when I click run The Hint doesn't appear that indicates the time in which the raider has to win the raid Heres the script:

raid = "The raiders have captured the flag and will win in "
raid2 = " Minutes"
while true do
hint = Instance.new("Hint")
hint.Name = "HAX"
hint.Parent = game.Workspace
hint.Text = raid.."20"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."19"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."18"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."17"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."16"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."15"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."14"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."13"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."12"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."11"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."10"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."9"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."8"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."7"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."6"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."5"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."4"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."3"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."2"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."1"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
wait(60)
hint.Text = raid.."0"..raid2
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
m = Instance.new("Message")
m.Parent = game.Workspace
script.Name = "HARHARHAR"
m.Name = "Raidershavewon123123"
m.Text = "The Raiders win the Raid!,Raiders please take a screenshot of this message"
wait(1)
end

What Happened that went wrong????
Report Abuse
masdog456 is not online. masdog456
Joined: 04 Feb 2010
Total Posts: 4469
14 Nov 2011 06:17 PM
Completely Confused on why this isn't working.
Report Abuse
masdog456 is not online. masdog456
Joined: 04 Feb 2010
Total Posts: 4469
14 Nov 2011 06:20 PM
HELLO!!!!!!!!!!!!!!!!!!!*echo*
Report Abuse
masdog456 is not online. masdog456
Joined: 04 Feb 2010
Total Posts: 4469
14 Nov 2011 06:22 PM
ANYBODY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Report Abuse
masdog456 is not online. masdog456
Joined: 04 Feb 2010
Total Posts: 4469
14 Nov 2011 06:25 PM
OK you idiots if you need more detail its probaly I expected a Hint to appear after The Instance New Hint
Report Abuse
masdog456 is not online. masdog456
Joined: 04 Feb 2010
Total Posts: 4469
14 Nov 2011 06:27 PM
wow About 10 Minutes after I posted this noone answers Just WOW!
Report Abuse
masdog456 is not online. masdog456
Joined: 04 Feb 2010
Total Posts: 4469
14 Nov 2011 06:31 PM
You Guys Suck! Not even one Reply!
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
14 Nov 2011 06:33 PM
None of us are going to help you when you insult us.

Also, there are *a lot* of mistakes.
Report Abuse
masdog456 is not online. masdog456
Joined: 04 Feb 2010
Total Posts: 4469
14 Nov 2011 06:35 PM
1 Its been 20 Minutes since I posted this 2 I don't see much mistakes.
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
14 Nov 2011 06:41 PM
You've called us idiots, you've told us we suck, etc. It doesn't really matter how long it's taking.

Anyways, I'll help just because I'm nice.

Try this:

    while true do
    hint = Instance.new("Hint")
    hint.Name = "HAX"
    hint.Parent = game.Workspace
    for i = 20, 0, -1 do
    if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
    hint.Text = "The raiders have captured the flag and will win in " .. i .. " minutes."
    wait(60
    else
    break
    end
    end
    m = Instance.new("Message")
    m.Parent = game.Workspace
    script.Name = "HARHARHAR"
    m.Name = "Raidershavewon123123"
    m.Text = "The Raiders win the Raid!,Raiders please take a screenshot of this message"
    wait(3)
    m:remove()
    wait(1)
    end
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
14 Nov 2011 06:41 PM
Oops; typo:

while true do
hint = Instance.new("Hint")
hint.Name = "HAX"
hint.Parent = game.Workspace
for i = 20, 0, -1 do
if script.Parent.CurrentOwner.Value == BrickColor.new("Bright red") then
hint.Text = "The raiders have captured the flag and will win in " .. i .. " minutes."
wait(60)
else
break
end
end
m = Instance.new("Message")
m.Parent = game.Workspace
script.Name = "HARHARHAR"
m.Name = "Raidershavewon123123"
m.Text = "The Raiders win the Raid!,Raiders please take a screenshot of this message"
wait(3)
m:remove()
wait(1)
end
Report Abuse
masdog456 is not online. masdog456
Joined: 04 Feb 2010
Total Posts: 4469
14 Nov 2011 06:43 PM
Hmmmm Your right That MAkeing The Minutes Manually was a bit wrong Sorry about insulting its just I have barely no patience sorry But Thanks :/
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
14 Nov 2011 06:44 PM
It's okay.
Report Abuse
masdog456 is not online. masdog456
Joined: 04 Feb 2010
Total Posts: 4469
14 Nov 2011 06:44 PM
Also I'l be sure to mention your name in the place description its going to be used in.
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