
1.1k Views
2.4k Executions
JJS dummy square part for battleground copy games
Universal Script 📌
imdisplayPublished 50
8 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
adds a floating green square on players and humanoid's head, turns red when the player or humanoid is stunned like the jjs dummy, useful to test your combos if its escapable or not beware the green monster only works on certain battleground games (probably kj game or kj battlegrounds type games) that uses workspace.Live.playername.Stuns
local liveFolder = workspace:WaitForChild("Live")
local FLOAT_HEIGHT = 3
local function spawnthing(character)
if not character:IsA("Model") then return end
local humanoid = character:FindFirstChildOfClass("Humanoid")
local head = character:FindFirstChild("Head")
if not humanoid or not head then return end
if character:FindFirstChild("StunIndicator") then return end
local part = Instance.new("Part")
part.Name = "StunIndicator"
part.Size = Vector3.new(0.6,0.6,0.6)
part.Anchored = true
part.CanCollide = false
part.Material = Enum.Material.Neon
part.Shape = Enum.PartType.Block
part.Color = Color3.fromRGB(0, 255, 0)
part.Parent = character
part.Orientation = Vector3.new(0, 0, 90)
local function update()
if not head.Parent then return end
part.Position = head.Position + Vector3.new(0, head.Size.Y/2 + FLOAT_HEIGHT, 0)
local stunsFolder = character:FindFirstChild("Stuns")
if stunsFolder and #stunsFolder:GetChildren() > 0 then
part.Color = Color3.fromRGB(255, 0, 0)
else
part.Color = Color3.fromRGB(0, 255, 0)
end
end
game:GetService("RunService").RenderStepped:Connect(update)
local stunsFolder = character:FindFirstChild("Stuns")
if stunsFolder then
stunsFolder.ChildAdded:Connect(update)
stunsFolder.ChildRemoved:Connect(update)
end
end
for _, character in pairs(liveFolder:GetChildren()) do
spawnthing(character)
end
liveFolder.ChildAdded:Connect(function(character)
task.wait(0.5)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







