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: Help me with this

Previous Thread :: Next Thread 
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
20 Aug 2014 01:17 PM
So I have a new game I am making and so I wrote the script and put the maps in lighting and all that stuff, but when I went to test it when the map was supposed to load in nothing happened, I just got teleported and died.
Report Abuse
devonson4 is not online. devonson4
Joined: 10 Apr 2011
Total Posts: 154
20 Aug 2014 01:18 PM
Could you paste your script?
Report Abuse
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
20 Aug 2014 02:52 PM
What?
Report Abuse
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
20 Aug 2014 02:57 PM
I put it at true and still nothing.
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
20 Aug 2014 02:57 PM
PASTE THE SCRIPT SO THAT WE KNOW WHAT IS GOING ON FFS
Report Abuse
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
20 Aug 2014 07:27 PM
Oh
Report Abuse
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
20 Aug 2014 07:28 PM
Here it is:

MapChanger = true
Map1 = "" -- MAP1
Map2 = "" -- MAP2
Map3 = "" -- MAP3
Map4 = "" -- MAP4
Map5 = "" -- MAP5
PlayerTeleporter = true
LobbyTime = 10
InGameTime = 100
Gear = game.Lighting:findFirstChild("Linked Sword")


function TeleportPlayers()
if PlayerTeleporter == true then
Players = game.Players:getChildren()
for i=1, #Players do
Players[i].Character.Torso.CFrame = Workspace.TeleportLocation.CFrame
if Gear ~= nil then
Gear:Clone().Parent = Players[i].Backpack
end
end
end
end
function Reset()
Players = game.Players:getChildren()
for i=1, #Players do

Players[i].Character:BreakJoints()
end
end

function mapChange1()
if MapChanger == true then
Mapc1 = game.Lighting:findFirstChild(Map1)
if Mapc1 ~= nil then
Mapc1:clone().Parent = Workspace.Map
end
end
end
msg = Instance.new("Hint", Workspace)
msg.Text = "Round Is beggining!"
function mapChange2()
if MapChanger == true then
Mapc2 = game.Lighting:findFirstChild(Map1)
if Mapc2 ~= nil then
Mapc2:clone().Parent = Workspace.Map
end
end
end

function mapChange3()
if MapChanger == true then
Mapc3 = game.Lighting:findFirstChild(Map1)
if Mapc3 ~= nil then
Mapc3:clone().Parent = Workspace.Map
end
end
end

function mapChange4()
if MapChanger == true then
Mapc4 = game.Lighting:findFirstChild(Map1)
if Mapc4 ~= nil then
Mapc4:clone().Parent = Workspace.Map
end
end
end

function mapChange5()
if MapChanger == true then
Mapc5 = game.Lighting:findFirstChild(Map1)
if Mapc5 ~= nil then
Mapc5:clone().Parent = Workspace.Map
end
end
end






while true do
msg = Instance.new("Hint", Workspace)
msg.Text = "Remember to like and Fav!"
wait(LobbyTime)
TeleportPlayers()
mapChange1()
wait(GameTime)
Workspace.Map:findFirstChild(Map1):remove()
Reset()
msg = Instance.new("Hint", Workspace)
msg.Text = "Tip: Keep a distance from others who want to steal your kills!"
wait(LobbyTime)
TeleportPlayers()
mapChange2()
wait(GameTime)
Workspace.Map:findFirstChild(Map2):remove()
Reset()
msg = Instance.new("Hint", Workspace)
msg.Text = "Donate some R$ For somelayer points!"
wait(LobbyTime)
TeleportPlayers()
mapChange3()
wait(GameTime)
Workspace.Map:findFirstChild(Map3):remove()
Reset()
msg = Instance.new("Hint", Workspace)
msg.Text = "Created by Mada754!"
wait(LobbyTime)
TeleportPlayers()
mapChange4()
wait(GameTime)
Workspace.Map:findFirstChild(Map4):remove()
Reset()
msg = Instance.new("Hint", Workspace)
msg.Text = "Like and Fav!"
wait(LobbyTime)
TeleportPlayers()
mapChange5()
wait(GameTime)
Workspace.Map:findFirstChild(Map5):remove()
Reset()
end
Report Abuse
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
20 Aug 2014 07:29 PM
Oh now I see where I went wrong....
Report Abuse
moazmoazmoaz is not online. moazmoazmoaz
Joined: 20 May 2011
Total Posts: 540
20 Aug 2014 07:39 PM
yep i was about to tel u

#Hayden56786ForNo1FGT
Report Abuse
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
20 Aug 2014 08:33 PM
Thanks anyways!
Report Abuse
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
20 Aug 2014 08:37 PM
odd, still isn't working.
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