Universal Script 📌
1.2k Views
3.4k Executions

JJS dummy square part for battleground copy games

Universal Script 📌
imdisplay
imdisplayPublished 50
9 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No 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

Updates

  1. Script edited: Updated this trash and made this public

View Raw
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

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
17
3
Approved 38 minutes ago
Universal Script 📌
39
1
Approved 2 hours ago
Script hub
200
1.0k
Bumped 4 hours ago

Script hub

Lunyx Hub

Script hub
120.8k
221.8k
Bumped 4 hours ago
Key System
Script hub
10.7k
202.7k
Bumped 4 hours ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1