I design and script immersive Roblox games that players love to explore.
A Randomized Spinning System for Movesets
Client Side:
local button = script.Parent
local player = game.Players.LocalPlayer
local rp = game:GetService("ReplicatedStorage")
local UI = script.Parent.Parent.Parent.Parent
local camera = game.Workspace.CurrentCamera
local Hroot = player.Character:WaitForChild("HumanoidRootPart")
local humanoid = player.Character:WaitForChild("Humanoid")
local CharName = button.Parent.CharacterName
local TypeName = button.Parent.TypeFrame
local Tint = button.Parent.VisualTint
local Visuals = workspace.Map.AbilityRoom.Visuals
button.MouseButton1Click:Connect(function()
rp.Events.General.Spin:FireServer()
local Animator = workspace.Map.AbilityRoom.AbilityRig.Humanoid:FindFirstChild("Animator")
for _, track in pairs(Animator:GetPlayingAnimationTracks()) do
track:Stop()
end
local Idle = rp.Animations.Emotes.ImWaiting
local Track = Animator:LoadAnimation(Idle)
Track:Play()
local names = {
"Shidou",
"Sae",
"Isagi",
"Don"
}
local i = 0
while i ~= 50 do
CharName.TextLabel.Text = names[math.random(1, #names)]
if CharName.TextLabel.Text == "Shidou" then
TypeName.TextLabel.Text = "Offence"
Tint.Shidou.Enabled = true
Tint.Sae.Enabled = false
Tint.Don.Enabled = false
Tint.Isagi.Enabled = false
CharName.BackgroundColor3 = Color3.fromRGB(238, 48, 255)
TypeName.BackgroundColor3 = Color3.fromRGB(238, 48, 255)
elseif CharName.TextLabel.Text == "Sae" then
TypeName.TextLabel.Text = "Support"
Tint.Shidou.Enabled = false
Tint.Sae.Enabled = true
Tint.Don.Enabled = false
Tint.Isagi.Enabled = false
CharName.BackgroundColor3 = Color3.fromRGB(255, 28, 126)
TypeName.BackgroundColor3 = Color3.fromRGB(255, 28, 126)
elseif CharName.TextLabel.Text == "Isagi" then
TypeName.TextLabel.Text = "All Rounder"
Tint.Shidou.Enabled = false
Tint.Sae.Enabled = false
Tint.Don.Enabled = false
Tint.Isagi.Enabled = true
CharName.BackgroundColor3 = Color3.fromRGB(149, 206, 255)
TypeName.BackgroundColor3 = Color3.fromRGB(149, 206, 255)
elseif CharName.TextLabel.Text == "Don" then
TypeName.TextLabel.Text = "Defence"
Tint.Shidou.Enabled = false
Tint.Sae.Enabled = false
Tint.Don.Enabled = true
Tint.Isagi.Enabled = false
CharName.BackgroundColor3 = Color3.fromRGB(103, 33, 255)
TypeName.BackgroundColor3 = Color3.fromRGB(103, 33, 255)
end
task.wait(0.1)
i += 1
end
end)
rp.Events.General.Spin.OnClientEvent:Connect(function()
wait(6)
Tint.Visible = true
print(player:GetAttribute("Moveset"))
CharName.TextLabel.Text = player:GetAttribute("Moveset")
if player:GetAttribute("Moveset") == "Isagi" then
TypeName.TextLabel.Text = "All Rounder"
Tint.Shidou.Enabled = false
Tint.Sae.Enabled = false
Tint.Don.Enabled = false
Tint.Isagi.Enabled = true
CharName.BackgroundColor3 = Color3.fromRGB(149, 206, 255)
TypeName.BackgroundColor3 = Color3.fromRGB(149, 206, 255)
for i,v in pairs(Visuals:GetDescendants()) do
if v:IsA("ParticleEmitter") then
local Vold = v.Lifetime
v.Lifetime = NumberRange.new(0)
task.wait()
v.Lifetime = Vold
v.Enabled = false
elseif v:IsA("Beam") or v:IsA("SpotLight") then
v.Enabled = false
elseif v:IsA("MeshPart") or v:IsA("Part") then
v.Transparency = 1
end
end
local Animator = Visuals.Parent.AbilityRig.Humanoid.Animator
for _, track in pairs(Animator:GetPlayingAnimationTracks()) do
track:Stop()
end
local Idle = rp.Animations.Emotes.PuzzlePiece
local Track = Animator:LoadAnimation(Idle)
Track:Play()
task.wait(0.1)
for i,v in pairs(Visuals.Isagi:GetDescendants()) do
if v:IsA("ParticleEmitter") or v:IsA("Beam") or v:IsA("SpotLight") then
v.Enabled = true
end
end
print("Isagi Equipped")
else if player:GetAttribute("Moveset") == "Shidou" then
TypeName.TextLabel.Text = "Offence"
Tint.Shidou.Enabled = true
Tint.Sae.Enabled = false
Tint.Don.Enabled = false
Tint.Isagi.Enabled = false
CharName.BackgroundColor3 = Color3.fromRGB(238, 48, 255)
TypeName.BackgroundColor3 = Color3.fromRGB(238, 48, 255)
for i,v in pairs(Visuals:GetDescendants()) do
if v:IsA("ParticleEmitter") then
local Vold = v.Lifetime
v.Lifetime = NumberRange.new(0)
task.wait()
v.Lifetime = Vold
v.Enabled = false
elseif v:IsA("Beam") or v:IsA("SpotLight") then
v.Enabled = false
elseif v:IsA("MeshPart") or v:IsA("Part") then
v.Transparency = 1
end
end
local Animator = Visuals.Parent.AbilityRig.Humanoid.Animator
for _, track in pairs(Animator:GetPlayingAnimationTracks()) do
track:Stop()
end
local Idle = rp.Animations.Emotes.ShidouGlory
local Track = Animator:LoadAnimation(Idle)
Track:Play()
task.wait(0.1)
for i,v in pairs(Visuals.Shidou:GetDescendants()) do
if v:IsA("ParticleEmitter") or v:IsA("Beam") or v:IsA("SpotLight") then
v.Enabled = true
end
end
print("Shidou Equipped")
else if player:GetAttribute("Moveset") == "Sae" then
TypeName.TextLabel.Text = "Support"
Tint.Shidou.Enabled = false
Tint.Sae.Enabled = true
Tint.Don.Enabled = false
Tint.Isagi.Enabled = false
CharName.BackgroundColor3 = Color3.fromRGB(255, 28, 126)
TypeName.BackgroundColor3 = Color3.fromRGB(255, 28, 126)
for i,v in pairs(Visuals:GetDescendants()) do
if v:IsA("ParticleEmitter") then
local Vold = v.Lifetime
v.Lifetime = NumberRange.new(0)
task.wait()
v.Lifetime = Vold
v.Enabled = false
elseif v:IsA("Beam") or v:IsA("SpotLight") then
v.Enabled = false
elseif v:IsA("MeshPart") or v:IsA("Part") then
v.Transparency = 1
end
end
local Animator = Visuals.Parent.AbilityRig.Humanoid.Animator
for _, track in pairs(Animator:GetPlayingAnimationTracks()) do
track:Stop()
end
local Idle = rp.Animations.Emotes.U20Hops
local Track = Animator:LoadAnimation(Idle)
Track:Play()
task.wait(0.1)
for i,v in pairs(Visuals.Sae:GetDescendants()) do
if v:IsA("ParticleEmitter") or v:IsA("Beam") or v:IsA("SpotLight") then
v.Enabled = true
end
end
print("Sae Equipped")
else if player:GetAttribute("Moveset") == "Don" then
TypeName.TextLabel.Text = "Defence"
Tint.Shidou.Enabled = false
Tint.Sae.Enabled = false
Tint.Don.Enabled = true
Tint.Isagi.Enabled = false
CharName.BackgroundColor3 = Color3.fromRGB(103, 33, 255)
TypeName.BackgroundColor3 = Color3.fromRGB(103, 33, 255)
for i,v in pairs(Visuals:GetDescendants()) do
if v:IsA("ParticleEmitter") then
local Vold = v.Lifetime
v.Lifetime = NumberRange.new(0)
task.wait()
v.Lifetime = Vold
v.Enabled = false
elseif v:IsA("Beam") or v:IsA("SpotLight") then
v.Enabled = false
elseif v:IsA("MeshPart") or v:IsA("Part") then
v.Transparency = 1
end
end
local Animator = Visuals.Parent.AbilityRig.Humanoid.Animator
for _, track in pairs(Animator:GetPlayingAnimationTracks()) do
track:Stop()
end
local Idle = rp.Animations.Emotes.Bow
local Track = Animator:LoadAnimation(Idle)
Track:Play()
task.wait(0.1)
for i,v in pairs(Visuals.Don:GetDescendants()) do
if v:IsA("ParticleEmitter") or v:IsA("Beam") or v:IsA("SpotLight") then
v.Enabled = true
elseif v:IsA("MeshPart") or v:IsA("Part") then
if v.Name ~= "SmokePart" then
v.Transparency = 0
end
end
end
print("Don Equipped")
end
end
end
end
end)
Server Side:
local Players = game:GetService("Players")
local rp = game:GetService("ReplicatedStorage")
local debris = game:GetService("Debris")
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local ServerStorage = game:GetService("ServerStorage")
local PhysicsService = game:GetService("PhysicsService")
local Teams = game:GetService("Teams")
local ServerScriptService = game:GetService("ServerScriptService")
local CollectionService = game:GetService("CollectionService")
local HttpService = game:GetService("HttpService")
rp.Events.General.Spin.OnServerEvent:Connect(function(player)
local char = player.Character
local Hroot = char:WaitForChild("HumanoidRootPart")
local humanoid = char:WaitForChild("Humanoid")
local Moveset = player:GetAttribute("Moveset")
local Names =
{
"Shidou",
"Sae",
"Isagi",
"Don"
}
player:SetAttribute("Moveset", Names[math.random(1, #Names)])
rp.Events.General.Spin:FireClient(player)
end)
local AbilityDummy = workspace.Map.AbilityRoom.AbilityRig
local DummyHumanoid = AbilityDummy:WaitForChild("Humanoid")
game.ReplicatedStorage.Events.General.CopyCharacter.OnServerEvent:Connect(function(player)
local Character = player.Character
if not Character then return end
local Description = Character.Humanoid:GetAppliedDescription()
DummyHumanoid:ApplyDescription(Description)
end)
Infinite Void from Jujutsu Kaisen in Roblox Studios
Local Side:
UserInputService.InputBegan:Connect(function(input,isTyping) -- Cleave
if isTyping then
return
elseif input.KeyCode == Enum.KeyCode.H and DomainCd == false and stunned == false and usingmove == false and maskoff == true then
usingmove = true
humanoid.WalkSpeed = 0
humanoid.JumpHeight = 0
local event = rp.Events.GojoEvents.Gojodomain
event:FireServer(player,character,Hroot,tween,humanoid)
local animation = Instance.new("Animation", workspace.Fx)
animation.AnimationId = Domainanis[1]
local domainanimation = humanoid.Animator:LoadAnimation(animation)
domainanimation:Play()
wait(11)
usingmove = false
humanoid.WalkSpeed = 26
humanoid.JumpHeight = 7.2
end
end)
Server Side:
local rp = game:GetService("ReplicatedStorage")
local event = rp.Events.GojoEvents.Gojodomain
event.OnServerEvent:Connect(function(player)
local character = player.Character
local humanoid = character:WaitForChild("Humanoid")
local Hroot = character:WaitForChild("HumanoidRootPart")
local tween = game:GetService("TweenService")
local DCE = rp.Combateffects.JJK.Gojo.Domain.Normal.DCE:Clone()
DCE.CFrame = Hroot.CFrame
DCE.Parent = workspace
DCE.Name = player.Name.. "Clash"
local info = TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false)
local DCET = tween:Create(DCE,TweenInfo.new(0.5,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false), {Size = Vector3.new(500,500,500)})
local DCET2 = tween:Create(DCE,TweenInfo.new(0.3,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false), {Transparency = 1})
DCET:Play()
DCET2:Play()
local effectT = rp.Combateffects.JJK.Gojo.Domain.Normal.DomainStartup:Clone()
effectT.Parent = workspace
effectT.CFrame = Hroot.CFrame
effectT.CanCollide = false
effectT.Anchored = true
effectT.Transparency = 1
DCET.Completed:Connect(function()
wait(1)
effectT.Attachment.ParticleEmitter.Enabled = false
effectT.Attachment.T.Enabled = false
humanoid.WalkSpeed = 0
local IV = rp.Combateffects.JJK.Gojo.Domain.Normal.GojoDomainP:Clone()
IV.CanCollide = false
IV.Name = player.Name .. "Domain"
IV.Anchored = true
IV.Massless = true
IV.Parent = workspace.Map
IV.CFrame = Hroot.CFrame * CFrame.new(0,-3,0)
local top = IV.GojoDomain.Toop
local bot = IV.GojoDomain.Bottom
local em = IV.GojoDomain.Bottom.ParticleEmitter
local em2 = IV.GojoDomain.Toop.ParticleEmitter
local shards = rp.Combateffects.JJK.Gojo.Domain.Normal.Shards:Clone()
shards.Parent = workspace
shards.CFrame = bot.CFrame
shards.Anchored = true
shards.CanCollide = false
local emT = tween:Create(em,TweenInfo.new(2.5,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false), {ShapePartial = 1})
emT:Play()
local emT2 = tween:Create(em2,TweenInfo.new(2.5,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false), {ShapePartial = 1})
emT2:Play()
emT.Completed:Connect(function()
local Hitbox = Instance.new("Part")
print("hitbox made")
Hitbox.Shape = Enum.PartType.Ball
Hitbox.Parent = workspace
Hitbox.CanCollide = false
Hitbox.Transparency = 1
Hitbox.Anchored = true
Hitbox.Massless = true
Hitbox.CanTouch = true
Hitbox.Size = top.Size
Hitbox.CFrame = top.CFrame
Hitbox.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Player") and hit.Parent:FindFirstChild("Humanoid") and not hit.Parent:FindFirstChild("Vicval") then
print("Player found and hit")
local vicval = Instance.new("IntValue")
vicval.Name = "Vicval"
vicval.Parent = hit.Parent
local victim = rp.Events.GojoEvents.IVictimE
local hitC = hit.Parent
local hitP = game.Players:GetPlayerFromCharacter(hitC)
if hitP then
victim:FireClient(hitP)
wait(1.1)
vicval:Destroy()
end
if hit.Parent.Name ~= player.Name then
hit.Parent.Humanoid.WalkSpeed = 0
hit.Parent.Humanoid.JumpHeight = 0
hit.Parent.HumanoidRootPart.Anchored = true
local stun = Instance.new("IntValue")
stun.Name = "Stun"
stun.Parent = hit.Parent.StatusFolder
wait(30)
hit.Parent.Humanoid.WalkSpeed = 16
hit.Parent.Humanoid.JumpHeight = 7.2
hit.Parent.HumanoidRootPart.Anchored = false
stun:Destroy()
end
end
end)
wait(1.1)
effectT:Destroy()
Hitbox.CanTouch = false
em.Enabled = false
em2.Enabled = false
local TT = tween:Create(top,TweenInfo.new(1.5,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false), {Transparency = 0})
TT:Play()
local BT = tween:Create(bot,TweenInfo.new(1.5,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false), {Transparency = 0})
BT:Play()
wait(1)
local CT = tween:Create(top,TweenInfo.new(1.5,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false), {Color = Color3.new(0,0,0.1)})
local CB = tween:Create(bot,TweenInfo.new(1.5,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false), {Color = Color3.new(0,0,0.1)})
CT:Play()
CB:Play()
wait(25)
local ET = tween:Create(top,TweenInfo.new(1.5,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false), {Color = Color3.new(1,1,1)})
local ET2 = tween:Create(bot,TweenInfo.new(1.5,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false), {Color = Color3.new(1,1,1)})
ET:Play()
ET2:Play()
wait(3)
shards.ParticleEmitter.Enabled = true
wait(0.5)
shards.ParticleEmitter.Enabled = false
IV:Destroy()
Hitbox:Destroy()
wait(5)
shards:Destroy()
end)
end)
end)
Malevolent Shrine from Jujutsu Kaisen made in Roblox Studios
Client Side:
UserInputService.InputBegan:Connect(function(input,isTyping) -- Domain
if isTyping then
return
elseif input.KeyCode == Enum.KeyCode.H and DomainCd == false and stunned == false and usingmove == false then
usingmove = true
rp.BasicCombatEvents.usingmove:FireServer(player,usingmove)
DomainCd = true
humanoid.WalkSpeed = 0
humanoid.JumpHeight = 0
wait(0.01)
local cam = workspace.CurrentCamera
cam.CameraSubject = character.Torso
character.HumanoidRootPart.Anchored = true
rp.Events.SukunaEvents.Domain:FireServer(player,active,usingmove)
local animation = Instance.new("Animation", workspace.Fx)
animation.AnimationId = anims[2]
local Domainanimation = humanoid.Animator:LoadAnimation(animation)
Domainanimation:Play()
wait(3.23)
character.HumanoidRootPart.Anchored = false
wait(1)
character.HumanoidRootPart.Anchored = true
wait(8.50)
local L = game.Lighting
local CC = L:WaitForChild("ColorCorrection")
CC.Parent = L.LightingStorage
local DC = rp.Combateffects.JJK.Sukuna.Domain.LightingDomain.DColorCorrection:Clone()
DC.Parent = L
wait(0.25)
local newLA = Color3.new(1, 0.745098, 0.745098)
local newLOA = Color3.new(0.509804, 0, 0)
local newsize = 3.5
local newC = -0.3
local newB = 0.2
local newS = 0
local tween = game:GetService("TweenService")
wait(2)
cam.CameraSubject = character.Humanoid
usingmove = false
rp.BasicCombatEvents.Notusingmove:FireServer(player,usingmove)
humanoid.WalkSpeed = 16
humanoid.JumpHeight = 7.2
character.HumanoidRootPart.Anchored = false
wait(16)
local oldLA = Color3.new(0.478431, 0.431373, 0.541176)
local oldLOA = Color3.new(0.439216, 0.396078, 0.501961)
local oldsize = 0
local oldC = -0.3
local oldS = 0
local oldB = 0.2
wait(5)
CC.Parent = L
DC:Destroy()
wait(120)
DomainCd = false
end
end)
Server Side:
local rp = game.ReplicatedStorage
local Domain = rp.Events.SukunaEvents.Domain
local tween = game:GetService("TweenService")
local Hval = false
local Hstun = true
Domain.OnServerEvent:Connect(function(player, active)
local character = player.Character
local root = character.HumanoidRootPart
local Seffects = rp.Combateffects.JJK.Sukuna.Domain.Sukunadomainstartup
local black = Seffects.Black:Clone()
black.Parent = character.Torso
local red = Seffects.Red:Clone()
red.Parent = character.Head
local circles = Seffects.Circles:Clone()
circles.Parent = character.Torso
domain = rp.Combateffects.JJK.Sukuna.Domain.SukunaDE:Clone()
domain.Anchored = true
domain.Name = "Domain"
domain.CanCollide = true
domain.CFrame = character.HumanoidRootPart.CFrame * CFrame.new(0,-15,65)
wait(3.25)
wait(0.85)
red.Redglow.Enabled = true
wait(2)
black.Blackglow.Enabled = true
wait(0.5)
circles.BlackCircles.Enabled = true
circles.RedCircles.Enabled = true
wait(1)
circles.BlackCircles.Enabled = false
circles.RedCircles.Enabled = false
wait(1)
local flames = domain.SukunaDomain.DomainFlames
flames.Bluefire.Enabled = true
flames.Pinkfire.Enabled = true
red.Redglow.Enabled = false
wait(0.5)
circles.BlackCircles.Enabled = false
circles.RedCircles.Enabled = false
black.Blackglow.Enabled = false
wait(1)
domain.Parent = workspace
local Cuteffects = domain.SukunaDomain.CutEffect1
local Cuteffects2 = domain.SukunaDomain.CutEffect2
local Cut1children = Cuteffects:GetChildren()
local Cut2children = Cuteffects2:GetChildren()
for _, child in pairs(Cut1children) do
if child:IsA("ParticleEmitter") then
child.Enabled = false
end
end
for _, child in pairs(Cut2children) do
if child:IsA("ParticleEmitter") then
child.Enabled = false
end
end
local Dground = domain.SukunaDomain.Dgroundslashes:GetChildren()
for _, child in pairs(Dground) do
if child:IsA("ParticleEmitter") then
child.Enabled = false
end
end
local Rpart = domain.SukunaDomain.Rocks:GetChildren()
for _, child in pairs(Rpart) do
if child:IsA("ParticleEmitter") then
child.Enabled = false
end
end
domain.SukunaDomain.Dust.SMOKE.Enabled = false
wait(1)
flames.Bluefire.Enabled = false
flames.Pinkfire.Enabled = false
wait(1.5)
black:Destroy()
red:Destroy()
circles:Destroy()
for _, child in pairs(Cut1children) do
if child:IsA("ParticleEmitter") then
child.Enabled = true
end
end
for _, child in pairs(Cut2children) do
if child:IsA("ParticleEmitter") then
child.Enabled = true
end
end
for _, child in pairs(Dground) do
if child:IsA("ParticleEmitter") then
child.Enabled = true
end
end
for _, child in pairs(Rpart) do
if child:IsA("ParticleEmitter") then
child.Enabled = true
end
end
domain.SukunaDomain.Dust.SMOKE.Enabled = false
wait(5)
wait(15)
for _, child in pairs(Cut1children) do
if child:IsA("ParticleEmitter") then
child.Enabled = false
end
end
for _, child in pairs(Cut2children) do
if child:IsA("ParticleEmitter") then
child.Enabled = false
end
end
for _, child in pairs(Dground) do
if child:IsA("ParticleEmitter") then
child.Enabled = false
end
end
for _, child in pairs(Rpart) do
if child:IsA("ParticleEmitter") then
child.Enabled = false
end
end
wait(0.5)
wait(8)
flames.Bluefire.Enabled = true
flames.Pinkfire.Enabled = true
wait(1.5)
domain.SukunaDomain.Sukunadm:Destroy()
flames.Bluefire.Enabled = false
flames.Pinkfire.Enabled = false
wait(5)
domain:Destroy()
end)
Domain.OnServerEvent:Connect(function(player, active)
local character = player.Character
local root = character.HumanoidRootPart
wait(15)
root.CFrame = root.CFrame * CFrame.new(0,35,0)
end)
Domain.OnServerEvent:Connect(function(player, active)
task.wait(12.50)
Hval = true
repeat
wait(0.2)
local hitbox = Instance.new("Part")
print("hitbox made")
hitbox.CanCollide = false
hitbox.Parent = workspace
hitbox.Name = "DomainHitbox"
hitbox.Transparency = 1
hitbox.Material = "ForceField"
hitbox.Massless = true
hitbox.Size = Vector3.new(2025.8, 2048, 1999.7)
hitbox.CanTouch = true
hitbox.Anchored = true
hitbox.CFrame = domain.CFrame
hitbox.Shape = Enum.PartType.Ball
hitbox.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Character.Name and Hstun == true then
print("stunhit")
local Stun = Instance.new("IntValue")
Stun.Parent = hit.Parent.StatusFolder
Stun.Name = "Stun"
hit.Parent.Humanoid:TakeDamage(0.2)
task.wait(0.1)
Stun:Destroy()
task.wait(0.1)
hitbox:Destroy()
elseif hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Character.Name and Hstun == false then
print("stunhit")
hit.Parent.Humanoid:TakeDamage(0.05)
task.wait(0.1)
task.wait(0.1)
hitbox:Destroy()
end
end)
until Hval == false
end)
Domain.OnServerEvent:Connect(function(player, active)
wait(12)
wait(5)
Hstun = false
wait(15)
Hval = false
end)