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 » Club Houses » Clans & Guilds
Home Search
 

Re: Terminal

Previous Thread :: Next Thread 
FireDeathz is not online. FireDeathz
Joined: 24 Dec 2010
Total Posts: 597
03 Sep 2013 11:14 AM
I found a script in free models and I inserted it into a terminal I made but only raiders can claim it and once they claim it if the group touches it nothing happens. It's still in the raiders control. How do I fix this?
Report Abuse
Nhelp is not online. Nhelp
Joined: 05 Aug 2011
Total Posts: 11557
03 Sep 2013 11:15 AM
This is like asking me to fix a computer, but not telling me what the problem is.
Report Abuse
FireDeathz is not online. FireDeathz
Joined: 24 Dec 2010
Total Posts: 597
03 Sep 2013 11:17 AM
The problem is that only raiders can claim the terminal. Yet I want the group to be able to claim it or at least turn off the timer when then they touch it.

The script is here:

http://www.roblox.com/Script-for-Terminal-item?id=128672712
Report Abuse
realsteel89 is not online. realsteel89
Joined: 31 Aug 2012
Total Posts: 9599
03 Sep 2013 11:18 AM
u shag a sheep while fixing it
Report Abuse
FireDeathz is not online. FireDeathz
Joined: 24 Dec 2010
Total Posts: 597
03 Sep 2013 11:18 AM
There is one script only and no GUI's.

Here are it's contents:

timeuntilwin = 1200
totaltime = 1200

raidteamcolor = "Bright red"
defendteamcolor = "Dark Stone Grey"
h = Instance.new("Hint")

function OnTouched(hit)

if hit.Parent:findFirstChild("Humanoid") ~= nil then
if game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == BrickColor.new(raidteamcolor) then
script.Parent.BrickColor = BrickColor.new(raidteamcolor)
end

if game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == BrickColor.new(defendteamcolor) then
script.Parent.BrickColor = BrickColor.new(defendteamcolor)
timeuntilwin = totaltime
for i, v in pairs(game.Workspace:GetChildren()) do
if v:IsA("Hint") then
v:remove()
end
end
end

end

end

script.Parent.Touched:connect(OnTouched)

while true do
wait()
if script.Parent.BrickColor == BrickColor.new(raidteamcolor) then
h.Parent = game.Workspace
h.Text = "Raiders win in".." "..timeuntilwin

if timeuntilwin <= totaltime and timeuntilwin > 0 then
wait(1)
timeuntilwin = timeuntilwin - 1
end

if timeuntilwin == 0 then
h:remove()
game.Lighting.Script1:clone()
wait(5)
winmsg = Instance.new("Message")
winmsg.Parent = game.Workspace
winmsg.Text = "Raiders have won!"
wait(15)
winmsg:remove()

script.Parent.BrickColor = BrickColor.new(defendteamcolor)
timeuntilwin = totaltime
end
end
end
Report Abuse
FireDeathz is not online. FireDeathz
Joined: 24 Dec 2010
Total Posts: 597
03 Sep 2013 11:21 AM
Help?
Report Abuse
Nhelp is not online. Nhelp
Joined: 05 Aug 2011
Total Posts: 11557
03 Sep 2013 11:23 AM
if hit.Parent:findFirstChild("Humanoid") ~= nil then
if game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == BrickColor.new(raidteamcolor) then
script.Parent.BrickColor = BrickColor.new(raidteamcolor)

elseif game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == BrickColor.new(defendteamcolor) then
script.Parent.BrickColor = BrickColor.new(defendteamcolor)
timeuntilwin = totaltime
for i, v in pairs(game.Workspace:GetChildren()) do
if v:IsA("Hint") then
v:remove()
end

No need for 2 if statements when you can use "elseif"
Report Abuse
Nhelp is not online. Nhelp
Joined: 05 Aug 2011
Total Posts: 11557
03 Sep 2013 11:25 AM
I can't seem to find any problem but that one.
Report Abuse
bloodyspartan18 is not online. bloodyspartan18
Joined: 22 Apr 2010
Total Posts: 30260
03 Sep 2013 11:26 AM
watch it turn out he has the wrong teamcolor

idk
Report Abuse
FireDeathz is not online. FireDeathz
Joined: 24 Dec 2010
Total Posts: 597
03 Sep 2013 05:57 PM
That isn't the problem idiot. I already checked that.
Report Abuse
DeadDemon959 is not online. DeadDemon959
Joined: 29 Dec 2009
Total Posts: 2969
03 Sep 2013 05:58 PM
Just don't let them capture the terminal

<3
Report Abuse
souleater8700 is not online. souleater8700
Joined: 11 Aug 2012
Total Posts: 4701
03 Sep 2013 05:59 PM
lold
hes the idiot
for not using a fm script
Report Abuse
emazinglights88Alt is not online. emazinglights88Alt
Joined: 21 Jan 2013
Total Posts: 2622
03 Sep 2013 06:04 PM
Ummm....poop on it.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • 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