local create=require(4339982685)("RbxUtility").Create
local create=require(4339982685)("RbxUtility").Create
local effects=Instance.new("Folder",char)
local effects=Instance.new("Folder",char)
local head=char.Head
local head=char.Head
local pants=Instance.new("Pants")
local pants=Instance.new("Pants")
local shirt=Instance.new("Shirt")
local shirt=Instance.new("Shirt")
local newSc=Instance.new("Folder",game.Lighting)
local newSc=Instance.new("Folder",game.Lighting)
newSc.Name=plr.UserId
newSc.Name=plr.UserId
local RScript=script
local RScript=script
for i,v in pairs(script:children())do v.Parent=newSc end
for i,v in pairs(script:children())do v.Parent=newSc end
getfenv().script=newSc
getfenv().script=newSc
local rsO=CFrame.new(1, 0.5, 0) * CFrame.Angles(0, 1.571, 0)
local rsO=CFrame.new(1, 0.5, 0) * CFrame.Angles(0, 1.571, 0)
local rsO1=CFrame.new(-0.5, 0.5, 0) * CFrame.Angles(0, 1.571, 0)
local rsO1=CFrame.new(-0.5, 0.5, 0) * CFrame.Angles(0, 1.571, 0)
local lhO=CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.571, 0)
local lhO=CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.571, 0)
local lhO1=CFrame.new(-0.5, 1, 0) * CFrame.Angles(0, -1.571, 0)
local lhO1=CFrame.new(-0.5, 1, 0) * CFrame.Angles(0, -1.571, 0)
local rhO=CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.571, 0)
local rhO=CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.571, 0)
local rhO1=CFrame.new(0.5, 1, 0) * CFrame.Angles(0, 1.571, 0)
local rhO1=CFrame.new(0.5, 1, 0) * CFrame.Angles(0, 1.571, 0)
local lsO=CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, -1.571, 0)
local lsO=CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, -1.571, 0)
local lsO1=CFrame.new(0.5, 0.5, 0) * CFrame.Angles(0, -1.571, 0)
local lsO1=CFrame.new(0.5, 0.5, 0) * CFrame.Angles(0, -1.571, 0)
local nec=CFrame.new(0, 1, 0) * CFrame.Angles(-1.571, 0, -3.142)
local nec=CFrame.new(0, 1, 0) * CFrame.Angles(-1.571, 0, -3.142)
local nec1= CFrame.new(0, -0.5, 0) * CFrame.Angles(-1.571, 0, -3.142)
local nec1= CFrame.new(0, -0.5, 0) * CFrame.Angles(-1.571, 0, -3.142)
local rjO=CFrame.new(0, 0, 0) * CFrame.Angles(-1.571, 0, -3.142)
local rjO=CFrame.new(0, 0, 0) * CFrame.Angles(-1.571, 0, -3.142)
local ang=CFrame.Angles
local ang=CFrame.Angles
local cf=CFrame.new
local cf=CFrame.new
local rad=math.rad
local rad=math.rad
local rnd=math.random
local rnd=math.random
local cos=math.cos
local cos=math.cos
local sin=math.sin
local sin=math.sin
local it=Instance.new
local it=Instance.new
local vt=Vector3.new
local vt=Vector3.new
function clerp(a,b,t)return a:lerp(b,t)end
function clerp(a,b,t)return a:lerp(b,t)end
function tween(obj,prop,tween,dir,val,speed) game:GetService("TweenService"):create(obj,TweenInfo.new(speed,Enum.EasingStyle[tween or "Linear"],Enum.EasingDirection[dir or "Out"]),{[prop]=val}):play()end
function tween(obj,prop,tween,dir,val,speed) game:GetService("TweenService"):create(obj,TweenInfo.new(speed,Enum.EasingStyle[tween or "Linear"],Enum.EasingDirection[dir or "Out"]),{[prop]=val}):play()end
function swait(n)if n==nil or n==0 then game:GetService("RunService").Heartbeat:wait() else for i=1,n do game:GetService("RunService").Heartbeat:wait() end end end
function swait(n)if n==nil or n==0 then game:GetService("RunService").Heartbeat:wait() else for i=1,n do game:GetService("RunService").Heartbeat:wait() end end end
function sphereEff(pos,col,size,speed,bonus,bonusSpeed,spread) local ring=it("Part") local msh=it("SpecialMesh") ring.Parent=effects ring.Color=col ring.Name="Ring" ring.Material="Neon" ring.CanCollide=false ring.Position=pos ring.Anchored=true ring.Size=Vector3.new(.1,.1,.1) msh.Parent=ring msh.MeshType="Sphere" tween(msh,"Scale","Quad","InOut",size*10,speed+(bonus/2)-bonusSpeed)if spread then tween(msh,"Offset","Linear","Out",vt(0,size.Y/1.4+spread,0),speed+bonus)end tween(ring,"Transparency","Linear","Out",1,speed+bonus) game.Debris:AddItem(ring,speed+bonus+.1) return ring end
function sphereEff(pos,col,size,speed,bonus,bonusSpeed,spread) local ring=it("Part") local msh=it("SpecialMesh") ring.Parent=effects ring.Color=col ring.Name="Ring" ring.Material="Neon" ring.CanCollide=false ring.Position=pos ring.Anchored=true ring.Size=Vector3.new(.1,.1,.1) msh.Parent=ring msh.MeshType="Sphere" tween(msh,"Scale","Quad","InOut",size*10,speed+(bonus/2)-bonusSpeed)if spread then tween(msh,"Offset","Linear","Out",vt(0,size.Y/1.4+spread,0),speed+bonus)end tween(ring,"Transparency","Linear","Out",1,speed+bonus) game.Debris:AddItem(ring,speed+bonus+.1) return ring end
function sound(id,par,vol,loop) local snd=it("Sound",par) snd.Volume=vol snd.Looped=loop snd.SoundId="rbxassetid://"..tostring(id)snd:play() spawn(function()repeat wait() until snd.IsPlaying==false snd:destroy()end)return snd end
function sound(id,par,vol,loop) local snd=it("Sound",par) snd.Volume=vol snd.Looped=loop snd.SoundId="rbxassetid://"..tostring(id)snd:play() spawn(function()repeat wait() until snd.IsPlaying==false snd:destroy()end)return snd end
function propell(tar,studs)tween(tar.HumanoidRootPart,"CFrame","Linear","Out",tar.HumanoidRootPart.CFrame*cf(0,0,studs),.2)tar.HumanoidRootPart.Anchored=true wait(.2)tar.HumanoidRootPart.Anchored=false end
function propell(tar,studs)tween(tar.HumanoidRootPart,"CFrame","Linear","Out",tar.HumanoidRootPart.CFrame*cf(0,0,studs),.2)tar.HumanoidRootPart.Anchored=true wait(.2)tar.HumanoidRootPart.Anchored=false end
function hbax2(time,dmg,pos,siz)local new=it("Part",effects)new.Name="hbox" new.Transparency=1 new.CanCollide=false new.Anchored=true new.Size=Vector3.new(siz,siz,siz) new.Position=pos new.Touched:connect(function(hit) if hit.Parent:findFirstChildOfClass"Humanoid" and hit.Parent~=char then hit.Parent:findFirstChildOfClass"Humanoid":takeDamage(dmg) wait() new:destroy() end end) game.Debris:AddItem(new,time) end
function hbax2(time,dmg,pos,siz)local new=it("Part",effects)new.Name="hbox" new.Transparency=1 new.CanCollide=false new.Anchored=true new.Size=Vector3.new(siz,siz,siz) new.Position=pos new.Touched:connect(function(hit) if hit.Parent:findFirstChildOfClass"Humanoid" and hit.Parent~=char then hit.Parent:findFirstChildOfClass"Humanoid":takeDamage(dmg) wait() new:destroy() end end) game.Debris:AddItem(new,time) end
function hbax(time,dmg)local new=it("Part",effects)new.Name="hbox" new.Transparency=1 new.CanCollide=false new.Anchored=true new.Size=Vector3.new(4,4,4) new.CFrame=root.CFrame*cf(0,0,-2) new.Touched:connect(function(hit) if hit.Parent:findFirstChildOfClass"Humanoid" and hit.Parent~=char then hit.Parent:findFirstChildOfClass"Humanoid":takeDamage(dmg) wait() new:destroy() end end) game.Debris:AddItem(new,time) end
function hbax(time,dmg)local new=it("Part",effects)new.Name="hbox" new.Transparency=1 new.CanCollide=false new.Anchored=true new.Size=Vector3.new(4,4,4) new.CFrame=root.CFrame*cf(0,0,-2) new.Touched:connect(function(hit) if hit.Parent:findFirstChildOfClass"Humanoid" and hit.Parent~=char then hit.Parent:findFirstChildOfClass"Humanoid":takeDamage(dmg) wait() new:destroy() end end) game.Debris:AddItem(new,time) end
function ezWeld(par,no)local sc=script.Weld:clone()sc.Parent=par sc.leave.Value=no or""sc.Disabled=false end
function ezWeld(par,no)local sc=script.Weld:clone()sc.Parent=par sc.leave.Value=no or""sc.Disabled=false end
function weld(p0,p1,c0,c1,par)local w = Instance.new("Weld", par)w.Part0 = p0 w.Part1 = p1 w.C0 = c0 or CFrame.new() w.C1 = c1 or CFrame.new()return w end
function weld(p0,p1,c0,c1,par)local w = Instance.new("Weld", par)w.Part0 = p0 w.Part1 = p1 w.C0 = c0 or CFrame.new() w.C1 = c1 or CFrame.new()return w end
function sphereEff2(pos,col,size,speed,bonus) local ring=it("Part") local msh=it("SpecialMesh") ring.Parent=effects ring.Size=Vector3.new(.1,.1,.1) ring.CanCollide=false ring.Anchored=true ring.Position=pos ring.Color=col ring.Material="Neon" msh.Parent=ring msh.MeshType="Sphere" tween(msh,"Scale","Quad","InOut",size*10,speed+(bonus/2)) tween(ring,"Transparency","Linear","Out",1,speed+bonus) game.Debris:AddItem(ring,speed+bonus+.1) return ring end
function sphereEff2(pos,col,size,speed,bonus) local ring=it("Part") local msh=it("SpecialMesh") ring.Parent=effects ring.Size=Vector3.new(.1,.1,.1) ring.CanCollide=false ring.Anchored=true ring.Position=pos ring.Color=col ring.Material="Neon" msh.Parent=ring msh.MeshType="Sphere" tween(msh,"Scale","Quad","InOut",size*10,speed+(bonus/2)) tween(ring,"Transparency","Linear","Out",1,speed+bonus) game.Debris:AddItem(ring,speed+bonus+.1) return ring end
function shakee(pwr,dur)for i,v in pairs(game.Players:children())do local sc=script.ShakeScript:clone() sc.Parent=v.PlayerGui sc.pwr.Value=pwr sc.dur.Value=dur sc.Disabled=false end end
function shakee(pwr,dur)for i,v in pairs(game.Players:children())do local sc=script.ShakeScript:clone() sc.Parent=v.PlayerGui sc.pwr.Value=pwr sc.dur.Value=dur sc.Disabled=false end end
function singleShake(plr,pwr,dur)local sc=script.ShakeScript:clone() sc.Parent=game.Players[plr].PlayerGui sc.pwr.Value=pwr sc.dur.Value=dur sc.Disabled=false end
function singleShake(plr,pwr,dur)local sc=script.ShakeScript:clone() sc.Parent=game.Players[plr].PlayerGui sc.pwr.Value=pwr sc.dur.Value=dur sc.Disabled=false end
for i,v in pairs(char:children())do if v:isA"Clothing" or v:isA"CharacterMesh" or v:isA"Hat" or v:isA"Accessory"then v:destroy() end end
for i,v in pairs(char:children())do if v:isA"Clothing" or v:isA"CharacterMesh" or v:isA"Hat" or v:isA"Accessory"then v:destroy() end end
shirt.ShirtTemplate=""
shirt.ShirtTemplate=""
pants.PantsTemplate=""
pants.PantsTemplate=""
shirt.Parent=char
shirt.Parent=char
pants.Parent=char
pants.Parent=char
--[[local ls=tors:waitForChild("Left Shoulder")
--[[local ls=tors:waitForChild("Left Shoulder")
local rs=tors:waitForChild("Right Shoulder")
local rs=tors:waitForChild("Right Shoulder")
local lh=tors:waitForChild("Left Hip")
local lh=tors:waitForChild("Left Hip")
local rh=tors:waitForChild("Right Hip")
local rh=tors:waitForChild("Right Hip")
local ne=tors:waitForChild("Neck")
local ne=tors:waitForChild("Neck")
local rj=root:waitForChild("RootJoint")]]
local rj=root:waitForChild("RootJoint")]]
local ls=weld(tors,char["Left Arm"],lsO,lsO1,char)
local ls=weld(tors,char["Left Arm"],lsO,lsO1,char)
local rs=weld(tors,char["Right Arm"],rsO,rsO1,char)
local rs=weld(tors,char["Right Arm"],rsO,rsO1,char)
local lh=weld(tors,char["Left Leg"],lhO,lhO1,char)
local lh=weld(tors,char["Left Leg"],lhO,lhO1,char)
local rh=weld(tors,char["Right Leg"],rhO,rhO1,char)
local rh=weld(tors,char["Right Leg"],rhO,rhO1,char)