Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

"MouseButton1Ckick is not a valid member of TextButton" why ?

Asked by 4 years ago

I made a script for rebirth but I have this error "MouseButton1Ckick is not a valid member of TextButton" can you help me? The script here >

rebirthButton.MouseButton1Ckick:Connect(function()
    local result = replicatedStorage.Remotes.Rebirth:InvokeServer()

2 answers

Log in to vote
0
Answered by
raid6n 2196 Moderation Voter Community Moderator
4 years ago
Edited 4 years ago

You spelt MouseButton1Click wrong, try rebirthButton.MouseButton1Click:Connect(function()

and end the function using end)

0
Thanks ! DetresBryan 0 — 4y
0
Could you accept it if it works? raid6n 2196 — 4y
0
how x) DetresBryan 0 — 4y
0
Click accept answer. <3 raid6n 2196 — 4y
View all comments (2 more)
0
i don't see DetresBryan 0 — 4y
0
It's near Report. raid6n 2196 — 4y
Ad
Log in to vote
0
Answered by
ghxstlvty 133
4 years ago

You spelled it wrong, it's MouseButton1Click.

Answer this question