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: Can someone fix or help me with tournament script?

Previous Thread :: Next Thread 
Blacury is not online. Blacury
Joined: 04 Apr 2012
Total Posts: 98
17 Apr 2012 09:01 PM
I CANT FIND THE DAMN ERROR :/
Heres the link:

http://www.roblox.com/Tournament-Script-for-Battle-of-Fantasy-item?id=77825267
Report Abuse
dave2011 is not online. dave2011
Joined: 02 Oct 2010
Total Posts: 10581
17 Apr 2012 09:06 PM
post it hall here, nobody is going to take your model just to fix it, especially when you did not make a single line of it
Report Abuse
Blacury is not online. Blacury
Joined: 04 Apr 2012
Total Posts: 98
18 Apr 2012 08:17 AM
wow i did like 4 lines :l and ok ill post it all here hold up
Report Abuse
Blacury is not online. Blacury
Joined: 04 Apr 2012
Total Posts: 98
18 Apr 2012 08:21 AM
OK HERE IT IS, WHATS WRONG WITH IT THATS NOT WORKING?:

local Games = {"Flame Core", "Mystic Forest", "The Ancient Pyramid", "Distortion", "Grand Mountains", "Frigid Zone", "Blacury's Castle"}
local Where = {Vector3.new(-531, 7.4, 11), Vector3.new(-3, 42.2, 9), Vector3.new(-578, 7.8, 2335), Vector3.new(286, 9.7, 2302), Vector3.new(-148, 40.9, -3514), Vector3.new(-2605, 5.4, 40), Vector3.new(-74, 16.6, -6140)}

local SpawnerNumber = 0
local TimeLeft = 0

function random()
randomGame = math.random(1, #Games)
local H = Instance.new("Message", Workspace)
H.Text = "Choosing Map... " .. Games[randomGame]
SpawnerNumber = randomGame
wait(2)
H:remove()
end

function sendlevel()
if SpawnerNumber ~= 0 then
playerpeople = game.Players:GetChildren()
if #playerpeople > 0 then
for p = 1, #playerpeople do
playerpeople[p].Character.Torso.CFrame = CFrame.new(Where[SpawnerNumber])
TimeLeft = 80
end
else
SpawnerNumber = 0
TimeLeft = 0
end
end
end

function doLoad()
if SpawnerNumber == 0 then
random()
wait(3)
sendlevel()
end
end


while true do
if #game.Players:GetChildren() < 2 then return end
wait(0.1)
local G = Instance.new("Hint", Workspace)
if TimeLeft > 0 then
wait(0.1)
G.Text = "Time Left: " .. TimeLeft
TimeLeft = TimeLeft - 1
else
G.Text = "No Game Running, Please Wait"
wait(10)
SpawnerNumber = 0
doLoad()
end
wait(0.9)
end
Report Abuse
Blacury is not online. Blacury
Joined: 04 Apr 2012
Total Posts: 98
18 Apr 2012 05:33 PM
Bump^ Still need help
Report Abuse
Blacury is not online. Blacury
Joined: 04 Apr 2012
Total Posts: 98
19 Apr 2012 06:00 PM
Can someone help?!?!?!?
Report Abuse
4444vince2 is not online. 4444vince2
Joined: 08 Nov 2008
Total Posts: 4880
19 Apr 2012 06:14 PM
FREEMODEL
U GET NO HALP FROM ME
Report Abuse
L2000 is not online. L2000
Joined: 03 Apr 2008
Total Posts: 77448
19 Apr 2012 06:16 PM
I'm guessing there's no output?

Post what it does and where it stops doing anything.
Report Abuse
Blacury is not online. Blacury
Joined: 04 Apr 2012
Total Posts: 98
20 Apr 2012 05:05 PM
it doesnt even start at all
Report Abuse
TheLuckyScripter is not online. TheLuckyScripter
Joined: 14 Apr 2012
Total Posts: 122
20 Apr 2012 10:33 PM
You should already post outpost here it be alot more help but from what I see and you posted I think I fix the lasts lines from whre the while true do start


while true do
local G = Instance.new("Hint", Workspace)
if game.Players.NumPlayers < 2 then
G.Text = "Need another player please wait."
game.Players.ChildAdded:Wait()
end
for x = TimeLeft,0,-1
G.Text = "Time Left: " .. x
else
G.Text = "No Game Running, Please Wait"
wait(10)
SpawnerNumber = 0
doLoad()
end
wait(0.9)
end


Now try it.
Report Abuse
TheLuckyScripter is not online. TheLuckyScripter
Joined: 14 Apr 2012
Total Posts: 122
20 Apr 2012 10:34 PM
Sorry typeo

correct script

while true do
local G = Instance.new("Hint", Workspace)
if game.Players.NumPlayers < 2 then
G.Text = "Need another player please wait."
game.Players.ChildAdded:Wait()
end
for x = TimeLeft,0,-1 do
G.Text = "Time Left: " .. x
else
G.Text = "No Game Running, Please Wait"
wait(10)
SpawnerNumber = 0
doLoad()
end
wait(0.9)
end
Report Abuse
Blacury is not online. Blacury
Joined: 04 Apr 2012
Total Posts: 98
21 Apr 2012 12:03 PM
k ima try it
Report Abuse
Blacury is not online. Blacury
Joined: 04 Apr 2012
Total Posts: 98
26 Apr 2012 08:26 PM
That didnt work still need help!
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