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: Whats Wrong With This Script

Previous Thread :: Next Thread 
BESTDJ11 is not online. BESTDJ11
Joined: 11 Oct 2009
Total Posts: 129
25 Mar 2012 11:24 AM
I cant seem to find whats wrong with this script please help me....

local ball=workspace.Ball
local center= Vector3.new(0 , 0, 0)--put the center position
script.Parent.Touched:connect(function(p)
if p=ball then p.Position=centerendend)
Report Abuse
adjotur is not online. adjotur
Joined: 10 Oct 2011
Total Posts: 892
25 Mar 2012 11:25 AM
center
end
end)
Report Abuse
cubs4ever7 is not online. cubs4ever7
Joined: 21 Dec 2009
Total Posts: 784
25 Mar 2012 11:26 AM
centerendend?
Report Abuse
DragonFang1 is not online. DragonFang1
Joined: 02 Apr 2009
Total Posts: 1068
25 Mar 2012 11:29 AM
at least put spaces between those 3 words :P
Report Abuse
BESTDJ11 is not online. BESTDJ11
Joined: 11 Oct 2009
Total Posts: 129
25 Mar 2012 11:33 AM
Ohh yh thanks guys :3
Report Abuse
BESTDJ11 is not online. BESTDJ11
Joined: 11 Oct 2009
Total Posts: 129
25 Mar 2012 12:01 PM
Still doesnt work there must be something else wrong


local ball=workspace.Ball
local center= Vector3.new(0 , 0, 0)--put the center position
script.Parent.Touched:connect(function(p)
if p=ball then p.Position=center
end
end)
Report Abuse
dmjoe is not online. dmjoe
Joined: 01 May 2009
Total Posts: 2387
25 Mar 2012 12:11 PM
What outputs are showing?

~According to astronomy, when you wish upon a star; you are actually a few million years late. The star is dead. Just like your dreams.~
Report Abuse
BESTDJ11 is not online. BESTDJ11
Joined: 11 Oct 2009
Total Posts: 129
25 Mar 2012 12:28 PM
Workspace.Script:5: 'then' expected near '='
Report Abuse
DragonFang1 is not online. DragonFang1
Joined: 02 Apr 2009
Total Posts: 1068
25 Mar 2012 12:31 PM
if p==ball then p.Position=center
Report Abuse
BESTDJ11 is not online. BESTDJ11
Joined: 11 Oct 2009
Total Posts: 129
25 Mar 2012 01:08 PM
Where do i place the script
Report Abuse
DragonFang1 is not online. DragonFang1
Joined: 02 Apr 2009
Total Posts: 1068
26 Mar 2012 05:11 AM
in the ball
Report Abuse
BESTDJ11 is not online. BESTDJ11
Joined: 11 Oct 2009
Total Posts: 129
26 Mar 2012 10:25 AM
k
Report Abuse
breuning is not online. breuning
Joined: 30 Oct 2008
Total Posts: 4268
26 Mar 2012 11:35 AM
Dont put it in the ball. How can the ball touch itself?
Report Abuse
DragonFang1 is not online. DragonFang1
Joined: 02 Apr 2009
Total Posts: 1068
26 Mar 2012 11:41 AM
xD , I didn't know you reversed the script I posted there,

well, yea he is right put it in goals.
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
26 Mar 2012 11:42 AM
[ Content Deleted ]
Report Abuse
DragonFang1 is not online. DragonFang1
Joined: 02 Apr 2009
Total Posts: 1068
26 Mar 2012 11:48 AM
he fixed that already. (I told him so if you could check the posts down)
Report Abuse
BESTDJ11 is not online. BESTDJ11
Joined: 11 Oct 2009
Total Posts: 129
26 Mar 2012 01:43 PM
Ohh k then because when i had it in the ball it was working aswell
Report Abuse
BESTDJ11 is not online. BESTDJ11
Joined: 11 Oct 2009
Total Posts: 129
26 Mar 2012 01:54 PM
I meant it was working aswell and it still doesnt work it says this is the OutPut Workspace.Script:5: 'then' expected near '=
Report Abuse
hotty6903 is not online. hotty6903
Joined: 24 Apr 2010
Total Posts: 8950
26 Mar 2012 03:29 PM
:P

~hotty6903

New Message from hotty6903. :D
Report Abuse
BESTDJ11 is not online. BESTDJ11
Joined: 11 Oct 2009
Total Posts: 129
28 Mar 2012 10:16 AM
O_oo_O
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