Freddy Fazbear Ethan's Portfolio
No BGM Loaded
VISUAL EFFECTS, SCRIPTING

Infinite Void Roblox Studios

Infinite Void from Jujutsu Kaisen in Roblox Studios

Infinite Void Roblox Studios.lua
Lua
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)

Description

Infinite Void from Jujutsu Kaisen in Roblox Studios

Tags

Visual Effects Scripting Lua Roblox Studios Debugging