Posted
Everytime I enter api.SendLimitedLuaScript("scripthere") it gives me the error
Comma, ')', or a valid expression continuation expected.
I entered a noclip script.
api.SendLimitedLuaScript("noclip = false
game:GetService('RunService').Stepped:connect(function()
if noclip then
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
end
end)
plr = game.Players.LocalPlayer
mouse = plr:GetMouse()
mouse.KeyDown:connect(function(key)
if key == "e" then
noclip = not noclip
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
end
end)
print('Loaded')
print('Press "E" to noclip')
")
So does anyone know how to fix this?
Replied
First. Turn the script into a 1 line. Then change every " with '
Cancel
Post
Exploits I made: Weirderschnitzel and Protox
Exploits I own: SynX-Calmari-Sentinel
Â
Replied
Should I add spaces when I remove the lines?
Cancel
Post
Added
I have tried everything you said but it wont work
Cancel
Post
Exploits I made: Weirderschnitzel and Protox
Exploits I own: SynX-Calmari-Sentinel
Â
Replied
Try this:
api.SendLimitedLuaScript(@"noclip = false
game:GetService('RunService').Stepped:connect(function()
if noclip then
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
end
end)
plr = game.Players.LocalPlayer
mouse = plr:GetMouse()
mouse.KeyDown:connect(function(key)
if key == 'e' then
noclip = not noclip
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
end
end)
print('Loaded')
print('Press 'E' to noclip')
")
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post