Universal Script 📌
14.4k Views
399 Executions

Funny stun gui

Universal Script 📌
Tetotillo
Tetotillo10K executions
1 year 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

PlatformStand gui but funny

View Raw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer

-- GUI Setup (Only do this once)
local gui = Instance.new("ScreenGui")
gui.Name = "BoingGui"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")

local button = Instance.new("TextButton")
button.Size = UDim2.new(0, 50, 0, 50)
button.Position = UDim2.new(0.5, -25, 0.5, -25)
button.BackgroundColor3 = Color3.new(1, 0.6, 0.1)
button.Text = "Boing!"
button.Draggable = true
button.Active = true
button.Parent = gui

-- Debounce
local canBoing = true

-- Spin Function
local function applySpin(hrp)
	local spin = Instance.new("BodyAngularVelocity")
	spin.AngularVelocity = Vector3.new(
		math.rad(math.random(-720, 720)),
		math.rad(math.random(-720, 720)),
		math.rad(math.random(-720, 720))
	)
	spin.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
	spin.P = 10000
	spin.Name = "SpinEffect"
	spin.Parent = hrp
	task.delay(0.5, function()
		spin:Destroy()
	end)
end



Comments

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

Tags

More universal scripts

See all
Universal Script 📌
6.1k
54.4k
Bumped 1 hour ago
Universal Script 📌
2.4k
2.1k
Bumped 2 hours ago
Key System
Script hub
14.4k
75.0k
Bumped 5 hours ago
Universal Script 📌
91
97
Approved 6 hours ago
Key System
Universal Script 📌
93
120
Approved 6 hours ago