
Key RequiredUniversal

function sandbox(var,func)
local env = getfenv(func)
local newenv = setmetatable({},{
__index = function(self,k)
if k=="script" then
return var
else
return env[k]
end
end,
})
setfenv(func,newenv)
return func
end
cors = {}
mas = Instance.new("Model",game:GetService("Lighting"))
LocalScript0 = Instance.new("LocalScript")
BillboardGui1 = Instance.new("BillboardGui")
ImageLabel2 = Instance.new("ImageLabel")
BillboardGui3 = Instance.new("BillboardGui")
TextLabel4 = Instance.new("TextLabel")
LocalScript0.Name = "SyobonActionMain"
LocalScript0.Parent = mas
table.insert(cors,sandbox(LocalScript0,function()
plr = game.Players.LocalPlayer
character = plr.Character or plr.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
userinputservice = game:GetService("UserInputService")
killed = false
game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Syobon Action Script";Text = "Press U to reset(have issues) Made by therealvan45!"})
syobonactionimage = script.BillboardGui:Clone()
syobonactionimage.Parent = character:WaitForChild("Torso"):WaitForChild("NeckAttachment")
syobonactionimage.BillboardGui.Enabled = true
syobonactionimage.BillboardGui.Parent = character:WaitForChild("Head").HatAttachment
syobonactionimage.Enabled = true
for _, part in character:GetChildren() do
if part:IsA("BasePart") then
part.Transparency = 1
if part.Name == "Head" then
part:WaitForChild("face"):Destroy()
end
end
end
humanoid.MaxHealth = math.huge
humanoid.Health = math.huge
humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics, false)
humanoid.Died:Connect(function()
syobonactionimage.ImageLabel.Image = "http://www.roblox.com/asset/?id=139597397394501"
killed = true
character:WaitForChild("Torso").Anchored = true
character:WaitForChild("Head").HatAttachment:Destroy()
character:WaitForChild("Head").Anchored = true
task.wait(0.3)
local TweenService = game:GetService("TweenService")
local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
local riseTween = TweenService:Create(syobonactionimage.ImageLabel, tweenInfo, {Position = syobonactionimage.ImageLabel.Position + UDim2.new(0, 0, -0.5, 0)})
riseTween:Play()
riseTween.Completed:Connect(function()
local fallTween = TweenService:Create(syobonactionimage.ImageLabel, tweenInfo, {Position = syobonactionimage.ImageLabel.Position + UDim2.new(0, 0, 2, 0)})
fallTween:Play()
fallTween.Completed:Connect(function()
syobonactionimage:Destroy()
end)
end)
end)
local images = {"http://www.roblox.com/asset/?id=113873756760397", "http://www.roblox.com/asset/?id=139358428513856"}
local idleImage = "http://www.roblox.com/asset/?id=139358428513856"
local jumpImage = "http://www.roblox.com/asset/?id=94553156100574"
local currentImageIndex = 1
local function swapImagesWhileMoving()
while not killed do
local state = humanoid:GetState()
if state == Enum.HumanoidStateType.Freefall or state == Enum.HumanoidStateType.Jumping then
syobonactionimage.ImageLabel.Image = jumpImage
elseif humanoid.MoveDirection.Magnitude > 0 then
currentImageIndex = currentImageIndex % #images + 1
syobonactionimage.ImageLabel.Image = images[currentImageIndex]
else
syobonactionimage.ImageLabel.Image = idleImage
end
task.wait(0.1)
end
end
local function onLegsTouched(otherPart)
local state = humanoid:GetState()
if state == Enum.HumanoidStateType.Freefall or state == Enum.HumanoidStateType.Jumping then
local otherHumanoid = otherPart.Parent:FindFirstChild("Humanoid")
if otherHumanoid and otherPart.Name == "Head" then
local playerHead = otherPart.Parent:FindFirstChild("Head")
if playerHead and playerHead:IsDescendantOf(game.Workspace) then
playerHead:Destroy()
humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
end
end
end
end
character:WaitForChild("Left Leg").Touched:Connect(onLegsTouched)
character:WaitForChild("Right Leg").Touched:Connect(onLegsTouched)
userinputservice.JumpRequest:Connect(function()
if not killed then
syobonactionimage.ImageLabel.Image = jumpImage
end
end)
userinputservice.InputBegan:Connect(function(input, gameProcessed)
if input.KeyCode == Enum.KeyCode.U and not gameProcessed then
humanoid.MaxHealth = 100
humanoid.Health = 0
humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, true)
end
end)
humanoid.UseJumpPower = true
humanoid.JumpPower = 90
humanoid.WalkSpeed = 40
task.spawn(swapImagesWhileMoving)
end))
BillboardGui1.Parent = LocalScript0
BillboardGui1.Enabled = false
BillboardGui1.Size = UDim2.new(15, 0, 15, 0)
BillboardGui1.Active = true
BillboardGui1.ClipsDescendants = true
BillboardGui1.ExtentsOffsetWorldSpace = Vector3.new(0, 30, 0)
BillboardGui1.StudsOffset = Vector3.new(0, 4, 0)
ImageLabel2.Parent = BillboardGui1
ImageLabel2.Size = UDim2.new(1, 0, 1, 0)
ImageLabel2.BackgroundColor = BrickColor.new("Institutional white")
ImageLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
ImageLabel2.BackgroundTransparency = 1
ImageLabel2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
ImageLabel2.Image = "rbxassetid://139358428513856"
BillboardGui3.Parent = BillboardGui1
BillboardGui3.Enabled = false
BillboardGui3.Size = UDim2.new(15, 0, 15, 0)
BillboardGui3.Active = true
BillboardGui3.ClipsDescendants = true
BillboardGui3.ExtentsOffsetWorldSpace = Vector3.new(0, 30, 0)
BillboardGui3.StudsOffset = Vector3.new(0, 4, 0)
TextLabel4.Parent = BillboardGui3
TextLabel4.Size = UDim2.new(1, 0, 1, 0)
TextLabel4.BackgroundColor = BrickColor.new("Institutional white")
TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel4.BackgroundTransparency = 1
TextLabel4.BorderColor = BrickColor.new("Really black")
TextLabel4.BorderColor3 = Color3.new(0, 0, 0)
TextLabel4.BorderSizePixel = 0
TextLabel4.Font = Enum.Font.SourceSans
TextLabel4.FontSize = Enum.FontSize.Size48
TextLabel4.Text = ""
TextLabel4.TextColor = BrickColor.new("Institutional white")
TextLabel4.TextColor3 = Color3.new(1, 1, 1)
TextLabel4.TextScaled = true
TextLabel4.TextSize = 38
TextLabel4.TextStrokeTransparency = 0
TextLabel4.TextWrap = true
TextLabel4.TextWrapped = true
for i,v in pairs(mas:GetChildren()) do
v.Parent = script
pcall(function() v:MakeJoints() end)
end
mas:Destroy()
for i,v in pairs(cors) do
spawn(function()
pcall(v)
end)
endNo comments yet for this script.



