Well I completely set up everything perfectly thank God.
It works well and plays better to.
I incorporated a lot of your code into mine.
I changed a couple things but all in all I have better movement and have moving platforms.
+ Code Snippet PX# = GetSpriteXByOffset(Player) : PY# = GetSpriteYByOffset(Player)
Grounded = PhysicsRayCast( PX#,PY#,PX#,PY#+17)
if GetVirtualButtonState(1) and Grounded
Jump# = -70.0
jump=1
Else
Jump# = GetSpritePhysicsVelocityY(Player)
Endif
If Grounded
ThisGround = GetRayCastSpriteID()
PMoveX# = GetSpritePhysicsVelocityX(ThisGround)
SetPhysicsGravity( 0, 80 )
Else
PMoveX# = 0.0
EndiF
If Grounded=0 and PY#=53 then SetPhysicsGravity( 0, 180 )
if GetVirtualButtonState(2) =1 then right1=1
if GetVirtualButtonState(3) =1 then right1=0
if GetVirtualButtonState(1) =1 then right1=3
if right1=1 then SetSpritePhysicsVelocity(Player,PMoveX# + (GetVirtualButtonState(2)*40.0),Jump#)
if right1=0 then SetSpritePhysicsVelocity(Player,PMoveX# + (GetVirtualButtonState(3)*-40.0),Jump#)
if right1=3 then SetSpritePhysicsVelocity(Player,PMoveX# + (GetVirtualButtonState(1)*0),Jump#)