Oh yes. I fixed most of the problems, and now it is working together nicely, but... I have another strange problem. I can enter one side of all of the cubes, but the other side is solid just like I want it to. I think that it must have something to do with collision boxes, so... once again, any help please?
`Set Up the Background
Sync On
Backdrop On
Autocam Off
`Variables
x#=0 : y#= 15 : z#=0
`Make the Charecter
Make Object Sphere 200,4
Color Object 200,rgb(0,100,0)
Make Object Collision Box 200,-2,-2,-2,2,2,2,0
`CollisionThings
Make Mesh from Object 200,200
`Front Limb
Add Limb 200,1,200
Offset Limb 200,1,0,0,Object Size Z(200)/2
Hide Limb 200,1
`Back Limb
Add Limb 200,2,200
Offset Limb 200,2,0,0,Object Size Z(200)/2*-1
Hide Limb 200,2
Delete Mesh 200
x=0
z=0
`Make The Ground Cubes
For cubes=1 to 25
Make Object Cube cubes,40
Scale Object cubes,100,50,100
Position object cubes,x,y,z
Color Object cubes,rgb(200,0,0)
Make Object Collision Box cubes,-22,-20,-22,22,20,22,0
x=x+40
if x=160
x=0 : z=z+40
endif
if z=160 then y=15
if z=0 then y=15
if z=40 then y=0
Next cubes
`Main Loop
Do
`Movement + Position
Position Object 200,x#,y#,z#
`Movement + Keys
a#=object angle y(200)
oldx1#=x# : oldz1#=z#
if upkey()=1 then x#=newxvalue(x#,a#,.5) : z#=newzvalue(z#,a#,.5)
if downkey()=1 then x#=newxvalue(x#,a#,-.5) : z#=newzvalue(z#,a#,-.5)
if leftkey()=1 then yrotate object 200,wrapvalue(object angle y(200)-1)
if rightkey()=1 then yrotate object 200,wrapvalue(object angle y(200)+1)
`The Light Changer
obj#=object collision(200,0)
If obj#=0 then obj#=200
`So you stay on the blocks
`Walls
`Front
If Intersect Object(obj#,Limb Position X(200,1),Limb Position Y(200,1),Limb Position Z(200,1),x#,y#,z#)
x#=newxvalue(x#,a#,-.5) : z#=newzvalue(z#,a#,-.5)
Endif
`Back
If Intersect Object(obj#,Limb Position X(200,2),Limb Position Y(200,2),Limb Position Z(200,2),x#,y#,z#)
x#=newxvalue(x#,a#,.5) : z#=newzvalue(z#,a#,.5)
Endif
`Sides Of Map
If x#<-200 then x#=-200
If x#>200 then x#=200
If z#<-180 then z#=-180
If z#>220 then z#=220
`Camera things
Set Camera to Follow x#,y#,z#,a#,10,5,10,1
`Refresh the screen
Sync
`End of Loop
Loop
Am I dead yet?