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

How do I fix this script?

Asked by 11 years ago
01c = game.Players.NiceGah
02c.Chatted:connect(function(msg)
03 
04if msg == "FF me."
05then
06Instance.new("ForceField", game.Workspace.NiceGah)
07 
08elseif msg == "Speed."
09then
10game.Workspace.NiceGah.Humanoid.WalkSpeed = 150
11 
12elseif msg == "No teams."
13then
14game.Lighting:ClearAllChildren()
15 
View all 32 lines...

It has worked before but for some reason all of a sudden none of it works. Is there some sort of replacement code for each of those to fix it?

4 answers

Log in to vote
0
Answered by 11 years ago

Uhhhh. I'm pretty bad at scripting, but... I THINK that elseif should be else if...? I dunno. I'm a terrible scripter. Heh.

0
No, its elseif. As I said, it's worked fine before, but now all of a sudden not a single command works. TheBenSquare 47 — 11y
Ad
Log in to vote
0
Answered by
istiyak 13
11 years ago

I think it's the update with lua

Log in to vote
0
Answered by 11 years ago

Chat Service

Log in to vote
-1
Answered by
Reverge -1
11 years ago

Are you actually saying "FF me." with the period? Because that makes a big difference. OR if it worked before.. ROBLOX broke it. They recently patched noclip, speed, and gravity. It broke lots of game scripts..

0
Yeah, with the period. Would there be some sort of way to "replicate" the methods I use with new methods that work? I'm at a script builder currently and no scripts at all are working for me. TheBenSquare 47 — 11y
0
So that means that it's ROBLOX Reverge -1 — 11y

Answer this question