
KeylessUniversal

Paper Morph script
--Written by filipaogamer345
wait(1 / 60)
--Locals
local plr = game.Players.LocalPlayer
local character = plr.Character
local Action = "Idle";
local NetworkAccess = coroutine.create(function()
settings().Physics.AllowSleep = false
while true do
game:GetService('RunService').RenderStepped:Wait()
for _, players in pairs(game.Players:GetChildren()) do
if players ~= game.Players.LocalPlayer then
players.MaximumSimulationRadius = 0.1
players.SimulationRadius = 0
end
end
plr.MaximumSimulationRadius = math.pow(math.huge, math.huge)
plr.SimulationRadius = math.huge * math.huge
end
end)
coroutine.resume(NetworkAccess)
--Settings
local IdleTexture = "rbxassetid://652834449"
local WalkTexture1 = "rbxassetid://652836663"
local WalkTexture2 = "rbxassetid://652837536"
local JumpTexture = "rbxassetid://652838121"
--Morph
local function Morph(Idle, Walk, Walk2, Jump)
local hum = character.Humanoid
local humRootPart = character.HumanoidRootPart
for i, v in next, character:GetChildren() do
if v:IsA("BasePart") then
v.Transparency = 1
end
if v:IsA("Accessory") then
v:Destroy()
end
if v.Name == "Head" then
v.face.Transparency = 1
end
end
local Billboard = Instance.new("BillboardGui", character["HumanoidRootPart"])
Billboard.AutoLocalize = true
Billboard.MaxDistance = 30
Billboard.DistanceStep = math.huge
Billboard.DistanceLowerLimit = math.huge
Billboard.DistanceUpperLimit = math.huge
Billboard.Size = UDim2.new(0, 372, 0, 218)
local Label = Instance.new("ImageLabel", Billboard)
Label.BackgroundTransparency = 1
Label.Image = Idle
Label.Size = UDim2.new(1, 0, 1, 0)
character.Humanoid.StateChanged:Connect(function(old, new)
if (new == Enum.HumanoidStateType.Running) then
Action = "Running"
elseif (old == Enum.HumanoidStateType.RunningNoPhysics and new == Enum.HumanoidStateType.Running) then
Action = "Running"
elseif (new == Enum.HumanoidStateType.Landed) then
Action = "NaN"
elseif (new == Enum.HumanoidStateType.Jumping) then
Action = "Jumping"
elseif (new == Enum.HumanoidStateType.Freefall) then
Action = "Jumping"
elseif (new == Enum.HumanoidStateType.Climbing) then
Action = "Jumping"
end
end)
character.Humanoid.Running:Connect(function(speed)
if speed <= 0 then
Action = "Idle"
end
end)
while wait() do
if Action == "Idle" then
Label.Image = Idle
elseif Action == "NaN" then
Label.Image = Idle
elseif Action == "Running" then
Label.Image = Walk
wait(.2)
Label.Image = Walk2
wait(.2)
elseif Action == "Jumping" then
Label.Image = Jump
end
end
end
Morph(IdleTexture, WalkTexture1, WalkTexture2, JumpTexture)No comments yet for this script.



