Universal Script 📌
11.6k Views
770 Executions

Universal Self fling with local ragdoll R6 and R15

Universal Script 📌
nachovazsua
nachovazsuaPublished 5
2 years 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

pretty self explanatory title, i use It as a knockback simulation but you can use It as whatever i guess

View Raw
local player = game.Players.LocalPlayer
local userInput = game:GetService("UserInputService")
local runService = game:GetService("RunService")

-- GUI setup
local playerGui = player:WaitForChild("PlayerGui")

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "KnockbackGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

local directions = {
	W = Vector3.new(0, 0, -1),
	A = Vector3.new(-1, 0, 0),
	S = Vector3.new(0, 0, 1),
	D = Vector3.new(1, 0, 0)
}

local keyToDirection = {
	[Enum.KeyCode.Up] = directions.W,
	[Enum.KeyCode.Left] = directions.A,
	[Enum.KeyCode.Down] = directions.S,
	[Enum.KeyCode.Right] = directions.D
}

local function createButton(name, pos)
	local btn = Instance.new("TextButton")
	btn.Name = name
	btn.Text = name
	btn.Size = UDim2.new(0, 50, 0, 50)
	btn.Position = pos
	btn.BackgroundColor3 = Color3.fromRGB(255, 100, 100)
	btn.TextColor3 = Color3.fromRGB(255, 255, 255)
	btn.TextScaled = true
	btn.Font = Enum.Font.SourceSansBold
	btn.Parent = screenGui
	return btn
end



Comments

2
Log in to join the conversation. Login
Xeryt's profile picture
Xeryt1 year ago

Is this fe

1
anonymousrobloxplaye's profile picture
anonymousrobloxplaye2 years ago

can uadd so i can bind buttons to it?

1

More universal scripts

See all
Script hub
281.4k
916.9k
Bumped 2 hours ago
Key System

Script hub

#21 this week

Verified script badgeAxon Hub 60+ Games & 800+ Features

Script hub
2.1M
704.6k
Bumped 2 hours ago
Key System

Script hub

#5 today

Verified script badgeLumin Hub | #1 | Insta Steal

Universal Script 📌
29.9k
88.2k
Bumped 4 hours ago
Script hub
19.0k
65.5k
Bumped 4 hours ago
Key System
Universal Script 📌
1.8k
6.7k
Bumped 5 hours ago
Key System
Script hub
156
33
Approved 6 hours ago
Paid

Script hub

anmultv hub

Universal Script 📌
130
51
Approved 6 hours ago
Universal Script 📌
1.4k
949
Bumped 7 hours ago
Key System