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

Help with certain scripts? [closed]

Asked by 3 years ago
Edited 3 years ago
  1. Explosions So I'm trying to make an anti-explosion script, stored in ServerScriptService .
local plr = game.Players.LocalPlayer
local explosion = game.Workspace:WaitForChild("Explosion")
local explosion2 = game.Workspace:WaitForChild("CloneExplosion") --in ReplicatedStorage, I put a model explosion that the exploiter could use to trigger instead of making a new one

if explosion or explosion2 = true then do
plr:Kick("Explosion found!")
end

Tested by making my own explosion in the server

Note that exploiters, client-side ones, anyway, can gain access to anything in the workspace.

  1. Teleport GUI

I want to make such a script. Help with improving it?

-To be added

Closed as Not Constructive by imKirda and JesseSong

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?