Forum > Coding >

[REQUEST] A Script Which Will Kick A Player If He Say A Specific Word.

Asmina

Asmina

Posts: 2

Threads: 2

Joined: Jun, 2020

Reputation: 0

Posted

I need a script written in Lua that kicks the player if he writes a specific word. (In chat!)

  • 0

2+2=5.

Posts: 982

Threads: 77

Joined: Apr, 2020

Reputation: 34

Replied

Like making a game or a hack.

  • 0

modifying a ui and calling it yours does mean it's your ui.

- JalapenoGuy

https://media.discordapp.net/attachments/769992459916017687/1065084754128539658/image0.jpg

eb_

Formally known as Shade

vip

Posts: 920

Threads: 4

Joined: Jun, 2020

Reputation: 44

Replied

^^^^ Check that never tried to make one but could be possbile

  • 0

https://media.discordapp.net/attachments/1010636204225601659/1012865624797610044/sKQybOLT.gif

Posts: 9

Threads: 1

Joined: Feb, 2020

Reputation: 0

Replied

Is it possible to edit a script which someone else made and make it so that the whole server sees what u place/do? cuz i got this long script for appocalyspe rising but sadly my friend cant see what i place unless its a vehicle and i get in it, then he can see it

 

  • 0

Posts: 7

Threads: 1

Joined: May, 2020

Reputation: 0

Replied

here's a quick and readable script i made. tell me if it has issues

local filter = nil

local nilRep = ''

local blacklistedWords = {

    'poop'

}

-- for string patterns (for filter) https://developer.roblox.com/en-us/articles/string-patterns-reference

 

local Player = game.Players.LocalPlayer

Player.Chatted:Connect(function(msg)

       local args = msg:split(' ')

       if filter then

           for i,v in pairs(args) do

               for a,b in pairs(blacklistedWords) do

                   if v:lower():gsub(filter,nilRep):match(a:lower()) then

                       Player:Kick('\n\nracist')

                   end

               end

           end

       elseif not filter then

           for i,v in pairs(args) do

               for a,b in pairs(blacklistedWords) do

                   if v:lower():match(a:lower()) then

                       Player:Kick('\n\nracist')

                   end

               end

           end

       end

end)

 

 

  • 0

Posts: 1372

Threads: 87

Joined: May, 2018

Reputation: 24

Replied

@wiktorasia09

FE is a thing

and will always be forced

 

  • 0

Hello there

#StayHome

 

Posts: 9

Threads: 1

Joined: Feb, 2020

Reputation: 0

Replied

what is FE? sorry im so dumb ;-;

  • 0

trollhackerdude

LUA and C# programmer

Posts: 118

Threads: 33

Joined: Jun, 2018

Reputation: 1

Replied

@wiktorasia09

Makes it so if you edit the game it wont replicate (Show up for other people)

  • 0

I know LUA and some C#

 

and i own synapse x noob

Posts: 9

Threads: 1

Joined: Feb, 2020

Reputation: 0

Replied

im still confused 

  • 0

Posts: 1

Threads: 0

Joined: May, 2020

Reputation: 0

Replied

basically only you can see it and noone else which means it's clientsided(only you can see since it's on the client and not the server itself)
and not serversided(theres a something in the game that made it so everybody in the server can see)

  • 0

Users viewing this thread:

( Members: 0, Guests: 0, Total: 0 )