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
 

Who the heck is Colonial?!

Previous Thread :: Next Thread 
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
31 May 2012 08:27 PM
door = script.Parent

function onTouch(hit)
if hit.Parent == nil then return end
local h = hit.Parent:FindFirstChild("Humanoid")
me = hit.Parent.Name
print(me)
if game.Players[me].tp.Value ~= 1 then
print(me)
if h ~= nil then
print(me)
hit.Parent.Torso.Velocity=door.CFrame.lookVector * 200 -- Push the Player back
end
end
end

door.Touched:connect(onTouch)

------
the output that comes out in solo mode is:

Player
Player
Colonial
Colonial is not a valid member of Players
Script "Workspace.ONEWAY.PushPack", Line 8
stack end

------

WHO THE HECK IS COLONIAL?!
Report Abuse
Swordphin123 is not online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
31 May 2012 08:29 PM
A free model script you got, that is.
Report Abuse
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
31 May 2012 08:31 PM
Well duuurr, I didn't make the entire script but I'm still working with it.. I've been using this same script since last year, I never had a problem with it until I added "if game.Players[me].tp.Value ~= 1 then"
Report Abuse
Swordphin123 is not online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
31 May 2012 08:34 PM
"print(me)
if game.Players[me].tp.Value ~= 1 then"

Define me. Wheres the variable??
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
31 May 2012 08:36 PM
Colonial is the name of the thing that hit the door. :P
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
31 May 2012 08:36 PM
>>>>> me = hit.Parent.Name <<<<<<
Report Abuse
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
31 May 2012 08:37 PM
@sword, you're no help...
Report Abuse
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
31 May 2012 08:38 PM
I don't understand where Colonial came from, NOTHING in my place is named Colonial, nor is there a humanoid named Colonial...
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
31 May 2012 08:42 PM
First off, NOU.organ, for using a free modeled script, then posting it on scripting helpers.
Second, there's no other way Colonial could print from that script, so Yes.me, NO.u.
Third, NOU.organ!
Report Abuse
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
31 May 2012 08:48 PM
ASDFGHJKL LOL

It's my stupid hat! It's size is large -_-
wtf does NOU.organ mean?

and I don't care if it's a free script. I'm not wasting my time making my own script! I only learned how to script recently! Like really, who makes their own follow script, and etc these days? They're literally all the same!
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
31 May 2012 08:51 PM
"who makes their own follow script"
Me.
while(wait())do pcall(function()
p1 = game.Players["ilill"]
p2 = game.Players["1Topcop"]
p2 = p2.Character.Torso
p1.Character.Humanoid:MoveTo(p2.Position,p2)
end)end
Report Abuse
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
31 May 2012 08:53 PM
LOL I stand corrected
btw I fixed my script >:P
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
31 May 2012 08:57 PM
<<<< WINNAR <<<<
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