Quick actions

cmd+k|ctrl+k

Navigation

Languages

Jotaro

Snippet info

Language

Lua

Visibility

public

Author

elizeue94

Created

2019-06-26T07:16:09Z

Updated

2019-06-26T08:16:57Z

if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
local Player,game,owner = owner,game
local RealPlayer = Player
do
	print("FE Compatibility code by Mokiros")
	local rp = RealPlayer
	script.Parent = rp.Character
	
	--RemoteEvent for communicating
	local Event = Instance.new("RemoteEvent")
	Event.Name = "UserInput_Event"

	--Fake event to make stuff like Mouse.KeyDown work
	local function fakeEvent()
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
		t.connect = t.Connect
		return t
	end

	--Creating fake input objects with fake variables
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
	end}
	--Merged 2 functions into one by checking amount of arguments
	CAS.UnbindAction = CAS.BindAction

	--This function will trigger the events that have been :Connect()'ed
	local function te(self,ev,...)
		local t = m[ev]
		if t and t._fakeEvent then
			for _,f in pairs(t.Functions) do
				f(...)
			end
		end
	end
	m.TrigEvent = te
	UIS.TrigEvent = te

	Event.OnServerEvent:Connect(function(plr,io)
	    if plr~=rp then return end
		m.Target = io.Target
		m.Hit = io.Hit
		if not io.isMouse then
			local b = io.UserInputState == Enum.UserInputState.Begin
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
			end
			for _,t in pairs(CAS.Actions) do
				for _,k in pairs(t.Keys) do
					if k==io.KeyCode then
						t.Function(t.Name,io.UserInputState,io)
					end
				end
			end
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
	    end
	end)
	Event.Parent = NLS([==[
	local Player = game:GetService("Players").LocalPlayer
	local Event = script:WaitForChild("UserInput_Event")

	local Mouse = Player:GetMouse()
	local UIS = game:GetService("UserInputService")
	local input = function(io,a)
		if a then return end
		--Since InputObject is a client-side instance, we create and pass table instead
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
	end
	UIS.InputBegan:Connect(input)
	UIS.InputEnded:Connect(input)

	local h,t
	--Give the server mouse data 30 times every second, but only if the values changed
	--If player is not moving their mouse, client won't fire events
	while wait(1/30) do
		if h~=Mouse.Hit or t~=Mouse.Target then
			h,t=Mouse.Hit,Mouse.Target
			Event:FireServer({isMouse=true,Target=t,Hit=h})
		end
	end]==],Player.Character)

	----Sandboxed game object that allows the usage of client-side methods and services
	--Real game object
	local _rg = game

	--Metatable for fake service
	local fsmt = {
		__index = function(self,k)
			local s = rawget(self,"_RealService")
			if s then return s[k] end
		end,
		__newindex = function(self,k,v)
			local s = rawget(self,"_RealService")
			if s then s[k]=v end
		end,
		__call = function(self,...)
			local s = rawget(self,"_RealService")
			if s then return s(...) end
		end
	}
	local function FakeService(t,RealService)
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
		return setmetatable(t,fsmt)
	end

	--Fake game object
	local g = {
		GetService = function(self,s)
			return self[s]
		end,
		Players = FakeService({
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
		},"Players"),
		UserInputService = FakeService(UIS,"UserInputService"),
		ContextActionService = FakeService(CAS,"ContextActionService"),
	}
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
	g.service = g.GetService
	
	g.RunService = FakeService({
		RenderStepped = _rg:GetService("RunService").Heartbeat,
		BindToRenderStep = function(self,name,_,fun)
			self._btrs[name] = self.Heartbeat:Connect(fun)
		end,
		UnbindFromRenderStep = function(self,name)
			self._btrs[name]:Disconnect()
		end,
	},"RunService")

	setmetatable(g,{
		__index=function(self,s)
			return _rg:GetService(s) or typeof(_rg[s])=="function"
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
		end,
		__newindex = fsmt.__newindex,
		__call = fsmt.__call
	})
	--Changing owner to fake player object to support owner:GetMouse()
	game,owner = g,g.Players.LocalPlayer
end

--[[
    Stand: Star Platinum
    User: Jotaro Kujo
]]


local asd = owner
repeat wait() until asd.Character
local asdchar = asd.Character
local transPoints = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(0.207, 0.594, 0.0187), NumberSequenceKeypoint.new(0.4, 0.55, 0.031), NumberSequenceKeypoint.new(0.57, 0.619, 0.05), NumberSequenceKeypoint.new(0.76, 0.8, 0.0375), NumberSequenceKeypoint.new(1, 1, 0)}
local sizePoints = {NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(1, 1.9, 0)}
local Size = NumberSequence.new(sizePoints)
local Transparency = NumberSequence.new(transPoints)


---Declarations
local Cn=CFrame.new
local CA=CFrame.Angles
local mr=math.rad
local rn=math.random
local mc=math.cos
local Vn=Vector3.new
local NR=NumberRange.new
local NSeq=NumberSequence.new
local plrs=game:service"Players"
local wrk=game:service"Workspace"
local deb=game:service"Debris"
local IS=game:GetService("InsertService")
local p=plrs.LocalPlayer
local cam=wrk.CurrentCamera
local char=p.Character
local mouse=p:GetMouse()

local lam=char["Left Arm"]
local ram=char["Right Arm"]
local llg=char["Left Leg"]
local rlg=char["Right Leg"]
local hed=char.Head
local tor=char.Torso
local larm = lam
local rarm = ram
local lleg = llg
local rleg = rlg
local torso = tor
local hrp=char.HumanoidRootPart
local PlayerSpeed = char.Humanoid.WalkSpeed
local on=false
local noRig=false
local curws=16
local sine=0
local ift={}
local ifxd=false
local run=false
local stance="Cane"
local Speed = 16
local Health = 9000
for i,v in pairs(char:children()) do
    if v:IsA("Hat") then
        v:Destroy()
    end
end
for i,v in pairs(char:children()) do
    if v:IsA("Accessory") then
        v:Destroy()
    end
end
for i,v in pairs(char:children()) do
    if v:IsA("Hair") then
        v:Destroy()
    end
end


PlayerSpeed = 16

ypcall(function()
char.Shirt:Destroy()
char.Pants:Destroy()
shirt = Instance.new("Shirt", char)
shirt.Name = "Shirt"
pants = Instance.new("Pants", char)
pants.Name = "Pants"
char.Shirt.ShirtTemplate = "rbxassetid://2140892930"
char.Pants.PantsTemplate = "rbxassetid://2170566353"
local Orin = "rbxassetid://639034904"
hed.face.Texture = Orin
end)

Debounces = {
CanAttack = true;
NoIdl = false;
Slashing = false;
Slashed = false;
RPunch = false;
RPunched = false;
LPunch = false;
LPunched = false;
}

local trappedTorsos = {}
local trappedTorsoss = {}
---Functions

function FndHm(flnm)
for i,v in pairs(flnm:GetChildren()) do
if v:IsA("Humanoid") then
return v
end
end
end
local hum=FndHm(char)



function chrDes(inst)
        local ret=nil
        for _,v in pairs(game.Players:GetChildren()) do
                if inst:IsDescendantOf(v) then
                        ret=v
                        break
                end
        end
        return ret
end

--
function get(a)
local cont={}
for i,v in pairs(a:GetChildren()) do
if v==char then
else
table.insert(cont,v)
pcall(function()
for _,b in pairs(get(v)) do
table.insert(cont,b)
end
end)
end
end
return cont
end
for _,v in pairs(get(game.Workspace)) do
if v:IsA("Sparkles") or v:IsA("Fire") then
v:Destroy()
end
end

--
function inT(qur,tbl)
local a=false
for i,v in pairs(tbl) do
if v==qur then
a=true
break
else
a=false
end
end
return a
end

--
function Tween(a,b,c)
return a+(b-a)*c
end

--
function Avg(a,b)
return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
end

--
function Lerp(c1,c2,tim)
        local com1={c1.C0.X,c1.C0.Y,c1.C0.Z,c1.C0:toEulerAnglesXYZ()}
        local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
        for i,v in pairs(com1) do 
                com1[i]=v+(com2[i]-v)*tim
        end
        return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1)))
end

function RLerp(c1,c2,tim)
        return c1:lerp(c2,tim)
end

--
function ALerp(c1,c2,tim)
        local com1={c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
        local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
        for i,v in pairs(com1) do 
                com1[i]=v+(com2[i]-v)*tim
        end
        return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1)))
end

--
function Lerprs(ud,ud2,al)
local a,b,c,d=ud.X.Scale,ud.X.Offset,ud.Y.Scale,ud.Y.Offset
local a2,b2,c2,d2=ud2.X.Scale,ud2.X.Offset,ud2.Y.Scale,ud2.Y.Offset
local x,y,z,w=(a+(a2-a)*al),(b+(b2-b)*al),(c+(c2-c)*al),(d+(d2-d)*al)
return UDim2.new(x,y,z,w)
end

--
function newAnim(wld)
        local asd={["Weld"]=wld;["Int"]=0;["Frame"]=1;}
        asd.getFrames=function()
                local num=0
                for _,v in pairs(asd) do
                        pcall(function()
                                num=num+v.Length
                        end)
                end
                return num
        end
        return asd
end

--
function newKF(tab,c0,lng,off)
        off=off or 1
        table.insert(tab,{["C0"]=c0,["Length"]=lng,["Offset"]=off})
end

--
function runKF(tab)
        tab.Int=tab.Int+1
        if tab.Int>=tab[tab.Frame].Length then
                tab.Frame=tab.Frame+1
                tab.Int=0
                if tab.Frame>#tab then
                        tab.Frame=1
                end
        end
        tab.Weld.C0=RLerp(tab.Weld.C0,tab[tab.Frame].C0,(tab[tab.Frame].Offset/tab[tab.Frame].Length)*tab.Int)
end

--
function nwPrt(prnt,siz,cf,col)
        local prt=Instance.new("Part")
        prt.Parent=prnt
        prt.FormFactor=3
        prt.Name="Part"
        prt.Size=siz
        prt.CanCollide=false
        prt.Anchored=true
        prt.Locked=true
        prt.TopSurface=10
        prt.BottomSurface=10
        prt.FrontSurface=10
        prt.BackSurface=10
        prt.LeftSurface=10
        prt.RightSurface=10
        prt:BreakJoints()
        prt.CFrame=cf or CFrame.new(30,10,30)
        prt.Material="SmoothPlastic"
        prt.BrickColor=BrickColor.new(col)
        m=Instance.new("SpecialMesh",prt)
        m.MeshType=6
        return prt
end

--
function nwWdg(prnt,siz,cf,col)
        local prt=Instance.new("WedgePart")
        prt.Parent=prnt
        prt.FormFactor=3
        prt.Name="Part"
        prt.Size=siz
        prt.CanCollide=false
        prt.Anchored=false
        prt.Locked=true
        prt.TopSurface=0
        prt.BottomSurface=0
        prt:BreakJoints()
        prt.CFrame=cf or CFrame.new(30,10,30)
        prt.Material="SmoothPlastic"
        prt.BrickColor=BrickColor.new(col)
        return prt
end

--
function newGui(prnt,clsnm,siz,pos,bsp,bc,bt)
        local gui=Instance.new(clsnm,prnt)
        gui.Size=siz or UDim2.new(0,100,0,100)
        gui.Position=pos or UDim2.new(0,0,0,0)
        gui.BorderSizePixel=bsp or 0
        gui.BackgroundColor3=bc or Color3.new(0,0,0)
        gui.BackgroundTransparency=bt or 1
        return gui
end

--
function nwWld(wp0,wp1,wc0)
wld = Instance.new("Weld",wp1)
wld.Part0=wp0
wld.Part1=wp1
wld.C0=wc0 or Cn(0,0,0)
return wld
end

--
function nwSnd(prnt,pch,vol,id)
        local s=Instance.new("Sound",prnt)
        s.Pitch=pch
        s.Volume=vol
        s.SoundId="rbxassetid://"..id
        s.PlayOnRemove=true
        return s
end

--
function newRay(start,face,range,wat)
        local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
        hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
        return rey,hit,pos
end

function nooutline(part)
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
end

function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
        local fp=it("Part")
        fp.formFactor=formfactor
        fp.Parent=parent
        fp.Reflectance=reflectance
        fp.Transparency=transparency
        fp.CanCollide=false
        fp.Locked=true
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
        fp.Name=name
        fp.Size=size
        fp.Position=Character.Torso.Position
        nooutline(fp)
        fp.Material=material
        fp:BreakJoints()
        return fp
end

function mesh(Mesh,part,meshtype,meshid,offset,scale)
        local mesh=it(Mesh)
        mesh.Parent=part
        if Mesh=="SpecialMesh" then
                mesh.MeshType=meshtype
                mesh.MeshId=meshid
        end
        mesh.Offset=offset
        mesh.Scale=scale
        return mesh
end

function weld(parent,part0,part1,c0,c1)
        local weld=it("Weld")
        weld.Parent=parent
        weld.Part0=part0
        weld.Part1=part1
        weld.C0=c0
        weld.C1=c1
        return weld
end
TfwTimeStopped = false
function Damagefunc(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
        if hit.Parent==nil then
                return
        end
        h=hit.Parent:FindFirstChild("Humanoid")
        for _,v in pairs(hit.Parent:children()) do
                if v:IsA("Humanoid") then
                        h=v
                end
        end
        if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
                h=hit.Parent.Parent:FindFirstChild("Humanoid")
        end
        if hit.Parent.className=="Hat" then
                hit=hit.Parent.Parent:findFirstChild("Head")
        end
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
                if hit.Parent:findFirstChild("DebounceHit")~=nil then
                        if hit.Parent.DebounceHit.Value==true then
                                return
                        end
                end
                --[[if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
                        return
                end]]
                --hs(hit,1.2)
                c=Instance.new("ObjectValue")
                c.Name="creator"
                c.Value=game:service("Players").LocalPlayer
                c.Parent=h
                game:GetService("Debris"):AddItem(c,.5)
                Damage=math.random(minim,maxim)
                --h:TakeDamage(Damage)
                blocked=false
                block=hit.Parent:findFirstChild("Block")
                if block~=nil then
                        print(block.className)
                        if block.className=="NumberValue" then
                                if block.Value>0 then
                                        blocked=true
                                        if decreaseblock==nil then
                                                block.Value=block.Value-1
                                        end
                                end
                        end
                        if block.className=="IntValue" then
                                if block.Value>0 then
                                        blocked=true
                                        if decreaseblock~=nil then
                                                block.Value=block.Value-1
                                        end
                                end
                        end
                end
local hit = Instance.new("Sound",pchar.Torso)
        hit.SoundId = "rbxassetid://1044387664"
        hit.Looped = false
        hit.Volume = 3
                if blocked==false then
                        --h:TakeDamage(Damage)
                        if TfwTimeStopped == false then
                            h.Health=h.Health-Damage
hit:Play()

                            ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), " ", 1.5, Part.BrickColor.Color)

                        elseif TfwTimeStopped == true then
	hit:Play()
                            repeat wait() until TfwTimeStopped == false
                             h.Health=h.Health-Damage

                           ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), " ", 1.5, Part.BrickColor.Color)

                        end
                else
                        h.Health=h.Health-(Damage/2)
                        ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
                end
                if Type=="Knockdown" then
                        hum=hit.Parent.Humanoid
                        hum.PlatformStand=true
                        coroutine.resume(coroutine.create(function(HHumanoid)
                                swait(1)
                                HHumanoid.PlatformStand=false
                        end),hum)
                        local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
                        --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
                        local bodvol=Instance.new("BodyVelocity")
                        bodvol.velocity=angle*knockback
                        bodvol.P=500
                        bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
                        bodvol.Parent=hit
                        rl = Instance.new("BodyAngularVelocity")
                        rl.P = 3000
                        rl.maxTorque = Vector3.new(500000, 500000, 500000)
                        rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
                        rl.Parent = hit
                        game:GetService("Debris"):AddItem(bodvol,.5)
                        game:GetService("Debris"):AddItem(rl,.5)
                elseif Type=="ORA" then
                        hum=hit.Parent.Humanoid
                        hum.PlatformStand=true
                        coroutine.resume(coroutine.create(function(HHumanoid)
                                swait(1)
                                HHumanoid.PlatformStand=false
                        end),hum)
                        local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
                        --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
                        local bodvol=Instance.new("BodyVelocity")
                        bodvol.velocity=angle*knockback
                        bodvol.P=500
                        bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
                        bodvol.Parent=hit
                        rl = Instance.new("BodyAngularVelocity")
                        rl.P = 3000
                        rl.maxTorque = Vector3.new(500000, 500000, 500000)
                        rl.angularvelocity = Vector3.new(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
                        rl.Parent = hit
                        game:GetService("Debris"):AddItem(bodvol,.5)
                        game:GetService("Debris"):AddItem(rl,.5)
                elseif Type == "Killer Queen" then
                        hum=hit.Parent.Humanoid
                        hum.PlatformStand=true
                        coroutine.resume(coroutine.create(function(HHumanoid)
                                swait(1)
                                HHumanoid.PlatformStand=false
                        end),hum)
                        local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
                        --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
                        local bodvol=Instance.new("BodyVelocity")
                        bodvol.velocity=angle*knockback
                        bodvol.P=500
                        bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
                        bodvol.Parent=hit
                        rl = Instance.new("BodyAngularVelocity")
                        rl.P = 3000
                        rl.maxTorque = Vector3.new(500000, 500000, 500000)
                        rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
                        rl.Parent = hit
                        game:GetService("Debris"):AddItem(bodvol,.5)
                        game:GetService("Debris"):AddItem(rl,.5)
                        wait(3)
                        KillerQueen = Instance.new("Explosion",hit)
                        KillerQueen.Position = hit.Position
                elseif Type=="Normal" then
                        vp=Instance.new("BodyVelocity")
                        vp.P=500
                        vp.maxForce=Vector3.new(math.huge,0,math.huge)
                        --vp.velocity=Character.Torso.CFrame.lookVector*Knockback
                        if KnockbackType==1 then
                                vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
                        elseif KnockbackType==2 then
                                vp.velocity=Property.CFrame.lookVector*knockback
                        end
                        if knockback>0 then
                                vp.Parent=hit.Parent.Torso
                        end
                        game:GetService("Debris"):AddItem(vp,.5)
                elseif Type=="Up" then
                        local bodyVelocity=Instance.new("BodyVelocity")
                        bodyVelocity.velocity=vt(0,60,0)
                        bodyVelocity.P=5000
                        bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
                        bodyVelocity.Parent=hit
                        game:GetService("Debris"):AddItem(bodyVelocity,1)
                        rl=Instance.new("BodyAngularVelocity")
                        rl.P=3000
                        rl.maxTorque=Vector3.new(500000,500000,500000)
                        rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
                        rl.Parent=hit
                        game:GetService("Debris"):AddItem(rl,.5)
                elseif Type=="Snare" then
                        bp=Instance.new("BodyPosition")
                        bp.P=2000
                        bp.D=100
                        bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
                        bp.position=hit.Parent.Torso.Position
                        bp.Parent=hit.Parent.Torso
                        game:GetService("Debris"):AddItem(bp,1)
                elseif Type=="Target" then
                        local Targetting = false
                        if Targetting==false then
                                ZTarget=hit.Parent.Torso
                                coroutine.resume(coroutine.create(function(Part)
                                        so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
                                        swait(5)
                                        so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
                                end),ZTarget)
                                local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
                                local  targetgui=Instance.new("BillboardGui")
                                targetgui.Parent=ZTarget
                                targetgui.Size=UDim2.new(10,100,10,100)
                                local targ=Instance.new("ImageLabel")
                                targ.Parent=targetgui
                                targ.BackgroundTransparency=1
                                targ.Image="rbxassetid://4834067"
                                targ.Size=UDim2.new(1,0,1,0)
                                cam.CameraType="Scriptable"
                                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
                                local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
                                workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
                                Targetting=true
                                RocketTarget=ZTarget
                                for i=1,Property do
                                        --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
                                        if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
                                                swait()
                                        end
                                        --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
                                        cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
                                        dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
                                        cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
                                end
                                Targetting=false
                                RocketTarget=nil
                                targetgui.Parent=nil
                                cam.CameraType="Custom"
                        end
                end
                local debounce=Instance.new("BoolValue")
                debounce.Name="DebounceHit"
                debounce.Parent=hit.Parent
                debounce.Value=true
                game:GetService("Debris"):AddItem(debounce,Delay)
                c=Instance.new("ObjectValue")
                c.Name="creator"
                c.Value=Player
                c.Parent=h
                game:GetService("Debris"):AddItem(c,.5)
        end
end

function ShowDamage(Pos, Text, Time, Color)
        local Rate = (1 / 30)
        local Pos = (Pos or Vector3.new(0, 0, 0))
        local Text = (Text or "")
        local Time = (Time or 2)
        local Color = (Color or Color3.new(1, 0, 0))
        local EffectPart = part("Custom",workspace,"Sand",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
        EffectPart.Anchored = true
EffectPart.Transparency = 1
        local BillboardGui = Instance.new("BillboardGui")
        BillboardGui.Size = UDim2.new(3, 3, 3, 3)
        BillboardGui.Adornee = EffectPart
        local TextLabel = Instance.new("TextLabel")
        TextLabel.BackgroundTransparency = 1
        TextLabel.Size = UDim2.new(3, 3, 3, 3)
        TextLabel.Text = Text
        TextLabel.TextColor3 = Color
        TextLabel.TextStrokeColor3 = BrickColor.new("Really black").Color
        TextLabel.TextScaled = true
        TextLabel.TextStrokeTransparency = 0
        TextLabel.Font = Enum.Font.SourceSansBold
        TextLabel.Parent = BillboardGui
        BillboardGui.Parent = EffectPart
        game.Debris:AddItem(EffectPart, (Time + 0.1))
        EffectPart.Parent = game:GetService("Workspace")
        Delay(0, function()
                local Frames = (Time / Rate)
                for Frame = 1, Frames do
                        wait(Rate)
                        local Percent = (Frame / Frames)
                        EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
                        TextLabel.TextTransparency = Percent
                        TextLabel.TextStrokeTransparency = Percent
                end
                if EffectPart and EffectPart.Parent then
                        EffectPart:Destroy()
                end
        end)
end

Player = p
workspace[Player.Name].Archivable=true
pchar = workspace[Player.Name]:Clone() --Create("Model",{Parent=workspace})
pchar.Parent=workspace[Player.Name]
torso=pchar.Torso

humane=pchar.Humanoid
pchar.Name= "Star Platinum"
pl=pchar
humane.MaxHealth=Health
wait()
humane.Health=Health
humane.WalkSpeed=Speed
local Orin2 = "rbxassetid://855031040"
pchar.Head.face.Texture = Orin2


gr = Instance.new("Model")
gr.Parent = pchar
gr.Name = "gr"
rh = Instance.new("Part")
rh.Parent = gr
rh.BrickColor = BrickColor.new("Daisy orange")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://1476756293"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Right Arm"]
weld.C0 = CFrame.new(-0.6, 0.8, 0)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.03,0.03,0.03)
 
gl = Instance.new("Model")
gl.Parent = pchar
gl.Name = "gl"
rh = Instance.new("Part")
rh.Parent = gl
rh.BrickColor = BrickColor.new("Daisy orange")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://1476756293"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Left Arm"]
weld.C0 = CFrame.new(0.6, 0.8, 0)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.03,0.03,0.03)

ap5 = Instance.new("Model")
ap5.Parent = pchar
ap5.Name = "ap5"
rh = Instance.new("Part")
rh.Parent = ap5
rh.BrickColor = BrickColor.new("Fire Yellow")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://619487063"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Right Arm"]
weld.C0 = CFrame.new(-0.05, 0.3, 0)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.006, 0.002, 0.01)

ap6 = Instance.new("Model")
ap6.Parent = pchar
ap6.Name = "ap6"
rh = Instance.new("Part")
rh.Parent = ap6
rh.BrickColor = BrickColor.new("Fire Yellow")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://619487063"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Left Arm"]
weld.C0 = CFrame.new(0.05, 0.3, 0)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.006, 0.002, 0.01)
 
glo1 = Instance.new("Model")
glo1.Parent = pchar
glo1.Name = "glo1"
rh = Instance.new("Part")
rh.Parent = glo1
rh.BrickColor = BrickColor.new("Really black")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://688763512"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Right Arm"]
weld.C0 = CFrame.new(-0.3, 0.6, 0)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.3, 0.55, 0.55)
 
glo1B = Instance.new("Model")
glo1B.Parent = pchar
glo1B.Name = "glo1B"
rh = Instance.new("Part")
rh.Parent = glo1B
rh.BrickColor = BrickColor.new("Really black")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://688763512"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Right Arm"]
weld.C0 = CFrame.new(0.25, 0.38, 0)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.3, 0.325, 0.55)

glo2 = Instance.new("Model")
glo2.Parent = pchar
glo2.Name = "glo2"
rh = Instance.new("Part")
rh.Parent = glo2
rh.BrickColor = BrickColor.new("Really black")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://688763512"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Left Arm"]
weld.C0 = CFrame.new(0.3, 0.6, 0)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.3, 0.55, 0.55)

glo2B = Instance.new("Model")
glo2B.Parent = pchar
glo2B.Name = "glo2B"
rh = Instance.new("Part")
rh.Parent = glo2B
rh.BrickColor = BrickColor.new("Really black")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://688763512"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Left Arm"]
weld.C0 = CFrame.new(-0.25, 0.38, 0)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.3, 0.325, 0.55)

pchar.Shirt.ShirtTemplate = "rbxassetid://2131919902"
pchar.Pants.PantsTemplate = "rbxassetid://2131920556"
Hat3 = Instance.new("Model")
Hat3.Parent = char
Hat3.Name = "Hat3"
rh = Instance.new("Part")
rh.Parent = Hat3
rh.BrickColor = BrickColor.new("Really black")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://887129419"
mesh.TextureId = "rbxassetid://887029299"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =char.Head
weld.C0 = CFrame.new(0, -0.2, 0)*CFrame.Angles(0, 6, 0)
mesh.Scale = Vector3.new(0.032,0.029, 0.027)
Hat3.Part.Transparency = 0



Hat = Instance.new("Model")
Hat.Parent = pchar.Head
Hat.Name = "Hat"
rh = Instance.new("Part")
rh.Parent = Hat
rh.BrickColor = BrickColor.new("Really black")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://874044556"
mesh.TextureId = "rbxassetid://875114591"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 = pchar.Head
weld.C0 = CFrame.new(0, -0.8, -0.5)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.04,0.038, 0.04)


muscle = Instance.new("Model")
muscle.Parent = pchar
muscle.Name = "muscle"
rh = Instance.new("Part")
rh.Parent = muscle
rh.BrickColor = BrickColor.new("Lilac")---Safe
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://958074736"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar.Torso
weld.C0 = CFrame.new(0, 0.1, 0.5)*CFrame.Angles(12.4, 0, 0)
mesh.Scale = Vector3.new(0.009,0.01,0.01)


scarf = Instance.new("Model")
scarf.Parent = pchar
scarf.Name = "scarf"
rh = Instance.new("Part")
rh.Parent = scarf
rh.BrickColor = BrickColor.new("Maroon")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://873798502"
mesh.TextureId = "rbxassetid://875114591"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar.Torso
weld.C0 = CFrame.new(0, -1., 0)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.0155,0.0155,0.0155)
 
rs = Instance.new("Model")
rs.Parent = pchar
rs.Name = "rs"
rh = Instance.new("Part")
rh.Parent = rs
rh.BrickColor = BrickColor.new("Bright yellow")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://874040321"
mesh.TextureId = "rbxassetid://875114591"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Right Arm"]
weld.C0 = CFrame.new(0, -1, 0)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.012,0.012,0.012)
 
ls = Instance.new("Model")
ls.Parent = pchar
ls.Name = "ls"
rh = Instance.new("Part")
rh.Parent = ls
rh.BrickColor = BrickColor.new("Bright yellow")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://874041559"
mesh.TextureId = "rbxassetid://875114591"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Left Arm"]
weld.C0 = CFrame.new(0, -1, 0)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.012,0.012,0.012)


cloth = Instance.new("Model")
cloth.Parent = pchar
cloth.Name = "cloth"
rh = Instance.new("Part")
rh.Parent = cloth
rh.BrickColor = BrickColor.new("Quill grey")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://874045262"
mesh.TextureId = "rbxassetid://875114591"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar.Torso
weld.C0 = CFrame.new(0, 1.6, 0)*CFrame.Angles(-0.5, 0, 0)
mesh.Scale = Vector3.new(0.0065,0.008,0.008)
 
ear1 = Instance.new("Model")
ear1.Parent = pchar
ear1.Name = "ear1"
rh = Instance.new("Part")
rh.Parent = ear1
rh.BrickColor = BrickColor.new("Lilac")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://431119824"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar.Head
weld.C0 = CFrame.new(0, -0.2, 0.65)*CFrame.Angles(0, 64, 0)
mesh.Scale = Vector3.new(0.025,0.025, 0.025)
 
ear2 = Instance.new("Model")
ear2.Parent = pchar
ear2.Name = "ear2"
rh = Instance.new("Part")
rh.Parent = ear2
rh.BrickColor = BrickColor.new("Lilac")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://431119824"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar.Head
weld.C0 = CFrame.new(0, -0.2, 0.65)*CFrame.Angles(0, -64, 0)
mesh.Scale = Vector3.new(0.025,0.025, 0.025)
 
belt = Instance.new("Model")
belt.Parent = pchar
belt.Name = "belt"
rh = Instance.new("Part")
rh.Parent = belt
rh.BrickColor = BrickColor.new("Tr. Yellow")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://965627950"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar.Torso
weld.C0 = CFrame.new(0, 1, 0)*CFrame.Angles(0, -4.7, 0)
mesh.Scale = Vector3.new(0.65, 0.1, 0.65)




belt2 = Instance.new("Model")
belt2.Parent = pchar
belt2.Name = "belt2"
rh = Instance.new("Part")
rh.Parent = belt2
rh.BrickColor = BrickColor.new("Tr. Yellow")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://475668276"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar.Torso
weld.C0 = CFrame.new(-1.05, -1, 0)*CFrame.Angles(0, 0, 1.5)
mesh.Scale = Vector3.new(0.0025, 0.0025, 0.0035)
 
belt3 = Instance.new("Model")
belt3.Parent = pchar
belt3.Name = "belt3"
rh = Instance.new("Part")
rh.Parent = belt3
rh.BrickColor = BrickColor.new("Tr. Yellow")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://475668276"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar.Torso
weld.C0 = CFrame.new(1.05, -1, 0)*CFrame.Angles(0, 0, -1.5)
mesh.Scale = Vector3.new(0.0025, 0.0025, 0.0035)
 
cloth2 = Instance.new("Model")
cloth2.Parent = pchar
cloth2.Name = "cloth2"
rh = Instance.new("Part")
rh.Parent = cloth2
rh.BrickColor = BrickColor.new("Quill grey")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://874045262"
mesh.TextureId = "rbxassetid://875114591"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar.Torso
weld.C0 = CFrame.new(0, 1.6, 0.1)*CFrame.Angles(0.6, 0, 0)
mesh.Scale = Vector3.new(0.0065,0.008,0.008)

--stop

 
ap1 = Instance.new("Model")
ap1.Parent = pchar
ap1.Name = "ap1"
rh = Instance.new("Part")
rh.Parent = ap1
rh.BrickColor = BrickColor.new("Really black")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://965627950"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Right Arm"]
weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 3.1, 0)
mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
 
ap2 = Instance.new("Model")
ap2.Parent = pchar
ap2.Name = "ap2"
rh = Instance.new("Part")
rh.Parent = ap2
rh.BrickColor = BrickColor.new("Really black")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://965627950"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Left Arm"]
weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 0, 0)
mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
 
circ1 = Instance.new("Model")
circ1.Parent = pchar
circ1.Name = "circ1"
rh = Instance.new("Part")
rh.Parent = circ1
rh.BrickColor = BrickColor.new("Tr. Yellow")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://475668276"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Right Arm"]
weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(0, 0, 1.5)
mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
 
circ2 = Instance.new("Model")
circ2.Parent = pchar
circ2.Name = "circ2"
rh = Instance.new("Part")
rh.Parent = circ2
rh.BrickColor = BrickColor.new("Tr. Yellow")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://475668276"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Left Arm"]
weld.C0 = CFrame.new(-0.35, -0.6, 0)*CFrame.Angles(0, 0, -1.5)
mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
 
 
 
ap3 = Instance.new("Model")
ap3.Parent = pchar
ap3.Name = "ap3"
rh = Instance.new("Part")
rh.Parent = ap3
rh.BrickColor = BrickColor.new("Really black")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://965627950"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Right Leg"]
weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, -4.7, 0)
mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
 
ap4 = Instance.new("Model")
ap4.Parent = pchar
ap4.Name = "ap4"
rh = Instance.new("Part")
rh.Parent = ap4
rh.BrickColor = BrickColor.new("Really black")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://965627950"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Left Leg"]
weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, -4.7, 0)
mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
 
circ3 = Instance.new("Model")
circ3.Parent = pchar
circ3.Name = "circ3"
rh = Instance.new("Part")
rh.Parent = circ3
rh.BrickColor = BrickColor.new("Tr. Yellow")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://475668276"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Right Leg"]
weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(1.5, 0, 1.5)
mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
 
circ4 = Instance.new("Model")
circ4.Parent = pchar
circ4.Name = "circ4"
rh = Instance.new("Part")
rh.Parent = circ4
rh.BrickColor = BrickColor.new("Tr. Yellow")
rh.Locked = true
rh.CanCollide = false
mesh = Instance.new("SpecialMesh")
rh.formFactor =  "Symmetric"
mesh.MeshType = "FileMesh"
mesh.MeshId = "rbxassetid://475668276"
mesh.Parent = rh
local weld = Instance.new("Weld")
weld.Parent = rh
weld.Part0 = rh
weld.Part1 =pchar["Left Leg"]
weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(1.5, 0, 1.5)
mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
 

 

---Body

local law=nwWld(tor,lam,Cn(-1.5,0.5,0))
law.C1=CFrame.new(0,0.5,0)
local raw=nwWld(tor,ram,Cn(1.5,0.5,0))
raw.C1=CFrame.new(0,0.5,0)
local hew=nwWld(tor,hed,Cn(0,1.5,0))
local llw=nwWld(tor,llg,Cn(-0.5,-1,0))
llw.C1=CFrame.new(0,1,0)
local rlw=nwWld(tor,rlg,Cn(0.5,-1,0))
rlw.C1=CFrame.new(0,1,0)
local tow=nwWld(hrp,tor,Cn(0,-1,0))
tow.C1=CFrame.new(0,-1,0)

local hrp2 = pchar.HumanoidRootPart
local tor2 = torso
local hed2 = pchar.Head
local lam2=pchar["Left Arm"]
local ram2=pchar["Right Arm"]
local llg2=pchar["Left Leg"]
local rlg2=pchar["Right Leg"]

local law2=nwWld(tor2,lam2,Cn(-1.5,0.5,0))
law2.C1=CFrame.new(0,0.5,0)
local raw2=nwWld(tor2,ram2,Cn(1.5,0.5,0))
raw2.C1=CFrame.new(0,0.5,0)
local hew2=nwWld(torso,hed2,Cn(0,1.5,0))
hew2.C1=CFrame.new(0,0,0)*CFrame.Angles(0, -0.5, 0)
local llw2=nwWld(torso,llg2,Cn(-0.5,-1,0))
llw2.C1=CFrame.new(0,1,0)
local rlw2=nwWld(tor2,rlg2,Cn(0.5,-1,0))
rlw2.C1=CFrame.new(0,1,0)
local tow2=nwWld(hrp2,tor2,Cn(0,-1,0))
tow2.C1=CFrame.new(0,-1,0)*CFrame.Angles(0, 0.5, 0)


local laD=CFrame.new(-1.5,0.5,0)
local raD=CFrame.new(1.5,0.5,0)
local hD=CFrame.new(0,1.5,0)
local tD=CFrame.new(0,-1,0)
local llD=CFrame.new(-0.5,-1,0)
local rlD=CFrame.new(0.5,-1,0)

---Build

---Animations

--Idle
local heid=newAnim(hew)
newKF(heid,hD*CA(mr(-15.5),0,0),50,0.3)
newKF(heid,hD*CA(mr(-14),0,0),40,0.3)
local toid=newAnim(tow)
newKF(toid,tD*Cn(0,-0.0125,0)*CA(mr(0),0,0),50,0.3)
newKF(toid,tD*Cn(0,0.0125,0)*CA(mr(0),0,0),40,0.3)
local laid=newAnim(law)
newKF(laid,laD*Cn(1,0.0125,-0.764)*CA(mr(80),0,mr(85)),50,0.3)
newKF(laid,laD*Cn(1,-0.0125,-0.764)*CA(mr(70),0,mr(85)),40,0.3)
local raid=newAnim(raw)
newKF(raid,raD*Cn(-1,-0.0125,-0.764)*CA(mr(80),0,mr(-85)),50,0.3)
newKF(raid,raD*Cn(-1,0.0125,-0.764)*CA(mr(70),0,mr(-85)),40,0.3)
local llid=newAnim(llw)
newKF(llid,llD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
newKF(llid,llD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)
local rlid=newAnim(rlw)
newKF(rlid,rlD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
newKF(rlid,rlD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)

local heid2=newAnim(hew2)
newKF(heid2,hD*CA(mr(0),0,0),40,0.3)
newKF(heid2,hD*CA(mr(0),0,0),40,0.3)
local toid2=newAnim(tow2)
newKF(toid2,tD*Cn(0,0.5,3)*CA(mr(0),0,0),50,1)
newKF(toid2,tD*Cn(0,1,3)*CA(mr(0),0,0),40,1)
local laid2=newAnim(law2)
newKF(laid2,laD*Cn(0,0.0125,0)*CA(mr(0),mr(0),mr(-20)),50,0.3)
newKF(laid2,laD*Cn(0,-0.0125,0)*CA(mr(0),mr(0),mr(-20)),40,0.3)
local raid2=newAnim(raw2)
newKF(raid2,raD*Cn(0,-0.0125,0)*CA(mr(0),mr(0),mr(20)),50,0.3)
newKF(raid2,raD*Cn(0,0.0125,0)*CA(mr(0),mr(0),mr(20)),40,0.3)
local llid2=newAnim(llw2)
newKF(llid2,llD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
newKF(llid2,llD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)
local rlid2=newAnim(rlw2)
newKF(rlid2,rlD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
newKF(rlid2,rlD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)

--Walk
local hewk=newAnim(hew)
newKF(hewk,hD*CA(mr(-5.5),0,0),12,0.4)
newKF(hewk,hD*CA(mr(-5),mr(-3),0),13,0.4)
newKF(hewk,hD*CA(mr(-5.5),0,0),12,0.4)
newKF(hewk,hD*CA(mr(-5),mr(3),0),13,0.4)
local towk=newAnim(tow)
newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
newKF(towk,tD*CA(mr(15),mr(5),0),13,0.4)
newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
newKF(towk,tD*CA(mr(15),mr(-5),0),13,0.4)
local lawk=newAnim(law)
newKF(lawk,laD*CA(mr(30),0,0),25,0.4)
newKF(lawk,laD*CA(mr(-30),0,0),25,0.4)
local rawk=newAnim(raw)
newKF(rawk,raD*CA(mr(-30),0,0),25,0.4)
newKF(rawk,raD*CA(mr(30),0,0),25,0.4)
local llwk=newAnim(llw)
newKF(llwk,llD*CA(mr(-40),mr(-10),mr(-2)),25,0.4)
newKF(llwk,llD*Cn(0,0.3,0)*CA(mr(-5),0,mr(-3)),12,0.4)
newKF(llwk,llD*Cn(0,-0.2,-0.25)*CA(mr(40),mr(10),mr(-3)),13,0.4)
local rlwk=newAnim(rlw)
newKF(rlwk,rlD*Cn(0,0.3,0)*CA(mr(-5),0,mr(3)),12,0.4)
newKF(rlwk,rlD*Cn(0,-0.2,-0.25)*CA(mr(40),mr(-10),mr(3)),13,0.4)
newKF(rlwk,rlD*CA(mr(-40),mr(10),mr(2)),25,0.4)

--Sprint
local hesp=newAnim(hew)
newKF(hesp,hD*CA(mr(5),mr(-10),0),10,0.2)
newKF(hesp,hD*CA(mr(10),0,0),10,0.2)
newKF(hesp,hD*CA(mr(5),mr(10),0),10,0.2)
newKF(hesp,hD*CA(mr(10),0,0),10,0.2)
local tosp=newAnim(tow)
newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(-5),mr(10),0),10,0.4)
newKF(tosp,tD*CA(mr(-10),0,0),10,0.4)
newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(-5),mr(-10),0),10,0.4)
newKF(tosp,tD*CA(mr(-10),0,0),10,0.4)
local lasp=newAnim(law)
newKF(lasp,laD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4)
newKF(lasp,laD*CA(mr(-40),0,0),20,0.4)
local rasp=newAnim(raw)
newKF(rasp,raD*CA(mr(-40),0,0),20,0.4)
newKF(rasp,raD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4)
local llsp=newAnim(llw)
newKF(llsp,llD*CA(mr(-50),mr(-10),mr(-2)),20,0.4)
newKF(llsp,llD*Cn(0,0.5,0)*CA(mr(15),0,mr(-3)),10,0.4)
newKF(llsp,llD*Cn(0,-0.4,-0.25)*CA(mr(70),mr(10),mr(-3)),10,0.4)
local rlsp=newAnim(rlw)
newKF(rlsp,rlD*Cn(0,0.3,0)*CA(mr(15),0,mr(3)),10,0.4)
newKF(rlsp,rlD*Cn(0,-0.4,-0.25)*CA(mr(70),mr(-10),mr(3)),10,0.4)
newKF(rlsp,rlD*CA(mr(-50),mr(10),mr(2)),20,0.4)

--Freefall
local heff=newAnim(hew)
newKF(heff,hD*CA(mr(-5),0,0),8,0.6)
newKF(heff,hD*CA(mr(-5),0,0),8,0.6)
local toff=newAnim(tow)
newKF(toff,tD*CA(mr(10),0,0),8,0.6)
newKF(toff,tD*CA(mr(10),0,0),8,0.6)
local laff=newAnim(law)
newKF(laff,laD*CA(mr(140),0,0),16,0.4)
newKF(laff,laD*CA(mr(140),0,0),16,0.4)
local raff=newAnim(raw)
newKF(raff,raD*CA(mr(140),0,0),16,0.4)
newKF(raff,raD*CA(mr(140),0,0),16,0.4)
local llff=newAnim(llw)
newKF(llff,llD*CA(0,0,mr(-5)),16,0.4)
newKF(llff,llD*CA(0,0,mr(-5)),16,0.4)
local rlff=newAnim(rlw)
newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4)
newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4)

--Time Has Stopped
local hesp2=newAnim(hew)
newKF(hesp2,hD*CA(mr(-30),mr(0),mr(0)),10,0.5)
local tosp2=newAnim(tow)
newKF(tosp2,tD*Cn(0,0,0)*CA(mr(30),mr(0),mr(0)),10,0.5)
local lasp2=newAnim(law)
newKF(lasp2,laD*CA(mr(90),mr(0),mr(-60)),20,1.5)
local rasp2=newAnim(raw)
newKF(rasp2,raD*CA(mr(90),mr(0),mr(60)),20,1.5)
local llsp2=newAnim(llw)
newKF(llsp2,llD*Cn(0,0,0)*CA(mr(-30),mr(0),mr(0)),20,0.5)
local rlsp2=newAnim(rlw)
newKF(rlsp2,rlD*Cn(0,0,0)*CA(mr(-30),0,mr(0)),10,0.5)

local hesp3=newAnim(hew2)
newKF(hesp3,hD*CA(mr(-15),mr(0),mr(0)),50,0.2)
local tosp3=newAnim(tow2)
newKF(tosp3,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),50,0.4)
local lasp3=newAnim(law2)
newKF(lasp3,laD*CA(mr(80),mr(0),mr(65)),30,0.4)
newKF(lasp3,laD*CA(mr(120),mr(0),mr(-60)),50,0.4)
local rasp3=newAnim(raw2)
newKF(rasp3,raD*CA(mr(80),mr(0),mr(-65)),30,0.4)
newKF(rasp3,raD*CA(mr(120),mr(0),mr(60)),50,0.4)
local llsp3=newAnim(llw2)
newKF(llsp3,llD*CA(mr(0),mr(0),mr(1.5)),50,0.4)
local rlsp3=newAnim(rlw2)
newKF(rlsp3,rlD*CA(mr(0),mr(0),mr(-1.5)),50,0.4)

local hesp4=newAnim(hew2)
newKF(hesp4,hD*CA(mr(-10),mr(0),mr(0)),10,0.2)
local tosp4=newAnim(tow2)
newKF(tosp4,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),10,0.4)
local lasp4=newAnim(law2)
newKF(lasp4,laD*CA(mr(120),mr(0),mr(-60)),20,0.4)
local rasp4=newAnim(raw2)
newKF(rasp4,raD*CA(mr(120),mr(0),mr(60)),20,0.4)
local llsp4=newAnim(llw2)
newKF(llsp4,llD*CA(mr(0),mr(0),mr(1.5)),20,0.4)
local rlsp4=newAnim(rlw2)
newKF(rlsp4,rlD*CA(mr(0),mr(0),mr(-1.5)),10,0.4)

--Let time flow again
local hetoki=newAnim(hew)
newKF(hetoki,hD*CA(mr(0),mr(0),mr(0)),10,0.2)
local totoki=newAnim(tow)
newKF(totoki,tD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4)
local latoki=newAnim(law)
newKF(latoki,laD*Cn(0,-0.1,-0.2)*CA(mr(0),mr(0),mr(0)),20,0.4)
local ratoki=newAnim(raw)
newKF(ratoki,raD*CA(mr(0),mr(0),mr(0)),20,0.4)
local lltoki=newAnim(llw)
newKF(lltoki,llD*CA(mr(0),mr(0),mr(0)),20,0.4)
local rltoki=newAnim(rlw)
newKF(rltoki,rlD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4)
--//Example of Keyframe
--[[
local hesp2=newAnim(hew)
newKF(hesp2,hD*CA(mr(0),mr(0),mr(0)),10,0.2)
local tosp2=newAnim(tow)
newKF(tosp2,tD*CA(mr(0),mr(0),mr(0)),10,0.4)
local lasp2=newAnim(law)
newKF(lasp2,laD*CA(mr(0),mr(0),mr(0)),20,0.4)
local rasp2=newAnim(raw)
newKF(rasp2,raD*CA(mr(0),mr(0),mr(0)),20,0.4)
local llsp2=newAnim(llw)
newKF(llsp2,llD*CA(mr(0),mr(0),mr(0)),20,0.4)
local rlsp2=newAnim(rlw)
newKF(rlsp2,rlD*CA(mr(0),mr(0),mr(0)),10,0.4)
]]
function onDamage(Part)
    if Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("BodyVelocity") ~= nil or Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("RocketPropulsion") ~= nil then
        Part.Anchored = true
        if Part:findFirstChild("Mesh") ~= nil then
            z = Part:findFirstChild("Mesh")
            for i = 1,5 do
                z.Scale = z.Scale + Vector3.new(1,1,1)
                wait(0.05)
            end
        end
    end
end

function trappedTorsos:isTrapped(t)
    for nildata, index in next,self do
        if index==t then
            return true
        end
    end
return false
end

function trappedTorsos:Capture(hit)
   if hit:isA'BasePart' then
    if not trappedTorsos:isTrapped(hit) and not hit:IsDescendantOf(char) then
        print(hit.Parent:GetFullName())
        table.insert(trappedTorsos, hit.Parent)
        Bitten = true
        repeat wait() if hit.Parent == nil then Bitten = false end until Bitten == false
        print("Find a new Target!")
        --hit.Anchored = true --trapped!
        --print'trapped!'
    end
   end
end

function trappedTorsoss:isTrapped(t)
    for nildata, index in next,self do
        if index==t then
            return true
        end
    end
return false
end
Bitten2 = false
  local TimeStop = Instance.new("Sound",tor)----music
        TimeStop.SoundId = "rbxassetid://1093205910"
        TimeStop.Looped = true
        TimeStop.Volume = 2.5

function trappedTorsoss:Capture2(hit)
    if not trappedTorsoss:isTrapped(hit) and not hit:IsDescendantOf(char) and hit:isA'BasePart' then
        table.insert(trappedTorsoss, hit)
        Bitten2 = true
        repeat wait() until Bitten2 == false
        KillerQueens = Instance.new("Explosion",Workspace)
        KillerQueens.Position = hit.Position
        KillerQueens.BlastPressure = 0
        KillerQueens.BlastRadius = 10
        hit:breakJoints()
        hit:remove()
        print("BITTEN!")
        --hit.Anchored = true --trapped!
        --print'trapped!'
    end
end
function LetsBiteZaDusto(hit)
    if not hit:IsDescendantOf(char) and hit:isA'BasePart' and hit.Name ~= "Terrain" and hit ~= workspace.Terrain then
        KillerQueens = Instance.new("Explosion",Workspace)
        KillerQueens.Position = hit.Position
        KillerQueens.BlastPressure = 0
        KillerQueens.BlastRadius = 10
        pcall(function()
            hit:breakJoints()
            hit:remove()
        end)
    end
end

function trappedTorsos:Release()
    for i,v in next, self do
        if type(v)=='userdata' then
            if v:isA('BasePart') then
                v.Anchored = false
                self[i] = nil
            end
        end
    end
end
local ora = Instance.new("Sound")
        ora.SoundId = "rbxassetid://161823027"
        ora.Volume = 1
        ora.Looped = true
 
	

--Za Warudo
Attacking = false
WasOn = true
Rapid = false
TimeStopped = false
OneSecond = false
BubbleBomb = false
TheTarget = nil
Cha = char
Character = char
it=Instance.new
vt=Vector3.new
cn=CFrame.new
euler=CFrame.fromEulerAnglesXYZ
angles=CFrame.Angles
RootPart = hrp
function TheWorld(Mode)
    if Mode == "Time Stop" then
        noRig = true
    local ZAWARUDO = Instance.new("Sound",tor)
        ZAWARUDO.SoundId = "rbxassetid://910190603"
        ZAWARUDO.Volume = 1
        ZAWARUDO.Looped = false
        ZAWARUDO:Play()
        Attacking = true
        if WasOn == true and StandOn == false then
            StandOn = true
            WasOn = false
        end
        hum.WalkSpeed = 0
    
        wait()
    
      
        local AreaOfEffect = Instance.new("Part",char)
        AreaOfEffect.Position = tor.Position
        AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01)
        AreaOfEffect.Anchored = true
        AreaOfEffect.CanCollide = false
        AreaOfEffect.BrickColor = BrickColor.new("Institutional white")
        AreaOfEffect.Transparency = 0.9
        AreaOfEffect.Shape = "Ball"
        AreaOfEffect.Material = "Glass"   
        
        for i = 1,10 do
            runKF(hesp4)
            runKF(tosp4)
            runKF(lasp4)
            runKF(rasp4)
            runKF(llsp4)
            runKF(rlsp4)
            wait()
        end
       
        for i = 1,10 do
            AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(19.1,19.1,19.1)
            AreaOfEffect.CFrame = char.Torso.CFrame
            wait()
        end
for i = 1,1 do

for i,v in pairs(workspace:children()) do


                    if v:IsA("Model") and v:findFirstChildOfClass("Humanoid") then


                        if v:findFirstChild("Head") and v:findFirstChild("Torso") then


                            if (v:findFirstChild("Torso").Position - char.Torso.Position).magnitude < 90 then


if v.Name ~= Player.Name then 

v.Head.Anchored = true



                            end
                        end
               end
end
end
					end
        coroutine.wrap(function()
            do local me={}
                
                me.plrs = game:service'Workspace':children''
                
                function me:getNear(mag)
                    local rtn = {}
                        
                    for k,v in next,me.plrs do
                        local chxr = v
                        
                        if chxr then
                            if chxr:findFirstChild'Torso' then
                                local pos = (chxr.Torso.Position-tor.Position).magnitude
                                
                                if pos<=mag then
                                    for a,b in pairs(chxr:children()) do
                                        if b:IsA("BasePart") then
                                            table.insert(rtn, b)
                                        end
                                    end
                                end
                            end
                        end
                    end
                    return rtn
                end
            
                for no, torso in ipairs(me:getNear(25)) do
                    --print(torso:GetFullName())
                    --print(torso:GetFullName())
                    trappedTorsos:Capture(torso)
                end
            
                
            end
        end)()
        AreaOfEffect:Destroy()
     
     
        for i,v in pairs(char:children()) do
            if v:IsA("Part") then
                v.Anchored = false
            end
            if v:IsA("Hat") then
                v.Handle.Anchored = false
            end
        end
        for i,v in pairs(pchar:children()) do
            if v:IsA("Part") then
                v.Anchored = false
            end
            if v:IsA("Hat") then
                v.Handle.Anchored = false
            end
        end
        if WasOn == false then
            StandOn = false
            WasOn = true
        end
 TimeStop:Play()
        hum.WalkSpeed = 16
        noRig = false
        Attacking = false
     end
  if Mode == "World Time Stop" then
        noRig = true
        Attacking = true
        if WasOn == true and StandOn == false then
            StandOn = true
            WasOn = false
        end
        hum.WalkSpeed = 0
        for i = 1,30 do
            runKF(hesp2)
            runKF(tosp2)
            runKF(lasp2)
            runKF(rasp2)
            runKF(llsp2)
            runKF(rlsp2)
            runKF(hesp3)
            runKF(tosp3)
            runKF(lasp3)
            runKF(rasp3)
            runKF(llsp3)
            runKF(rlsp3)
            wait()
        end
        wait()
        local ZAWARUDO = Instance.new("Sound",tor)
        ZAWARUDO.SoundId = "rbxassetid://290807377"
        ZAWARUDO.Volume = 1
        ZAWARUDO.Looped = false
        ZAWARUDO:Play()
        local TimeStop = Instance.new("Sound",tor)
        TimeStop.SoundId = "rbxassetid://290807425"
        TimeStop.Looped = false
        TimeStop.Volume = 1
        local AreaOfEffect = Instance.new("Part",char)
        AreaOfEffect.Position = tor.Position
        AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01)
        AreaOfEffect.Anchored = true
        AreaOfEffect.CanCollide = false
        AreaOfEffect.BrickColor = BrickColor.new("Institutional white")
        AreaOfEffect.Transparency = 0.9
        AreaOfEffect.Shape = "Ball"
        AreaOfEffect.Material = "Glass"   
        AreaOfEffect.Touched:connect(function(hit)
	if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
hit.Parent.Head.Anchored = true


		




end
end)
        for i = 1,10 do
            runKF(hesp4)
            runKF(tosp4)
            runKF(lasp4)
            runKF(rasp4)
            runKF(llsp4)
            runKF(rlsp4)
            wait()
        end
        TimeStop:Play()
        for i = 1,10 do
            AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1)
            AreaOfEffect.CFrame = char.Torso.CFrame
            wait()
        end
        coroutine.wrap(function()
            do local me={}
                
                me.plrs = game:service'Workspace':children''
                
                function me:getNear(mag)
                    local rtn = {}
                        
                    for k,v in next,me.plrs do
                        local chxr = v
                        
                        if chxr then
                            if chxr:findFirstChild'Torso' then
                                local pos = (chxr.Torso.Position-tor.Position).magnitude
                                
                                if pos<=mag then
                                    for a,b in pairs(chxr:children()) do
                                        if b:IsA("BasePart") then
                                            table.insert(rtn, b)
                                        end
                                    end
                                end
                            end
                        end
                    end
                    return rtn
                end
            
                for no, torso in ipairs(me:getNear(5555)) do
                    --print(torso:GetFullName())
                    --print(torso:GetFullName())
                    trappedTorsos:Capture(torso)
                end
            
                
            end
        end)()
        AreaOfEffect:Destroy()
        local TimeHasStopped = Instance.new("Sound",tor)
        TimeHasStopped.SoundId = "rbxassetid://290807397"
        TimeHasStopped.Looped = false
        TimeHasStopped.Volume = 1
        wait(1.3)
        TimeHasStopped:Play()
        workspace.Gravity = 70
        for i,v in pairs(char:children()) do
            if v:IsA("Part") then
                v.Anchored = false
            end
            if v:IsA("Hat") then
                v.Handle.Anchored = false
            end
        end
        for i,v in pairs(pchar:children()) do
            if v:IsA("Part") then
                v.Anchored = false
            end
            if v:IsA("Hat") then
                v.Handle.Anchored = false
            end
        end
        if WasOn == false then
            StandOn = false
            WasOn = true
        end
        hum.WalkSpeed = 16
        noRig = false
        Attacking = false
     end
     if Mode == "Time Start" then
        local Toki = Instance.new("Sound",tor)
        Toki.SoundId = "rbxassetid://863332158"
        Toki.Volume = 1
        Toki.Looped = false
        Toki:Play()
        local AreaOfEffect2 = Instance.new("Part",tor)
        AreaOfEffect2.Position = tor.Position
        AreaOfEffect2.Size = Vector3.new(0.01,0.01,0.01)
        AreaOfEffect2.Anchored = true
        AreaOfEffect2.CanCollide = false
        AreaOfEffect2.Transparency = 1
        AreaOfEffect2.BrickColor = BrickColor.new("Institutional white")
        AreaOfEffect2.Transparency = 0.99
        AreaOfEffect2.Shape = "Ball"
        AreaOfEffect2.Material = "Glass"
        AreaOfEffect2.Touched:connect(function(hit)
            if hit ~= "Base" then
                --hit.Anchored = false
            end
        end)
        for i = 1,10 do
            AreaOfEffect2.Size = AreaOfEffect2.Size + Vector3.new(4.1,4.1,4.1)
            AreaOfEffect2.CFrame = char.Torso.CFrame
            wait()
        end
        trappedTorsos:Release()
        AreaOfEffect2:Destroy()
        TfwTimeStopped = false
        workspace.Gravity = 196.2
    end
end
local Flame = Instance.new("ParticleEmitter",pchar.Torso)
Flame.Texture = "rbxassetid://1332922037"
Flame.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
Flame.EmissionDirection = "Top"
Flame.Speed = NumberRange.new(3)
Flame.Size = NumberSequence.new(5.5,4)
Flame.Transparency = NumberSequence.new(0.95,1)
Flame.Drag = 0.4
Flame.LightInfluence = 0
Flame.LockedToPart = false
Flame.Lifetime = NumberRange.new(1)
Flame.Rate = 0
Flame.LightEmission = 1
Flame.Rotation = NumberRange.new(-5,5)
Flame.VelocitySpread = 100
Flame.Acceleration = Vector3.new(0,17,0)	
Flame.ZOffset = -0.2
local Flame2 = Instance.new("ParticleEmitter",tor)
Flame2.Texture = "rbxassetid://1332922037"
Flame2.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
Flame2.EmissionDirection = "Top"
Flame2.Speed = NumberRange.new(3)
Flame2.Size = NumberSequence.new(5.5,4)
Flame2.Transparency = NumberSequence.new(0.95,1)
Flame2.Drag = 0.4
Flame2.LightInfluence = 0
Flame2.LockedToPart = false
Flame2.Lifetime = NumberRange.new(1)
Flame2.Rate = 0
Flame2.LightEmission = 1
Flame2.Rotation = NumberRange.new(-5,5)
Flame2.VelocitySpread = 100
Flame2.Acceleration = Vector3.new(0,17,0)	
Flame2.ZOffset = -0.2


mouse.KeyDown:connect(function(key)
    if key == "z" then
     
end
end)

mouse.KeyDown:connect(function(key)
    if key == "q" then
        if TimeStopped == false and Attacking == false then
           TimeStopped = true
Flame.Rate = 65
Flame2.Rate = 65
           TimeStop:Play()
            --[[wait(10)
            if TimeStopped == true then
                TheWorld("Time Start")
                TimeStopped = false
            end]]
        elseif TimeStopped == true and Attacking == false then
               
            TimeStopped = false
Flame.Rate = 0
Flame2.Rate = 0
TimeStop:Stop()
for i = 1,1 do

for i,v in pairs(workspace:children()) do


                    if v:IsA("Model") and v:findFirstChildOfClass("Humanoid") then


                        if v:findFirstChild("Head") and v:findFirstChild("Torso") then


                            if (v:findFirstChild("Torso").Position - char.Torso.Position).magnitude < 990 then


if v.Name ~= Player.Name then 

v.Head.Anchored = false



                            end
                        end
               end
end
end
					end
        end
    end
    if key == "p" and Bitten2 == true then
        Bitten2 = false
    end
    if key == "f" then
        if StandOn then
            StandOn = false
        else
            StandOn = true
        end
    end
    
  function sqe()
    local effspwn = Instance.new("Part")
    local model = Instance.new("Model")
    game.Debris:AddItem(model, 20)
    model.Name = "smasheffects"
    model.Parent = workspace
    effspwn.Name = "spwnr"
    effspwn.Size = Vector3.new(1, 1, 1)
    effspwn.Anchored = true
    effspwn.CanCollide = false
    effspwn.Transparency = 1
    effspwn.CFrame = (hrp2.CFrame + Vector3.new(math.random(-8,8),math.random(-4,4),math.random(-4,4))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(0)),math.random(0,math.rad(0)),math.random(0,math.rad(-15)))
    effspwn.Parent = model

    coroutine.resume(coroutine.create(function()
      local shok = Instance.new("Part")
      shok.Name = "whoosh"
      shok.BrickColor = BrickColor.new("Really black")
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
      shok.Size = Vector3.new(0.1, 0.1, 6)
      shok.Anchored = true
      shok.Material = "Glass"
      shok.Transparency = 0.1
      shok.CanCollide = false
      shok.Parent = model

      game.Debris:AddItem(shok, 2)


				

    
   
      for e = 1, 3 do
        wait()
       
        shok.Transparency = shok.Transparency + 0.2
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -6), 0.4)
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))

      
      end
      for e = 1, 3 do
        wait()
      
        shok.Transparency = shok.Transparency + 0.08
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  
      
end
shok:Destroy()

    end))
  end

 function sqe2()
    local effspwn = Instance.new("Part")
    local model = Instance.new("Model")
    game.Debris:AddItem(model, 20)
    model.Name = "smasheffects"
    model.Parent = workspace
    effspwn.Name = "spwnr"
    effspwn.Size = Vector3.new(1, 1, 1)
    effspwn.Anchored = true
    effspwn.CanCollide = false
    effspwn.Transparency = 1
    effspwn.CFrame = (pchar.Torso.CFrame + Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(0)),math.random(0,math.rad(0)),math.random(0,math.rad(-15)))
    effspwn.Parent = model

    coroutine.resume(coroutine.create(function()
      local shok = Instance.new("Part")
      shok.Name = "whoosh"
      shok.BrickColor = BrickColor.new("Lilac")
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
      shok.Size = Vector3.new(0.1, 0.1, 6)
      shok.Anchored = true
      shok.Material = "SmoothPlastic"
      shok.Transparency = 0.1
      shok.CanCollide = false
      shok.Parent = model

      game.Debris:AddItem(shok, 2)


				

    
   
      for e = 1, 3 do
        wait()
       
        shok.Transparency = shok.Transparency + 0.2
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, 0), 0.4)
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))

      
      end
      for e = 1, 3 do
        wait()
      
        shok.Transparency = shok.Transparency + 0.08
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  
      
end
shok:Destroy()

    end))
  end
        
    if key == "e" and Rapid ~= true then --oraora
        Rapid = true
        Attacking = true

tow2.C1=CFrame.new(0,-1,0)*CFrame.Angles(0, 0, 0)
hew2.C1=CFrame.new(0,0,0)*CFrame.Angles(0, 0, 0)
local anger = "rbxassetid://855788252"
pchar.Head.face.Texture = anger
ora.Parent = pchar.Torso
	ora:Play()
	  local Grab = Instance.new("Part",lam2)
	Grab.Size = Vector3.new(2,2,2)
	Grab.CanCollide = false
	Grab.BrickColor = BrickColor.new("Deep orange")
	Grab.Transparency = math.huge
	local Grabo = Instance.new("Weld",Grab)
	Grabo.Part0 = lam2
	Grabo.Part1 = Grab
	Grabo.C0 = CFrame.new(0,-1.1,0)
local hits = Instance.new("Sound",pchar.Torso)
        hits.SoundId = "rbxassetid://1044387664"
        hits.Looped = false
        hits.Volume = 1
    

Grab.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
			
hit.Parent.Humanoid:TakeDamage(5)
		hits.Parent = pchar.Head	
	hits:Play()
		
		end
end)
  local function blur(limb)
    coroutine.resume(coroutine.create(function()
      local memedon = {}
      for i = 1, 6 do
        local b1 = Instance.new("Part")
        nooutline(b1)
        b1.Size = Vector3.new(1, 2, 1)
        b1.CFrame = lam2.CFrame * CFrame.new(rn(-5, 5) / 10, rn(-5, 5) / 10, rn(-5, 5) / 10)
        b1.CanCollide = false
        b1.BrickColor = BrickColor.new("Lilac")
        b1.Anchored = true
        b1.Transparency = 0.7
        b1.Locked = true
        b1.Parent = pchar
        table.insert(memedon, b1)
      end
      local num = 0
      repeat
      wait()
        num = num % 6 + 1
        memedon[num].CFrame = lam2.CFrame * CFrame.new(rn(-5, 5) / 10, rn(-5, 5) / 10, rn(-5, 5) / 10)
      until Rapid == false
      for i = 1, #memedon do
      wait()
        memedon[i]:Destroy()
      end
    end))
  end
        while Rapid == true do
            for i = 1, 3 do
	 sqe()

                raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
                law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
                hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
                tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
                llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
                rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
                wait()
            end
            for i = 1, 3 do
	 sqe()

                raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
                law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
                hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
                tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
                llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
                rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
                wait()
            end
            for i = 1, 3 do
	 sqe()

                raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
                law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7)
                hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
                tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
                llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
                rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
                wait()
            end
            for i = 1, 3 do
	 sqe()

                raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
                law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
                hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
                tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
                llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
                rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
                wait()
            end
        end
     
        Attacking = false
    end
    if key == "r" and Attacking == false and Bitten2 == false then
   tow2.C1=CFrame.new(0,-1,0)*CFrame.Angles(0, 0, 0)
hew2.C1=CFrame.new(0,0,0)*CFrame.Angles(0, 0, 0)
        Attacking = true
  local Grab = Instance.new("Part",lam2)
	Grab.Size = Vector3.new(2,2,2)
	Grab.CanCollide = false
	Grab.BrickColor = BrickColor.new("Deep orange")
	Grab.Transparency = math.huge
	local Grabo = Instance.new("Weld",Grab)
	Grabo.Part0 = lam2
	Grabo.Part1 = Grab
	Grabo.C0 = CFrame.new(0,-1.1,0)
local hits = Instance.new("Sound",pchar.Torso)
        hits.SoundId = "rbxassetid://1044387664"
        hits.Looped = false
        hits.Volume = 4
hits.Pitch = 0.8
    

Grab.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
			Grab:Destroy()
hit.Parent.Humanoid:TakeDamage(50000)
		hits.Parent = pchar.Head	
	hits:Play()
		
		end
	end)
     local Toki = Instance.new("Sound",pchar.Head)
        Toki.SoundId = "rbxassetid://271120244"
        Toki.Volume = 6
        Toki.Looped = false
        Toki:Play()
        for i = 1, 3 do
            raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
            law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
            hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
            tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
            llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
            rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)





            wait()
        end


        wait(1)
Grab:Destroy()
hew2.C1=CFrame.new(0,0,0)*CFrame.Angles(0, -0.5, 0)
tow2.C1=CFrame.new(0,-1,0)*CFrame.Angles(0, 0.5, 0)
   
        Attacking = false
    end
    if key == "รง" and Attacking == false then
        con1 = ram2.Touched:connect(function(hit) 
            Damagefunc(torso,hit,5,15,math.random(100,100),"Killer Queen",RootPart,.2,1) 

        end)
        Attacking = true
        for i = 1, 3 do
            raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
            law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
            hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
            tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
            llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
            rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
            wait()
        end
        wait(1)
        con1:disconnect()
        Attacking = false
    end
    if key == "t" and Attacking == false then
        Attacking = true
        BubbleBomb = true
        for i = 1, 60 do
           for i = 1, 3 do
            raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(0,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
            law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
            hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
            tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
            llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
            rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)





            wait()
        end
            tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(0), 0), 1.3)
           
            wait()
        end
        ContactBubble = Instance.new("Part",char)
        ContactBubble.Material = "Sand"
        ContactBubble.Transparency = 1
        ContactBubble.Shape = "Ball"
        ContactBubble.CFrame = hed2.CFrame + hed2.CFrame.lookVector*10
        Shooter = Instance.new('BodyVelocity',ContactBubble)  
        Shooter.maxForce = Vector3.new(1,1,1)*math.huge
        Shooter.velocity = tor.CFrame.lookVector*10
        Attacking = false
        wait(0.5)
        ContactBubble.Touched:connect(function(hit)
            if hit:IsA"BasePart" then
                local KillerQueenEx = Instance.new("Explosion",hit)
                KillerQueenEx.Position = hit.Position
                ContactBubble:Destroy()
                hit:breakJoints()
                hit:Remove()
            end
        end)
    end
    if key == "[" and hum.Health > 25 and Daisobakuden == false then
        Daisobakuden = true
    end
    if key == "]" and hum.Health > 25 and Daisobakuden == true then
        Daisobakuden = false
    end
end)



mouse.KeyUp:connect(function(key)
    if key == "e" and Rapid == true then
        Rapid = false
ora:Stop()
hew2.C1=CFrame.new(0,0,0)*CFrame.Angles(0, -0.5, 0)
tow2.C1=CFrame.new(0,-1,0)*CFrame.Angles(0, 0.5, 0)
local anger2 = "rbxassetid://855031040"
pchar.Head.face.Texture = anger2
for i, v in pairs(lam2:GetChildren()) do
	if v:IsA("Part")then
		v:Destroy()
	end
		end
   local Toki = Instance.new("Sound",tor)
        Toki.SoundId = "rbxassetid://1171351854"
        Toki.Volume = 0.7
        Toki.Looped = false
        Toki:Play()
    end
end)
function getAllParts()
    local rtn = {}
    
    local function recurse(object)
        for q,e in next, object:children() do
            if e:isA'BasePart' then
                table.insert(rtn, e)
            end
            recurse(e)
        end
    end

    recurse(workspace)
    return rtn
end
Bitten = false

for i, v in pairs(pchar:GetChildren()) do
    if v:IsA('Hat') then
        v.Handle.Transparency=1
    end
    if v:IsA("Part") then
        v.BrickColor = BrickColor.new("White")---idk
    end
end

-------------------------------Sprint
mouse.KeyDown:connect(function(key)
    if string.byte(key) == 48 then
        hum.WalkSpeed = 48
    end
end)
mouse.KeyUp:connect(function(key)
    if string.byte(key) == 48 then
        hum.WalkSpeed=16
    end
end)
-------------------------------------
hum.FreeFalling:connect(function(f)
    if f then
        ffing=true
    else
        ffing=false
    end
end)
StandOn = true
local hrprv=0
angle = 0
angle2 = 0
angle3 = 0
anglespeed = 2
anglespeed2 = 1
anglespeed3 = .4
MyHealth = hum.Health
MyMaxHealth = hum.MaxHealth
MyMaxHealth = humane.Health
MyHealth = humane.Health
humane.Name = "Killer Queen"

game:GetService("RunService").Stepped:connect(function()
    for i, v in pairs(pchar:GetChildren()) do
        if v:IsA('Hat') then
            v.Handle.Transparency=1
        end
        if v:IsA("Part") then
            v.BrickColor = BrickColor.new("Lilac")--skin
        end
    end
    if hum.Health < 25 then
        Daisobakuden = true
    end
    angle = ((angle % 100) + anglespeed/10)
    angle2 = ((angle2 % 100) + anglespeed2/10)
    angle3 = ((angle3 % 100) + anglespeed3/10)
        hrprv=Tween(hrprv,hrp.RotVelocity.Y,0.4)
        sine=sine+1
        if StandOn == false then
            for i,v in pairs(pchar:children()) do
                if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
                    v.Transparency = 1
                end

            end
    for i,v in pairs(humane:children()) do
                if v:IsA("Part") then
                    v.Transparency = 1
                end

            end
        elseif StandOn == true then
            for i,v in pairs(pchar:children()) do
                if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
                    v.Transparency = 0
                end
            end
 
        end
        MyHealth = humane.Health
        humane.Health = MyHealth
        if hum.Sit==true then
                animpose="Sitting"
        elseif ffing==true then
                animpose="Freefalling"
        elseif (hrp.Velocity*Vn(1,0,1)).magnitude<2 then
                animpose="Idle"
        elseif (hrp.Velocity*Vn(1,0,1)).magnitude<20 then
                animpose="Walking"
        elseif (hrp.Velocity*Vn(1,0,1)).magnitude>20 then
                animpose="Sprinting"
        end
        if Attacking == false then
            torso.CFrame = hrp.CFrame*CFrame.new(0,0,2)
            runKF(heid2)
            runKF(toid2)
            runKF(laid2)
            runKF(raid2)
            runKF(llid2)
            runKF(rlid2)
        end
        if noRig==false then
                if animpose=="Idle" then
                    runKF(heid)
                    runKF(toid)
                    runKF(laid)
                    runKF(raid)
                    runKF(llid)
                    runKF(rlid)
                elseif animpose=="Walking" then
                                runKF(hewk)
                                runKF(towk)
                                runKF(lawk)
                                runKF(rawk)
                                runKF(llwk)
                                runKF(rlwk)
                                --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/25),0.4)
                                --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/25),0.4)
                                ---llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/25),0.4)
                elseif animpose=="Sprinting" then
                                runKF(hesp)
                                runKF(tosp)
                                runKF(lasp)
                                runKF(rasp)
                                runKF(llsp)
                                runKF(rlsp)
                                --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4)
                                --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/10),0.4)
                                --llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/10),0.4)
                elseif animpose=="Freefalling" then
                        runKF(heff)
                        runKF(toff)
                        runKF(laff)
                        runKF(raff)
                        runKF(llff)
                        runKF(rlff)
                        --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4)
                end
        end
end)

AnotherOneBitesZaDusto = 500
hum.MaxHealth = 500
wait()
hum.Health = 500
while wait(100) do
    AnotherOneBitesZaDusto = hum.Health
    print'Changed'
end
INFO