
11.6k Views
770 Executions
Universal Self fling with local ragdoll R6 and R15
Universal Script 📌
nachovazsuaPublished 5
2 years 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
pretty self explanatory title, i use It as a knockback simulation but you can use It as whatever i guess
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









Is this fe
can uadd so i can bind buttons to it?