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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: This doesn't seem to be working

Previous Thread :: Next Thread 
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
08 Jan 2012 10:23 AM
It's supposed to teleport the players to a spot, and insert a BoolValue into them.
But it doesn't even teleport them
Here is the script:

    for _,v in pairs(game.Players:GetPlayers())do
            if v.Name ~= it.Name then
            v.Character.Torso:MoveTo(Vector3.new(map.Spawn.Position))
            v.Character.Head.Transparency = 1
            local tagged = Instance.new("BoolValue")
            tagged.Parent = v.Character
            tagged.Name = "Tagged"
            end
        end
Report Abuse
DrAgonmoray is not online. DrAgonmoray
Joined: 29 Jul 2008
Total Posts: 17428
08 Jan 2012 10:25 AM
did you define "it"?
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
08 Jan 2012 10:26 AM
Yes, earlier in the script.
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
08 Jan 2012 10:38 AM
bump? :P
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
08 Jan 2012 10:52 AM
Is there any way to test with 2 people and still see the output?
Report Abuse
DigitalMirage is not online. DigitalMirage
Joined: 08 Dec 2011
Total Posts: 421
08 Jan 2012 10:54 AM
[ Content Deleted ]
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
08 Jan 2012 10:54 AM
thanks :)
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
08 Jan 2012 10:59 AM
Now they have the same name.. so it won't go through the teleporting ):
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
08 Jan 2012 11:03 AM
I got rid of the part where it checks for the name but it didn't teleport them and there was no output D:
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
08 Jan 2012 11:15 AM
anyone..?
Report Abuse
Ravenshield is not online. Ravenshield
Joined: 21 Nov 2007
Total Posts: 4143
08 Jan 2012 11:19 AM
for _,v in pairs(game.Players:GetPlayers())do
if v.Name ~= it.Name then
v.Character.Torso.CFrame = CFrame.new(Vector3.new(map.Spawn.Position))
v.Character.Head.Transparency = 1
local tagged = Instance.new("BoolValue")
tagged.Parent = v.Character
tagged.Name = "Tagged"
end
end

This suspiciously looks like a snippet from the many hide and seek scripts out there.
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
08 Jan 2012 11:20 AM
I made it myself I promise.
and thanks :)
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