How do i fix this verse code? Please someone help me!

There are 2 ways of making if statements:
1.

if (1 = 1):
    DoSomething()
else:
    DoNothing()
if:
    1 = 1
then:
   DoSomething()
else:
    DoNothing()

you’re combining the two, which isn’t allowed. You’re using number 1, which doesn’t need a then statement, since the : after the condition (1 = 1 in this case), is acting as a then.

(post deleted by author)

Ok i think i fixed that but im stuck with this.

replace it with

if (NearestPlayer?):

Also if I may ask what is the .SetColorForPlayer ? how does that function work? I wonder how client side changes for the creative prop is done

it was suppost to change the color of the prop to red. As of now i removed it and the only error im trying to fix is this. Ive been working with this for ours!

The problem is that you’re using let which isn’t used in verse, FortChar := TargetPlayer.GetFortCharacter[] is used instead. I’d recommend you read some of the templates provided in the documentation here Sample Project and Feature Example Templates | Unreal Editor for Fortnite Documentation | Epic Developer Community since you seem to already know how to code, but aren’t familiar with the verse syntax yet.