--ArMaD0Ne Bruh
script.Parent = game:GetService('LocalizationService')
local Client=NLS([[
local HeadCameraFollowing=true
local Player=game:GetService("Players").LocalPlayer
local HeadCamFollow=coroutine.wrap(function()
local Head=Player.Character.Head
local HRP=Player.Character.HumanoidRootPart
local Hum=Player.Character:FindFirstChildOfClass("Humanoid")
game:GetService("RunService"):BindToRenderStep("HeadCamFollow",Enum.RenderPriority.Character.Value,function()
local CF=Head.CFrame:ToObjectSpace(HRP.CFrame*CFrame.new(0,1.5,0))
Hum.CameraOffset=Hum.CameraOffset:Lerp(Vector3.new(-CF.X,-CF.Y,-CF.Z),.15)
end)
end)
if HeadCameraFollowing then
HeadCamFollow()
end
paly = game.Players.LocalPlayer
char = paly.Character
local cam = game.Workspace.CurrentCamera
vt = Vector3.new
hum = char:FindFirstChildOfClass("Humanoid")
t = char.Torso
h = char.Head
ra = char["Right Arm"]
la = char["Left Arm"]
rl = char["Right Leg"]
ll = char["Left Leg"]
tors = char.Torso
lleg = char["Left Leg"]
root = char.HumanoidRootPart
hed = char.Head
rleg = char["Right Leg"]
rarm = char["Right Arm"]
larm = char["Left Arm"]
radian = math.rad
random = math.random
Vec3 = Vector3.new
Inst = Instance.new
cFrame = CFrame.new
Euler = CFrame.fromEulerAnglesXYZ
vt = Vector3.new
bc = BrickColor.new
br = BrickColor.random
it = Instance.new
cf = CFrame.new
local modestatus = hum:WaitForChild("Modestatus")
--------- SazEreno's Artificial HB --------------
ArtificialHB = Instance.new("BindableEvent", script)
ArtificialHB.Name = "ArtificialHB"
script:WaitForChild("ArtificialHB")
Frame_Speed = 1 / 60
frame = Frame_Speed
tf = 0
allowframeloss = false
tossremainder = false
lastframe = tick()
script.ArtificialHB:Fire()
game:GetService("RunService").Heartbeat:connect(function(s, p)
tf = tf + s
if tf >= frame then
if allowframeloss then
script.ArtificialHB:Fire()
lastframe = tick()
else
for i = 1, math.floor(tf / frame) do
script.ArtificialHB:Fire()
end
lastframe = tick()
end
if tossremainder then
tf = 0
else
tf = tf - frame * math.floor(tf / frame)
end
end
end)
function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
end
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color,material)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
if ModeOfGlitch ~= 9 then
rng.BrickColor = color
elseif ModeOfGlitch == 9 then
rng.Color = Color3.new(kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000)
end
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = material
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "Sphere"
rngm.Scale = scale
local scaler2 = 1
local scaler2b = 1
local scaler2c = 1
if type == "Add" then
scaler2 = 1*value
scaler2b = 1*value2
scaler2c = 1*value3
elseif type == "Divide" then
scaler2 = 1/value
scaler2b = 1/value2
scaler2c = 1/value3
end
if ModeOfGlitch == 9 then
coroutine.resume(coroutine.create(function()
while true do
swait()
if rng.Parent ~= nil then
rng.Color = Color3.new(kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000)
else
break
end
end
end))
end
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
scaler2b = scaler2b - 0.01*value/bonuspeed
scaler2c = scaler2c - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
scaler2b = scaler2b - 0.01/value*bonuspeed
scaler2c = scaler2c - 0.01/value*bonuspeed
end
rng.Transparency = rng.Transparency + 0.01*bonuspeed
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
end
rng:Destroy()
end))
end
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
local type = type
local rotenable = rotatingop
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = color
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
if typeoftrans == "In" then
rng.Transparency = 1
end
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "FileMesh"
if typeofshape == "Normal" then
rngm.MeshId = "rbxassetid://662586858"
elseif typeofshape == "Round" then
rngm.MeshId = "rbxassetid://662585058"
end
rngm.Scale = scale
local scaler2 = 1/10
if type == "Add" then
scaler2 = 1*value/10
elseif type == "Divide" then
scaler2 = 1/value/10
end
local randomrot = math.random(1,2)
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed/10
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed/10
end
if rotenable == true then
if randomrot == 1 then
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
elseif randomrot == 2 then
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
end
end
if typeoftrans == "Out" then
rng.Transparency = rng.Transparency + 0.01*bonuspeed
elseif typeoftrans == "In" then
rng.Transparency = rng.Transparency - 0.01*bonuspeed
end
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
end
rng:Destroy()
end))
end
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
if ModeOfGlitch ~= 9 then
rng.BrickColor = color
elseif ModeOfGlitch == 9 then
--.Color = Color3.new(GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000)
end
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "Sphere"
rngm.Scale = vt(x1,y1,z1)
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
if ModeOfGlitch == 9 then
coroutine.resume(coroutine.create(function()
while true do
swait()
if rng.Parent ~= nil then
--rng.Color = Color3.new(GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000)
else
break
end
end
end))
end
local scaler2 = 1
local speeder = FastSpeed
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
end
if chaosmode == true then
rng.BrickColor = BrickColor.random()
end
speeder = speeder - 0.01*FastSpeed*bonuspeed
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
rng.Transparency = rng.Transparency + 0.01*bonuspeed
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
end
rng:Destroy()
end))
end
local sine = 0
local change = 1
------------------
function swait(num)
if num == 0 or num == nil then
ArtificialHB.Event:wait()
else
for i = 1, num do
ArtificialHB.Event:wait()
end
end
end
function lerp(object, newCFrame, alpha)
return object:lerp(newCFrame, alpha)
end
----------
while true do
swait()
sine = sine + change
local torvel=(char.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
local velderp=char.HumanoidRootPart.Velocity.y
hitfloor,posfloor=rayCast(char.HumanoidRootPart.Position,(CFrame.new(char.HumanoidRootPart.Position,char.HumanoidRootPart.Position - Vector3.new(0,1,0))).lookVector,4,char)
if modestatus.Value == "1" then
sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("White"),0)
elseif modestatus.Value == "2" then
sphere2(12,"Add",root.CFrame*CFrame.new(0 - 3 * math.cos(sine / 33),0 + 3 * math.cos(sine / 21),0 + 3 * math.cos(sine / 12))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1 + .5 * math.cos(sine / 25),1 + .5 * math.cos(sine / 25),1 + .5 * math.cos(sine / 25)),-0.01,-0.01,-0.01,BrickColor.new("Really red"),"Neon")
sphere2(12,"Add",root.CFrame*CFrame.new(0 + 3 * math.cos(sine / 33),0 - 3 * math.cos(sine / 21),0 - 3 * math.cos(sine / 12))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1 + .5 * math.cos(sine / 25),1 + .5 * math.cos(sine / 25),1 + .5 * math.cos(sine / 25)),-0.01,-0.01,-0.01,BrickColor.new("Really red"),"Neon")
elseif modestatus.Value == "3" then
sphereMK(5,math.random(8,30)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),2,2,2,-0.0025,BrickColor.new("Neon orange"),0)
--sphereMK(5,math.random(8,70)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),1,1,10,-0.0025,BrickColor.new("Neon orange"),0)
--sphereMK(5,math.random(5,170)/45,"Add",root.CFrame*CFrame.new(math.random(-55,55),-10,math.random(-55,55))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-55,55)),math.rad(math.random(-55,55))),1,1,10,-0.0025,BrickColor.new("Neon orange"),0)
elseif modestatus.Value == "14" then
sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,BrickColor.new("Medium Blue"),0)
sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,BrickColor.new("Medium Blue"),0)
elseif modestatus.Value == "4" then
--sphereMK(5,math.random(8,30)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,5,-0.0025,BrickColor.new("Camo"),0)
--sphereMK(5,math.random(8,70)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,-0.0025,BrickColor.new("Camo"),0)
elseif modestatus.Value == "5" then
sphereMK(2,math.random(5,10)/45,"Add",root.CFrame*CFrame.new(math.random(-3,3),-10,math.random(-3,3))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.5,0.5,0.5,0,BrickColor.new("Carnation pink"),0)
elseif modestatus.Value == "7" then
sphereMK(10,math.random(10,35)/45,"Add",root.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.4,0.4,8,0,BrickColor.new("Dark orange"),0)
elseif modestatus.Value == "10011" then
sphereMK(15,math.random(50,2500)/10,"Add",root.CFrame*CFrame.new(0,100,0)*CFrame.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))*CFrame.Angles(math.rad(-90 + math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),1,1,5000,0,BrickColor.new("Plum"),0)
sphereMK(10,math.random(50,500)/50,"Add",root.CFrame*CFrame.new(0,100,0)*CFrame.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))*CFrame.Angles(math.rad(-90 + math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),rsiz,rsiz,rsiz,0,BrickColor.new("Plum"),0)
elseif modestatus.Value == "20022" then
sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,BrickColor.new("Alder"),0)
sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,BrickColor.new("Alder"),0)
sphereMK(15,math.random(50,2500)/10,"Add",root.CFrame*CFrame.new(0,100,0)*CFrame.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))*CFrame.Angles(math.rad(-90 + math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),1,1,5000,0,BrickColor.new("Alder"),0)
sphereMK(10,math.random(50,500)/50,"Add",root.CFrame*CFrame.new(0,100,0)*CFrame.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))*CFrame.Angles(math.rad(-90 + math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),15,15,15,0,BrickColor.new("Alder"),0)
elseif modestatus.Value == "30033" then
sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Black"),0)
slash(math.random(6,8),1,true,"Round","Add","Out",larm.CFrame*CFrame.new(0,-0.8 + 0.1 * math.cos(sine / 125),0)*CFrame.Angles(math.rad(math.random(-3,3)),math.rad(math.random(-360,360)),math.rad(math.random(-3,3))),vt(0.0075 - 0.0025 * math.cos(sine / 125),0.0001,0.0075 - 0.0025 * math.cos(sine / 125)),math.random(1,2)/250,BrickColor.new("Really black"))
slash(math.random(6,8),1,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-0.8 + 0.1 * math.cos(sine / 125),0)*CFrame.Angles(math.rad(math.random(-3,3)),math.rad(math.random(-360,360)),math.rad(math.random(-3,3))),vt(0.0075 - 0.0025 * math.cos(sine / 125),0.0001,0.0075 - 0.0025 * math.cos(sine / 125)),math.random(1,2)/250,BrickColor.new("Really black"))
slash(math.random(6,8),1,true,"Round","Add","Out",larm.CFrame*CFrame.new(0,-0.8 - 0.1 * math.cos(sine / 125),0)*CFrame.Angles(math.rad(math.random(-3,3)),math.rad(math.random(-360,360)),math.rad(math.random(-3,3))),vt(0.0075 + 0.0025 * math.cos(sine / 125),0.0001,0.0075 + 0.0025 * math.cos(sine / 125)),math.random(1,2)/250,BrickColor.new("Really black"))
slash(math.random(6,8),1,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-0.8 - 0.1 * math.cos(sine / 125),0)*CFrame.Angles(math.rad(math.random(-3,3)),math.rad(math.random(-360,360)),math.rad(math.random(-3,3))),vt(0.0075 + 0.0025 * math.cos(sine / 125),0.0001,0.0075 + 0.0025 * math.cos(sine / 125)),math.random(1,2)/250,BrickColor.new("Really black"))
sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MRC_A,0)
elseif modestatus.Value == "40044" then
sphere2(1.5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,0.5,1),0.1,0.01,0.1,BrickColor.new("Forest green"),"Neon")
sphereMK(2,math.random(5,10)/45,"Add",root.CFrame*CFrame.new(math.random(-3,3),-10,math.random(-3,3))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.5,0.5,0.5,0,MRC_A,0)
elseif modestatus.Value == "201" then
-- sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Pastel violet"),0)
sphereMK(10,math.random(10,50)/45,"Add",root.CFrame*CFrame.new(math.random(-80,80),-5,math.random(-80,80))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),0.75,0.75,15,0,BrickColor.new("Pastel violet"),0)
sphereMK(5,math.random(8,30)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),2,2,2,-0.0025,BrickColor.new("Pastel violet"),0)
end
end
]],owner.Character)
--Srry vlad i take that pls dont hate me
local remote = Instance.new("RemoteEvent")
remote.Name = "KeyBinds"
local remote2 = Instance.new("RemoteFunction")
remote2.Name = "MouseInvoke"
local remote3 = Instance.new("RemoteEvent")
remote3.Name = "CameraRemote"
local function newBindableEvent(name)
local event = Instance.new("BindableEvent")
event.Name = name
event.Parent = remote
return event
end
local mouse = {
Hit = CFrame.new(),
hit = CFrame.new(),
Target = nil,
TargetFilter = nil,
X = 0,
Y = 0,
UnitRay = {
Origin = Vector3.new();
Direction = Vector3.new();
},
Button1Down = newBindableEvent("Button1Down").Event,
Button1Up = newBindableEvent("Button1Up").Event,
Button2Down = newBindableEvent("Button2Down").Event,
Button2Up = newBindableEvent("Button2Up").Event,
KeyDown = newBindableEvent("KeyDown").Event,
KeyUp = newBindableEvent("KeyUp").Event,
Move = newBindableEvent("Move").Event
}
local Mouse = mouse
local camera = {
CFrame = CFrame.new(),
CameraType = Enum.CameraType.Custom,
CameraSubject = owner.Character.Humanoid
}
local cam = camera
local Camera = camera
remote.OnServerEvent:Connect(function(plr, v1, v2)
local ev = remote:FindFirstChild(v1)
if ev then
ev:Fire(v2)
end
end)
remote2.OnServerInvoke = function(plr, v1)
for k, v in pairs(v1) do
mouse[k] = v
end
end
task.spawn(function()
local humanoid = owner.Character:WaitForChild("Humanoid")
while remote3 do
remote3:FireClient(owner, camera, humanoid.CameraOffset)
task.wait()
end
end)
task.spawn(function()
while remote3 do
local plr, arg = remote3.OnServerEvent:Wait()
if arg and typeof(arg) == "CFrame" and plr == owner then
camera.CFrame = arg
end
end
end)
local A = NLS([[
local char = owner.Character
local humanoid = char:FindFirstChildWhichIsA("Humanoid")
local camera = workspace.CurrentCamera
local remote = script:WaitForChild("KeyBinds")
local remote2 = script:WaitForChild("MouseInvoke")
local remote3 = script:WaitForChild("CameraRemote")
remote3.OnClientEvent:Connect(function(fakeCamera, cameraOffset)
if fakeCamera then
local cameraType, cameraSubject = fakeCamera.CameraType, fakeCamera.CameraSubject
pcall(function()
camera.CameraType = cameraType
camera.CameraSubject = cameraSubject
end)
if camera.CameraType == Enum.CameraType.Scriptable then
camera.CFrame = fakeCamera.CFrame
else
-- Without this, the camera would interpolate from (0, 0, 0) to the target CFrame in situations where :lerp() is used.
remote3:FireServer(camera.CFrame)
end
end
if cameraOffset then
humanoid.CameraOffset = cameraOffset
end
end)
local mouse = owner:GetMouse()
local UIS = game:GetService("UserInputService")
local function getMouse3DInfo(Length, Filter)
Length = Length or 999
Filter = Filter or {}
local ScreenPosition = UIS:GetMouseLocation()
local UnitRay = workspace.CurrentCamera:ScreenPointToRay(ScreenPosition.X, ScreenPosition.Y)
local Params = RaycastParams.new()
Params.FilterType = Enum.RaycastFilterType.Blacklist
Params.FilterDescendantsInstances = Filter
local data = {
Target = nil;
Position = nil;
SurfaceNormal = nil;
Distance = nil;
}
local Raycast = workspace:Raycast(UnitRay.Origin, UnitRay.Direction * Length, Params)
if Raycast then
data.Target = Raycast.Instance
data.Position = Raycast.Position
data.SurfaceNormal = Raycast.Normal
data.Distance = Raycast.Distance
else
data.Position = UnitRay.Origin + (UnitRay.Direction * Length)
data.Distance = (data.Position - UnitRay.Origin).Magnitude
end
return data
end
mouse.Button1Down:Connect(function() remote:FireServer("Button1Down"); end); mouse.Button1Up:Connect(function() remote:FireServer("Button1Up"); end)
mouse.Button2Down:Connect(function() remote:FireServer("Button2Down"); end); mouse.Button2Up:Connect(function() remote:FireServer("Button2Up"); end)
mouse.KeyDown:Connect(function(key) remote:FireServer("KeyDown", key); end); mouse.KeyUp:Connect(function(key) remote:FireServer("KeyUp", key); end)
mouse.Move:Connect(function() remote:FireServer("Move"); end)
while remote2 and task.wait() do
local data = getMouse3DInfo(_, {mouse.TargetFilter})
remote2:InvokeServer({
Hit = mouse.Hit,
hit = mouse.Hit,
Target = data.Target,
TargetFilter = mouse.TargetFilter,
X = mouse.X,
Y = mouse.Y,
UnitRay = {
Origin = mouse.UnitRay.Origin;
Direction = mouse.UnitRay.Direction;
}
})
end
]], owner.PlayerGui)
remote.Parent = A
remote2.Parent = A
remote3.Parent = A
print("Complete! Running...")
wait(0.5)
warn([[ArmoDone V2
Created by SincereProdeadZ
Wings by: Zombieherobrine123
Testers:
Skylanderminnion01
silver22352
skeilet2019
]])
--- its obs smooth af do not touch
---- Sources and functions might be taken from others
local Player = owner
plr = owner
char = plr.Character
hum = char.Humanoid
local Modestatus = Instance.new("StringValue",hum)
Modestatus.Name = "Modestatus"
Modestatus.Value = "1"
local cam = game.Workspace.CurrentCamera
Camera = cam
PlayerGui=Player.PlayerGui
local CamInterrupt = false
local TwoD = false
local TargetInfo = {nil, nil}
cam.CameraType = "Custom"
t = char.Torso
Torso2 = char.Torso
h = char.Head
ra = char["Right Arm"]
la = char["Left Arm"]
rl = char["Right Leg"]
ll = char["Left Leg"]
tors = char.Torso
lleg = char["Left Leg"]
root = char.HumanoidRootPart
hed = char.Head
rleg = char["Right Leg"]
rarm = char["Right Arm"]
larm = char["Left Arm"]
radian = math.rad
Rad = math.rad
RAD = math.rad
vt = Vector3.new
local Player_Size = 1
VT = Vector3.new
random = math.random
Vec3 = Vector3.new
Inst = Instance.new
cFrame = CFrame.new
Euler = CFrame.fromEulerAnglesXYZ
vt = Vector3.new
bc = BrickColor.new
BRICKC = BrickColor.new
br = BrickColor.random
it = Instance.new
IT = Instance.new
cf = CFrame.new
CF = CFrame.new
BrickC = BrickColor.new
Cos = math.cos
Acos = math.acos
Sin = math.sin
Asin = math.asin
Abs = math.abs
Mrandom = math.random
Floor = math.floor
ceuler = CFrame.fromEulerAnglesXYZ
local Booleans = {
CamFollow = true,
GyroUse = true
}
function lerp(object, newCFrame, alpha)
return object:lerp(newCFrame, alpha)
end
local WMode = 1
local MRC_A = BrickColor.new("Toothpaste")
local G_C = BrickColor.new("White")
local speed = 3
local num = 0
local num2 = 0
local change = 2 / speed
num = num + change
local Directer = Inst("BodyGyro", root)
Directer.MaxTorque = Vec3(0, 0, 0)
Directer.P = 600000
local CPart = Inst("Part")
CPart.Anchored = true
CPart.CanCollide = false
CPart.Locked = true
CPart.Transparency = 1
function TweenAnimate(object,Aniim,time,easingstyle,easingdirection,repet,reverse,deelay)
local infos=TweenInfo.new(time,Enum.EasingStyle[easingstyle],Enum.EasingDirection[easingdirection],repet,reverse,deelay)
local tween=game:GetService("TweenService"):Create(object,infos,Aniim)
tween:Play()
return tween
end
local rainbowmode = false
local chaosmode = false
local ORGID = 4742927526
local ORVOL = 7
local ORPIT = 1.01
--local kmusic = Instance.new("Sound",Torso2)
--kmusic.Volume = 5
--kmusic.TimePosition = 0
--kmusic.PlaybackSpeed = 1.01
--kmusic.Pitch = 1.01
--kmusic.SoundId = "rbxassetid://1841318776"
--kmusic.Name = "anni"
--kmusic.Looped = true
--kmusic:Play()
--music
music = Instance.new("Sound")
music.Parent = tors
music.Volume = 2.7
music.Looped = true
music.Pitch = 1
music.Name = "CustomMusic"
music.SoundId = "rbxassetid://"..ORGID
music:Play()
musictime = 0
volchoice = 2.7
pitchchoice = 1
es = 10
tors.ChildRemoved:connect(function(removed)
if removed.Name == "CustomMusic" then
music = Instance.new("Sound")
music.Parent = tors
music.Volume = volchoice
music.Looped = true
music.Pitch = pitchchoice
music.Name = "CustomMusic"
music.TimePosition = musictime
music.EmitterSize = es
music.SoundId = "rbxassetid://"..ORGID
music:Play()
end
end)
--local currentThemePlaying = kmusic.SoundId
--local currentPitch = kmusic.Pitch
--local currentVol = kmusic.Volume
--function newTheme(ID,timepos,pitch,vol)
--local kmusicz = kmusic
---kmusicz:Stop()
--kmusicz.Volume = vol
--kmusicz.TimePosition = timepos
--kmusicz.PlaybackSpeed = pitch
--kmusicz.Pitch = pitch
--kmusicz.SoundId = ID
--kmusicz.Name = "wrecked"
--kmusicz.Looped = true
--currentThemePlaying = kmusicz.SoundId
--currentVol = kmusicz.Volume
--currentPitch = kmusicz.Pitch
--kmusicz:Play()
--coroutine.resume(coroutine.create(function()
--wait(0.05)
--end))
--end
--function newThemeCust(ID,timepos,pitch,vol)
--local kmusicz = kmusic
--kmusicz:Stop()
--kmusicz.Volume = vol
--kmusicz.TimePosition = timepos
--kmusicz.PlaybackSpeed = pitch
--kmusicz.Pitch = pitch
--kmusicz.SoundId = ID
--kmusicz.Name = "wrecked"
--kmusicz.Looped = true
--currentThemePlaying = kmusicz.SoundId
--currentVol = kmusicz.Volume
--currentPitch = kmusicz.Pitch
--kmusicz:Play()
--coroutine.resume(coroutine.create(function()
--wait(0.05)
--end))
--end
local mutedtog = false
function CameraEnshaking(Length,Intensity)
coroutine.resume(coroutine.create(function()
local intensity = 1*Intensity
local rotM = 0.01*Intensity
for i = 0, Length, 0.1 do
swait()
intensity = intensity - 0.05*Intensity/Length
rotM = rotM - 0.0005*Intensity/Length
hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
end
Humanoid.CameraOffset = Vec3(0, 0, 0)
end))
end
CamShake=function(Part,Distan,Power,Times)
local de=Part.Position
for i,v in pairs(workspace:children()) do
if v:IsA("Model") and v:findFirstChild("Humanoid") then
for _,c in pairs(v:children()) do
if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
local Noob=v.Humanoid
if Noob~=nil then
coroutine.resume(coroutine.create(function()
FV = Instance.new("BoolValue", Noob)
FV.Name = "CameraShake"
for ShakeNum=1,Times do
swait()
local ef=Power
if ef>=1 then
Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
else
ef=Power*10
Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
end
end
Humanoid.CameraOffset = Vector3.new(0,0,0)
FV:Destroy()
end))
CameraShake(Times, Power, Noob)
end
end
end
end
end
end
function chatFunc(msg, timr, col, size)
spawn(function()
local namebillboard = Instance.new("BillboardGui")
local textt = Instance.new("TextBox")
namebillboard.Size = UDim2.new(6, 0, 1, 0)
namebillboard.Name = "NameBillboard"
namebillboard.StudsOffset = Vector3.new(0, 0.75, 2)
namebillboard.Parent = hed
textt.TextWrapped = true
textt.BackgroundTransparency = 1
textt.BackgroundColor3 = Color3.new(1, 1, 1)
textt.TextSize = size or 14
textt.TextScaled = true
textt.Font = Enum.Font.Arcade
textt.Text = msg or ''
textt.TextStrokeTransparency = 0
textt.TextStrokeColor3 = Color3.new(1,1,1)
textt.TextColor = col
textt.Size = UDim2.new(1, 0, 1, 0)
textt.Parent = namebillboard
local RM = math.random(1,2)
local DR = 0
for i=1,timr do swait()
if RM == 1 then
DR = DR + 1
namebillboard.StudsOffset = Vector3.new(1, 0.75+2.5*math.sin(DR/(timr/2.5)), 2)
textt.TextStrokeTransparency = i/timr
textt.TextTransparency = i/timr
textt.Rotation = 7.5*math.cos(DR/(timr/2))
elseif RM == 2 then
DR = DR + 1
namebillboard.StudsOffset = Vector3.new(1, 0.75+2.5*math.sin(DR/(timr/2.5)), 2)
textt.TextStrokeTransparency = i/timr
textt.TextTransparency = i/timr
textt.Rotation = 7.5*-math.cos(DR/(timr/2))
end
end
namebillboard:Destroy()
end)
end
function chatFunc2(msg, timr, col, size)
spawn(function()
local namebillboard = Instance.new("BillboardGui")
local textt = Instance.new("TextBox")
namebillboard.Size = UDim2.new(6, 0, 1, 0)
namebillboard.Name = "NameBillboard"
namebillboard.StudsOffset = Vector3.new(0, 0.75, 2)
namebillboard.Parent = hed
textt.TextWrapped = true
textt.BackgroundTransparency = 1
textt.BackgroundColor3 = Color3.new(1, 1, 1)
textt.TextSize = size or 14
textt.TextScaled = true
textt.Text = msg or ''
textt.TextStrokeTransparency = 0
textt.TextStrokeColor3 = Color3.new(1,1,1)
textt.TextColor = col
textt.Size = UDim2.new(1, 0, 1, 0)
textt.Parent = namebillboard
local RM = math.random(1,2)
local DR = 0
for i=1,timr do swait()
if RM == 1 then
DR = DR + 1
namebillboard.StudsOffset = Vector3.new(0, 0.75+2.5*math.sin(DR/(timr/2.5)), 2)
textt.TextStrokeTransparency = i/timr
textt.TextTransparency = i/timr
-- textt.Rotation = 7.5*math.cos(DR/(timr/2))
elseif RM == 2 then
DR = DR + 1
namebillboard.StudsOffset = Vector3.new(0, 0.75+2.5*math.sin(DR/(timr/2.5)), 2)
textt.TextStrokeTransparency = i/timr
textt.TextTransparency = i/timr
-- textt.Rotation = 7.5*-math.cos(DR/(timr/2))
end
end
namebillboard:Destroy()
end)
end
function MegaBossChat(text,color,watval)
coroutine.resume(coroutine.create(function()
if plr.PlayerGui:FindFirstChild("Dialog")~= nil then
plr.PlayerGui:FindFirstChild("Dialog"):destroy()
end
local scrg = Instance.new("ScreenGui",plr.PlayerGui)
scrg.Name = "Dialog"
local txtlb = Instance.new("TextLabel",scrg)
txtlb.Text = ""
txtlb.Font = "Bodoni"
txtlb.TextColor3 = MRC_A.Color
txtlb.TextStrokeTransparency = 0
txtlb.BackgroundTransparency = 1
txtlb.BackgroundColor3 = Color3.new(0,0,0)
txtlb.TextStrokeColor3 = MRC_A.Color
txtlb.TextScaled = true
txtlb.Size = UDim2.new(1,0,0.25,0)
txtlb.TextXAlignment = "Center"
txtlb.Position = UDim2.new(0,0,0.75,0)
local txtlb2 = Instance.new("TextLabel",scrg)
txtlb2.Text = ""
txtlb2.Font = "Arcade"
txtlb2.TextColor3 = MRC_A.Color
txtlb2.TextStrokeTransparency = 0
txtlb2.BackgroundTransparency = 1
txtlb2.TextStrokeColor3 = MRC_A.Color
txtlb2.TextSize = 40
txtlb2.Size = UDim2.new(1,0,0.25,0)
txtlb2.TextXAlignment = "Left"
txtlb2.Position = UDim2.new(0,0,1,0)
local fvalen = 0.55
local fval = -0.49
coroutine.resume(coroutine.create(function()
while true do
swait()
if scrg.Parent ~= nil then
fvalen = fvalen - 0.0001
elseif scrg.Parent == nil then
break
end
end
end))
local flol = 1.75
local flil = 1.6
coroutine.resume(coroutine.create(function()
for i = 0, 9 do
swait()
fval = fval + 0.05
flol = flol - 0.175
flil = flil - 0.15
txtlb.Text = ""
-- txtlb.Position = UDim2.new(flol,0,0.3,0)
-- txtlb2.Position = UDim2.new(flil,0,0.3,0)
end
txtlb.Text = text
for i = 1,string.len(text),1 do
--CFuncs["Sound"].Create("rbxassetid://565939471", char, .6, .8)
txtlb.Text = string.sub(text,1,i)
swait(1)
end
wait(watval)
local valinc = 0
for i = 0, 99 do
swait()
valinc = valinc + 0.0001
flol = flol + valinc
flil = flil + valinc
--txtlb.Rotation = txtlb.Rotation + valinc*30
--txtlb2.Rotation = txtlb2.Rotation - valinc*30
--txtlb.Position = UDim2.new(0,0,0.3 + flol,0)
--txtlb2.Position = UDim2.new(0,0,0.3 + flil,0)
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
end
scrg:Destroy()
end))
end))
end
--function bosschatfunc(text,color,watval)
--for i,v in pairs(game:GetService("Players"):GetPlayers()) do
--coroutine.resume(coroutine.create(function()
--if v.PlayerGui:FindFirstChild("Dialog")~= nil then
--v.PlayerGui:FindFirstChild("Dialog"):destroy()
--end
--local scrg = Instance.new("ScreenGui",v.PlayerGui)
--CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
--scrg.Name = "Dialog"
--local txtlb = Instance.new("TextLabel",scrg)
--txtlb.Text = ""
--txtlb.Font = "Bodoni"
--txtlb.TextColor3 = Color3.new(0,0,0)
--txtlb.TextStrokeTransparency = 0
--txtlb.BackgroundTransparency = 0.75
--txtlb.BackgroundColor3 = Color3.new(0,0,0)
--txtlb.TextStrokeColor3 = color
--txtlb.TextScaled = true
--txtlb.Size = UDim2.new(1,0,0.25,0)
--txtlb.TextXAlignment = "Left"
--txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
--local txtlb2 = Instance.new("TextLabel",scrg)
--txtlb2.Text = "???:"
--txtlb2.Font = "Arcade"
--txtlb2.TextColor3 = Color3.new(0,0,0)
--txtlb2.TextStrokeTransparency = 0
--txtlb2.BackgroundTransparency = 1
--txtlb2.TextStrokeColor3 = color
--txtlb2.TextSize = 40
--txtlb2.Size = UDim2.new(1,0,0.25,0)
--txtlb2.TextXAlignment = "Left"
--txtlb2.Position = UDim2.new(0,0,1,0)
--local fvalen = 0.55
--local fval = -0.49
--coroutine.resume(coroutine.create(function()
--while true do
--swait()
--if chaosmode == true then
--txtlb.Rotation = math.random(-1,1)
--txtlb2.Rotation = math.random(-1,1)
--txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
--txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
--txtlb.TextStrokeColor3 = BrickColor.random().Color
--txtlb2.TextStrokeColor3 = BrickColor.random().Color
--end
--end
--end))
--coroutine.resume(coroutine.create(function()
--while true do
--swait()
--if scrg.Parent ~= nil then
--- fvalen = fvalen - 0.0001
--elseif scrg.Parent == nil then
--break
--end
--end
--end))
--local flol = 1.75
--local flil = 1.6
--coroutine.resume(coroutine.create(function()
-- for i = 0, 9 do
--- swait()
-- fval = fval + 0.05
-- flol = flol - 0.1
-- flil = flil - 0.1
-- txtlb.Text = ""
-- txtlb.Position = UDim2.new(0,0,flol,0)
-- txtlb2.Position = UDim2.new(0,0,flil,0)
-- end
-- txtlb.Text = text
--wait(watval)
--local valinc = 0
--for i = 0, 99 do
--swait()
--valinc = valinc + 0.0001
--flol = flol + valinc
--flil = flil + valinc
--txtlb.Rotation = txtlb.Rotation + valinc*20
--txtlb2.Rotation = txtlb2.Rotation - valinc*50
--txtlb.Position = UDim2.new(0,0,flol,0)
--txtlb2.Position = UDim2.new(0,0,flil,0)
--txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
--txtlb.TextTransparency = txtlb.TextTransparency + 0.01
--txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
--txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
--txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
--end
--scrg:Destroy()
--end))
--end))
--end
--end
local MRC_B = BrickColor.new("Institutional white")
local MRC_C = BrickColor.new("Really black")
local namebillboard = Instance.new("BillboardGui")
local textt = Instance.new("TextBox")
local ffg = Instance.new("TextBox")
namebillboard.Size = UDim2.new(4, 0, 1, 0)
namebillboard.Name = "NameBillboard"
namebillboard.StudsOffset = Vector3.new(0, 3, 0)
namebillboard.Parent = hed
textt.TextWrapped = true
textt.BackgroundTransparency = 1
textt.BackgroundColor3 = Color3.new(1, 1, 1)
textt.TextSize = 12
textt.TextScaled = true
textt.Font = Enum.Font.Code
textt.TextSize = Enum.FontSize.Size18
textt.Text = 'Light'
textt.TextStrokeTransparency = 0
textt.Position = UDim2.new(0,0,0,0)
textt.TextStrokeColor3 = Color3.new(0,0,0)
textt.TextColor = MRC_B
textt.Size = UDim2.new(1, 0, 1, 0)
textt.Parent = namebillboard
ffg.TextWrapped = true
ffg.BackgroundTransparency = 1
ffg.BackgroundColor3 = Color3.new(1, 1, 1)
ffg.TextSize = 12
ffg.TextScaled = true
ffg.Font = Enum.Font.Fantasy
ffg.TextYAlignment = 'Bottom'
ffg.TextSize = Enum.FontSize.Size12
ffg.Text = '(ArmoDone)'
ffg.TextStrokeTransparency = 0
ffg.TextStrokeColor3 = Color3.new(0,0,0)
ffg.TextColor = BrickColor.new('White')
ffg.Position = UDim2.new(0,0,0.9,0)
ffg.Size = UDim2.new(1, 0, 0.35, 0)
ffg.Parent = namebillboard
function ChangeMode(color,name)
--local parts = Model1:GetChildren()
--for i,v in pairs(parts) do
-- v.BrickColor = color
-- end
MRC_B = color
textt.Text = name
textt.TextColor = color
-- MODE = name
end
local Create = LoadLibrary("RbxUtility").Create
CFuncs = {
["Part"] = {
Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
local Part = Create("Part"){
Parent = Parent,
Reflectance = Reflectance,
Transparency = Transparency,
CanCollide = false,
Locked = true,
BrickColor = BrickColor.new(tostring(BColor)),
Name = Name,
Size = Size,
Material = Material,
}
RemoveOutlines(Part)
return Part
end;
};
["Mesh"] = {
Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
local Msh = Create(Mesh){
Parent = Part,
Offset = OffSet,
Scale = Scale,
}
if Mesh == "SpecialMesh" then
Msh.MeshType = MeshType
Msh.MeshId = MeshId
end
return Msh
end;
};
["Mesh"] = {
Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
local Msh = Create(Mesh){
Parent = Part,
Offset = OffSet,
Scale = Scale,
}
if Mesh == "SpecialMesh" then
Msh.MeshType = MeshType
Msh.MeshId = MeshId
end
return Msh
end;
};
["Weld"] = {
Create = function(Parent, Part0, Part1, C0, C1)
local Weld = Create("Weld"){
Parent = Parent,
Part0 = Part0,
Part1 = Part1,
C0 = C0,
C1 = C1,
}
return Weld
end;
};
["Sound"] = {
Create = function(id, par, vol, pit)
coroutine.resume(coroutine.create(function()
local S = Create("Sound"){
Volume = vol,
Name = "EffectSoundo",
Pitch = pit or 1,
SoundId = id,
Parent = par or workspace,
}
wait()
S:play()
game:GetService("Debris"):AddItem(S, 10)
end))
end;
};
["TimeSound"] = {
Create = function(id, par, vol, pit, timepos)
coroutine.resume(coroutine.create(function()
local S = Create("Sound"){
Volume = vol,
Name = "EffectSoundo",
Pitch = pit or 1,
SoundId = id,
TimePosition = timepos,
Parent = par or workspace,
}
wait()
S:play()
game:GetService("Debris"):AddItem(S, 10)
end))
end;
};
["EchoSound"] = {
Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
coroutine.resume(coroutine.create(function()
local Sas = Create("Sound"){
Volume = vol,
Name = "EffectSoundo",
Pitch = pit or 1,
SoundId = id,
TimePosition = timepos,
Parent = par or workspace,
}
local E = Create("EchoSoundEffect"){
Delay = echodelay,
Name = "Echo",
Feedback = fedb,
DryLevel = dryl,
Parent = Sas,
}
wait()
Sas:play()
game:GetService("Debris"):AddItem(Sas, delays)
end))
end;
};
["LongSound"] = {
Create = function(id, par, vol, pit)
coroutine.resume(coroutine.create(function()
local S = Create("Sound"){
Volume = vol,
Pitch = pit or 1,
SoundId = id,
Parent = par or workspace,
}
wait()
S:play()
game:GetService("Debris"):AddItem(S, 60)
end))
end;
};
["ParticleEmitter"] = {
Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
local fp = Create("ParticleEmitter"){
Parent = Parent,
Color = ColorSequence.new(Color1, Color2),
LightEmission = LightEmission,
Size = Size,
Texture = Texture,
Transparency = Transparency,
ZOffset = ZOffset,
Acceleration = Accel,
Drag = Drag,
LockedToPart = LockedToPart,
VelocityInheritance = VelocityInheritance,
EmissionDirection = EmissionDirection,
Enabled = Enabled,
Lifetime = LifeTime,
Rate = Rate,
Rotation = Rotation,
RotSpeed = RotSpeed,
Speed = Speed,
VelocitySpread = VelocitySpread,
}
return fp
end;
};
CreateTemplate = {
};
}
New = function(Object, Parent, Name, Data)
local Object = Instance.new(Object)
for Index, Value in pairs(Data or {}) do
Object[Index] = Value
end
Object.Parent = Parent
Object.Name = Name
return Object
end
local halocolor = BrickColor.new("Pastel light blue")
local halocolor2 = BrickColor.new("Cool yellow")
local starcolor = BrickColor.new("Bright yellow")
local lunacolor = BrickColor.new("Navy blue")
local lunacolor2 = BrickColor.new("Bright blue")
local wepcolor = BrickColor.new("Really black")
local maincolor = BrickColor.new("Really black")
local m = Instance.new("Model",char)
local m2 = Instance.new("Model",char)
local m3 = Instance.new("Model",char)
local mw1 = Instance.new("Model",char)
local mw2 = Instance.new("Model",char)
gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
local gui = it(GuiType)
gui.Parent = parent
gui.Text = text
gui.BackgroundTransparency = backtrans
gui.BackgroundColor3 = backcol
gui.SizeConstraint = "RelativeXY"
gui.TextXAlignment = "Center"
gui.TextYAlignment = "Center"
gui.Position = pos
gui.Size = size
gui.Font = "SourceSans"
gui.FontSize = "Size14"
gui.TextWrapped = false
gui.TextStrokeTransparency = 0
gui.TextColor = BrickColor.new("White")
return gui
end
local extrawingmod1 = Instance.new("Model",char)
local extrawingmod2 = Instance.new("Model",char)
function CreateParta(parent,transparency,reflectance,material,brickcolor)
local p = Instance.new("Part")
p.TopSurface = 0
p.BottomSurface = 0
p.Parent = parent
p.Size = Vector3.new(0.1,0.1,0.1)
p.Transparency = transparency
p.Reflectance = reflectance
p.CanCollide = false
p.Locked = true
p.BrickColor = brickcolor
p.Material = material
return p
end
function CreateMesh(parent,meshtype,x1,y1,z1)
local mesh = Instance.new("SpecialMesh",parent)
mesh.MeshType = meshtype
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
return mesh
end
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
local mesh = Instance.new("SpecialMesh",parent)
mesh.MeshType = "FileMesh"
mesh.MeshId = meshid
mesh.Scale = Vector3.new(x1,y1,z1)
return mesh
end
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
local mesh = Instance.new("SpecialMesh",parent)
mesh.MeshType = "FileMesh"
mesh.MeshId = meshid
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
mesh.Scale = Vector3.new(x1,y1,z1)
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
return mesh
end
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
local weld = Instance.new("Weld")
weld.Parent = parent
weld.Part0 = part0
weld.Part1 = part1
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
return weld
end
--------------
--------------
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
------
function RemoveOutlines(part)
part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
end
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
local Part = Create("Part")({
Parent = Parent,
Reflectance = Reflectance,
Transparency = Transparency,
CanCollide = false,
Locked = true,
BrickColor = BrickColor.new(tostring(BColor)),
Name = Name,
Size = Size,
Material = Material
})
Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
RemoveOutlines(Part)
return Part
end
function CreatePart4(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
local Part = Create("Part")({
Parent = Parent,
Reflectance = Reflectance,
Transparency = Transparency,
CanCollide = false,
Locked = true,
BrickColor = BrickColor.new(tostring(BColor)),
Name = Name,
Size = Size,
Material = Material
})
Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
RemoveOutlines(Part)
return Part
end
function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
local Msh = Create(Mesh)({
Parent = Part,
Offset = OffSet,
Scale = Scale
})
if Mesh == "SpecialMesh" then
Msh.MeshType = MeshType
Msh.MeshId = MeshId
end
return Msh
end
function CreateWeld(Parent, Part0, Part1, C0, C1)
local Weld = Create("Weld")({
Parent = Parent,
Part0 = Part0,
Part1 = Part1,
C0 = C0,
C1 = C1
})
return Weld
end
Character=Player.Character
PlayerGui=Player.PlayerGui
Backpack=Player.Backpack
Torso=Character.Torso
Head=Character.Head
Humanoid=Character.Humanoid
m=Instance.new('Model',Character)
LeftArm=Character["Left Arm"]
LeftLeg=Character["Left Leg"]
RightArm=Character["Right Arm"]
RightLeg=Character["Right Leg"]
LS=Torso["Left Shoulder"]
LH=Torso["Left Hip"]
RS=Torso["Right Shoulder"]
RH=Torso["Right Hip"]
Face = Head.face
Neck=Torso.Neck
it=Instance.new
attacktype=1
vt=Vector3.new
cf=CFrame.new
euler=CFrame.fromEulerAnglesXYZ
angles=CFrame.Angles
cloaked=false
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
RootPart=Character.HumanoidRootPart
RootJoint=RootPart.RootJoint
RootCF=euler(-1.57,0,3.14)
attack = false
attackdebounce = false
deb=false
equipped=true
hand=false
combo=1
dmgcombo=1
mana=0
trispeed=.2
attackmode='none'
local idle=0
local Anim="Idle"
local Effects={}
local Effects2 = it("Folder", Character)
Effects2.Name = "Effects"
local gun=false
local shoot=false
local sine = 0
local change = 1
local Alpha = .3
--save shoulders
RSH, LSH=nil, nil
--welds
RW, LW=Instance.new("Weld"), Instance.new("Weld")
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
LH=Torso["Left Hip"]
RH=Torso["Right Hip"]
TorsoColor=Torso.BrickColor
function NoOutline(Part)
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
end
ch=Character
RSH=ch.Torso["Right Shoulder"]
LSH=ch.Torso["Left Shoulder"]
--
RSH.Parent=nil
LSH.Parent=nil
--
RW.Name="Right Shoulder"
RW.Part0=ch.Torso
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
RW.C1=cf(0, 0.5, 0)
RW.Part1=ch["Right Arm"]
RW.Parent=ch.Torso
--
LW.Name="Left Shoulder"
LW.Part0=ch.Torso
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
LW.C1=cf(0, 0.5, 0)
LW.Part1=ch["Left Arm"]
LW.Parent=ch.Torso
local Stats=Instance.new("BoolValue")
Stats.Name="Stats"
Stats.Parent=Character
local Atk=Instance.new("NumberValue")
Atk.Name="Damage"
Atk.Parent=Stats
Atk.Value=1
local Def=Instance.new("NumberValue")
Def.Name="Defense"
Def.Parent=Stats
Def.Value=1
local Speed=Instance.new("NumberValue")
Speed.Name="Speed"
Speed.Parent=Stats
Speed.Value=1
local Mvmt=Instance.new("NumberValue")
Mvmt.Name="Movement"
Mvmt.Parent=Stats
Mvmt.Value=1
local donum=0
function part(formfactor,parent,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
fp.Name=name
fp.Size=size
fp.Position=Torso.Position
NoOutline(fp)
fp.Material="SmoothPlastic"
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
if meshid~="nil" then
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
end
end
mesh.Offset=offset
mesh.Scale=scale
return mesh
end
function weld(parent,part0,part1,c0)
local weld=it("Weld")
weld.Parent=parent
weld.Part0=part0
weld.Part1=part1
weld.C0=c0
return weld
end
local Color1=Torso.BrickColor
local bodvel=Instance.new("BodyVelocity")
local bg=Instance.new("BodyGyro")
function swait(num)
if num==0 or num==nil then
game:service'RunService'.Stepped:wait(0)
else
for i=0,num do
game:service'RunService'.Stepped:wait(0)
end
end
end
function Swait(num)
if num==0 or num==nil then
game:service'RunService'.Stepped:wait(0)
else
for i=0,num do
game:service'RunService'.Stepped:wait(0)
end
end
end
-------- RAINBOW LEAVE IT TO ME
local r = 255
local g = 0
local b = 0
coroutine.resume(coroutine.create(function()
while wait() do
for i = 0, 254/5 do
swait()
g = g + 5
end
for i = 0, 254/5 do
swait()
r = r - 5
end
for i = 0, 254/5 do
swait()
b = b + 5
end
for i = 0, 254/5 do
swait()
g = g - 5
end
for i = 0, 254/5 do
swait()
r = r + 5
end
for i = 0, 254/5 do
swait()
b = b - 5
end
end
end))
so = function(id,par,vol,pit)
coroutine.resume(coroutine.create(function()
local sou = Instance.new("Sound",par or workspace)
sou.Volume=vol
sou.Pitch=pit or 1
sou.SoundId=id
swait()
sou:play()
game:GetService("Debris"):AddItem(sou,6)
end))
end
function clerp(a,b,t)
local qa = {QuaternionFromCFrame(a)}
local qb = {QuaternionFromCFrame(b)}
local ax, ay, az = a.x, a.y, a.z
local bx, by, bz = b.x, b.y, b.z
local _t = 1-t
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
end
function QuaternionFromCFrame(cf)
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
local trace = m00 + m11 + m22
if trace > 0 then
local s = math.sqrt(1 + trace)
local recip = 0.5/s
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
else
local i = 0
if m11 > m00 then
i = 1
end
if m22 > (i == 0 and m00 or m11) then
i = 2
end
if i == 0 then
local s = math.sqrt(m00-m11-m22+1)
local recip = 0.5/s
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
elseif i == 1 then
local s = math.sqrt(m11-m22-m00+1)
local recip = 0.5/s
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
elseif i == 2 then
local s = math.sqrt(m22-m00-m11+1)
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
end
end
end
function QuaternionToCFrame(px, py, pz, x, y, z, w)
local xs, ys, zs = x + x, y + y, z + z
local wx, wy, wz = w*xs, w*ys, w*zs
local xx = x*xs
local xy = x*ys
local xz = x*zs
local yy = y*ys
local yz = y*zs
local zz = z*zs
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
end
function QuaternionSlerp(a, b, t)
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
local startInterp, finishInterp;
if cosTheta >= 0.0001 then
if (1 - cosTheta) > 0.0001 then
local theta = math.acos(cosTheta)
local invSinTheta = 1/math.sin(theta)
startInterp = math.sin((1-t)*theta)*invSinTheta
finishInterp = math.sin(t*theta)*invSinTheta
else
startInterp = 1-t
finishInterp = t
end
else
if (1+cosTheta) > 0.0001 then
local theta = math.acos(-cosTheta)
local invSinTheta = 1/math.sin(theta)
startInterp = math.sin((t-1)*theta)*invSinTheta
finishInterp = math.sin(t*theta)*invSinTheta
else
startInterp = t-1
finishInterp = t
end
end
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
end
local function CFrameFromTopBack(at, top, back)
local right = top:Cross(back)
return CFrame.new(at.x, at.y, at.z,
right.x, top.x, back.x,
right.y, top.y, back.y,
right.z, top.z, back.z)
end
function Triangle(a, b, c)
local edg1 = (c-a):Dot((b-a).unit)
local edg2 = (a-b):Dot((c-b).unit)
local edg3 = (b-c):Dot((a-c).unit)
if edg1 <= (b-a).magnitude and edg1 >= 0 then
a, b, c = a, b, c
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
a, b, c = b, c, a
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
a, b, c = c, a, b
else
assert(false, "unreachable")
end
local len1 = (c-a):Dot((b-a).unit)
local len2 = (b-a).magnitude - len1
local width = (a + (b-a).unit*len1 - c).magnitude
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
local list = {}
if len1 > 0.01 then
local w1 = Instance.new('WedgePart', m)
game:GetService("Debris"):AddItem(w1,5)
w1.Material = "SmoothPlastic"
w1.FormFactor = 'Custom'
w1.BrickColor = BrickColor.new("Really red")
w1.Transparency = 0
w1.Reflectance = 0
w1.Material = "SmoothPlastic"
w1.CanCollide = false
local l1 = Instance.new("PointLight",w1)
l1.Color = Color3.new(170,0,0)
NoOutline(w1)
local sz = Vector3.new(0.2, width, len1)
w1.Size = sz
local sp = Instance.new("SpecialMesh",w1)
sp.MeshType = "Wedge"
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
w1:BreakJoints()
w1.Anchored = true
w1.Parent = workspace
w1.Transparency = 0.7
table.insert(Effects,{w1,"Disappear",.01})
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
table.insert(list,w1)
end
if len2 > 0.01 then
local w2 = Instance.new('WedgePart', m)
game:GetService("Debris"):AddItem(w2,5)
w2.Material = "SmoothPlastic"
w2.FormFactor = 'Custom'
w2.BrickColor = BrickColor.new("Really red")
w2.Transparency = 0
w2.Reflectance = 0
w2.Material = "SmoothPlastic"
w2.CanCollide = false
local l2 = Instance.new("PointLight",w2)
l2.Color = Color3.new(170,0,0)
NoOutline(w2)
local sz = Vector3.new(0.2, width, len2)
w2.Size = sz
local sp = Instance.new("SpecialMesh",w2)
sp.MeshType = "Wedge"
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
w2:BreakJoints()
w2.Anchored = true
w2.Parent = workspace
w2.Transparency = 0.7
table.insert(Effects,{w2,"Disappear",.01})
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
table.insert(list,w2)
end
return unpack(list)
end
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
if hit.Parent == nil then
return
end
local h = hit.Parent:FindFirstChildOfClass("Humanoid")
for _, v in pairs(hit.Parent:children()) do
if v:IsA("Humanoid") then
h = v
end
end
if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
return
end
local c = Create("ObjectValue")({
Name = "creator",
Value = RealGame:service("Players")[owner.Name],
Parent = h
})
game:GetService("Debris"):AddItem(c, 0.5)
if HitSound ~= nil and HitPitch ~= nil then
CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
end
local Damage = math.random(minim, maxim)
local blocked = false
local block = hit.Parent:findFirstChild("Block")
if block ~= nil and block.className == "IntValue" and block.Value > 0 then
blocked = true
block.Value = block.Value - 1
print(block.Value)
end
if blocked == false then
HitHealth = h.Health
h.MaxHealth = 100
h.Health = h.Health - Damage
if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
print("gained kill")
end
-- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
else
h.Health = h.Health - Damage / 2
-- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
end
if Type == "Knockdown" then
local 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
local bodvol = Create("BodyVelocity")({
velocity = angle * knockback,
P = 5000,
maxForce = Vector3.new(8000, 8000, 8000),
Parent = hit
})
local rl = Create("BodyAngularVelocity")({
P = 3000,
maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
Parent = hit
})
game:GetService("Debris"):AddItem(bodvol, 0.5)
game:GetService("Debris"):AddItem(rl, 0.5)
elseif Type == "Normal" then
local vp = Create("BodyVelocity")({
P = 500,
maxForce = Vector3.new(math.huge, 0, math.huge),
velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
})
if knockback > 0 then
vp.Parent = hit.Parent.Head
end
game:GetService("Debris"):AddItem(vp, 0.5)
elseif Type == "Bloody" then
local vp = Create("BodyVelocity")({
P = 500,
maxForce = Vector3.new(math.huge, 0, math.huge),
velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
})
if knockback > 0 then
vp.Parent = hit.Parent.Head
end
local bloody = Instance.new("ParticleEmitter",hit)
bloody.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
bloody.LightEmission = .1
bloody.Size = NumberSequence.new(0.5, 0)
bloody.Texture = "http://www.roblox.com/asset/?ID=860143307"
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
bloody.Transparency = bbb
bloody.Size = aaa
bloody.ZOffset = -.9
bloody.Acceleration = Vector3.new(0, -5, 0)
bloody.LockedToPart = false
bloody.Lifetime = NumberRange.new(0.8)
bloody.Rate = 255
bloody.Rotation = NumberRange.new(-100, 100)
bloody.RotSpeed = NumberRange.new(-100, 100)
bloody.Speed = NumberRange.new(6)
bloody.VelocitySpread = 0
bloody.Enabled=true
game:GetService("Debris"):AddItem(bloody, 0.3)
--game:GetService("Debris"):AddItem(da, .3)
game:GetService("Debris"):AddItem(vp, 0.5)
elseif Type == "Up" then
local bodyVelocity = Create("BodyVelocity")({
velocity = Vector3.new(0, 20, 0),
P = 5000,
maxForce = Vector3.new(8000, 8000, 8000),
Parent = hit
})
game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
local bodyVelocity = Create("BodyVelocity")({
velocity = Vector3.new(0, 20, 0),
P = 5000,
maxForce = Vector3.new(8000, 8000, 8000),
Parent = hit
})
game:GetService("Debris"):AddItem(bodyVelocity, 1)
elseif Type == "Leech" then
local hum = hit.Parent.Humanoid
if hum ~= nil then
for i = 0, 2 do
Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
end
Humanoid.Health = Humanoid.Health + 10
end
elseif Type == "UpKnock" then
local hum = hit.Parent.Humanoid
hum.PlatformStand = true
if hum ~= nil then
hitr = true
end
coroutine.resume(coroutine.create(function(HHumanoid)
swait(5)
HHumanoid.PlatformStand = false
hitr = false
end), hum)
local bodyVelocity = Create("BodyVelocity")({
velocity = Vector3.new(0, 20, 0),
P = 5000,
maxForce = Vector3.new(8000, 8000, 8000),
Parent = hit
})
game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
local bodyVelocity = Create("BodyVelocity")({
velocity = Vector3.new(0, 20, 0),
P = 5000,
maxForce = Vector3.new(8000, 8000, 8000),
Parent = hit
})
game:GetService("Debris"):AddItem(bodyVelocity, 1)
elseif Type == "Snare" then
local bp = Create("BodyPosition")({
P = 2000,
D = 100,
maxForce = Vector3.new(math.huge, math.huge, math.huge),
position = hit.Parent.Torso.Position,
Parent = hit.Parent.Torso
})
game:GetService("Debris"):AddItem(bp, 1)
elseif Type == "Slashnare" then
Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
for i = 1, math.random(4, 5) do
Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
end
local bp = Create("BodyPosition")({
P = 2000,
D = 100,
maxForce = Vector3.new(math.huge, math.huge, math.huge),
position = hit.Parent.Torso.Position,
Parent = hit.Parent.Torso
})
game:GetService("Debris"):AddItem(bp, 1)
elseif Type == "Spike" then
CreateBigIceSword(hit.Parent.Torso.CFrame)
local bp = Create("BodyPosition")({
P = 2000,
D = 100,
maxForce = Vector3.new(math.huge, math.huge, math.huge),
position = hit.Parent.Torso.Position,
Parent = hit.Parent.Torso
})
game:GetService("Debris"):AddItem(bp, 1)
elseif Type == "Burn" then
local humss = hit.Parent:findFirstChildOfClass("Humanoid")
humss.PlatformStand = true
coroutine.resume(coroutine.create(function(HHumanoid)
swait(60)
HHumanoid.PlatformStand = false
end), humss)
local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
local bodvol = Create("BodyVelocity")({
velocity = angle * knockback,
P = 5000,
maxForce = Vector3.new(8000, 8000, 8000),
Parent = hit
})
local rl = Create("BodyAngularVelocity")({
P = 3000,
maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
Parent = hit
})
local bld = Instance.new("ParticleEmitter",hit)
bld.LightEmission = 1
bld.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
bld.Color = ColorSequence.new(bc("Deep orange").Color,bc("Really red").Color)
bld.Rate = 999
bld.Lifetime = NumberRange.new(1)
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
bld.Speed = NumberRange.new(0,0)
bld.VelocitySpread = 50000
bld.Rotation = NumberRange.new(-500,500)
bld.RotSpeed = NumberRange.new(-500,500)
bld.Speed = NumberRange.new(1,5)
bld.Acceleration = vt(0,10,0)
game:GetService("Debris"):AddItem(bodvol, 0.5)
game:GetService("Debris"):AddItem(rl, 0.5)
game:GetService("Debris"):AddItem(bld, 20)
coroutine.resume(coroutine.create(function()
if hit.Parent:findFirstChild("Torso")then
local hitoor=hit.Parent:findFirstChild("Torso")
for i=1, 150 do
swait(5)
humss.Health = humss.Health - .4
end
end
end))
elseif Type == "Freeze" then
local BodPos = Create("BodyPosition")({
P = 50000,
D = 1000,
maxForce = Vector3.new(math.huge, math.huge, math.huge),
position = hit.Parent.Torso.Position,
Parent = hit.Parent.Torso
})
local BodGy = Create("BodyGyro")({
maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
P = 20000,
Parent = hit.Parent.Torso,
cframe = hit.Parent.Torso.CFrame
})
hit.Parent.Torso.Anchored = true
coroutine.resume(coroutine.create(function(Part)
swait(1.5)
Part.Anchored = false
end), hit.Parent.Torso)
game:GetService("Debris"):AddItem(BodPos, 3)
game:GetService("Debris"):AddItem(BodGy, 3)
end
local debounce = Create("BoolValue")({
Name = "DebounceHit",
Parent = hit.Parent,
Value = true
})
game:GetService("Debris"):AddItem(debounce, Delay)
c = Instance.new("ObjectValue")
c.Name = "creator"
c.Value = RealGame:service("Players")[owner.Name]
c.Parent = h
game:GetService("Debris"):AddItem(c, 0.5)
end
end
function MagniDamage(Part, magni, mindam, maxdam, knock, Type,Sound)
for _, c in pairs(workspace:children()) do
local hum = c:findFirstChildOfClass("Humanoid")
if hum ~= nil then
local head = c:findFirstChild("Torso")
if head ~= nil then
local targ = head.Position - Part.Position
local mag = targ.magnitude
if magni >= mag and c.Name ~= Player.Name then
Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://"..Sound, 3)
end
end
local head = c:findFirstChild("UpperTorso")
if head ~= nil then
local targ = head.Position - Part.Position
local mag = targ.magnitude
if magni >= mag and c.Name ~= Player.Name then
Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://" ..Sound, 3)
end
end
end
end
end
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
for _, c in pairs(workspace:children()) do
local hum = c:findFirstChild("Humanoid")
if hum ~= nil then
local head = c:findFirstChild("Torso")
if head ~= nil then
local targ = head.Position - Part.Position
local mag = targ.magnitude
if magni >= mag and c.Name ~= Player.Name then
MagicBlock(BrickColor.new("Fire Yellow"),head.CFrame,5,5,5,1,1,1,0.05)
Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
end
end
end
end
end
function CreatePart3(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
local NEWPART = IT("Part")
NEWPART.formFactor = FORMFACTOR
NEWPART.Reflectance = REFLECTANCE
NEWPART.Transparency = TRANSPARENCY
NEWPART.CanCollide = false
NEWPART.Locked = true
NEWPART.Anchored = true
if ANCHOR == false then
NEWPART.Anchored = false
end
NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
NEWPART.Name = NAME
NEWPART.Size = SIZE
NEWPART.Position = Torso.Position
NEWPART.Material = MATERIAL
NEWPART:BreakJoints()
NEWPART.Parent = PARENT
return NEWPART
end
function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
end
function CastRay(Pos, Dir, Max, Ignore)
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
end
function CastProperRay(StartPos, EndPos, Distance, Ignore)
local DIRECTION = cf(StartPos,EndPos).lookVector
local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
end
function SpawnTrail(FROM,TO,BIG)
local TRAIL = CreatePart3(3, m, "Neon", 0, 0.5, "White", "Trail", VT(0,0,0))
MakeForm(TRAIL,"Cyl")
local DIST = (FROM - TO).Magnitude
if BIG == true then
TRAIL.Size = VT(5,DIST,5)
else
TRAIL.Size = VT(5,DIST,5)
end
TRAIL.CFrame = cf(FROM, TO) * cf(0, 0, -DIST/2) * angles(math.rad(90),math.rad(0),math.rad(0))
coroutine.resume(coroutine.create(function()
for i = 1, 5 do
swait()
TRAIL.Transparency = TRAIL.Transparency + 0.1
end
TRAIL:remove()
end))
end
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.CFrame=cframe
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
--http://www.roblox.com/asset/?id=4770560
game:GetService("Debris"):AddItem(prt,2)
CF=prt.CFrame
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
for i=0,1,0.2 do
wait()
Part.CFrame=CF*cf(0,0,-0.4)
end
for i=0,1,delay do
wait()
--Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
Mesh.Scale=Mesh.Scale
end
for i=0,1,0.1 do
wait()
Part.Transparency=i
end
Part.Parent=nil
end),prt,msh,CF)
end
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.Material = "Neon"
prt.CFrame=cframe
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh)
for i=0,1,delay do
swait()
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
Part.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
end
Part.Parent=nil
end),prt,msh)
end
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.Material = "Neon"
prt.CFrame=cframe
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh)
local rtype = rottype
for i=0,1,delay do
swait()
if rtype == 1 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
elseif rtype == 2 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
end
Part.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
end
Part.Parent=nil
end),prt,msh)
end
function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.CFrame=cframe
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh)
for i=0,1,delay do
wait()
Part.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
end
Part.Parent=nil
end),prt,msh)
end
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.Material = "Neon"
prt.CFrame=cframe
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh)
local rtype = rottype
for i=0,1,delay do
swait()
if rtype == 1 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
elseif rtype == 2 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
end
Part.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
end
Part.Parent=nil
end),prt,msh)
end
function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.Material = "Neon"
prt.CFrame=cframe
local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh)
local rtype = rottype
for i=0,1,delay do
swait()
if rtype == 1 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
elseif rtype == 2 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
end
dec.Transparency=i
dec2.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
end
Part.Parent=nil
end),prt,msh)
end
function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.Material = "Neon"
prt.CFrame=cframe
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh)
local rtype = rottype
for i=0,1,delay do
swait()
if rtype == 1 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
elseif rtype == 2 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
end
prt.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
end
Part.Parent=nil
end),prt,msh)
end
function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.Material = "Neon"
prt.CFrame=cframe
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh)
local rtype = rottype
for i=0,1,delay do
swait()
if rtype == 1 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
elseif rtype == 2 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
end
prt.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
end
Part.Parent=nil
end),prt,msh)
end
function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.Material = "Neon"
prt.CFrame=cframe
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh)
local rtype = rottype
for i=0,1,delay do
swait()
if rtype == 1 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
elseif rtype == 2 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
end
prt.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
end
Part.Parent=nil
end),prt,msh)
end
function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.Material = "Neon"
prt.CFrame=cframe
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh)
local rtype = rottype
for i=0,1,delay do
swait()
if rtype == 1 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
elseif rtype == 2 then
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
end
prt.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
end
Part.Parent=nil
end),prt,msh)
end
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=false
prt.CFrame=cframe
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
local wld=weld(prt,prt,Parent,cframe)
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
for i=0,1,delay do
wait()
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
Part.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
end
Part.Parent=nil
end),prt,msh,wld)
end
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=false
prt.CFrame=cframe
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
for i=0,1,delay do
wait()
Weld.C0=euler(i*20,0,0)
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
Part.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
end
Part.Parent=nil
end),prt,msh,wld)
end
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.CFrame=cframe
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,2)
coroutine.resume(coroutine.create(function(Part,Mesh)
for i=0,1,delay do
wait()
Part.CFrame=Part.CFrame
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt2.Anchored=true
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
game:GetService("Debris"):AddItem(prt2,2)
coroutine.resume(coroutine.create(function(Part,Mesh)
for i=0,1,0.1 do
wait()
Part.CFrame=Part.CFrame*cf(0,0.5,0)
end
Part.Parent=nil
end),prt2,msh2)
end
for i=0,1,delay*2 do
wait()
Part.CFrame=Part.CFrame
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
end
Part.Parent=nil
end),prt,msh)
end
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.CFrame=cframe
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,2)
coroutine.resume(coroutine.create(function(Part,Mesh)
for i=0,1,delay do
wait()
Part.CFrame=Part.CFrame
Part.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
end
Part.Parent=nil
end),prt,msh)
end
function BreakEffect(brickcolor,cframe,x1,y1,z1)
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,2)
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
CF=Part.CFrame
Numbb=0
randnumb=math.random()/10
rand1=math.random()/10
for i=0,1,rand1 do
wait()
CF=CF*cf(0,math.random()/2,0)
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
Part.CFrame=CF*euler(Numbb,0,0)
Part.Transparency=i
Numbb=Numbb+randnumb
end
Part.Parent=nil
end),prt,CF,Numbb,randnumb)
end
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.CFrame=cframe
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh)
for i=0,1,delay do
wait()
Part.CFrame=Part.CFrame*euler(0,0.7,0)
Part.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
end
Part.Parent=nil
end),prt,msh)
end
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.CFrame=cframe
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,2)
coroutine.resume(coroutine.create(function(Part,Mesh)
for i=0,1,delay do
wait()
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
Part.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
end
Part.Parent=nil
end),prt,msh)
end
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.CFrame=cframe*cf(x,y,z)
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,5)
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
local num=math.random()
local num2=math.random(-3,2)+math.random()
local numm=0
for i=0,1,delay*2 do
swait()
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
Part.Transparency=i
numm=numm+0.01
end
Part.Parent=nil
Mesh.Parent=nil
end),prt,msh,x,y,z)
end
function dmgstart(dmg,what)
hitcon = what.Touched:connect(function(hit)
local hum = hit.Parent:FindFirstChild("Humanoid")
if hum and not hum:IsDescendantOf(Character) then
hum:TakeDamage(dmg)
end
end)
end
function dmgstop()
hitcon:disconnect()
end
function Cloak()
Face.Parent=nil
cloaked=true
for _,v in pairs(Torso.Parent:children()) do
if v.className=="Part" and v.Name~="HumanoidRootPart" then
coroutine.resume(coroutine.create(function()
for i=0,1,0.2 do
wait()
v.Transparency=i
end
v.Transparency=1
end))
end
if v.className=="Hat" then
hatp=v.Handle
coroutine.resume(coroutine.create(function(derp)
for i=0,1,0.2 do
wait()
derp.Transparency=i
end
derp.Transparency=1
end),hatp)
end
end
for _,v in pairs(m:children()) do
if v.className=="Part" then
coroutine.resume(coroutine.create(function()
for i=0,1,0.2 do
wait()
v.Transparency=i
end
v.Transparency=1
end))
end
end
end
function UnCloak()
so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
Face.Parent=Head
cloaked=false
for _,v in pairs(Torso.Parent:children()) do
if v.className=="Part" and v.Name~="HumanoidRootPart" then
coroutine.resume(coroutine.create(function()
for i=0,1,0.1 do
wait()
v.Transparency=v.Transparency-0.1
end
v.Transparency=0
end))
end
if v.className=="Hat" then
hatp=v.Handle
coroutine.resume(coroutine.create(function(derp)
for i=0,1,0.1 do
wait()
derp.Transparency=derp.Transparency-0.1
end
derp.Transparency=0
end),hatp)
end
end
for _,v in pairs(m:children()) do
if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
coroutine.resume(coroutine.create(function()
for i=0,1,0.1 do
wait()
v.Transparency=v.Transparency-0.1
end
v.Transparency=0
end))
v.Transparency=0
end
end
end
local origcolor = BrickColor.new("White")
---- This section of explosions.
----
function ring(type,pos,scale,value)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = origcolor
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
rngm.Scale = scale
local scaler2 = 1
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value
end
rng.Transparency = rng.Transparency + 0.01
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
end
rng:Destroy()
end))
end
function wave(type,pos,scale,value)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = origcolor
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
rngm.Scale = scale
local scaler2 = 1
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value
end
rng.Transparency = rng.Transparency + 0.01
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
end
rng:Destroy()
end))
end
function wind(type,pos,scale,value,speed)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = origcolor
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
rngm.Scale = scale
local scaler2 = 1
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value
end
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
rng.Transparency = rng.Transparency + 0.01
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
end
rng:Destroy()
end))
end
function groundwind(type,pos,scale,value,speed)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = origcolor
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
rngm.Scale = scale
local scaler2 = 1
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value
end
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
rng.Transparency = rng.Transparency + 0.01
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
end
rng:Destroy()
end))
end
function CameraManager()
if TwoD and not CamInterrupt then
if Humanoid.Health > 0 then
Camera.CameraSubject = Humanoid
Camera.CameraType = "Scriptable"
Humanoid.AutoRotate = false
if Booleans.GyroUse then
Directer.MaxTorque = Vec3(0, huge, 0)
else
Directer.MaxTorque = Vec3(0, 0, 0)
end
if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
if Booleans.CamFollow then
CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
else
CPart.Position = RootPart.Position
end
else
local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
end
Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
else
Camera.CameraSubject = Humanoid
Camera.CameraType = "Custom"
Controller.Disabled = false
end
end
end
function ring(type,pos,scale,value)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = origcolor
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
rngm.Scale = scale
local scaler2 = 1
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value
end
rng.Transparency = rng.Transparency + 0.01
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
end
rng:Destroy()
end))
end
function wave(type,pos,scale,value)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = origcolor
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
rngm.Scale = scale
local scaler2 = 1
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value
end
rng.Transparency = rng.Transparency + 0.01
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
end
rng:Destroy()
end))
end
function sphere(bonuspeed,type,pos,scale,value,color)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
if ModeOfGlitch ~= 9 then
rng.BrickColor = color
elseif ModeOfGlitch == 9 then
rng.Color = Color3.new(kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000)
end
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "Sphere"
rngm.Scale = scale
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
if ModeOfGlitch == 9 then
coroutine.resume(coroutine.create(function()
while true do
swait()
if rng.Parent ~= nil then
rng.Color = Color3.new(kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000)
else
break
end
end
end))
end
local scaler2 = 1
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
end
if chaosmode == true then
rng.BrickColor = BrickColor.random()
end
rng.Transparency = rng.Transparency + 0.01*bonuspeed
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
end
rng:Destroy()
end))
end
function ParticleEffects(num, parent,brickcolor)
if num == 1 then
local ParticleEmitter0 = Instance.new("ParticleEmitter")
ParticleEmitter0.Name = "Charge"
ParticleEmitter0.Parent = parent
ParticleEmitter0.Speed = NumberRange.new(50, 50)
ParticleEmitter0.Rotation = NumberRange.new(37, 999)
ParticleEmitter0.SpreadAngle = Vector2.new(-360,360)
ParticleEmitter0.Color = ColorSequence.new((brickcolor).Color,Color3.new(1, 1, 1))
ParticleEmitter0.LightEmission = 1
ParticleEmitter0.Texture = "rbxassetid://1084976679"
ParticleEmitter0.Transparency = NumberSequence.new(1,0,0.5,1)
ParticleEmitter0.Size = NumberSequence.new(6.875,0)
ParticleEmitter0.Lifetime = NumberRange.new(1, 1)
ParticleEmitter0.Rate = 1000
return ParticleEmitter0
elseif num == 2 then
local ParticleEmitter0 = Instance.new("ParticleEmitter")
ParticleEmitter0.Name = "Rays"
ParticleEmitter0.Parent = parent
ParticleEmitter0.Speed = NumberRange.new(0, 0)
ParticleEmitter0.Color = ColorSequence.new((brickcolor).Color,Color3.new(0,0,0))
ParticleEmitter0.Texture = "rbxassetid://459811994"
ParticleEmitter0.Transparency = NumberSequence.new(0,1)
ParticleEmitter0.ZOffset = 1
ParticleEmitter0.Size = NumberSequence.new(0,10)
ParticleEmitter0.Lifetime = NumberRange.new(1, 1)
ParticleEmitter0.LockedToPart = true
ParticleEmitter0.Rate = 2
ParticleEmitter0.RotSpeed = NumberRange.new(-100, -100)
return ParticleEmitter0
elseif num == 3 then
local ParticleEmitter0 = Instance.new("ParticleEmitter")
ParticleEmitter0.Name = "PurpleFire"
ParticleEmitter0.Parent = parent
ParticleEmitter0.Speed = NumberRange.new(6, 10)
ParticleEmitter0.Color = ColorSequence.new(brickcolor.Color,brickcolor.Color)
ParticleEmitter0.LightEmission = 1
ParticleEmitter0.Rate = 1000
ParticleEmitter0.SpreadAngle = Vector2.new(50,50)
ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=348467696"
ParticleEmitter0.Transparency = NumberSequence.new(0.86874997615814,0.47499999403954,1)
ParticleEmitter0.Size = NumberSequence.new(2.0764999389648,0)
ParticleEmitter0.Lifetime = NumberRange.new(1, 1)
return ParticleEmitter0
elseif num == 4 then
local ParticleEmitter0 = Instance.new("ParticleEmitter")
ParticleEmitter0.Name = "Poison"
ParticleEmitter0.Parent = parent
ParticleEmitter0.Speed = NumberRange.new(0.5, 0.5)
ParticleEmitter0.Rotation = NumberRange.new(-360, 360)
ParticleEmitter0.Color = ColorSequence.new(brickcolor.Color,Color3.new(1, 1, 1))
ParticleEmitter0.LightEmission = 0.40000000596046
ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=243664672"
ParticleEmitter0.Transparency = NumberSequence.new(1,0.72500002384186,0.85000002384186,1)
ParticleEmitter0.ZOffset = 2
ParticleEmitter0.Size = NumberSequence.new(50,40.625,55.375,75.0625,76.3125)
ParticleEmitter0.Lifetime = NumberRange.new(0.5, 0.6)
ParticleEmitter0.Rate = 1000
ParticleEmitter0.RotSpeed = NumberRange.new(-200, 200)
ParticleEmitter0.SpreadAngle = Vector2.new(100, 100)
ParticleEmitter0.VelocitySpread = 100
return ParticleEmitter0
end
end
Sphere = function(parent,size,cf,bcol)
local v3 = Vector3.new
local ins = Instance.new
local sp = ins('Part') sp.Size = size
sp.Transparency = 1 sp.Anchored = true
sp.CanCollide = false sp.Name = 'Effect'
sp.Material = Enum.Material.Neon
sp.BrickColor = bcol sp.CFrame = cf
local mesls = ins("SpecialMesh",sp)
mesls.Scale = v3(0.8, 0.8, 0.8)
mesls.MeshType = Enum.MeshType.Sphere
sp.Parent = parent
return sp end
function CreatePartCL(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
local NEWPART = IT("Part")
NEWPART.formFactor = FORMFACTOR
NEWPART.Reflectance = REFLECTANCE
NEWPART.Transparency = TRANSPARENCY
NEWPART.CanCollide = false
NEWPART.Locked = true
NEWPART.Anchored = true
if ANCHOR == false then
NEWPART.Anchored = false
end
NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
NEWPART.Name = NAME
NEWPART.Size = SIZE
NEWPART.Position = Torso.Position
NEWPART.Material = MATERIAL
NEWPART:BreakJoints()
NEWPART.Parent = PARENT
return NEWPART
end
function ClockEffect(CFRAME, SIZE, TIME)
coroutine.resume(coroutine.create(function()
local PART = CreatePartCL(3, Effects2, "Neon", 0, 1, "Mid gray", "Clock", VT(0, 0, 0), true)
PART.CFrame = CFRAME
local GUI = it("BillboardGui", PART)
GUI.Size = UD2(0, 0, 0, 0)
local GUI2 = it("ImageLabel", GUI)
GUI2.BackgroundTransparency = 1
GUI2.BorderSizePixel = 0
GUI2.Size = UDim2.new(1, 0, 1, 0)
GUI2.SizeConstraint = "RelativeYY"
GUI.AlwaysOnTop = true
GUI2.Image = "http://www.roblox.com/asset/?id=187884215"
for i = 1, TIME do
Swait()
GUI.Size = GUI.Size + UD2(SIZE / TIME, 0, SIZE / TIME, 0)
GUI2.ImageTransparency = GUI2.ImageTransparency + 1 / TIME
end
PART:Remove()
end))
end
function sphere1(par,anch,name,mat,si,cf,tr,ccol,bcol)
local v3 = Vector3.new
local ins = Instance.new
local sp = ins('Part')
sp.Size = si
sp.Transparency = tr
sp.Anchored = anch
sp.CanCollide = ccol
sp.Name = name
sp.Material = mat
sp.BrickColor = bcol
sp.CFrame = cf
local mesls = ins("SpecialMesh",sp)
mesls.Scale = v3(0.8, 0.8, 0.8)
mesls.MeshType = Enum.MeshType.Sphere
sp.Parent = par
return sp
end
function sphere4(bonuspeed,type,pos,scale,value,value2,value3,color)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
if ModeOfGlitch ~= 9 then
rng.BrickColor = color
elseif ModeOfGlitch == 9 then
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
end
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "Sphere"
rngm.Scale = scale
local scaler2 = 1
local scaler2b = 1
local scaler2c = 1
if type == "Add" then
scaler2 = 1*value
scaler2b = 1*value2
scaler2c = 1*value3
elseif type == "Divide" then
scaler2 = 1/value
scaler2b = 1/value2
scaler2c = 1/value3
end
if ModeOfGlitch == 9 then
coroutine.resume(coroutine.create(function()
while true do
swait()
if rng.Parent ~= nil then
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
else
break
end
end
end))
end
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
scaler2b = scaler2b - 0.01*value/bonuspeed
scaler2c = scaler2c - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
scaler2b = scaler2b - 0.01/value*bonuspeed
scaler2c = scaler2c - 0.01/value*bonuspeed
end
rng.Transparency = rng.Transparency + 0.01*bonuspeed
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
end
rng:Destroy()
end))
end
function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,color)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = color
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
if typeoftrans == "In" then
rng.Transparency = 1
end
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "FileMesh"
rngm.MeshId = "rbxassetid://20329976"
rngm.Scale = scale
local scaler2 = 1
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
local randomrot = math.random(1,2)
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
end
if randomrot == 1 then
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0)
elseif randomrot == 2 then
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0)
end
if typeoftrans == "Out" then
rng.Transparency = rng.Transparency + 0.01*bonuspeed
elseif typeoftrans == "In" then
rng.Transparency = rng.Transparency - 0.01*bonuspeed
end
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, 0, scaler2*bonuspeed)
end
rng:Destroy()
end))
end
function spherec(bonuspeed,type,pos,scale,value,value2,value3,color)
local type = type
local rng = Instance.new("Part", effectz)
rng.Anchored = true
rng.Color = color
rng.CanCollide = false
rng.CastShadow = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "Sphere"
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
rngm.Scale = scale
local scaler2 = 1
local scaler2b = 1
local scaler2c = 1
if type == "Add" then
scaler2 = 1*value
scaler2b = 1*value2
scaler2c = 1*value3
elseif type == "Divide" then
scaler2 = 1/value
scaler2b = 1/value2
scaler2c = 1/value3
end
spawn(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if chaosmode == true then
rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
end
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
scaler2b = scaler2b - 0.01*value/bonuspeed
scaler2c = scaler2c - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
scaler2b = scaler2b - 0.01/value*bonuspeed
scaler2c = scaler2c - 0.01/value*bonuspeed
end
rng.Transparency = rng.Transparency + 0.01*bonuspeed
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
end
rng:Destroy()
end)
end
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color,material)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
if ModeOfGlitch ~= 9 then
rng.BrickColor = color
elseif ModeOfGlitch == 9 then
rng.Color = Color3.new(kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000)
end
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = material
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "Sphere"
rngm.Scale = scale
local scaler2 = 1
local scaler2b = 1
local scaler2c = 1
if type == "Add" then
scaler2 = 1*value
scaler2b = 1*value2
scaler2c = 1*value3
elseif type == "Divide" then
scaler2 = 1/value
scaler2b = 1/value2
scaler2c = 1/value3
end
if ModeOfGlitch == 9 then
coroutine.resume(coroutine.create(function()
while true do
swait()
if rng.Parent ~= nil then
rng.Color = Color3.new(kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000)
else
break
end
end
end))
end
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
scaler2b = scaler2b - 0.01*value/bonuspeed
scaler2c = scaler2c - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
scaler2b = scaler2b - 0.01/value*bonuspeed
scaler2c = scaler2c - 0.01/value*bonuspeed
end
rng.Transparency = rng.Transparency + 0.01*bonuspeed
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
end
rng:Destroy()
end))
end
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
local type = type
local rotenable = rotatingop
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = color
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
if typeoftrans == "In" then
rng.Transparency = 1
end
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "FileMesh"
if typeofshape == "Normal" then
rngm.MeshId = "rbxassetid://662586858"
elseif typeofshape == "Round" then
rngm.MeshId = "rbxassetid://662585058"
end
rngm.Scale = scale
local scaler2 = 1/10
if type == "Add" then
scaler2 = 1*value/10
elseif type == "Divide" then
scaler2 = 1/value/10
end
local randomrot = math.random(1,2)
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed/10
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed/10
end
if rotenable == true then
if randomrot == 1 then
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
elseif randomrot == 2 then
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
end
end
if typeoftrans == "Out" then
rng.Transparency = rng.Transparency + 0.01*bonuspeed
elseif typeoftrans == "In" then
rng.Transparency = rng.Transparency - 0.01*bonuspeed
end
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
end
rng:Destroy()
end))
end
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = color
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "Brick"
rngm.Scale = vt(x1,y1,z1)
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
local scaler2 = 1
local speeder = FastSpeed/10
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
end
if chaosmode == true then
rng.BrickColor = BrickColor.random()
end
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
end
rng:Destroy()
end))
end
function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.Color = color
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "Brick"
rngm.Scale = vt(x1,y1,z1)
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
local scaler2 = 1
local speeder = FastSpeed/10
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
end
if chaosmode == true then
rng.Color = BrickColor.random().Color
end
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
rng.Transparency = rng.Transparency + 0.01*bonuspeed
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
end
rng:Destroy()
end))
end
function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = color
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "Brick"
rngm.Scale = vt(x1,y1,z1)
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
local scaler2 = 0
local speeder = FastSpeed/10
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
end
if chaosmode == true then
rng.BrickColor = BrickColor.random()
end
speeder = speeder + 0.01*FastSpeed*bonuspeed/10
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
end
rng:Destroy()
end))
end
function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = color
rng.Color = color3
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Glass"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "Brick"
rngm.Scale = scale
local scaler2 = 1
local scaler2b = 1
local scaler2c = 1
if type == "Add" then
scaler2 = 1*value
scaler2b = 1*value2
scaler2c = 1*value3
elseif type == "Divide" then
scaler2 = 1/value
scaler2b = 1/value2
scaler2c = 1/value3
end
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
scaler2b = scaler2b - 0.01*value/bonuspeed
scaler2c = scaler2c - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
scaler2b = scaler2b - 0.01/value*bonuspeed
scaler2c = scaler2c - 0.01/value*bonuspeed
end
rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
rng.Transparency = rng.Transparency + 0.01*bonuspeed
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
end
rng:Destroy()
end))
end
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
if ModeOfGlitch ~= 9 then
rng.BrickColor = color
elseif ModeOfGlitch == 9 then
rng.Color = Color3.new(kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000)
end
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "Sphere"
rngm.Scale = vt(x1,y1,z1)
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
if ModeOfGlitch == 9 then
coroutine.resume(coroutine.create(function()
while true do
swait()
if rng.Parent ~= nil then
rng.Color = Color3.new(kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000)
else
break
end
end
end))
end
local scaler2 = 1
local speeder = FastSpeed
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
end
if chaosmode == true then
rng.BrickColor = BrickColor.random()
end
speeder = speeder - 0.01*FastSpeed*bonuspeed
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
rng.Transparency = rng.Transparency + 0.01*bonuspeed
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
end
rng:Destroy()
end))
end
function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
if ModeOfGlitch ~= 9 then
rng.BrickColor = color
elseif ModeOfGlitch == 9 then
rng.Color = Color3.new(kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000)
end
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 1
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = "Sphere"
rngm.Scale = vt(x1,y1,z1)
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
if ModeOfGlitch == 9 then
coroutine.resume(coroutine.create(function()
while true do
swait()
if rng.Parent ~= nil then
rng.Color = Color3.new(kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000)
else
break
end
end
end))
end
local scaler2 = 1
local speeder = FastSpeed
if type == "Add" then
scaler2 = 1*value
elseif type == "Divide" then
scaler2 = 1/value
end
coroutine.resume(coroutine.create(function()
for i = 0,10/bonuspeed,0.1 do
swait()
if rainbowmode == true then
rng.Color = Color3.new(r/255,g/255,b/255)
end
if type == "Add" then
scaler2 = scaler2 - 0.01*value/bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01/value*bonuspeed
end
if chaosmode == true then
rng.BrickColor = BrickColor.random()
end
speeder = speeder - 0.01*FastSpeed*bonuspeed
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
rng.Transparency = rng.Transparency - 0.01*bonuspeed
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
end
rng:Destroy()
end))
end
function dmg(dude)
if dude.Name ~= Character then
local bgf = Instance.new("BodyGyro",dude.Head)
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
local val = Instance.new("BoolValue",dude)
val.Name = "IsHit"
local ds = coroutine.wrap(function()
local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
for i = 1, 10 do
end
dude:WaitForChild("Head"):BreakJoints()
wait(0.5)
targetted = nil
--CFuncs["Sound"].Create("rbxassetid://3509706105", char, 1, 1)
coroutine.resume(coroutine.create(function()
for i, v in pairs(dude:GetChildren()) do
if v:IsA("Accessory") then
v:Destroy()
end
if v:IsA("Humanoid") then
v:Destroy()
end
if v:IsA("CharacterMesh") then
v:Destroy()
end
if v:IsA("Model") then
v:Destroy()
end
if v:IsA("Part") or v:IsA("MeshPart") then
for x, o in pairs(v:GetChildren()) do
if o:IsA("Decal") then
o:Destroy()
end
end
coroutine.resume(coroutine.create(function()
--v.CanCollide = false
coroutine.resume(coroutine.create(function()
for i = 0, 49 do
swait(1)
v.Transparency = v.Transparency + 0.02
end
wait(0.5)
wait(3)
v:Destroy()
dude:Destroy()
end))
end))
end
end
end))
end)
ds()
end
end
function dmg2(dude)
if dude.Name ~= Character then
local keptcolor = BrickColor.new("Really red")
local bgf = Instance.new("BodyGyro",dude.Head)
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
--[[local val = Instance.new("BoolValue",dude)
val.Name = "IsHit"]]--
local ds = coroutine.wrap(function()
dude:WaitForChild("Head"):BreakJoints()
for i, v in pairs(dude:GetChildren()) do
if v:IsA("Part") or v:IsA("MeshPart") then
v.Name = "DEMINISHED"
end
end
wait(0.5)
targetted = nil
--["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
coroutine.resume(coroutine.create(function()
for i, v in pairs(dude:GetChildren()) do
if v:IsA("Accessory") then
v:Destroy()
end
if v:IsA("Humanoid") then
v:Destroy()
end
if v:IsA("CharacterMesh") then
v:Destroy()
end
if v:IsA("Model") then
v:Destroy()
end
if v:IsA("Part") or v:IsA("MeshPart") then
for x, o in pairs(v:GetChildren()) do
if o:IsA("Decal") then
o:Destroy()
end
end
coroutine.resume(coroutine.create(function()
v.Material = "Neon"
v.CanCollide = false
v.Anchored = false
local sbs = Instance.new("BodyPosition", v)
sbs.P = 3000
sbs.D = 1000
sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
v.Color = keptcolor.Color
coroutine.resume(coroutine.create(function()
for i = 0, 49 do
swait(1)
v:BreakJoints()
v.Transparency = v.Transparency + 0.02
end
v:BreakJoints()
--sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
wait(0.5)
wait(8)
v:Destroy()
dude:Destroy()
end))
end))
end
end
end))
end)
ds()
end
end
function FindNearestTorso(Position, Distance, SinglePlayer)
if SinglePlayer then
return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
end
local List = {}
for i, v in pairs(workspace:GetChildren()) do
if v:IsA("Model") then
if v:findFirstChild("Torso") or v:findFirstChild("UpperTorso") then
if v ~= Character then
if (v.Head.Position - Position).magnitude <= Distance then
table.insert(List, v)
end
end
end
end
end
return List
end
function FindNearestHead(Position, Distance, SinglePlayer)
if SinglePlayer then
return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
end
local List = {}
for i, v in pairs(workspace:GetChildren()) do
if v:IsA("Model") then
if v:findFirstChild("Head") then
if v ~= Character then
if (v.Head.Position - Position).magnitude <= Distance then
table.insert(List, v)
end
end
end
end
end
return List
end
function FaceMouse()
Cam = workspace.CurrentCamera
return {
CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
}
end
function FaceMouse2()
Cam = workspace.CurrentCamera
return {
CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
}
end
-- Functions are ready.
local function GetNearbyTorsos(FromPart,range,ignore) -- Detects both r15 and r6
local Torsos = {}
for x=1,#workspace:GetChildren() do
local xj = workspace:GetChildren()
local cc = range
local fromPoint = FromPart
if xj[x]:IsA('Model') and (xj[x].Name ~= (ignore.Name)) then
if xj[x]:FindFirstChild('Torso') then
local perfectTorso = nil
if (fromPoint.Position - xj[x]:FindFirstChild('Torso').Position).magnitude < cc then
local perfectTorso = xj[x]:FindFirstChild('Torso')
table.insert(Torsos, perfectTorso)
end
elseif xj[x]:FindFirstChild('UpperTorso') then
local perfectTorso = nil
if (fromPoint.Position - xj[x]:FindFirstChild('UpperTorso').Position).magnitude < cc then
local perfectTorso = xj[x]:FindFirstChild('UpperTorso')
table.insert(Torsos, perfectTorso)
end
end
end
end
return Torsos
end
local Particle = IT("ParticleEmitter",nil)
Particle.Enabled = false
Particle.LightEmission = 0.8
Particle.Rate = 150
Particle.ZOffset = 1
Particle.Rotation = NumberRange.new(-180, 180)
--ParticleEmitter({Speed = 5, RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false, Color1 = C3(1,1,1), Color2 = C3(1,1,1), Texture = ""})
function ParticleEmitter(Table)
local PRTCL = Particle:Clone()
local Color1 = Table.Color1 or C3(1,1,1)
local Color2 = Table.Color2 or C3(1,1,1)
local Speed = Table.Speed or 5
local Drag = Table.Drag or 0
local Size1 = Table.Size1 or 1
local Size2 = Table.Size2 or 5
local Lifetime1 = Table.Lifetime1 or 1
local Lifetime2 = Table.Lifetime2 or 1.5
local Parent = Table.Parent or Torso
local Emit = Table.Emit or 100
local Offset = Table.Offset or 360
local Acel = Table.Acel or VT(0,0,0)
local Enabled = Table.Enabled or false
local Texture = Table.Texture or "281983280"
local RotS = Table.RotSpeed or NumberRange.new(-15, 15)
local Trans1 = Table.Transparency1 or 0
local Trans2 = Table.Transparency2 or 0
PRTCL.Parent = Parent
PRTCL.RotSpeed = RotS
PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture
PRTCL.Color = ColorSequence.new(Color1,Color2)
PRTCL.Size = NumberSequence.new(Size1,Size2)
PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
PRTCL.Speed = NumberRange.new(Speed)
PRTCL.VelocitySpread = Offset
PRTCL.Drag = Drag
PRTCL.Acceleration = Acel
if Enabled == false then
PRTCL:Emit(Emit)
Debris:AddItem(PRTCL,Lifetime2)
else
PRTCL.Enabled = true
end
return PRTCL
end
function newSpellEff(pos)
local effect = Instance.new("Part")
local decal = Instance.new("Decal")
effect.Size = Vector3.new(5, 0.05, 5)
effect.Name = "Effect"
effect.Transparency = 1
effect.TopSurface = Enum.SurfaceType.Smooth
effect.BottomSurface = Enum.SurfaceType.Smooth
effect.Parent = C
effect.CFrame = pos
effect.CanCollide = false
effect.Anchored = true
decal.Texture = "rbxassetid://884834173"
decal.Face = Enum.NormalId.Top
decal.Parent = effect
return effect
end
local hh = (char['Right Leg'].Size.Y+char.HumanoidRootPart.Size.Y/2)
local smokepart = Instance.new('Part',root)
smokepart.Size = Vector3.new(0.5,0,1.5)
smokepart.CanCollide = false
smokepart.Transparency = 1
local skpartweld = Instance.new('Weld',smokepart)
skpartweld.Part0 = smokepart
skpartweld.Part1 = root
skpartweld.C0 = CFrame.new(0,hh,0)
local smokt = Instance.new("ParticleEmitter")
smokt.Acceleration = Vector3.new(0, 2.5, 0)
smokt.Speed = NumberRange.new(1)
smokt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 1.5)})
smokt.SpreadAngle = Vector2.new(100, 100)
smokt.Lifetime = NumberRange.new(1)
smokt.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.55), NumberSequenceKeypoint.new(0.429, 0.319), NumberSequenceKeypoint.new(0.749, 0.856), NumberSequenceKeypoint.new(1, 1)})
smokt.Drag = 1
smokt.Color = ColorSequence.new(Color3.new(0.737255, 0.737255, 0.737255), Color3.new(1, 1, 1))
smokt.RotSpeed = NumberRange.new(10)
smokt.Texture = "http://www.roblox.com/asset/?id=2263365802"
smokt.Parent = smokepart
smokt.Enabled = false
local storehumanoidWS = 16
function createBGCircle(size,parent,color)
local bgui = Instance.new("BillboardGui",parent)
bgui.Size = UDim2.new(size, 0, size, 0)
local imgc = Instance.new("ImageLabel",bgui)
imgc.BackgroundTransparency = 1
imgc.ImageTransparency = 0
imgc.Size = UDim2.new(1,0,1,0)
imgc.Image = "rbxassetid://997291547" --997291547,521073910
imgc.ImageColor3 = color
return bgui,imgc
end
function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
local bgui,imgc = createBGCircle(size,guipar,color)
bgui.AlwaysOnTop = true
imgc.Image = "rbxassetid://" ..img
local rrot = math.random(1,2)
CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
coroutine.resume(coroutine.create(function()
for i = 0, 24*delay do
swait()
if rotationenabled == true then
if rrot == 1 then
imgc.Rotation = imgc.Rotation + rotsp
elseif rrot == 2 then
imgc.Rotation = imgc.Rotation - rotsp
end
end
bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
end
bgui:Destroy()
end))
end
local ColorEx1 = BrickColor.new("Bright yellow")
local ColorEx2 = BrickColor.new("Deep orange")
function CreatePartF(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
local NEWPART = IT("Part")
NEWPART.formFactor = FORMFACTOR
NEWPART.Reflectance = REFLECTANCE
NEWPART.Transparency = TRANSPARENCY
NEWPART.CanCollide = false
NEWPART.Locked = true
NEWPART.Anchored = true
if ANCHOR == false then
NEWPART.Anchored = false
end
NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
NEWPART.Name = NAME
NEWPART.Size = SIZE
NEWPART.Position = Torso.Position
NEWPART.Material = MATERIAL
NEWPART:BreakJoints()
NEWPART.Parent = PARENT
return NEWPART
end
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
local NEWWELD = IT(TYPE)
NEWWELD.Part0 = PART0
NEWWELD.Part1 = PART1
NEWWELD.C0 = C0
NEWWELD.C1 = C1
NEWWELD.Parent = PARENT
return NEWWELD
end
local EyeSizes={
NumberSequenceKeypoint.new(0,0.65,0),
NumberSequenceKeypoint.new(0.5,0.7,0),
NumberSequenceKeypoint.new(1,0,0)
}
local EyeTrans={
NumberSequenceKeypoint.new(0,0,0),
NumberSequenceKeypoint.new(0.5,0,0),
NumberSequenceKeypoint.new(1,1,0)
}
local FISTS = {}
local PE=Instance.new("ParticleEmitter")
PE.LightEmission=.9
PE.Color = ColorSequence.new(BRICKC("Deep orange").Color,BRICKC("Really red").Color)
PE.Size=NumberSequence.new(EyeSizes)
PE.Transparency=NumberSequence.new(EyeTrans)
PE.Lifetime=NumberRange.new(0.35)
PE.Rotation=NumberRange.new(0,360)
PE.Rate=999
PE.VelocitySpread = 10000
PE.Acceleration = Vector3.new(0,25,0)
PE.ZOffset = 0.5
PE.Drag = 0
PE.Speed = NumberRange.new(0,0,0)
PE.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
PE.Name = "PE"
PE.Enabled = false
PE.LockedToPart = true
local PE2=Instance.new("ParticleEmitter")
PE2.LightEmission=.9
PE2.Color = ColorSequence.new(BRICKC("Deep orange").Color,BRICKC("Really red").Color)
PE2.Size=NumberSequence.new(EyeSizes)
PE2.Transparency=NumberSequence.new(EyeTrans)
PE2.Lifetime=NumberRange.new(0.35)
PE2.Rotation=NumberRange.new(0,360)
PE2.Rate=999
PE2.VelocitySpread = 10000
PE2.Acceleration = Vector3.new(0,25,0)
PE2.ZOffset = 0.5
PE2.Drag = 0
PE2.Speed = NumberRange.new(0,0,0)
PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
PE2.Name = "PE2"
PE2.Enabled = false
PE2.LockedToPart = true
local FIST = CreatePartF(3, m3, "Neon", 0, 1, "Really black", "Fire", VT(1,0,1),false)
FIST.CanCollide = true
FIST.Locked = true
PE.Parent = FIST
CreateWeldOrSnapOrMotor("Weld", FIST, rarm, FIST, CF(0, -1, 0), CF(0, 0.0, 0))
table.insert(FISTS,FIST)
local FIST2 = CreatePartF(3, m3, "Neon", 0, 1, "Really black", "Fire", VT(1,0,1),false)
FIST2.CanCollide = true
FIST2.Locked = true
PE2.Parent = FIST2
CreateWeldOrSnapOrMotor("Weld", FIST2, larm, FIST2, CF(0, -1, 0), CF(0, 0.0, 0))
table.insert(FISTS,FIST2)
CFuncs["Sound"].Create("rbxassetid://1908928936", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Neon,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.new('White'))
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(20,20,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
local ex = Instance.new("ParticleEmitter",rarm)
ex.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
ex.LightEmission = 1
ex.Color = ColorSequence.new(BrickColor.new("Deep orange").Color)
ex.Rate = 250
ex.Enabled = false
ex.Lifetime = NumberRange.new(0.5)
ex.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,2,0)})
ex.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
ex.Speed = NumberRange.new(0)
ex.Rotation = NumberRange.new(-500,500)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--[[ Right BasePart ]]--
local RWingBasePart = Instance.new("Part")
RWingBasePart.Anchored = false
RWingBasePart.CanCollide = false
RWingBasePart.Locked = true
RWingBasePart.Massless = true
RWingBasePart.CastShadow = false
RWingBasePart.Locked = true
RWingBasePart.Size = Vector3.new(0.05, 0.05, 0.05)
RWingBasePart.Transparency = 1
RWingBasePart.Parent = Character
--[[ Right Wing ]]--
local RWing1 = Instance.new("WedgePart")
RWing1.Anchored = false
RWing1.CanCollide = false
RWing1.Locked = true
RWing1.Massless = true
RWing1.CastShadow = false
RWing1.Locked = true
RWing1.Size = Vector3.new(0.25, 1, 2)
RWing1.Transparency = 0.25
RWing1.Material = Enum.Material.Neon
RWing1.Color = Color3.fromRGB(255, 255, 255)
RWing1.Parent = Character
local RBase = Instance.new("Part")
RBase.Anchored = false
RBase.CanCollide = false
RBase.Locked = true
RBase.Massless = true
RBase.CastShadow = false
RBase.Locked = true
RBase.Size = Vector3.new(4, 0.25, 1)
RBase.Transparency = 0.25
RBase.Material = Enum.Material.Neon
RBase.Color = Color3.fromRGB(255, 255, 255)
RBase.Parent = Character
local RWingBar = Instance.new("Part")
RWingBar.Anchored = false
RWingBar.CanCollide = false
RWingBar.Locked = true
RWingBar.Massless = true
RWingBar.CastShadow = false
RWingBar.Locked = true
RWingBar.Size = Vector3.new(5, 0.125, 0.125)
RWingBar.Transparency = 0.25
RWingBar.Material = Enum.Material.Neon
RWingBar.Color = Color3.fromRGB(255, 255, 255)
RWingBar.Parent = Character
local RWingBar2 = Instance.new("Part")
RWingBar2.Anchored = false
RWingBar2.CanCollide = false
RWingBar2.Locked = true
RWingBar2.Massless = true
RWingBar2.CastShadow = false
RWingBar2.Locked = true
RWingBar2.Size = Vector3.new(5, 0.125, 0.125)
RWingBar2.Transparency = 0.25
RWingBar2.Material = Enum.Material.Neon
RWingBar2.Color = Color3.fromRGB(255, 255, 255)
RWingBar2.Parent = Character
local RWing2 = Instance.new("WedgePart")
RWing2.Anchored = false
RWing2.CanCollide = false
RWing2.Locked = true
RWing2.Massless = true
RWing2.CastShadow = false
RWing2.Locked = true
RWing2.Size = Vector3.new(0.25, 1, 2)
RWing2.Transparency = 0.25
RWing2.Material = Enum.Material.Neon
RWing2.Color = Color3.fromRGB(255, 255, 255)
RWing2.Parent = Character
--[[ RWing Welds ]]--
local RBaseWeld = Instance.new("Weld")
RBaseWeld.Part1 = RWingBasePart
RBaseWeld.Part0 = Torso
RBaseWeld.Parent = Torso
RBaseWeld.C0 = CFrame.new(0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(-30), math.rad(15))
local RWingWeld = Instance.new("Weld")
RWingWeld.Part1 = RWing1
RWingWeld.Part0 = RWingBasePart
RWingWeld.Parent = RWingBasePart
RWingWeld.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
local RBaseWeld1 = Instance.new("Weld")
RBaseWeld1.Part1 = RBase
RBaseWeld1.Part0 = RWing1
RBaseWeld1.Parent = RWing1
RBaseWeld1.C0 = CFrame.new(0, 0, 3) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
local RWingBarWeld = Instance.new("Weld")
RWingBarWeld.Part1 = RBase
RWingBarWeld.Part0 = RWingBar
RWingBarWeld.Parent = RWingBar
RWingBarWeld.C0 = CFrame.new(-0.5, 0, -0.75)
local RWingBarWeld2 = Instance.new("Weld")
RWingBarWeld2.Part1 = RBase
RWingBarWeld2.Part0 = RWingBar2
RWingBarWeld2.Parent = RWingBar2
RWingBarWeld2.C0 = CFrame.new(0.5, 0, 0.75)
local RBaseWeld1 = Instance.new("Weld")
RBaseWeld1.Part1 = RWing2
RBaseWeld1.Part0 = RBase
RBaseWeld1.Parent = RBase
RBaseWeld1.C0 = CFrame.new(-3, 0, 0) * CFrame.Angles(math.rad(90), math.rad(90), 0)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--[[ Left BasePart ]]--
local LWingBasePart = Instance.new("Part")
LWingBasePart.Anchored = false
LWingBasePart.CanCollide = false
LWingBasePart.Locked = true
LWingBasePart.Massless = true
LWingBasePart.CastShadow = false
LWingBasePart.Locked = true
LWingBasePart.Size = Vector3.new(0.05, 0.05, 0.05)
LWingBasePart.Transparency = 1
LWingBasePart.Parent = Character
--[[ Left Wing ]]--
local LWing1 = Instance.new("WedgePart")
LWing1.Anchored = false
LWing1.CanCollide = false
LWing1.Locked = true
LWing1.Massless = true
LWing1.CastShadow = false
LWing1.Locked = true
LWing1.Size = Vector3.new(0.25, 1, 2)
LWing1.Transparency = 0.25
LWing1.Material = Enum.Material.Neon
LWing1.Color = Color3.fromRGB(255, 255, 255)
LWing1.Parent = Character
local LBase = Instance.new("Part")
LBase.Anchored = false
LBase.CanCollide = false
LBase.Locked = true
LBase.Massless = true
LBase.CastShadow = false
LBase.Locked = true
LBase.Size = Vector3.new(4, 0.25, 1)
LBase.Transparency = 0.25
LBase.Material = Enum.Material.Neon
LBase.Color = Color3.fromRGB(255, 255, 255)
LBase.Parent = Character
local LWingBar = Instance.new("Part")
LWingBar.Anchored = false
LWingBar.CanCollide = false
LWingBar.Locked = true
LWingBar.Massless = true
LWingBar.CastShadow = false
LWingBar.Locked = true
LWingBar.Size = Vector3.new(5, 0.125, 0.125)
LWingBar.Transparency = 0.25
LWingBar.Material = Enum.Material.Neon
LWingBar.Color = Color3.fromRGB(255, 255, 255)
LWingBar.Parent = Character
local LWingBar2 = Instance.new("Part")
LWingBar2.Anchored = false
LWingBar2.CanCollide = false
LWingBar2.Locked = true
LWingBar2.Massless = true
LWingBar2.CastShadow = false
LWingBar2.Locked = true
LWingBar2.Size = Vector3.new(5, 0.125, 0.125)
LWingBar2.Transparency = 0.25
LWingBar2.Material = Enum.Material.Neon
LWingBar2.Color = Color3.fromRGB(255, 255, 255)
LWingBar2.Parent = Character
local LWing2 = Instance.new("WedgePart")
LWing2.Anchored = false
LWing2.CanCollide = false
LWing2.Locked = true
LWing2.Massless = true
LWing2.CastShadow = false
LWing2.Locked = true
LWing2.Size = Vector3.new(0.25, 1, 2)
LWing2.Transparency = 0.25
LWing2.Material = Enum.Material.Neon
LWing2.Color = Color3.fromRGB(255, 255, 255)
LWing2.Parent = Character
--[[ LWing Welds ]]--
local LBaseWeld = Instance.new("Weld")
LBaseWeld.Part1 = LWingBasePart
LBaseWeld.Part0 = Torso
LBaseWeld.Parent = Torso
LBaseWeld.C0 = CFrame.new(-0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(210), math.rad(15))
local LWingWeld = Instance.new("Weld")
LWingWeld.Part1 = LWing1
LWingWeld.Part0 = LWingBasePart
LWingWeld.Parent = LWingBasePart
LWingWeld.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
local LBaseWeld1 = Instance.new("Weld")
LBaseWeld1.Part1 = LBase
LBaseWeld1.Part0 = LWing1
LBaseWeld1.Parent = LWing1
LBaseWeld1.C0 = CFrame.new(0, 0, 3) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
local LWingBarWeld = Instance.new("Weld")
LWingBarWeld.Part1 = LBase
LWingBarWeld.Part0 = LWingBar
LWingBarWeld.Parent = LWingBar
LWingBarWeld.C0 = CFrame.new(-0.5, 0, -0.75)
local LWingBarWeld2 = Instance.new("Weld")
LWingBarWeld2.Part1 = LBase
LWingBarWeld2.Part0 = LWingBar2
LWingBarWeld2.Parent = LWingBar2
LWingBarWeld2.C0 = CFrame.new(0.5, 0, 0.75)
local LBaseWeld2 = Instance.new("Weld")
LBaseWeld2.Part1 = LWing2
LBaseWeld2.Part0 = LBase
LBaseWeld2.Parent = LBase
LBaseWeld2.C0 = CFrame.new(-3, 0, 0) * CFrame.Angles(math.rad(90), math.rad(90), 0)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
New = function(Object, Parent, Name, Data)
local Object = Instance.new(Object)
for Index, Value in pairs(Data or {}) do
Object[Index] = Value
end
Object.Parent = Parent
Object.Name = Name
return Object
end
function Weld(part0,part1,c0,c1)
local weld = Instance.new("Weld")
weld.Parent = part0
weld.Part0 = part0
weld.Part1 = part1
weld.C0 = c0 or cf()
weld.C1 = c1 or cf()
return weld
end
TheBook = New("Model",char,"TheBook",{})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Burnt Sienna"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.06999993, 1.5199995, 0.200000003),CFrame = CFrame.new(4.51047277, 22.4736938, 35.1865349, 0.322625875, 0, 0.946526766, -0.946526825, -1.41043692e-08, 0.322626054, -1.49011612e-08, -0.99999845, 0),Anchored = true,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.200000003),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Light stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.03999972, 1.47999942, 0.200000003),CFrame = CFrame.new(4.5335288, 22.4657898, 35.1865349, -0.322625935, 0, 0.946526766, 0.946527064, -2.82086585e-08, 0.322626054, -7.4505806e-08, 0.999998629, 0),Anchored = true,Color = Color3.new(0.898039, 0.894118, 0.87451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.100000001),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Light stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.04999983, 1.45999956, 0.200000003),CFrame = CFrame.new(4.6148119, 22.4770813, 35.1865349, -0.322625935, 0, 0.946526766, 0.946527064, -2.82086585e-08, 0.322626054, -7.4505806e-08, 0.999998629, 0),Anchored = true,Color = Color3.new(0.898039, 0.894118, 0.87451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.100000001),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Light stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.04999995, 1.47999942, 0.200000003),CFrame = CFrame.new(4.59563208, 22.4705029, 35.1865501, -0.322625935, 0, 0.946526766, 0.946527064, -2.82086585e-08, 0.322626054, -7.4505806e-08, 0.999998629, 0),Anchored = true,Color = Color3.new(0.898039, 0.894118, 0.87451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.100000001),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Light stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07000041, 1.47999942, 0.200000003),CFrame = CFrame.new(4.55798912, 22.4580841, 35.1865654, -0.322625935, 0, 0.946526766, 0.946527064, -2.82086585e-08, 0.322626054, -7.4505806e-08, 0.999998629, 0),Anchored = true,Color = Color3.new(0.898039, 0.894118, 0.87451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.100000001),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Light stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.06000042, 1.47999942, 0.200000003),CFrame = CFrame.new(4.57521582, 22.4687347, 35.1865349, -0.322625935, 0, 0.946526766, 0.946527064, -2.82086585e-08, 0.322626054, -7.4505806e-08, 0.999998629, 0),Anchored = true,Color = Color3.new(0.898039, 0.894118, 0.87451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.100000001),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Burnt Sienna"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.51999915, 0.200000003),CFrame = CFrame.new(4.71234608, 21.9497223, 35.1885643, -0.787189841, 1.78813934e-07, 0.616710663, 0.616710603, -1.76880462e-07, 0.787189901, 1.78813934e-07, 0.999998868, 8.94069672e-08),Anchored = true,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.300000012),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Burnt Sienna"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.06999993, 1.5199995, 0.200000003),CFrame = CFrame.new(5.29810095, 21.9239807, 35.1865654, -0.999994636, -5.96046448e-08, -0.00326857949, -0.00326865795, -6.89386992e-09, 0.999994874, -8.94069672e-08, 0.99999845, 4.48198989e-08),Anchored = true,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.200000003),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Light stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999944, 1.47999942, 0.200000003),CFrame = CFrame.new(5.25795507, 21.9846344, 35.1865654, 0.999994993, 5.96046448e-08, -0.00326857949, 0.00326861232, 6.89386992e-09, 0.999994874, 5.96046448e-08, -0.99999845, 4.48198989e-08),Anchored = true,Color = Color3.new(0.898039, 0.894118, 0.87451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.100000001),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Burnt Sienna"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.51999915, 0.200000003),CFrame = CFrame.new(4.75046301, 22.0049286, 35.188549, -0.787190199, 1.49011612e-07, 0.616710901, 0.61671108, -1.76880434e-07, 0.787190437, 1.49011612e-07, 0.999998569, 0),Anchored = true,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400000006),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Burnt Sienna"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.51999915, 0.200000003),CFrame = CFrame.new(4.67744923, 22.0024738, 35.1885643, -0.50227505, 1.49011612e-07, 0.864707887, 0.864708185, -1.76880434e-07, 0.502275169, 1.1920929e-07, 0.999998569, 0),Anchored = true,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.449999988, 1, 0.300000012),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Light stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999969, 1.47999942, 0.200000003),CFrame = CFrame.new(5.26332521, 21.9639149, 35.1865501, 0.999994993, 5.96046448e-08, -0.00326857949, 0.00326861232, 6.89386992e-09, 0.999994874, 5.96046448e-08, -0.99999845, 4.48198989e-08),Anchored = true,Color = Color3.new(0.898039, 0.894118, 0.87451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.100000001),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Light stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.0399996, 1.47999942, 0.200000003),CFrame = CFrame.new(5.27341223, 22.0043488, 35.1865654, 0.999994993, 5.96046448e-08, -0.00326857949, 0.00326861232, 6.89386992e-09, 0.999994874, 5.96046448e-08, -0.99999845, 4.48198989e-08),Anchored = true,Color = Color3.new(0.898039, 0.894118, 0.87451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.100000001),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Burnt Sienna"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.51999915, 0.200000003),CFrame = CFrame.new(4.77975988, 21.9223042, 35.1885376, -0.966602921, 1.49011612e-07, 0.256278545, 0.256278455, -1.76880434e-07, 0.9666031, 8.94069672e-08, 0.999998569, 8.94069672e-08),Anchored = true,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.300000012),})
Part = New("Part",TheBook,"Part",{BrickColor = BrickColor.new("Light stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.0399996, 1.47999942, 0.200000003),CFrame = CFrame.new(5.2835741, 21.9442768, 35.1865349, 0.999994993, 5.96046448e-08, -0.00326857949, 0.00326861232, 6.89386992e-09, 0.999994874, 5.96046448e-08, -0.99999845, 4.48198989e-08),Anchored = true,Color = Color3.new(0.898039, 0.894118, 0.87451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.100000001),})
Handle = New("Part",TheBook,"Handle",{BrickColor = BrickColor.new("Burnt Sienna"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.349999994, 0.200000003),CFrame = CFrame.new(4.75, 22.0049992, 35.7739944, -0.787190199, 1.49011612e-07, 0.616710901, 0.61671108, -1.76880434e-07, 0.787190437, 1.49011612e-07, 0.999998569, 0),Anchored = true,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
Mesh = New("CylinderMesh",Handle,"Mesh",{Scale = Vector3.new(1, 1, 0.400000006),})
for _,v in pairs(TheBook:GetDescendants()) do
if v:IsA("Part") then
v.Anchored = false
v.Locked = true
v.CanCollide = false
Weld(Handle,v,Handle.CFrame:inverse()*v.CFrame)
v.Transparency = 1
end
end
local NewInstance = function(instance,parent,properties)
local inst = Instance.new(instance,parent)
if(properties)then
for i,v in next, properties do
pcall(function() inst[i] = v end)
end
end
return inst;
end
--local HW = NewInstance('Weld',char,{Part0 = tors, Part1 = Handle, C0 = CF(1, -0.8, -0.2) * angles(Rad(180), Rad(60), Rad(-40))})
local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CF(0, -1.3, -.9) * angles(Rad(-110), Rad(-30), Rad(0))})
Staff = New("Model",char,"Staff",{})
Part = New("Part",Staff,"Part",{BrickColor = BrickColor.new("Burnt Sienna"),Material = Enum.Material.Wood,Size = Vector3.new(0.199999958, 5.0999999, 0.199999988),CFrame = CFrame.new(-56.3779602, 2.49376607, -48.2087746, 0.95105654, 0.0483408682, -0.305212438, 0.0323011242, 0.966726124, 0.253766119, 0.307324111, -0.25120461, 0.91784972),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
Part = New("Part",Staff,"Part",{BrickColor = BrickColor.new("Sunrise"),Material = Enum.Material.Neon,Shape = Enum.PartType.Ball,Size = Vector3.new(0.900000095, 0.900000095, 0.900000095),CFrame = CFrame.new(-56.2195435, 4.95839119, -48.8445969, 0.95105654, 0.0483408682, -0.305212438, 0.0323011242, 0.966726124, 0.253766119, 0.307324111, -0.25120461, 0.91784972),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.831373, 0.564706, 0.741176),})
Part = New("Part",Staff,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,Shape = Enum.PartType.Ball,Size = Vector3.new(1.10000014, 1.10000014, 1.10000014),CFrame = CFrame.new(-56.2195435, 4.95842123, -48.8446045, 0.95105654, 0.0483408682, -0.305212438, 0.0323011242, 0.966726124, 0.253766119, 0.307324111, -0.25120461, 0.91784972),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.4, 0.8),})
Part = New("Part",Staff,"Part",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Glass,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.269999981, 0.599999964, 0.440000087),CFrame = CFrame.new(-56.2846565, 4.41781282, -48.6956902, 0.0483408272, -0.95105654, -0.305212408, 0.966726124, -0.0323011689, 0.25376609, -0.25120464, -0.307324111, 0.91784966),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.905882, 0.905882, 0.92549),})
Part = New("Part",Staff,"Part",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Glass,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.06999993, 0.599999964, 0.440000087),CFrame = CFrame.new(-56.3556595, 2.62468743, -48.2265205, 0.0483408272, -0.95105654, -0.305212408, 0.966726124, -0.0323011689, 0.25376609, -0.25120464, -0.307324111, 0.91784966),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.905882, 0.905882, 0.92549),})
HandleST = New("Part",Staff,"HandleST",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Glass,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.649999917, 0.599999964, 0.440000087),CFrame = CFrame.new(-56.3564911, 2.6153326, -48.2244873, 0.0483408272, -0.95105654, -0.305212408, 0.966726124, -0.0323011689, 0.25376609, -0.25120464, -0.307324111, 0.91784966),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.905882, 0.905882, 0.92549),})
for _,v in pairs(Staff:GetDescendants()) do
if v:IsA("Part") then
v.Anchored = false
v.Locked = true
v.CanCollide = false
Weld(HandleST,v,HandleST.CFrame:inverse()*v.CFrame)
v.Transparency = 1
end
end
local SW = NewInstance('Weld',char,{Part0 = larm, Part1 = HandleST, C0 = CF(0, -1, 0) * angles(Rad(90), Rad(0), Rad(-90))})
axee = New("Model",char,"axee",{})
Part = New("Part",axee,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0994508043, 0.266528189, 0.119341016),CFrame = CFrame.new(-114.020195, 0.836377919, 168.324097, -1.18501902e-07, -9.80023396e-10, 1, -0.802105367, 0.597182214, -9.44656762e-08, -0.597182214, -0.802105367, -7.15537141e-08),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
Part = New("Part",axee,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0994508043, 0.258572131, 0.12133003),CFrame = CFrame.new(-114.017509, 0.971719444, 168.492081, -1.78813934e-07, -4.41288336e-21, 1, -0.642787755, 0.766044259, -1.14939411e-07, -0.766044259, -0.642787755, -1.36979395e-07),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
Part = New("Part",axee,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.39738366, 0.39738363, 0.39738363),CFrame = CFrame.new(-114.020287, 1.97195232, 169.645737, 0, 1, 1.31134172e-07, 0.766044259, 8.42914432e-08, -0.642787755, -0.642787755, 1.00454578e-07, -0.766044259),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.714285731, 0.285714298, 1.28571427),})
Part = New("Part",axee,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0994508043, 0.266528189, 0.125308067),CFrame = CFrame.new(-114.017509, 0.905818224, 168.414841, -1.67988034e-07, -6.53219786e-07, 1, -0.52147162, 0.853268683, 4.69771237e-07, -0.853268683, -0.52147162, -4.83974702e-07),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
Part = New("Part",axee,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.877157927, 0.139231399, 0.543002546),CFrame = CFrame.new(-113.997498, 2.18338776, 170.117874, 0, 1, 0, -0.766044259, 0, 0.642787755, 0.642787755, 0, 0.766044259),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
Part = New("Part",axee,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.39738366, 0.39738363, 2.3843019),CFrame = CFrame.new(-114.020287, 1.01971102, 168.555069, 0, 1, 1.31134172e-07, 0.766044259, 8.42914432e-08, -0.642787755, -0.642787755, 1.00454578e-07, -0.766044259),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.571428597, 0.285714298, 1),})
Part = New("Part",axee,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.39738366, 0.39738363, 0.39738363),CFrame = CFrame.new(-114.020287, 0.237370193, 167.632736, 3.4689267e-09, 1, 1.30418954e-07, 0.690230966, 9.19753518e-08, -0.723589003, -0.723589003, 9.25292767e-08, -0.690230966),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.571428597, 0.285714298, 0.428571433),})
Part = New("Part",axee,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.39738366, 0.39738363, 0.39738363),CFrame = CFrame.new(-114.020287, 0.117345005, 167.536057, 1.4382428e-07, 1, 1.10232818e-07, 0.611327052, -6.87776947e-10, -0.791377902, -0.791377902, 1.81207611e-07, -0.611327052),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.571428597, 0.285714298, 0.428571433),})
Wedge = New("Part",axee,"Wedge",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.39738366, 0.39738363, 0.39738363),CFrame = CFrame.new(-114.020287, 1.82173586, 169.2901, -1, 1.31134186e-07, 0, -8.42914432e-08, -0.642787755, -0.766044259, -1.00454578e-07, -0.766044259, 0.642787755),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.285714298, 0.571428597, 0.142857149),MeshType = Enum.MeshType.Wedge,})
HandleSS = New("Part",axee,"HandleSS",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0994508043, 0.258572131, 0.12133003),CFrame = CFrame.new(-114.017998, 0.972000003, 168.492004, -1.78813934e-07, -4.41288336e-21, 1, -0.642787755, 0.766044259, -1.14939411e-07, -0.766044259, -0.642787755, -1.36979395e-07),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
Part = New("Part",axee,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.51700002, 0.0500000007, 0.453000009),CFrame = CFrame.new(-113.953369, 1.7773912, 170.450058, 1.10681121e-07, 1, -5.61942812e-08, 0.642787635, -2.80971406e-08, 0.766044438, 0.766044438, -1.20907643e-07, -0.642787635),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.20000005, 0.600000024),MeshType = Enum.MeshType.Wedge,})
Part = New("Part",axee,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.517158151, 0.0500000007, 0.453002632),CFrame = CFrame.new(-114.036613, 1.77232778, 170.467361, 1.10681121e-07, -1, 5.61942812e-08, -0.642787635, -2.80971406e-08, 0.766044438, -0.766044438, -1.20907643e-07, -0.642787635),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.20000005, 0.600000024),MeshType = Enum.MeshType.Wedge,})
for _,v in pairs(axee:GetDescendants()) do
if v:IsA("Part") then
v.Anchored = false
v.Locked = true
v.CanCollide = false
Weld(HandleSS,v,HandleSS.CFrame:inverse()*v.CFrame)
v.Transparency = 1
end
end
local AXW = NewInstance('Weld',char,{Part0 = larm, Part1 = HandleSS, C0 = CF(0, -1, 0) * angles(Rad(-180), Rad(-90), Rad(180))})
--angles(Rad(0), Rad(90), Rad(90))})
NormalTime = New("Model",char,"NormalTime",{})
Part = New("Part",NormalTime,"Part",{BrickColor = BrickColor.new("Dark orange"),Material = Enum.Material.Wood,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.101522133, 1.21826553, 1.21826553),CFrame = CFrame.new(-191.985657, 1.5017674, 119.911804, 0, 0.500003159, -0.866031647, -1, 0, 0, 0, 0.866031647, 0.500003159),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.627451, 0.372549, 0.207843),})
Part = New("Part",NormalTime,"Part",{BrickColor = BrickColor.new("Dark orange"),Material = Enum.Material.Wood,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.101522133, 1.21826553, 1.21826553),CFrame = CFrame.new(-191.9552, 0.100762308, 119.929382, 0, 0.500002861, -0.86603111, -1, 0, 0, 0, 0.86603111, 0.500002861),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.627451, 0.372549, 0.207843),})
Weld = New("Weld",Part,"Weld",{Part1 = Part,C0 = CFrame.new(-256, 10, 256, -1, 0, 0, 0, 0, 1, 0, 1, -0),C1 = CFrame.new(0.075000003, 96.8166199, 336.922272, 0, 0, -1, -0.499999762, 0.866025567, 0, 0.866025567, 0.499999762, 0),})
Part = New("Part",NormalTime,"Part",{BrickColor = BrickColor.new("Dark orange"),Material = Enum.Material.Wood,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.37152207, 0.0500000007, 0.359999985),CFrame = CFrame.new(-191.491211, 0.836000025, 119.75032, 0, 0.500002861, -0.86603111, -1, 0, 0, 0, 0.86603111, 0.500002861),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.627451, 0.372549, 0.207843),})
Weld = New("Weld",Part,"Weld",{Part1 = Part,C0 = CFrame.new(-256, 10, 256, -1, 0, 0, 0, 0, 1, 0, 1, -0),C1 = CFrame.new(0.075000003, 96.8166199, 336.922272, 0, 0, -1, -0.499999762, 0.866025567, 0, 0.866025567, 0.499999762, 0),})
Part = New("Part",NormalTime,"Part",{BrickColor = BrickColor.new("Dark orange"),Material = Enum.Material.Wood,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.37152207, 0.0500000007, 0.359999985),CFrame = CFrame.new(-192.400955, 0.836000025, 120.229996, 0, 0.500002861, -0.86603111, -1, 0, 0, 0, 0.86603111, 0.500002861),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.627451, 0.372549, 0.207843),})
Weld = New("Weld",Part,"Weld",{Part1 = Part,C0 = CFrame.new(-256, 10, 256, -1, 0, 0, 0, 0, 1, 0, 1, -0),C1 = CFrame.new(0.075000003, 96.8166199, 336.922272, 0, 0, -1, -0.499999762, 0.866025567, 0, 0.866025567, 0.499999762, 0),})
TimePieceHandle = New("Part",NormalTime,"TimePieceHandle",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Glass,Transparency = 0.5,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-191.965012, 0.732372165, 119.914001, 0, 0.500001311, -0.866027236, 1, 0, 0, 0, -0.866027236, -0.500001311),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
Part = New("Part",NormalTime,"Part",{BrickColor = BrickColor.new("Dark orange"),Material = Enum.Material.Wood,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.37152207, 0.0500000007, 0.359999985),CFrame = CFrame.new(-192.030945, 0.836000025, 119.430008, 0, 0.500002861, -0.86603111, -1, 0, 0, 0, 0.86603111, 0.500002861),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.627451, 0.372549, 0.207843),})
Weld = New("Weld",Part,"Weld",{Part1 = Part,C0 = CFrame.new(-256, 10, 256, -1, 0, 0, 0, 0, 1, 0, 1, -0),C1 = CFrame.new(0.075000003, 96.8166199, 336.922272, 0, 0, -1, -0.499999762, 0.866025567, 0, 0.866025567, 0.499999762, 0),})
Part = New("Part",NormalTime,"Part",{BrickColor = BrickColor.new("Dark orange"),Material = Enum.Material.Wood,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.37152207, 0.0500000007, 0.359999985),CFrame = CFrame.new(-191.771027, 0.836000025, 120.380005, 0, 0.500002861, -0.86603111, -1, 0, 0, 0, 0.86603111, 0.500002861),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.627451, 0.372549, 0.207843),})
Weld = New("Weld",Part,"Weld",{Part1 = Part,C0 = CFrame.new(-256, 10, 256, -1, 0, 0, 0, 0, 1, 0, 1, -0),C1 = CFrame.new(0.075000003, 96.8166199, 336.922272, 0, 0, -1, -0.499999762, 0.866025567, 0, 0.866025567, 0.499999762, 0),})
PR2 = New("Part",NormalTime,"PR2",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Glass,Transparency = 0.5,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.645255506, 0.645255506, 0.645255506),CFrame = CFrame.new(-191.985352, 1.05087912, 119.912018, 0, 0.500000775, -0.866027474, -1, 0, 0, 0, 0.866027474, 0.500000775),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
PR1 = New("Part",NormalTime,"PR1",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Glass,Transparency = 0.5,Transparency = 0.5,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.324870884, 0.812177122, 0.812177122),CFrame = CFrame.new(-191.987503, 0.317677021, 119.914909, 0, 0.500001431, -0.866027415, 1, 0, 0, 0, -0.866027415, -0.500001431),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
PR4 = New("Part",NormalTime,"PR4",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Glass,Transparency = 0.5,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.812177002, 0.812177002, 0.812177002),CFrame = CFrame.new(-191.98912, 1.11212194, 119.909584, 0, 0.500000894, -0.866027594, -1, 0, 0, 0, 0.866027594, 0.500000894),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
PR6 = New("Part",NormalTime,"PR6",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Glass,Transparency = 0.5,Transparency = 0.5,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.324870884, 0.812177122, 0.812177122),CFrame = CFrame.new(-191.98912, 1.2542541, 119.909584, 0, 0.500000894, -0.866027594, -1, 0, 0, 0, 0.866027594, 0.500000894),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
PR8 = New("Part",NormalTime,"PR8",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Glass,Transparency = 0.5,Transparency = 0.5,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.258102238, 0.645255566, 0.645255566),CFrame = CFrame.new(-191.985352, 0.407476276, 119.913666, 0, 0.500001311, -0.866027236, 1, 0, 0, 0, -0.866027236, -0.500001311),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
PR3 = New("Part",NormalTime,"PR3",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Glass,Transparency = 0.5,Transparency = 0.5,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.258102238, 0.645255566, 0.645255566),CFrame = CFrame.new(-191.985352, 1.16379976, 119.912018, 0, 0.500000775, -0.866027474, -1, 0, 0, 0, 0.866027474, 0.500000775),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
PR5 = New("Part",NormalTime,"PR5",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Glass,Transparency = 0.5,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.812177002, 0.812177002, 0.812177002),CFrame = CFrame.new(-191.987503, 0.459809124, 119.914909, 0, 0.500001431, -0.866027415, 1, 0, 0, 0, -0.866027415, -0.500001431),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
PR7 = New("Part",NormalTime,"PR7",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Glass,Transparency = 0.5,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.645255506, 0.645255506, 0.645255506),CFrame = CFrame.new(-191.985352, 0.520396888, 119.913666, 0, 0.500001311, -0.866027236, 1, 0, 0, 0, -0.866027236, -0.500001311),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
function Weld2(part0,part1,c0,c1)
local weld = Instance.new("Weld")
weld.Parent = part0
weld.Part0 = part0
weld.Part1 = part1
weld.C0 = c0 or cf()
weld.C1 = c1 or cf()
return weld
end
for _,v in pairs(NormalTime:GetDescendants()) do
if v:IsA("Part") then
v.Anchored = false
v.Locked = true
v.CanCollide = false
Weld2(TimePieceHandle,v,TimePieceHandle.CFrame:inverse()*v.CFrame)
v.Transparency = 1
end
end
local AE = NewInstance('Weld',char,{Part0 = Torso, Part1 = TimePieceHandle, C0 = CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(0))})
New = function(Object, Parent, Name, Data)
local Object = Instance.new(Object)
for Index, Value in pairs(Data or {}) do
Object[Index] = Value
end
Object.Parent = Parent
Object.Name = Name
return Object
end
Orbmodel = New("Model",char,"Orbmodel",{})
ForceField1 = New("Part",Orbmodel,"Force Field1",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.ForceField,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.804597497, 0.402298748, 0.804597497),CFrame = CFrame.new(-3.51300001, 0.540000319, -8.5369997, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
Mesh = New("SpecialMesh",ForceField1,"Mesh",{Scale = Vector3.new(0.0804597512, 0.0804597512, 0.0804597512),VertexColor = Vector3.new(250, 0, 0),MeshId = "http://www.roblox.com/asset/?id=90782182",TextureId = "rbxassetid://116762088",MeshType = Enum.MeshType.FileMesh,})
ForceField2 = New("Part",Orbmodel,"Force Field2",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.ForceField,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.804597497, 0.402298748, 0.804597497),CFrame = CFrame.new(-3.51300001, 0.5, -8.5369997, -0.999789, 0.0205429997, 0, -0.0205429997, -0.999789, 0, 0, 0, 1),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
Mesh = New("SpecialMesh",ForceField2,"Mesh",{Scale = Vector3.new(0.0804597512, 0.0804597512, 0.0804597512),VertexColor = Vector3.new(250, 0, 0),MeshId = "http://www.roblox.com/asset/?id=90782182",TextureId = "rbxassetid://116762088",MeshType = Enum.MeshType.FileMesh,})
Orb = New("Part",Orbmodel,"Orb",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.Glass,Shape = Enum.PartType.Ball,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-3.51300597, 0.500005007, -8.53700161, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
Attachment = New("Attachment",Orb,"Attachment",{CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
Attachment = New("Attachment",Orb,"Attachment",{CFrame = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
ParticleEmitter6 = Instance.new("ParticleEmitter") ParticleEmitter7 = Instance.new("ParticleEmitter") ParticleEmitter6.Name = "HEX" ParticleEmitter6.Parent = Orb ParticleEmitter6.Speed = NumberRange.new(0, 0) ParticleEmitter6.Rotation = NumberRange.new(-360, 360)
ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.458824, 0, 0),Color3.new(0.458824, 0, 0)) ParticleEmitter6.LightEmission = 1 ParticleEmitter6.Texture = "rbxassetid://2650503264" ParticleEmitter6.Transparency = NumberSequence.new(1,0,1) ParticleEmitter6.Size = NumberSequence.new(2.0416665077209,4.625) ParticleEmitter6.Lifetime = NumberRange.new(5, 5) ParticleEmitter6.LockedToPart = true ParticleEmitter6.Rate = 1
ParticleEmitter6.RotSpeed = NumberRange.new(-10, 10) ParticleEmitter7.Name = "HEX" ParticleEmitter7.Parent = Orb ParticleEmitter7.Speed = NumberRange.new(0, 0) ParticleEmitter7.Rotation = NumberRange.new(-360, 360) ParticleEmitter7.Color = ColorSequence.new(Color3.new(0.458824, 0, 0),Color3.new(0.458824, 0, 0)) ParticleEmitter7.LightEmission = 1 ParticleEmitter7.Texture = "rbxassetid://2650503264" ParticleEmitter7.Transparency = NumberSequence.new(1,0,1) ParticleEmitter7.Size = NumberSequence.new(2.0416665077209,4.625)
ParticleEmitter7.Lifetime = NumberRange.new(5, 5) ParticleEmitter7.LockedToPart = true ParticleEmitter7.Rate = 1 ParticleEmitter7.RotSpeed = NumberRange.new(-10, 10)
local trl2 = Instance.new("Trail",Orb) local a0 = Instance.new("Attachment",Orb) a0.Position = Vector3.new(0,-.1,0) local a1 = Instance.new("Attachment",Orb) a1.Position = Vector3.new(-1,.1,0) trl2.Attachment0 = a0 trl2.Attachment1 = a1 trl2.Color = ColorSequence.new(Color3.new(0.458824, 0, 0),Color3.new(0.458824, 0, 0)) trl2.Lifetime = 0.5 trl2.LightEmission = 1 trl2.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
trl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
for _,v in pairs(Orbmodel:GetDescendants()) do
if v:IsA("Part") then
v.Anchored = false
v.CanCollide = false
Weld2(Orb,v,Orb.CFrame:inverse()*v.CFrame)
v.Locked = true
v.Transparency = 1
end
end
local sordweld = NewInstance('Weld',char,{Part0 = root, Part1 = Orb, C0 = CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(0))})
Knifemodel = Instance.new("Part", char)
Knifemodel.TopSurface = "Smooth"
Knifemodel.BottomSurface = "Smooth"
Knifemodel.Material = "Neon"
Knifemodel.Locked = true
Knifemodel.Transparency = 1
Knifemodel.Size = Vector3.new(0.2, 0.5, 0.5)
Knifemodel.CanCollide = false
local Weldb = Instance.new("Weld", char)
Weldb.Part0 = larm
Weldb.Part1 = Knifemodel
Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0)
local KnifeMesh = Instance.new("SpecialMesh", Knifemodel)
KnifeMesh.MeshType = "FileMesh"
KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=121944778"
KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805"
New = function(Object, Parent, Name, Data)
local Object = Instance.new(Object)
for Index, Value in pairs(Data or {}) do
Object[Index] = Value
end
Object.Parent = Parent
Object.Name = Name
return Object
end
EpicIce = New("Model",char,"EpicIce",{})
Glovehandle = New("Part",EpicIce,"Glovehandle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.04999995, 0.899999976, 1.0999999),CFrame = CFrame.new(-3.9380002, 5.01599979, -75.9359894, -1, 0, 0, 0, 1, 0, 0, 0, -1),Anchored = true,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
Spikepart = New("Part",EpicIce,"Spikepart",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.Glass,Transparency = 0.5,Transparency = 0.5,Size = Vector3.new(0.790000081, 0.899999976, 1.0999999),CFrame = CFrame.new(-3.91800213, 4.31569719, -75.9360046, 0.999890625, -0.00152912363, 0.0147124156, -0.0147539945, -0.0321610197, 0.999373853, -0.00105499965, -0.999481618, -0.0321800597),Anchored = true,Color = Color3.new(0.0352941, 0.537255, 0.811765),})
Mesh = New("SpecialMesh",Spikepart,"Mesh",{MeshType = Enum.MeshType.Wedge,})
for _,v in pairs(EpicIce:GetDescendants()) do
if v:IsA("Part") then
v.Anchored = false
Weld2(Glovehandle,v,Glovehandle.CFrame:inverse()*v.CFrame)
v.Locked = true
v.CanCollide = false
v.Transparency = 1
end
end
local ICW = NewInstance('Weld',char,{Part0 = larm, Part1 = Glovehandle, C0 = CF(0, -1, 0) * angles(Rad(0), Rad(0), Rad(0))})
Scythe = New("Model",char,"Scythe",{})
Pole = New("Part",Scythe,"Pole",{BrickColor = BrickColor.new("Dark orange"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999857, 12.8000011, 0.399999976),CFrame = CFrame.new(2.76282811, 6.40000105, -11.2364464, 1, 3.15084421e-08, -1.05408958e-07, -3.15084208e-08, 0.999999762, 1.49011612e-08, 1.05408979e-07, -1.49011612e-08, 0.999999762),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.627451, 0.372549, 0.207843),})
Mesh = New("CylinderMesh",Pole,"Mesh",{})
Part = New("Part",Scythe,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999976, 0.800000072, 2),CFrame = CFrame.new(2.7628305, 11.6124907, -18.8082981, 0.99999994, 9.68152065e-08, -5.22555723e-08, -3.15084172e-08, 0.707106709, 0.707106411, 1.05408972e-07, -0.707106411, 0.707106709),Anchored = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.100000001, 1, 1),MeshType = Enum.MeshType.Wedge,})
Part = New("Part",Scythe,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999857, 0.200000003, 2.4000001),CFrame = CFrame.new(2.76282763, 12.0116463, -17.0717392, -1, -5.77166475e-08, -9.36622655e-08, 3.15084208e-08, -0.965925634, 0.258818805, -1.05408979e-07, 0.258818805, 0.965925634),Anchored = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.100000001, 1, 1),MeshType = Enum.MeshType.Wedge,})
Part = New("Part",Scythe,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999857, 0.600000024, 2.4000001),CFrame = CFrame.new(2.76282859, 13.1707554, -17.3823242, 1, 5.77166475e-08, -9.36622655e-08, -3.15084208e-08, 0.965925634, 0.258818805, 1.05408979e-07, -0.258818805, 0.965925634),Anchored = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.100000001, 1, 1),MeshType = Enum.MeshType.Wedge,})
Part = New("Part",Scythe,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.800000072, 2.4000001),CFrame = CFrame.new(2.76282287, 12.494607, -17.2011471, 1, 5.77166475e-08, -9.36622655e-08, -3.15084208e-08, 0.965925634, 0.258818805, 1.05408979e-07, -0.258818805, 0.965925634),Anchored = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.100000001, 1, 1),})
Part = New("Part",Scythe,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 1.60000014, 2.39999986),CFrame = CFrame.new(2.76282263, 13.3089561, -14.9346905, 1, 5.77166475e-08, -9.36622655e-08, -3.15084208e-08, 0.965925634, 0.258818805, 1.05408979e-07, -0.258818805, 0.965925634),Anchored = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.100000001, 1, 1),})
Part = New("Part",Scythe,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000036, 2.20000005, 1.60000002),CFrame = CFrame.new(2.76281714, 13.3008852, -8.03643894, -1, 3.15084421e-08, 1.05408958e-07, 3.15084208e-08, 0.999999762, -1.49011612e-08, -1.05408979e-07, -1.49011612e-08, -0.999999762),Anchored = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.100000001, 1, 1),MeshType = Enum.MeshType.Wedge,})
Part = New("Part",Scythe,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.200000077, 1.60000002),CFrame = CFrame.new(2.76281714, 12.1008844, -8.03643894, -1, -3.15084421e-08, -1.05408958e-07, 3.15084208e-08, -0.999999762, 1.49011612e-08, -1.05408979e-07, 1.49011612e-08, 0.999999762),Anchored = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.100000001, 1, 1),MeshType = Enum.MeshType.Wedge,})
Part = New("Part",Scythe,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.600000083, 1.60000002),CFrame = CFrame.new(2.76281905, 12.500886, -9.63644028, -1, -3.15084421e-08, -1.05408958e-07, 3.15084208e-08, -0.999999762, 1.49011612e-08, -1.05408979e-07, 1.49011612e-08, 0.999999762),Anchored = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.100000001, 1, 1),MeshType = Enum.MeshType.Wedge,})
Part = New("Part",Scythe,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 1.60000002, 5.19999981),CFrame = CFrame.new(2.76281929, 13.6008854, -11.4364357, 1, 3.15084421e-08, -1.05408958e-07, -3.15084208e-08, 0.999999762, 1.49011612e-08, 1.05408979e-07, -1.49011612e-08, 0.999999762),Anchored = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.100000001, 1, 1),})
Hilt3 = New("Part",Scythe,"Hilt3",{BrickColor = BrickColor.new("Dark orange"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2.25000024, 0.639999986, 2.4000001),CFrame = CFrame.new(2.75282812, 13.5258093, -11.2364397, -3.15084421e-08, -1, 1.05408958e-07, -0.999999762, 3.15084208e-08, -1.49011612e-08, 1.49011612e-08, -1.05408979e-07, -0.999999762),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.627451, 0.372549, 0.207843),})
Mesh = New("CylinderMesh",Hilt3,"Mesh",{})
ScHandle = New("Part",Scythe,"ScHandle",{BrickColor = BrickColor.new("Dark orange"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999857, 3.16999984, 0.399999976),CFrame = CFrame.new(2.76300001, 5.85499668, -11.2360001, 1, 3.15084421e-08, -1.05408958e-07, -3.15084208e-08, 0.999999762, 1.49011612e-08, 1.05408979e-07, -1.49011612e-08, 0.999999762),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.627451, 0.372549, 0.207843),})
Mesh = New("CylinderMesh",ScHandle,"Mesh",{})
for _,v in pairs(Scythe:GetDescendants()) do
if v:IsA("Part") then
v.Anchored = false
Weld2(ScHandle,v,ScHandle.CFrame:inverse()*v.CFrame)
v.Locked = true
v.CanCollide = false
v.Transparency = 1
end
end
local SCWELD = NewInstance('Weld',char,{Part0 = rarm, Part1 = ScHandle, C0 = CF(0, -1, 0) * angles(Rad(-90), Rad(0), Rad(0))})
function Doublejump()
attack = true
-- sphere4(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MRC_A)
--sphere4(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MRC_A)
CFuncs["Sound"].Create("rbxassetid://1177475476", root, 1, 1)
--waveEff(2,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(2,4,2),0.5,0.8,BrickColor.new("White"))
for i = 1, 3 do
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
end
local bv = Instance.new("BodyVelocity")
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.6,-4).p).lookVector*125
bv.Parent = root
local GYRO = Instance.new("BodyGyro",RootPart)
GYRO.D = 2
GYRO.P = 20000
GYRO.MaxTorque = VT(0,4000000,0)
GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-7).p)
for i=0, 0.2, 0.1 do
Swait()
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
end
bv:Remove()
GYRO:Remove()
attack = false
end
function VolcanicANim()
attack = true
for i = 0, 2, 0.1 do
swait()
local Alpha = .2
RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.8,0)*angles(math.rad(-29.6),math.rad(0),math.rad(0))*RootCF,Alpha)
LH.C0 = LH.C0:lerp(cf(-1,-1.3,-0.7)*angles(math.rad(-39.5),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
RH.C0 = RH.C0:lerp(cf(1,-0.2,-0.4)*angles(math.rad(34.7),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
LW.C0 = LW.C0:lerp(cf(-1.4,0.8,0)*angles(math.rad(159),math.rad(-13+1*math.cos(sine/5)),math.rad(31.2)),Alpha)
RW.C0 = RW.C0:lerp(cf(1.4,0.8,0.1)*angles(math.rad(159.7),math.rad(20.7+1*math.cos(sine/5)),math.rad(-28.6)),Alpha)
Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.5,0.9)*angles(math.rad(-60.2+1*math.cos(sine/5)),math.rad(0+1*math.cos(sine/3)),math.rad(0+1*math.cos(sine/4)))*necko,Alpha)
end
for i = 0, 2, 0.1 do
swait()
local Alpha = .3
RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.8,0)*angles(math.rad(27.8),math.rad(0),math.rad(0))*RootCF,Alpha)
LH.C0 = LH.C0:lerp(cf(-1,-1.4,-0.4)*angles(math.rad(-75.4),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
RH.C0 = RH.C0:lerp(cf(1,-0.2,-0.4)*angles(math.rad(-29),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
LW.C0 = LW.C0:lerp(cf(-1.4,0.8,0)*angles(math.rad(-22.1),math.rad(13.6+1*math.cos(sine/5)),math.rad(-30.9)),Alpha)
RW.C0 = RW.C0:lerp(cf(1.4,0.8,0.1)*angles(math.rad(-23.1),math.rad(-22.1+1*math.cos(sine/5)),math.rad(27.6)),Alpha)
Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.2,-0.5)*angles(math.rad(32.9+1*math.cos(sine/5)),math.rad(0+1*math.cos(sine/3)),math.rad(0+1*math.cos(sine/4)))*necko,Alpha)
end
attack = false
end
function CrystalSlam()
attack = true
hum.WalkSpeed = 0
ex.Enabled = true
local DamageVal = 0
local KeyHolden = true
local nig;
nig=mouse.KeyUp:Connect(function(key)
if key == "c" then
KeyHolden = false
--nig:disconnect()
end
end)
local Pillars=0;
repeat
local Alpha = .3
swait()
DamageVal = DamageVal + 1
RH.C0=clerp(RH.C0,cf(1,-1 ,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-15)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(20),math.rad(-5)),.3)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
RW.C0=clerp(RW.C0,cf(1.25,0.5+.1*math.cos(sine/20 -DamageVal),-0.5)*angles(math.rad(90),math.rad(0),math.rad(10)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
--BladesWeld.C0 = BladesWeld.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
--slash(3,3,true,"Round","Add","Out",hitbox.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),Vector3.new(.001,.001,.001),0.1,BrickColor.new("Royal purple"))
until KeyHolden == false or DamageVal > 200
for i = 0,3 do
swait()
local Alpha = .5
RH.C0=clerp(RH.C0,cf(1,-1 ,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-15)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(20),math.rad(-5)),.3)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
--BladesWeld.C0 = BladesWeld.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
end
local hite2 = Instance.new("Part", char)
hite2.Anchored = true
hite2.CanCollide = false
hite2.FormFactor = 3
hite2.Name = "Ring"
hite2.Material = "Neon"
hite2.Size = Vector3.new(1, 1, 1)
hite2.Transparency = 1
hite2.TopSurface = 0
hite2.BottomSurface = 0
hite2.CFrame = root.CFrame*CFrame.new(0,0,0) + root.CFrame.lookVector*3
coroutine.resume(coroutine.create(function()
CFuncs.Sound.Create("rbxassetid://2295409459", ra, 2, 1)
MagniDamageWithEffect(hite2.CFrame, 4,60, 70, DamageVal/5, "Freeze",0)
for i = 0,12 do
-- PixelBlock(7,1,"Add",hitbox.CFrame*CFrame.new(0,math.random(-1,1),0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,.028,BrickColor.new("Dark indigo"),0,'Glass')
end
end))
for i = 0, 15 do
swait()
local Alpha = .5
RH.C0=clerp(RH.C0,cf(1,-1.1 ,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(10),math.rad(0)),.3)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(80)),.3)
RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
--BladesWeld.C0 = BladesWeld.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
end
hite2:Destroy()
ex.Enabled = false
hum.WalkSpeed = 32
attack = false
end
function Spell1()
attack = true
for i = 0, 4, 0.1 do
swait()
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 24)* Player_Size, -0.05* Player_Size) * angles(Rad(70 + 3 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
LW.C0=clerp(LW.C0,cf(-.5,0.5 + 0.025 * math.cos(sine / 45),-0.3)*angles(math.rad(80 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(60 - 3 * math.cos(sine / 45))),.1)
end
local Paperb = Instance.new("Part")
BlockMesh1 = Instance.new("BlockMesh")
Paperb.Parent = Character
Paperb.CFrame = CFrame.new(11.0256329, 22.4705029, 35.1865501, -0.322625935, 0, 0.946526766, 0.946527064, -2.82086585e-08, 0.322626054, -7.4505806e-08, 0.999998629, 0)
Paperb.Orientation = Vector3.new(-18.8199997, 90, 90)
Paperb.Position = Vector3.new(11.0256329, 22.4705029, 35.1865501)
Paperb.Rotation = Vector3.new(-90, 71.1800003, -180)
Paperb.Color = Color3.new(0.898039, 0.894118, 0.87451)
Paperb.Size = Vector3.new(1.04999995, 1.47999942, 0.200000003)
Paperb.Anchored = false
Paperb.BrickColor = BrickColor.new("Light stone grey")
Paperb.brickColor = BrickColor.new("Light stone grey")
Paperb.FormFactor = Enum.FormFactor.Custom
Paperb.formFactor = Enum.FormFactor.Custom
BlockMesh1.Parent = Paperb
BlockMesh1.Scale = Vector3.new(1, 1, 0.100000001)
local PaperWeld = NewInstance('Weld',char,{Part0 = root, Part1 = Paperb, C0 = CF(0, -0.8, 0.6) * angles(Rad(0), Rad(0), Rad(0))})
PaperWeld.C0 = clerp(PaperWeld.C0, CF(0, 4, 0) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40 + 8.5 * Cos(sine / 20))), 0.1)
for i = 0, 1, 0.1 do
swait()
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 24)* Player_Size, -0.05* Player_Size) * angles(Rad(70 + 3 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-180 - 7 * math.cos(sine / 58)),math.rad(1 - 5 * math.cos(sine / 55)),math.rad(-12 - 9 * math.cos(sine / 45))),.2)
PaperWeld.C0 = clerp(PaperWeld.C0, CF(0, 7, 0) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40 + 8.5 * Cos(sine / 20))), 0.1)
end
local keptcolor = BrickColor.new("White")
coroutine.resume(coroutine.create(function()
for i = 0, 51 do
swait()
local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
dis.BrickColor = keptcolor
dis.Anchored = true
local at1 = Instance.new("Attachment",dis)
at1.Position = vt(-0.25,0,0)
local at2 = Instance.new("Attachment",dis)
at2.Position = vt(0.25,0,0)
local trl = Instance.new('Trail',dis)
trl.Attachment0 = at1
trl.FaceCamera = true
trl.Attachment1 = at2
trl.Texture = "rbxassetid://1049219073"
trl.LightEmission = 1
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
trl.Color = ColorSequence.new(dis.Color)
trl.Lifetime = 0.6
dis.Velocity = vt(math.random(-50,50),math.random(125,210),math.random(-50,50))
--CFuncs["Sound"].Create("rbxassetid://199145967", dis, 0.1,1)
dis.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(5,25),math.random(-3,3))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
CreateMesh(dis,"Sphere",0.5,0.5,4)
dis.Anchored = false
coroutine.resume(coroutine.create(function()
wait(1)
local a = Instance.new("Part",workspace)
a.Name = "Direction"
a.Anchored = true
a.BrickColor = bc("Bright red")
a.Material = "Neon"
a.Transparency = 1
a.CanCollide = false
local ray = Ray.new(
dis.CFrame.p, -- origin
(mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
)
local ignore = dis
local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
a.BottomSurface = 10
a.TopSurface = 10
local distance = (dis.CFrame.p - position).magnitude
a.Size = Vector3.new(0.1, 0.1, 0.1)
a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
dis.CFrame = a.CFrame
a:Destroy()
local bv = Instance.new("BodyVelocity")
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
bv.velocity = dis.CFrame.lookVector*200
bv.Parent = dis
game:GetService("Debris"):AddItem(dis, 5)
local hitted = false
coroutine.resume(coroutine.create(function()
dis.Touched:connect(function(hit)
if hitted == false and not hit:IsDescendantOf(char) then
hitted = true
--CFuncs["Sound"].Create("rbxassetid://199146035", dis, 1.5,1)
MagniDamage(dis, 20, 10,20, 0, "Normal",0)
coroutine.resume(coroutine.create(function()
wait(0.1)
end))
coroutine.resume(coroutine.create(function()
wait(0.5)
end))
dis.Anchored = true
dis.Transparency = 1
wait(8)
dis:Destroy()
end
end)
end))
end))
end
end))
coroutine.resume(coroutine.create(function()
wait(1.5)
end))
for i = 0, 4, 0.1 do
swait()
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 24)* Player_Size, -0.05* Player_Size) * angles(Rad(70 + 3 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
LW.C0=clerp(LW.C0,cf(-1.3,0.5 + 0.025 * math.cos(sine / 45),-0.3)*angles(math.rad(80 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(3 - 3 * math.cos(sine / 45))),.1)
PaperWeld.C0 = clerp(PaperWeld.C0, CF(0, 7, 0) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40 + 8.5 * Cos(sine / 20))), 0.1)
end
attack = false
wait(1.8)
sphere2(1,"Add",Paperb.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor,"Neon")
Paperb:Destroy()
end
function Spell2()
local keptcolor = BrickColor.new("White")
attack = true
for i = 0, 4, 0.1 do
swait()
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 24)* Player_Size, -0.05* Player_Size) * angles(Rad(70 + 3 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
LW.C0=clerp(LW.C0,cf(-1.3,0.5 + 0.025 * math.cos(sine / 45),-0.3)*angles(math.rad(80 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(3 - 3 * math.cos(sine / 45))),.1)
end
--local SpiritBall = Instance.new("Part")
--SpiritBall.Name = "SpiritBall"
--SpiritBall.Parent = Character
--SpiritBall.Position = Vector3.new(-55.1720848, 2.8948977, -58.9392776)
--SpiritBall.Color = Color3.new(1, 0.4, 0.8)
--SpiritBall.Size = Vector3.new(2.11999965, 2.11999965, 2.11999965)
--SpiritBall.Anchored = true
--SpiritBall.BottomSurface = Enum.SurfaceType.Smooth
--SpiritBall.BrickColor = BrickColor.new("Pink")
--SpiritBall.CanCollide = false
--SpiritBall.Material = Enum.Material.Neon
--SpiritBall.TopSurface = Enum.SurfaceType.Smooth
--SpiritBall.brickColor = BrickColor.new("Pink")
--SpiritBall.Shape = Enum.PartType.Ball
local SpiritBall = Instance.new("Part", char)
SpiritBall.Anchored = true
SpiritBall.BrickColor = BrickColor.new("Pink")
SpiritBall.CanCollide = false
SpiritBall.FormFactor = 3
SpiritBall.Name = "SpiritBall"
SpiritBall.Material = "Neon"
SpiritBall.Size = Vector3.new(2.11999965, 2.11999965, 2.11999965)
SpiritBall.Transparency = 0.5
SpiritBall.TopSurface = 0
SpiritBall.BottomSurface = 0
SpiritBall.Shape = Enum.PartType.Ball
SpiritBall.CFrame = root.CFrame*CFrame.new(0,3,-5)
local a = Instance.new("Part",workspace)
a.Name = "Direction"
a.Anchored = true
a.Transparency = 1
a.CanCollide = false
local ray = Ray.new(
SpiritBall.CFrame.p, -- origin
(mouse.Hit.p - SpiritBall.CFrame.p).unit * 500 -- direction
)
local ignore = SpiritBall
local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
a.BottomSurface = 10
a.TopSurface = 10
local distance = (SpiritBall.CFrame.p - position).magnitude
a.Size = Vector3.new(0.1, 0.1, 0.1)
a.CFrame = CFrame.new(SpiritBall.CFrame.p, position) * CFrame.new(0, 0, 0)
SpiritBall.CFrame = a.CFrame
local particlemiter = Instance.new("ParticleEmitter",SpiritBall) particlemiter.Texture = "rbxasset://textures/particles/smoke_main.dds" particlemiter.Size = NumberSequence.new(2,.5) particlemiter.Transparency = NumberSequence.new(0,1) particlemiter.Enabled = true particlemiter.LockedToPart = false particlemiter.Speed = NumberRange.new(20) particlemiter.RotSpeed = NumberRange.new(210) particlemiter.Lifetime = NumberRange.new(2) particlemiter.SpreadAngle = Vector2.new(-100,100) particlemiter.Rate = 500 local particlemiter2 = Instance.new("ParticleEmitter",SpiritBall) particlemiter2.Texture = "rbxasset://textures/particles/smoke_main.dds" particlemiter2.Size = NumberSequence.new(2,.5) particlemiter2.Transparency = NumberSequence.new(0,1) particlemiter2.Enabled = true particlemiter2.LockedToPart = false particlemiter2.Speed = NumberRange.new(20) particlemiter2.RotSpeed = NumberRange.new(210) particlemiter2.Lifetime = NumberRange.new(2) particlemiter2.SpreadAngle = Vector2.new(-100,100) particlemiter2.Rate = 500 local particlemiter3 = Instance.new("ParticleEmitter",SpiritBall) particlemiter3.Texture = "rbxasset://textures/particles/smoke_main.dds" particlemiter3.Size = NumberSequence.new(2,.5) particlemiter3.Transparency = NumberSequence.new(0,1) particlemiter3.Enabled = true particlemiter3.LockedToPart = false particlemiter3.Speed = NumberRange.new(20) particlemiter3.RotSpeed = NumberRange.new(210) particlemiter3.Lifetime = NumberRange.new(2) particlemiter3.SpreadAngle = Vector2.new(-100,100) particlemiter3.Rate = 500 wait(.15) coroutine.wrap(function() particlemiter.Enabled = false particlemiter2.Enabled = false particlemiter3.Enabled = false wait(5) particlemiter3:Remove() particlemiter:Remove() particlemiter2:Remove() end)()
for i = 0, 1, 0.1 do
swait()
ray = Ray.new(
SpiritBall.CFrame.p, -- origin
(mouse.Hit.p - SpiritBall.CFrame.p).unit * 500 -- direction
)
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
distance = (SpiritBall.CFrame.p - position).magnitude
a.CFrame = CFrame.new(SpiritBall.CFrame.p, position) * CFrame.new(0, 0, 0)
SpiritBall.CFrame = a.CFrame
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 24)* Player_Size, -0.05* Player_Size) * angles(Rad(70 + 3 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
LW.C0=clerp(LW.C0,cf(-1.3,0.5 + 0.025 * math.cos(sine / 45),-0.3)*angles(math.rad(80 - 3 * math.cos(sine / 73)),math.rad(20 - 1 * math.cos(sine / 55)),math.rad(30 - 3 * math.cos(sine / 45))),.1)
end
--local particlemiter = Instance.new("ParticleEmitter",SpiritBall) particlemiter.Texture = "rbxasset://textures/particles/smoke_main.dds" particlemiter.Size = NumberSequence.new(2,.5) particlemiter.Transparency = NumberSequence.new(0,1) particlemiter.Enabled = true particlemiter.LockedToPart = false particlemiter.Speed = NumberRange.new(20) particlemiter.RotSpeed = NumberRange.new(210) particlemiter.Lifetime = NumberRange.new(2) particlemiter.SpreadAngle = Vector2.new(-100,100) particlemiter.Rate = 500 local particlemiter2 = Instance.new("ParticleEmitter",SpiritBall) particlemiter2.Texture = "rbxasset://textures/particles/smoke_main.dds" particlemiter2.Size = NumberSequence.new(2,.5) particlemiter2.Transparency = NumberSequence.new(0,1) particlemiter2.Enabled = true particlemiter2.LockedToPart = false particlemiter2.Speed = NumberRange.new(20) particlemiter2.RotSpeed = NumberRange.new(210) particlemiter2.Lifetime = NumberRange.new(2) particlemiter2.SpreadAngle = Vector2.new(-100,100) particlemiter2.Rate = 500 local particlemiter3 = Instance.new("ParticleEmitter",SpiritBall) particlemiter3.Texture = "rbxasset://textures/particles/smoke_main.dds" particlemiter3.Size = NumberSequence.new(2,.5) particlemiter3.Transparency = NumberSequence.new(0,1) particlemiter3.Enabled = true particlemiter3.LockedToPart = false particlemiter3.Speed = NumberRange.new(20) particlemiter3.RotSpeed = NumberRange.new(210) particlemiter3.Lifetime = NumberRange.new(2) particlemiter3.SpreadAngle = Vector2.new(-100,100) particlemiter3.Rate = 500 wait(.15) coroutine.wrap(function() particlemiter.Enabled = false particlemiter2.Enabled = false particlemiter3.Enabled = false wait(5) particlemiter3:Remove() particlemiter:Remove() particlemiter2:Remove() end)()
SpiritBall.Anchored = false
a:Destroy()
local bv = Instance.new("BodyVelocity")
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
bv.velocity = SpiritBall.CFrame.lookVector*250
bv.Parent = SpiritBall
local hitted = false
CFuncs["Sound"].Create("rbxassetid://466493476", SpiritBall, 7.5, 0.7)
coroutine.resume(coroutine.create(function()
while true do
swait(2)
if hitted == false and SpiritBall.Parent ~= nil then
--slash(3,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.075,0.005,0.075),-0.05,BrickColor.new("White"))
elseif hitted == true and SpiritBall.Parent == nil then
break
end
end
end))
SpiritBall.Touched:connect(function(hit)
if hitted == false and hit.Parent ~= char then
hitted = true
MagniDamage(SpiritBall, 30, 72,95, 0, "Normal",153092213)
CFuncs["Sound"].Create("rbxassetid://763717897", SpiritBall, 10, 1)
CFuncs["Sound"].Create("rbxassetid://1295446488", SpiritBall, 9, 0.75)
for i = 0, 24 do
end
--ParticleEmitter({Transparency1 = 0.3, Transparency2 = 1, Speed = 125, Acel = VT(0,0,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0.4, Size1 = 15, Size2 = 32, Lifetime1 = 0.4, Lifetime2 = 1, Parent = orb, Emit = 300, Offset = 360, Enabled = false, Color1 = MRC_A.Color, Color2 = MRC_B.Color, Texture = 296874871})
sphere2(1,"Add",SpiritBall.CFrame,vt(12,12,12),1,1,1,BrickColor.new("Pink"),BrickColor.new("Pink").Color,"Neon")
sphere2(1.5,"Add",SpiritBall.CFrame,vt(12,12,12),1.1,1.1,1.1,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,"Neon")
sphere2(2,"Add",SpiritBall.CFrame,vt(12,12,12),1.2,1.2,1.2,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,"Neon")
SpiritBall.Anchored = true
SpiritBall.Transparency = 1
coroutine.resume(coroutine.create(function()
for i = 0, 4, 0.1 do
swait()
hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
end
hum.CameraOffset = vt(0,0,0)
end))
wait(10)
SpiritBall:Destroy()
end
end)
game:GetService("Debris"):AddItem(SpiritBall, 10)
attack = false
--wait(1.8)
--sphere2(1,"Add",SpiritBall.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
--SpiritBall:Destroy()
end
function AttacksAXE()
attack = true
if combo==1 then
combo=2
hum.WalkSpeed = 3
for i = 0, 3 ,0.2 do
swait()
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(-8),math.rad(-25)),.3)
LH.C0=clerp(LH.C0,cf(-1,-0.4,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(20),math.rad(-5)),.3)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.025,-0.5)*angles(math.rad(1),math.rad(20),math.rad(30)),.3)
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(-10),math.rad(-20)),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(0),math.rad(15)),.3)
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0)*angles(math.rad(200),math.rad(-0),math.rad(-90)),.1)
end
local hbax = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
hbax.CFrame = root.CFrame + root.CFrame.lookVector*1.5
hbax.Anchored = true
MagniDamage(hbax, 3.5, 10,18, 0, "Normal", 153092227)
CFuncs["Sound"].Create("rbxassetid://2295409459", rarm, 2, 1)
for i = 0, 3 ,0.2 do
swait()
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-25),math.rad(-8),math.rad(-15)),.4)
LH.C0=clerp(LH.C0,cf(-1,-1,-0.4)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(40),math.rad(-1)),.4)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(-0.4,-0.25,-0.25)*angles(math.rad(1),math.rad(-20),math.rad(-60)),.4)
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(10),math.rad(50)),.4)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(0),math.rad(20)),.4)
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0)*angles(math.rad(200),math.rad(140),math.rad(-90)),.1)
end
hbax:Destroy()
hum.WalkSpeed = 16
elseif combo==2 then
combo=1
Humanoid.WalkSpeed=3
for i = 0, 1, 0.1 do
swait()
local Alpha = .3
RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(-19.8),math.rad(0))*RootCF,Alpha)
LH.C0 = LH.C0:lerp(cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
RH.C0 = RH.C0:lerp(cf(1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
LW.C0 = LW.C0:lerp(cf(-1.4,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10.7)),Alpha)
RW.C0 = RW.C0:lerp(cf(1.3,0.5,0.3)*angles(math.rad(88.8),math.rad(0),math.rad(129.1)),Alpha)
-- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(19.8),math.rad(0))*necko,Alpha)
end
CFuncs["Sound"].Create("rbxassetid://3750994166", root, 2,1)
for i = 0, 2, 0.1 do
swait()
local Alpha = .3
RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(52.8),math.rad(0))*RootCF,Alpha)
LH.C0 = LH.C0:lerp(cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
RH.C0 = RH.C0:lerp(cf(0.8,-1,0.4)*angles(math.rad(0),math.rad(-52.8),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-5.2)),Alpha)
RW.C0 = RW.C0:lerp(cf(1,0.3,-0.6)*angles(math.rad(107.7),math.rad(-33.1),math.rad(-33.2)),Alpha)
-- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(23.6),math.rad(0))*necko,Alpha)
coroutine.resume(coroutine.create(function()MagniDamage(rarm, 2, 15, 25, .5, "Normal",0)end))
end
hum.WalkSpeed=16
end
attack = false
end
function HurtAnimation()
attack = true
if dmgcombo==1 then
dmgcombo=2
CFuncs["Sound"].Create("rbxassetid://2056996558", root, 8,1)
for i = 0, 1, 0.1 do
swait()
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05,0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1),math.rad(1 - 2)),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1),math.rad(-1 + 2)),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02,0 + 0.05 )*angles(math.rad(-10 - 2),math.rad(0),math.rad(0 - 1)),.1)
--Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0- 3 * math.cos(sine / 22)), math.rad(0- 5 * math.cos(sine / 32)) - hed.RotVelocity.Y / 15), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.02 , -0) * angles(math.rad(0 + 3 ), math.rad(0), math.rad(90)),0.4)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.02 , -0) * angles(math.rad(0 + 3 ), math.rad(0), math.rad(-90)),0.4)
end
elseif dmgcombo==2 then
dmgcombo=3
CFuncs["Sound"].Create("rbxassetid://2056996558", root, 8,1)
for i = 0, 1, 0.1 do
swait()
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02,0 + 0.05 )*angles(math.rad(-10),math.rad(0),math.rad(-70 - 1)),.1)
--Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0- 3 * math.cos(sine / 22)), math.rad(0- 5 * math.cos(sine / 32)) - hed.RotVelocity.Y / 15), 0.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025,0)*angles(math.rad(7 - 2),math.rad(0 - 4),math.rad(22 + 2)),.1)
LW.C0=clerp(LW.C0,cf(-1,0.55,-0.5)*angles(math.rad(69 - 7 ),math.rad(4 - 2 ),math.rad(61 - 4)),.1)
end
elseif dmgcombo==3 then
dmgcombo=1
CFuncs["Sound"].Create("rbxassetid://2056996558", root, 8,1)
for i = 0, 1, 0.1 do
swait()
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02,0 + 0.05 )*angles(math.rad(-10),math.rad(0),math.rad(70 - 1)),.1)
--Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0- 3 * math.cos(sine / 22)), math.rad(0- 5 * math.cos(sine / 32)) - hed.RotVelocity.Y / 15), 0.3)
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.2 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 10 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(-82 + 7 * math.cos(sine / 45))),.1)
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
end
end
attack = false
end
function BloodShatter()
attack = true
hum.WalkSpeed = 3
for i = 0, 3 ,0.2 do
swait()
local snap = math.random(1,32)
if snap == 1 then
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
end
smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
RW.C0 = RW.C0:lerp(cf(1.5,0.5,0.4)*angles(math.rad(145),math.rad(0),math.rad(0)),.3)
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.2 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 10 * math.cos(sine / 66)),math.rad(4 - 8 * math.cos(sine / 59)),math.rad(67 - 9 * math.cos(sine / 45))),.1)
end
local a = Instance.new("Part",char)
a.Name = "Direction"
a.Anchored = true
a.BrickColor = BrickColor.new("Really red")
a.Material = "Neon"
a.Transparency = 1
a.Shape = "Cylinder"
local ray = Ray.new(
root.CFrame.p, -- origin
(mouse.Hit.p - root.CFrame.p).unit * 500 -- direction
)
local ignore = char
local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
a.BottomSurface = 10
a.TopSurface = 10
local distance = (root.CFrame.p - position).magnitude
a.Size = Vector3.new(distance,1,1)
a.CFrame = CFrame.new(root.CFrame.p, position) * CFrame.new(0, 0, -distance)
local ht = Instance.new("Part",char)
ht.Name = "Hit"
ht.Anchored = true
ht.CanCollide = false
ht.Transparency = 1
ht.Size = vt(0.1,0.1,0.1)
a.CanCollide = false
ht.Position = a.Position
-- sphere2(2,"Add",ht.CFrame,vt(1,24,24),2,2,2,Part4.BrickColor)
block(3,"Add",ht.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,BrickColor.new("Maroon"),BrickColor.new("Maroon").Color)
block(3,"Add",ht.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,BrickColor.new("Maroon"),BrickColor.new("Maroon").Color)
CFuncs["Sound"].Create("rbxassetid://3748209678", char, 2, 1)
--CFuncs["Sound"].Create("rbxassetid://397572702", char, 2, 1)
MagniDamage(ht, 9, 40,58, 0, "Up", 851453784)
for i = 0, 1 ,0.2 do
swait()
local snap = math.random(1,32)
if snap == 1 then
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
end
smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
--Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0- 3 * math.cos(sine / 22)), math.rad(0- 5 * math.cos(sine / 32)) - hed.RotVelocity.Y / 15), 0.3)
RW.C0 = RW.C0:lerp(cf(1.5,0.5,0.4)*angles(math.rad(30),math.rad(0),math.rad(0)),.3)
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.2 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 10 * math.cos(sine / 66)),math.rad(4 - 8 * math.cos(sine / 59)),math.rad(67 - 9 * math.cos(sine / 45))),.1)
end
game:GetService("Debris"):AddItem(a,5)
game:GetService("Debris"):AddItem(ht,5)
attack = false
hum.WalkSpeed = 16
end
function attackPsycho()
attack = true
local rootCF=euler(-1.57,0,3.14)
local keptcolor = MRC_B
local al=.2
local typ="Back"
local direc="Out"
TweenAnimate(RootJoint,{C0=rootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(100))},al,typ,direc,0,false,0)
TweenAnimate(Torso.Neck,{C0=necko*angles(math.rad(15),math.rad(0),math.rad(-90))},al,typ,direc,0,false,0)
TweenAnimate(RW,{C0=cf(1.2,0.5,-0.25)*angles(math.rad(-10),math.rad(-10),math.rad(-90))},al,typ,direc,0,false,0)
TweenAnimate(LW,{C0=cf(-1.35,0.35,-0.4)*angles(math.rad(90),math.rad(2),math.rad(80))},al,typ,direc,0,false,0)
TweenAnimate(RH,{C0=cf(.75,-1,0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-100),math.rad(5))},al,typ,direc,0,false,0)
TweenAnimate(LH,{C0=cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(10),math.rad(0))},al,typ,direc,0,false,0)
wait(.2)
CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 0.7)
local hitb = Instance.new("Part", char)
hitb.Anchored = true
hitb.CanCollide = false
hitb.FormFactor = 3
hitb.Name = "Ring"
hitb.Material = "Neon"
hitb.Size = Vector3.new(1, 1, 1)
hitb.Transparency = 1
hitb.TopSurface = 0
hitb.BottomSurface = 0
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
MagniDamage(hitb, 3, 30,60, 0, "Normal",0)
hitb:Destroy()
spawn(function()
for i = 0,20 do
wait(0.01)
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
MagniDamage(hitb, 3, 30,60, 0, "Normal",0)
end
end)
local al=.25
local typ="Back"
local direc="Out"
TweenAnimate(RootJoint,{C0=rootCF*cf(0,0,0)*angles(math.rad(5),math.rad(2),math.rad(100))},al,typ,direc,0,false,0)
TweenAnimate(Torso.Neck,{C0=necko*angles(math.rad(0),math.rad(0),math.rad(-90))},al,typ,direc,0,false,0)
TweenAnimate(RW,{C0=cf(1.8,0.5,-0.25)*angles(math.rad(-10),math.rad(-10),math.rad(-90))},al,typ,direc,0,false,0)
TweenAnimate(LW,{C0=cf(-.7,0.35,-0.4)*angles(math.rad(90),math.rad(2),math.rad(80))},al,typ,direc,0,false,0)
TweenAnimate(RH,{C0=cf(1.2,-.5,0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(20),math.rad(-100),math.rad(10))},al,typ,direc,0,false,0)
TweenAnimate(LH,{C0=cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(10),math.rad(-10))},al,typ,direc,0,false,0)
root.Anchored=true
TweenAnimate(root,{CFrame=root.CFrame*CFrame.new(0,0,-12.5)},.3,"Sine","Out",0,false,0)
--root.CFrame=root.CFrame*CFrame.new(0,0,.075)
wait(0.3)
root.Anchored=false
attack = false
end
function Slidebruh()
attack = true
CFuncs.Sound.Create("rbxassetid://4307214211", root, 2, 1)
for i = 0,1,0.1 do
swait()
root.CFrame = root.CFrame + root.CFrame.lookVector*2
root.Velocity = vt(0,0,0)
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.1)
Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(30 - 2.5 * math.sin(sine / 20)), math.rad(0 - 5 * math.sin(sine / 40)), math.rad(0)), 0.1)
RH.C0 = clerp(RH.C0, cf(1, -0.9, 0) * angles(math.rad(65), math.rad(90), math.rad(0)) * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.08)
LH.C0 = clerp(LH.C0, cf(-1, -0.5, 0) * angles(math.rad(35), math.rad(-90), math.rad(0)) * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.08)
RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 2 * math.cos(sine / 32)), math.rad(0 - 2 * math.cos(sine / 32)), math.rad(-5 + 1.5 * math.cos(sine / 32))), 0.1)
LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-60 - 2 * math.cos(sine / 32)), math.rad(0 - 2 * math.cos(sine / 32)), math.rad(15 - 2 * math.cos(sine / 32))), 0.1)
end
for i = 0,1,0.1 do
swait()
root.CFrame = root.CFrame + root.CFrame.lookVector*2
root.Velocity = vt(0,0,0)
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.1)
Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(30 - 2.5 * math.sin(sine / 20)), math.rad(0 - 5 * math.sin(sine / 40)), math.rad(0)), 0.1)
RH.C0 = clerp(RH.C0, cf(1, -0.9, 0) * angles(math.rad(65), math.rad(90), math.rad(0)) * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.08)
LH.C0 = clerp(LH.C0, cf(-1, -0.5, 0) * angles(math.rad(35), math.rad(-90), math.rad(0)) * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.08)
RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 2 * math.cos(sine / 32)), math.rad(0 - 2 * math.cos(sine / 32)), math.rad(-5 + 1.5 * math.cos(sine / 32))), 0.1)
LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-60 - 2 * math.cos(sine / 32)), math.rad(0 - 2 * math.cos(sine / 32)), math.rad(15 - 2 * math.cos(sine / 32))), 0.1)
end
movelegs = false
attack = false
end
function Reanimated()
local targetted = nil
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
targetted = mouse.Target.Parent
end
if targetted ~= nil then
attack = true
hum.WalkSpeed = 0
local rootCF=euler(-1.57,0,3.14)
local al=.4
local typ="Back"
local direc="Out"
TweenAnimate(RootJoint,{C0=rootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90))},al,typ,direc,0,false,0)
TweenAnimate(Torso.Neck,{C0=necko*angles(math.rad(0),math.rad(0),math.rad(-90))},al,typ,direc,0,false,0)
TweenAnimate(RW,{C0=cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90))},al,typ,direc,0,false,0)
TweenAnimate(LW,{C0=cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10))},al,typ,direc,0,false,0)
TweenAnimate(RH,{C0=cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0))},al,typ,direc,0,false,0)
TweenAnimate(LH,{C0=cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0))},al,typ,direc,0,false,0)
wait(0.4)
CFuncs["Sound"].Create("rbxassetid://1222405264", targetted.Torso, 10, 1)
spherec(4,"Add",targetted.Torso.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),0.5,1,0.5,MRC_A.Color)
for i = 0,20 do
sphere2(5,"Add",targetted.Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MRC_A,"Glass")
end
dmg(targetted)
attack = false
hum.WalkSpeed = 16
end
end
function Knifeswing()
attack = true
hum.WalkSpeed = 0
for i = 0,2,0.1 do
swait()
local Alpha = .3
RootJoint.C0 = RootJoint.C0:lerp(cf(0.1,0 - 0.1 * math.cos(sine/15),-0.1)*angles(math.rad(-21),math.rad(-17.7),math.rad(-18))*RootCF,Alpha)
LH.C0 = LH.C0:lerp(cf(-1,-1.3+ 0.1 * math.cos(sine/15),0.1)*angles(math.rad(-12.7),math.rad(31.4),math.rad(6.7))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
RH.C0 = RH.C0:lerp(cf(1,-0.6+ 0.1 * math.cos(sine/15),-0.5)*angles(math.rad(0),math.rad(0),math.rad(12.9))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0.4)*angles(math.rad(145),math.rad(0),math.rad(0)),.3)
RW.C0 = RW.C0:lerp(cf(1.4,0.6 + 0.1 * math.cos(sine/31),-0.3)*angles(math.rad(8.1 + 4 * math.cos(sine/15)),math.rad(28.3 - 4 * math.cos(sine/20)),math.rad(12.3 + 4 * math.cos(sine/34))),Alpha)
end
CFuncs["Sound"].Create("rbxassetid://4299510970", tors, 10, 1)
CFuncs["Sound"].Create("rbxassetid://357417055", tors, 10, 1)
local orb = Instance.new("Part", char)
orb.Color = BrickColor.new("Maroon").Color
orb.CanCollide = false
orb.FormFactor = 3
orb.Name = "Ring"
orb.Material = "Glass"
orb.Size = Vector3.new(1, 1, 1)
orb.Transparency = 0.5
orb.TopSurface = 0
orb.BottomSurface = 0
local orbm = Instance.new("SpecialMesh", orb)
orbm.MeshType = "Sphere"
orbm.Name = "SizeMesh"
orbm.Scale = vt(1,10,1)
orb.CFrame = root.CFrame + root.CFrame.lookVector*3
local a = Instance.new("Part",workspace)
a.Name = "Direction"
a.Anchored = true
a.BrickColor = bc("Bright red")
local ht = Instance.new("Part",workspace)
ht.Name = "hitPoint"
ht.Anchored = true
ht.BrickColor = bc("Bright red")
ht.Transparency = 1
ht.Position = mouse.Hit.p
a.Material = "Neon"
a.Transparency = 1
a.CanCollide = false
local ray = Ray.new(
orb.CFrame.p, -- origin
(mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
)
local ignore = orb
local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
a.BottomSurface = 10
a.TopSurface = 10
local distance = (orb.CFrame.p - position).magnitude
a.Size = Vector3.new(0.1, 0.1, 0.1)
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
orb.CFrame = a.CFrame
a:Destroy()
local bv = Instance.new("BodyVelocity")
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
bv.velocity = orb.CFrame.lookVector*150
bv.Parent = orb
game:GetService("Debris"):AddItem(orb, 10)
local hitted = false
coroutine.resume(coroutine.create(function()
while true do
swait()
local hit =orb.Touched:connect(function(hit)
if hitted == false and hit.Parent ~= char then
hitted = true
CFuncs["Sound"].Create("rbxassetid://4299512229", orb, 10, 1)
ht:Destroy()
--spherec(4,"Add",orb.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.new("Neon orange").Color)
for i = 0,20 do
sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,BrickColor.new("Maroon"),"Glass")
end
MagniDamage(orb, 25, 20,30, 0, "Normal",406913243)
orb.Anchored = true
orb.Transparency = 1
orb:Destroy()
end
end)
end
end))
local Alpha = .3
RootJoint.C0 = RootJoint.C0:lerp(cf(0.1,0 - 0.1 * math.cos(sine/15),-0.1)*angles(math.rad(-21),math.rad(-17.7),math.rad(-18))*RootCF,Alpha)
LH.C0 = LH.C0:lerp(cf(-1,-1.3+ 0.1 * math.cos(sine/15),0.1)*angles(math.rad(-12.7),math.rad(31.4),math.rad(6.7))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
RH.C0 = RH.C0:lerp(cf(1,-0.6+ 0.1 * math.cos(sine/15),-0.5)*angles(math.rad(0),math.rad(0),math.rad(12.9))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0.4)*angles(math.rad(30),math.rad(0),math.rad(0)),.3)
RW.C0 = RW.C0:lerp(cf(1.4,0.6 + 0.1 * math.cos(sine/31),-0.3)*angles(math.rad(8.1 + 4 * math.cos(sine/15)),math.rad(28.3 - 4 * math.cos(sine/20)),math.rad(12.3 + 4 * math.cos(sine/34))),Alpha)
hum.WalkSpeed = 16
attack = false
end
function fireboll()
attack = true
hum.WalkSpeed = 0
CFuncs["Sound"].Create("rbxassetid://1544022435", tors, 10, 1)
for i = 0, 2, 0.1 do
swait()
RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.1,0.1)*angles(math.rad(5),math.rad(-25),math.rad(0))*RootCF,.3)
LH.C0 = LH.C0:lerp(cf(-1,-0.9,-0.4)*angles(math.rad(15),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
RH.C0 = RH.C0:lerp(cf(1,-0.9,-0.1)*angles(math.rad(-5),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0.1)*angles(math.rad(-14.6),math.rad(8.2),math.rad(-5.8)),.3)
RW.C0 = RW.C0:lerp(cf(1.2,0.7,0.2)*angles(math.rad(-151.5),math.rad(29.5),math.rad(5.7)),.3)
Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(25),math.rad(0))*necko,.3)
end
local orb = Instance.new("Part", char)
orb.Color = BrickColor.new("Neon orange").Color
orb.CanCollide = false
orb.FormFactor = 3
orb.Name = "Ring"
orb.Material = "Neon"
orb.Size = Vector3.new(1, 1, 1)
orb.Transparency = 0
orb.TopSurface = 0
orb.BottomSurface = 0
local orbm = Instance.new("SpecialMesh", orb)
orbm.MeshType = "Sphere"
orbm.Name = "SizeMesh"
orbm.Scale = vt(2,2,2)
orb.CFrame = root.CFrame + root.CFrame.lookVector*3
local effc = Instance.new("ParticleEmitter")
effc.Name = "FireballFlame"
effc.Parent = orb
effc.Speed = NumberRange.new(2, 2)
effc.Rotation = NumberRange.new(-180, 180)
effc.Color = ColorSequence.new(Color3.new(1, 0.619608, 0.0901961),Color3.new(0.835294, 0.278431, 0))
effc.LightEmission = 0.89999997615814
effc.Texture = "rbxassetid://241594419"
effc.Transparency = NumberSequence.new(1,0.70555555820465,0.3388888835907,0.12777775526047,0,0,0.061111092567444,0.21111106872559,0.50555551052094,0.78888887166977,1)
effc.Size = NumberSequence.new(0.56249976158142,0.12499988079071)
effc.Lifetime = NumberRange.new(0.40000000596046, 0.40000000596046)
effc.Rate = 20000
effc.RotSpeed = NumberRange.new(-90, 90)
effc.SpreadAngle = Vector2.new(-30, 30)
effc.VelocitySpread = -30
local a = Instance.new("Part",workspace)
a.Name = "Direction"
a.Anchored = true
a.BrickColor = bc("Bright red")
local ht = Instance.new("Part",workspace)
ht.Name = "hitPoint"
ht.Anchored = true
ht.BrickColor = bc("Bright red")
ht.Transparency = 1
ht.Position = mouse.Hit.p
a.Material = "Neon"
a.Transparency = 1
a.CanCollide = false
local ray = Ray.new(
orb.CFrame.p, -- origin
(mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
)
local ignore = orb
local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
a.BottomSurface = 10
a.TopSurface = 10
local distance = (orb.CFrame.p - position).magnitude
a.Size = Vector3.new(0.1, 0.1, 0.1)
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
orb.CFrame = a.CFrame
a:Destroy()
local bv = Instance.new("BodyVelocity")
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
bv.velocity = orb.CFrame.lookVector*150
bv.Parent = orb
game:GetService("Debris"):AddItem(orb, 10)
local hitted = false
coroutine.resume(coroutine.create(function()
while true do
swait()
local hit =orb.Touched:connect(function(hit)
if hitted == false and hit.Parent ~= char then
hitted = true
effc.Enabled = false
CFuncs["Sound"].Create("rbxassetid://2042692050", effc.Parent, 10, 1)
ht:Destroy()
--spherec(4,"Add",orb.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.new("Neon orange").Color)
for i = 0,20 do
sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,BrickColor.new("Neon orange"),"Neon")
end
MagniDamage(orb, 25, 20,30, 0, "Burn",0)
orb.Anchored = true
orb.Transparency = 1
orb:Destroy()
end
end)
end
end))
for i = 0, 2, 0.1 do
swait()
RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,-0.1)*angles(math.rad(-15),math.rad(0),math.rad(0))*RootCF,.3)
LH.C0 = LH.C0:lerp(cf(-1,-1.1,-0.5)*angles(math.rad(-45),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
RH.C0 = RH.C0:lerp(cf(1,-0.8,-0.2)*angles(math.rad(20),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
LW.C0 = LW.C0:lerp(cf(-1.5,0.4,0.5)*angles(math.rad(-55),math.rad(0),math.rad(0)),.3)
RW.C0 = RW.C0:lerp(cf(1.5,0.3,-0.2)*angles(math.rad(55),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.1,0.1)*angles(math.rad(-10),math.rad(0),math.rad(0))*necko,.3)
end
hum.WalkSpeed = 32
attack = false
end
-------------------------------------
Humanoid.Animator.Parent = nil
hum.WalkSpeed = 16
hum.JumpPower = 140
-------------------------------------
local attacktype = 1
mouse.Button1Down:connect(function()
if attack == false and WMode == 11 then
AttacksAXE()
end
if attack == false and WMode == 2 then
attackPsycho()
end
end)
mouse.KeyDown:connect(function(k)
if k == "l" and mutedtog == false then
mutedtog = true
Theme.Volume = 0
elseif k == "l" and mutedtog == true then
mutedtog = false
Theme.Volume = 5
end
if k == "one" and attack == false and WMode ~= 1 then
hum.WalkSpeed = 16
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Spikepart.Transparency = 1
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 1
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
CFuncs["Sound"].Create("rbxassetid://1908928936", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Neon,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.new('White'))
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(20,20,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 1
Modestatus.Value = "1"
--newThemeCust("1841318776",0,1,3)
ORGID = 4742927526
PE2.Enabled = false
PE.Enabled = false
MRC_A = BrickColor.new("White")
LWing2.Material = Enum.Material.Neon LWingBar2.Material = Enum.Material.Neon LWingBar.Material = Enum.Material.Neon LBase.Material = Enum.Material.Neon LWing1.Material = Enum.Material.Neon
RWing2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RBase.Material = Enum.Material.Neon RWing1.Material = Enum.Material.Neon
LWing2.Color = Color3.fromRGB(255, 255, 255) LWingBar2.Color = Color3.fromRGB(255, 255, 255) LWingBar.Color = Color3.fromRGB(255, 255, 255) LBase.Color = Color3.fromRGB(255, 255, 255) LWing1.Color = Color3.fromRGB(255, 255, 255) RWing2.Color = Color3.fromRGB(255, 255, 255) RWingBar2.Color = Color3.fromRGB(255, 255, 255) RWingBar.Color = Color3.fromRGB(255, 255, 255) RBase.Color = Color3.fromRGB(255, 255, 255) RWing1.Color = Color3.fromRGB(255, 255, 255)
ChangeMode(BrickColor.new('White'), 'Light')
rainbowmode = false
end
if k == "zero" and attack == false and WMode == 1 then
hum.WalkSpeed = 16
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Spikepart.Transparency = 1
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 0 end end
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 1
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
CFuncs["Sound"].Create("rbxassetid://4516507682", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Glass,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.new('Really black'))
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(40,40,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 11
--newThemeCust("1841318776",0,1,3)
ORGID = 2504722412 --576075040
PE2.Enabled = false
PE.Enabled = false
MRC_A = BrickColor.new("Really black")
LWing2.Material = Enum.Material.Glass LWingBar2.Material = Enum.Material.Glass LWingBar.Material = Enum.Material.Glass LBase.Material = Enum.Material.Glass LWing1.Material = Enum.Material.Glass
RWing2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar.Material = Enum.Material.Glass RWingBar.Material = Enum.Material.Glass RBase.Material = Enum.Material.Glass RWing1.Material = Enum.Material.Glass
LWing2.Color = Color3.fromRGB(0, 0, 0) LWingBar2.Color = Color3.fromRGB(0, 0, 0) LWingBar.Color = Color3.fromRGB(0, 0, 0) LBase.Color = Color3.fromRGB(0, 0, 0) LWing1.Color = Color3.fromRGB(0, 0, 0) RWing2.Color = Color3.fromRGB(0, 0, 0) RWingBar2.Color = Color3.fromRGB(0, 0, 0) RWingBar.Color = Color3.fromRGB(0, 0, 0) RBase.Color = Color3.fromRGB(0, 0, 0) RWing1.Color = Color3.fromRGB(0, 0, 0)
ChangeMode(BrickColor.new('Really black'), 'Darkness')
rainbowmode = false
end
if k == "two" and attack == false and WMode ~= 2 then
hum.WalkSpeed = 16
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Spikepart.Transparency = 1
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 1
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 0 end end ParticleEmitter6.Enabled = true ParticleEmitter7.Enabled = true trl2.Enabled = true
CFuncs["Sound"].Create("rbxassetid://338594737", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Glass,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.new('Really red'))
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(20,20,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 2
Modestatus.Value = "2"
if math.random(1,2) == 1 then
ORGID = 3103675988
else
ORGID = 693659432
end
PE2.Enabled = false
PE.Enabled = false
MRC_A = BrickColor.new("Really red")
LWing2.Material = Enum.Material.Glass LWingBar2.Material = Enum.Material.Glass LWingBar.Material = Enum.Material.Glass LBase.Material = Enum.Material.Glass LWing1.Material = Enum.Material.Glass
RWing2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar.Material = Enum.Material.Glass RWingBar.Material = Enum.Material.Glass RBase.Material = Enum.Material.Glass RWing1.Material = Enum.Material.Glass
LWing2.Color = Color3.fromRGB(132, 10, 10) LWingBar2.Color = Color3.fromRGB(132, 10, 10) LWingBar.Color = Color3.fromRGB(132, 10, 10) LBase.Color = Color3.fromRGB(132, 10, 10) LWing1.Color = Color3.fromRGB(132, 10, 10) RWing2.Color = Color3.fromRGB(132, 10, 10) RWingBar2.Color = Color3.fromRGB(132, 10, 10) RWingBar.Color = Color3.fromRGB(132, 10, 10) RBase.Color = Color3.fromRGB(132, 10, 10) RWing1.Color = Color3.fromRGB(132, 10, 10)
ChangeMode(BrickColor.new('Really red'), 'Psycho')
rainbowmode = false
end
if k == "zero" and attack == false and WMode == 2 then
hum.WalkSpeed = 16
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Spikepart.Transparency = 1
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 0
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
CFuncs["Sound"].Create("rbxassetid://4516507682", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.CorrodedMetal,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.new('Maroon'))
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(40,40,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 13
if math.random(1,2) == 1 then
ORGID = 4538576008
else
ORGID = 1534973033
end
PE2.Enabled = false
PE.Enabled = false
Modestatus.Value = "13"
MRC_A = BrickColor.new("Maroon")
LWing2.Material = Enum.Material.CorrodedMetal LWingBar2.Material = Enum.Material.CorrodedMetal LWingBar.Material = Enum.Material.CorrodedMetal LBase.Material = Enum.Material.CorrodedMetal LWing1.Material = Enum.Material.CorrodedMetal
RWing2.Material = Enum.Material.CorrodedMetal RWingBar2.Material = Enum.Material.CorrodedMetal RWingBar2.Material = Enum.Material.CorrodedMetal RWingBar2.Material = Enum.Material.CorrodedMetal RWingBar.Material = Enum.Material.CorrodedMetal RWingBar.Material = Enum.Material.CorrodedMetal RBase.Material = Enum.Material.CorrodedMetal RWing1.Material = Enum.Material.CorrodedMetal
LWing2.Color = Color3.fromRGB(0, 0, 0) LWingBar2.Color = Color3.fromRGB(0, 0, 0) LWingBar.Color = Color3.fromRGB(0, 0, 0) LBase.Color = Color3.fromRGB(0, 0, 0) LWing1.Color = Color3.fromRGB(0, 0, 0) RWing2.Color = Color3.fromRGB(0, 0, 0) RWingBar2.Color = Color3.fromRGB(0, 0, 0) RWingBar.Color = Color3.fromRGB(0, 0, 0) RBase.Color = Color3.fromRGB(0, 0, 0) RWing1.Color = Color3.fromRGB(0, 0, 0)
ChangeMode(BrickColor.new('Maroon'), 'Madness')
rainbowmode = false
end
if k == "three" and attack == false and WMode ~= 3 then
hum.WalkSpeed = 32
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Spikepart.Transparency = 1
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 1
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
CFuncs["Sound"].Create("rbxassetid://3750994166", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Neon,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.new('Fire Yellow'))
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(20,20,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 3
--newThemeCust("1841318776",0,1,3)
local songrand = math.random(1,3)
if songrand == 1 then
ORGID = 1881304457
elseif songrand == 2 then
ORGID = 925278639
elseif songrand == 3 then
ORGID = 318890513
end
Modestatus.Value = "3"
MRC_A = BrickColor.new("Fire Yellow")
PE2.Enabled = true
PE.Enabled = true PE.Rate=999 PE.Color = ColorSequence.new(BRICKC("Deep orange").Color,BRICKC("Really red").Color)
PE.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
LWing2.Material = Enum.Material.Neon LWingBar2.Material = Enum.Material.Neon LWingBar.Material = Enum.Material.Neon LBase.Material = Enum.Material.Neon LWing1.Material = Enum.Material.Neon
RWing2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RBase.Material = Enum.Material.Neon RWing1.Material = Enum.Material.Neon
LWing2.Color = Color3.fromRGB(213, 115, 61) LWingBar2.Color = Color3.fromRGB(213, 115, 61) LWingBar.Color = Color3.fromRGB(213, 115, 61) LBase.Color = Color3.fromRGB(213, 115, 61) LWing1.Color = Color3.fromRGB(213, 115, 61) RWing2.Color = Color3.fromRGB(213, 115, 61) RWingBar2.Color = Color3.fromRGB(213, 115, 61) RWingBar.Color = Color3.fromRGB(213, 115, 61) RBase.Color = Color3.fromRGB(213, 115, 61) RWing1.Color = Color3.fromRGB(213, 115, 61)
ChangeMode(BrickColor.new('Fire Yellow'), 'Volcanic')
rainbowmode = false
VolcanicANim()
end
if k == "zero" and attack == false and WMode == 3 then
hum.WalkSpeed = 18
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 0 end end Spikepart.Transparency = 0.5
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 1
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
CFuncs["Sound"].Create("rbxassetid://3750994166", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Neon,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.new('Medium Blue'))
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(20,20,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 14
Modestatus.Value = "14"
ORGID = 385254610
MRC_A = BrickColor.new("Medium Blue")
PE2.Enabled = false
PE.Enabled = true
PE.Rate=600
PE.Texture="rbxassetid://252644715" PE.Color = ColorSequence.new(BRICKC("Medium Blue").Color,BRICKC("Cyan").Color)
LWing2.Material = Enum.Material.Neon LWingBar2.Material = Enum.Material.Neon LWingBar.Material = Enum.Material.Neon LBase.Material = Enum.Material.Neon LWing1.Material = Enum.Material.Neon
RWing2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RBase.Material = Enum.Material.Neon RWing1.Material = Enum.Material.Neon
LWing2.Color = Color3.fromRGB(125, 228, 253) LWingBar2.Color = Color3.fromRGB(125, 228, 253) LWingBar.Color = Color3.fromRGB(125, 228, 253) LBase.Color = Color3.fromRGB(125, 228, 253) LWing1.Color = Color3.fromRGB(125, 228, 253) RWing2.Color = Color3.fromRGB(125, 228, 253) RWingBar2.Color = Color3.fromRGB(125, 228, 253) RWingBar.Color = Color3.fromRGB(125, 228, 253) RBase.Color = Color3.fromRGB(125, 228, 253) RWing1.Color = Color3.fromRGB(125, 228, 253)
ChangeMode(BrickColor.new('Cyan'), 'Glacier')
rainbowmode = false
end
if k == "four" and attack == false and WMode ~= 4 then
hum.WalkSpeed = 16
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Spikepart.Transparency = 1
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 1
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
CFuncs["Sound"].Create("rbxassetid://3750994166", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Glass,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.new('Camo'))
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(20,20,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 4
Modestatus.Value = "4"
--newThemeCust("1841318776",0,1,3)
ORGID = 3197029518
MRC_A = BrickColor.new("Camo")
PE2.Enabled = false
PE.Enabled = false
LWing2.Material = Enum.Material.Glass LWingBar2.Material = Enum.Material.Glass LWingBar.Material = Enum.Material.Glass LBase.Material = Enum.Material.Glass LWing1.Material = Enum.Material.Glass
RWing2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar.Material = Enum.Material.Glass RWingBar.Material = Enum.Material.Glass RBase.Material = Enum.Material.Glass RWing1.Material = Enum.Material.Glass
LWing2.Color = Color3.fromRGB(9, 84, 12) LWingBar2.Color = Color3.fromRGB(9, 84, 12) LWingBar.Color = Color3.fromRGB(9, 84, 12) LBase.Color = Color3.fromRGB(9, 84, 12) LWing1.Color = Color3.fromRGB(9, 84, 12) RWing2.Color = Color3.fromRGB(9, 84, 12) RWingBar2.Color = Color3.fromRGB(9, 84, 12) RWingBar.Color = Color3.fromRGB(9, 84, 12) RBase.Color = Color3.fromRGB(9, 84, 12) RWing1.Color = Color3.fromRGB(9, 84, 12)
ChangeMode(BrickColor.new('Camo'), 'Contagion')
rainbowmode = false
end
if k == "five" and attack == false and WMode ~= 5 then
hum.WalkSpeed = 16
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Spikepart.Transparency = 1
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 0 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency = 0 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 1
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
CFuncs["Sound"].Create("rbxassetid://4299512490", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Neon,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.new('Carnation pink'))
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(20,20,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 5
--newThemeCust("1841318776",0,1,3)
ORGID = 4586618716
Modestatus.Value = "5"
MRC_A = BrickColor.new("Carnation pink")
PE2.Enabled = false
PE.Enabled = false
LWing2.Material = Enum.Material.Neon LWingBar2.Material = Enum.Material.Neon LWingBar.Material = Enum.Material.Neon LBase.Material = Enum.Material.Neon LWing1.Material = Enum.Material.Neon
RWing2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RBase.Material = Enum.Material.Neon RWing1.Material = Enum.Material.Neon
LWing2.Color = Color3.fromRGB(223, 100, 178) LWingBar2.Color = Color3.fromRGB(223, 100, 178) LWingBar.Color = Color3.fromRGB(223, 100, 178) LBase.Color = Color3.fromRGB(223, 100, 178) LWing1.Color = Color3.fromRGB(223, 100, 178) RWing2.Color = Color3.fromRGB(223, 100, 178) RWingBar2.Color = Color3.fromRGB(223, 100, 178) RWingBar.Color = Color3.fromRGB(223, 100, 178) RBase.Color = Color3.fromRGB(223, 100, 178) RWing1.Color = Color3.fromRGB(223, 100, 178)
ChangeMode(BrickColor.new('Carnation pink'), 'Imaginatry')
rainbowmode = false
end
if k == "zero" and attack == false and WMode == 5 then
hum.WalkSpeed = 16
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Spikepart.Transparency = 1
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency =1 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 0 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 1
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
CFuncs["Sound"].Create("rbxassetid://1838699134", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Neon,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.new('Persimmon'))
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,80 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/80
s.Size = s.Size:lerp(Vector3.new(20,20,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 15
Modestatus.Value = "15"
--newThemeCust("1841318776",0,1,3)
ORGID = 4453697067
MRC_A = BrickColor.new("Persimmon")
PE2.Enabled = false
PE.Enabled = false
LWing2.Material = Enum.Material.Neon LWingBar2.Material = Enum.Material.Neon LWingBar.Material = Enum.Material.Neon LBase.Material = Enum.Material.Neon LWing1.Material = Enum.Material.Neon
RWing2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RBase.Material = Enum.Material.Neon RWing1.Material = Enum.Material.Neon
LWing2.Color = Color3.fromRGB(245, 121 , 121) LWingBar2.Color = Color3.fromRGB(245, 121 , 121) LWingBar.Color = Color3.fromRGB(245, 121 , 121) LBase.Color = Color3.fromRGB(245, 121 , 121) LWing1.Color = Color3.fromRGB(245, 121 , 121) RWing2.Color = Color3.fromRGB(245, 121 , 121) RWingBar2.Color = Color3.fromRGB(245, 121 , 121) RWingBar.Color = Color3.fromRGB(245, 121 , 121) RBase.Color = Color3.fromRGB(245, 121 , 121) RWing1.Color = Color3.fromRGB(245, 121 , 121)
ChangeMode(BrickColor.new('Persimmon'), 'Nacreous')
rainbowmode = false
end
if k == "six" and attack == false and WMode ~= 6 then
hum.WalkSpeed = 16
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Spikepart.Transparency = 1
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 1
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
CFuncs["Sound"].Create("rbxassetid://4516507328", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Glass,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.Random())
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(20,20,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 6
Modestatus.Value = "5"
--newThemeCust("1841318776",0,1,3)
ORGID = 147888653
MRC_A = BrickColor.Random()
PE2.Enabled = false
PE.Enabled = false
LWing2.Material = Enum.Material.Glass LWingBar2.Material = Enum.Material.Glass LWingBar.Material = Enum.Material.Glass LBase.Material = Enum.Material.Glass LWing1.Material = Enum.Material.Glass
RWing2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar.Material = Enum.Material.Glass RWingBar.Material = Enum.Material.Glass RBase.Material = Enum.Material.Glass RWing1.Material = Enum.Material.Glass
-- LWing2.Color = Color3.fromRGB(223, 100, 178) LWingBar2.Color = Color3.fromRGB(223, 100, 178) LWingBar.Color = Color3.fromRGB(223, 100, 178) LBase.Color = Color3.fromRGB(223, 100, 178) LWing1.Color = Color3.fromRGB(223, 100, 178) RWing2.Color = Color3.fromRGB(223, 100, 178) RWingBar2.Color = Color3.fromRGB(223, 100, 178) RWingBar.Color = Color3.fromRGB(223, 100, 178) RBase.Color = Color3.fromRGB(223, 100, 178) RWing1.Color = Color3.fromRGB(223, 100, 178)
ChangeMode(BrickColor.new('Carnation pink'), 'Kaleidoscopic')
rainbowmode = true
end
if k == "zero" and attack == false and WMode == 6 then
hum.WalkSpeed = 16
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Spikepart.Transparency = 1
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 1
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
CFuncs["Sound"].Create("rbxassetid://4516507328", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Neon,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.Random())
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(20,20,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 12
Modestatus.Value = "12"
--newThemeCust("1841318776",0,1,3)
ORGID = 2165256309
--2142544796
MRC_A = BrickColor.Random()
PE2.Enabled = false
PE.Enabled = false
LWing2.Material = Enum.Material.Neon LWingBar2.Material = Enum.Material.Neon LWingBar.Material = Enum.Material.Neon LBase.Material = Enum.Material.Neon LWing1.Material = Enum.Material.Neon
RWing2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RBase.Material = Enum.Material.Neon RWing1.Material = Enum.Material.Neon
-- LWing2.Color = Color3.fromRGB(223, 100, 178) LWingBar2.Color = Color3.fromRGB(223, 100, 178) LWingBar.Color = Color3.fromRGB(223, 100, 178) LBase.Color = Color3.fromRGB(223, 100, 178) LWing1.Color = Color3.fromRGB(223, 100, 178) RWing2.Color = Color3.fromRGB(223, 100, 178) RWingBar2.Color = Color3.fromRGB(223, 100, 178) RWingBar.Color = Color3.fromRGB(223, 100, 178) RBase.Color = Color3.fromRGB(223, 100, 178) RWing1.Color = Color3.fromRGB(223, 100, 178)
ChangeMode(BrickColor.new('Carnation pink'), 'Tranquillity')
rainbowmode = true
end
if k == "eight" and attack == false and WMode ~= 7 then
hum.WalkSpeed = 16
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Spikepart.Transparency = 1
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 1
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 0 end end PR1.Transparency = 0.5 PR2.Transparency = 0.5 PR3.Transparency = 0.5 PR4.Transparency = 0.5 PR5.Transparency = 0.5 PR6.Transparency = 0.5 PR7.Transparency = 0.5
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
CFuncs["Sound"].Create("rbxassetid://4516507328", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Glass,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.new('Dark orange'))
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(20,20,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 7
Modestatus.Value = "7"
--newThemeCust("1841318776",0,1,3)
ORGID = 4598602286
MRC_A = BrickColor.new("Dark orange")
PE2.Enabled = false
PE.Enabled = false
LWing2.Material = Enum.Material.Glass LWingBar2.Material = Enum.Material.Glass LWingBar.Material = Enum.Material.Glass LBase.Material = Enum.Material.Glass LWing1.Material = Enum.Material.Glass
RWing2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar2.Material = Enum.Material.Glass RWingBar.Material = Enum.Material.Glass RWingBar.Material = Enum.Material.Glass RBase.Material = Enum.Material.Glass RWing1.Material = Enum.Material.Glass
LWing2.Color = Color3.fromRGB(201, 120, 29) LWingBar2.Color = Color3.fromRGB(201, 120, 29) LWingBar.Color = Color3.fromRGB(201, 120, 29) LBase.Color = Color3.fromRGB(201, 120, 29) LWing1.Color = Color3.fromRGB(201, 120, 29) RWing2.Color = Color3.fromRGB(201, 120, 29) RWingBar2.Color = Color3.fromRGB(201, 120, 29) RWingBar.Color = Color3.fromRGB(201, 120, 29) RBase.Color = Color3.fromRGB(201, 120, 29) RWing1.Color = Color3.fromRGB(201, 120, 29)
ChangeMode(BrickColor.new('Dark orange'), 'TimeKeeper')
rainbowmode = false
end
if k == "nine" and attack == false and WMode ~= 8 then
hum.WalkSpeed = 60
for _,v in pairs(EpicIce:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Spikepart.Transparency = 1
for _,v in pairs(TheBook:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Staff:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(Scythe:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(axee:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
for _,v in pairs(NormalTime:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end Knifemodel.Transparency = 1
for _,v in pairs(Orbmodel:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end ParticleEmitter6.Enabled = false ParticleEmitter7.Enabled = false trl2.Enabled = false
CFuncs["Sound"].Create("rbxassetid://4516507328", root, 7, 1)
local s = sphere1(workspace,true,'Effect',Enum.Material.Neon,Vector3.new(1,1,4),
root.CFrame,0,false,BrickColor.new('Toothpaste'))
s.CFrame = s.CFrame * CFrame.Angles(math.rad(90),0,0)
spawn(function()
s.Transparency = 0
spawn(function()
for i=1,50 do swait()
s.CFrame = s.CFrame * CFrame.new(0,0,i/250)
s.Transparency = i/50
s.Size = s.Size:lerp(Vector3.new(20,20,100),.25)
end
s:Destroy()
end)
wait(0.1)
end)
WMode = 8
Modestatus.Value = "8"
--newThemeCust("1841318776",0,1,3)
if math.random(1,2) == 1 then
ORGID = 3868884613
else
ORGID = 3244261612
end
MRC_A = BrickColor.new("Toothpaste")
PE2.Enabled = false
PE.Enabled = false
LWing2.Material = Enum.Material.Neon LWingBar2.Material = Enum.Material.Neon LWingBar.Material = Enum.Material.Neon LBase.Material = Enum.Material.Neon LWing1.Material = Enum.Material.Neon
RWing2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar2.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RWingBar.Material = Enum.Material.Neon RBase.Material = Enum.Material.Neon RWing1.Material = Enum.Material.Neon
LWing2.Color = Color3.fromRGB(6, 255, 248) LWingBar2.Color = Color3.fromRGB(6, 255, 248) LWingBar.Color = Color3.fromRGB(6, 255, 248) LBase.Color = Color3.fromRGB(6, 255, 248) LWing1.Color = Color3.fromRGB(6, 255, 248) RWing2.Color = Color3.fromRGB(6, 255, 248) RWingBar2.Color = Color3.fromRGB(6, 255, 248) RWingBar.Color = Color3.fromRGB(6, 255, 248) RBase.Color = Color3.fromRGB(6, 255, 248) RWing1.Color = Color3.fromRGB(6, 255, 248)
ChangeMode(BrickColor.new('Toothpaste'), 'Speedcore')
rainbowmode = false
end
if hitfloor == nil and k == "space" and attack == false then
Doublejump()
end
if k == "c" and attack == false and WMode == 3 then
CrystalSlam()
end
if k == "z" and attack == false and WMode == 4 then
Reanimated()
end
if k == "z" and attack == false and WMode == 8 then
--STRIKE_CIRCLE()
end
if k == "z" and attack == false and WMode == 3 then
fireboll()
end
if k == "x" and attack == false and WMode == 3 then
ashes()
end
if k == "z" and attack == false and WMode == 5 then
Spell1()
end
if k == "x" and attack == false and WMode == 5 then
Spell2()
end
if k == "z" and attack == false and WMode == 2 then
BloodShatter()
end
if k == "z" and attack == false and WMode == 13 then
Knifeswing()
end
if k == "t" and attack == false and WMode == 13 then
local TauntL = Instance.new("Sound",Torso)
TauntL.Volume = 5
TauntL.PlaybackSpeed = 1.7
TauntL.SoundId = "rbxassetid://199977936"
TauntL:Play()
end
if k == "z" and attack == false and WMode == 8 then
Slidebruh()
end
end)
-- music end
local how_much = 13
print(string.rep("I",how_much))
-- music controls
plr.Chatted:Connect(function(word)
if word:sub(1,4) == "play" and WMode == 12 then
local IDL = word:len()
local ID = word:sub(6,IDL)
ORGID = ID
music:Play()
wait(0.3)
chatFunc("Now Playing "..game:service'MarketplaceService':GetProductInfo(music.SoundId:match("%d+")).Name.. "", 200, BrickColor.new('White'), 14)
end
if word:sub(1,3):lower()=='vol' and WMode == 12 then
local val3 = Instance.new("NumberValue", char)
val3.Value = tonumber(word:sub(5))
local Volume = val3.Value
music.Volume = Volume
volchoice = Volume
end
if word:sub(1,7) == "restart" and WMode == 12 then
music.TimePosition = 0
end
if word:sub(1,5) == "pause" and WMode == 12 then
if music.IsPlaying then
music:Pause()
end
end
if word:sub(1,6) == "resume" or word:sub(1,8) == "continue" and WMode == 12 then
if music.IsPaused then
music:Resume()
end
end
end)
local TweenService = game:GetService("TweenService")
local Info = TweenInfo.new(0.25, Enum.EasingStyle.Sine)
local RWingGoal = {}
local LWingGoal = {}
local RWingBarGoal = {}
local LWingBarGoal = {}
local RWingBarGoal2 = {}
local LWingBarGoal2 = {}
function Tween(P, I, G)
local Tween = TweenService:Create(P, I, G)
Tween:Play()
end
Humanoid.Name = "ArmoDone"
Humanoid.MaxHealth = "250"
Humanoid.Health = "250"
Instance.new("ForceField",char).Visible = false
--health--
local hp = Humanoid.Health
--alocal rings = Instance.new("Model",script)
function HealthChanged()
if Humanoid.Health < hp then
if Humanoid.Health > 0 and attack == false then
HurtAnimation()
end
end
hp = Humanoid.Health
end
Humanoid.HealthChanged:Connect(HealthChanged)
MseGuide = true
--Mouse Head Think
OrgnC0 = Torso.Neck.C0
local movelimbs = coroutine.wrap(function()
while wait() do
TrsoLV = Torso.CFrame.lookVector
Dist = nil
Diff = nil
if not MseGuide then
print("Failed to recognize")
else
local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
Dist = (Head.CFrame.p-Point).magnitude
Diff = Head.CFrame.Y-Point.Y
local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
Dist2 = (LeftArm.CFrame.p-Point).magnitude
Diff2 = LeftArm.CFrame.Y-Point.Y
Torso.Neck.C0 = Torso.Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
end
end
end)
movelimbs()
t = 0
idleanim=.4
while true do
if mutedtog == false then
--kmusic.Volume = ORVOL
elseif mutedtog == true then
--Theme.Volume = 0
end
CameraManager()
swait()
sine = sine + change
t = sine
musictime = music.TimePosition
if music ~= nil then
music.Parent = tors
music.Volume = volchoice
music.Looped = true
music.Pitch = pitchchoice
music.EmitterSize = es
music.Name = "CustomMusic"
if music.SoundId ~= "rbxassetid://"..ORGID then
music.SoundId = "rbxassetid://"..ORGID
end
end
AE.C0=clerp(AE.C0,cf(3,5 - 0.2 * math.cos(sine / 25),2)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(sine),math.rad(sine/3),math.rad(sine/2)),.1)
sordweld.C0=clerp(sordweld.C0,cf(0 - 5 * math.cos(sine / 26),2 - 3 * math.cos(sine / 32),0 + 5 * math.cos(sine / 31))*angles(math.rad(0 + 30 * math.cos(sine / 31)),math.rad(0),math.rad(0)),.1)
if rainbowmode == true then
LWing2.Color = Color3.new(r/255,g/255,b/255) LWingBar2.Color = Color3.new(r/255,g/255,b/255) LWingBar.Color = Color3.new(r/255,g/255,b/255) LBase.Color = Color3.new(r/255,g/255,b/255) LWing1.Color = Color3.new(r/255,g/255,b/255) RWing2.Color = Color3.new(r/255,g/255,b/255) RWingBar2.Color = Color3.new(r/255,g/255,b/255) RWingBar.Color = Color3.new(r/255,g/255,b/255) RBase.Color = Color3.new(r/255,g/255,b/255) RWing1.Color = Color3.new(r/255,g/255,b/255)
MRC_A = BrickColor.Random()
textt.TextColor3 = Color3.new(r / 255, g / 255, b / 255)
end
if WMode == 1 then
RWingGoal.C0 = CFrame.new(0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(-30 + 5 * math.cos(sine / 25 - 0.5)), math.rad(15 + 5 * math.cos(sine / 25)))
LWingGoal.C0 = CFrame.new(-0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(210 - 5 * math.cos(sine / 25 - 0.5)), math.rad(15 + 5 * math.cos(sine / 25)))
RWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
RWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.125 * math.cos(sine / 25 - 0.5))
elseif WMode == 11 then
RWingGoal.C0 = CFrame.new(0.15, 0.15, 0.5) * CFrame.Angles(0, math.rad(-30 + 5 * math.cos(sine / 10 - 0.5)), math.rad(15 + 5 * math.cos(sine / 15)))
LWingGoal.C0 = CFrame.new(-0.15, 0.15, 0.5) * CFrame.Angles(0, math.rad(210 - 5 * math.cos(sine / 10 - 0.5)), math.rad(15 + 5 * math.cos(sine / 15)))
RWingBarGoal.C0 = CFrame.new(-0.5 + 1.15 * math.cos(sine / 10 - 0.5), -0.15 * math.cos(sine / 10 - 0.5), -0.75 + 0.115 * math.cos(sine / 10 - 0.5))
LWingBarGoal.C0 = CFrame.new(-0.5 + 1.15 * math.cos(sine / 10 - 0.5), -0.15 * math.cos(sine / 10 - 0.5), -0.75 + 0.115 * math.cos(sine / 10 - 0.5))
RWingBarGoal2.C0 = CFrame.new(0.5 - 1.15 * math.cos(sine / 10 - 0.5), 0.15 * math.cos(sine / 10 - 0.5), 0.75 - 0.115 * math.cos(sine / 10 - 0.5))
LWingBarGoal2.C0 = CFrame.new(0.5 - 1.15 * math.cos(sine / 10 - 0.5), 0.15 * math.cos(sine / 10 - 0.5), 0.75 - 0.115 * math.cos(sine / 10 - 0.5))
elseif WMode == 2 then
RWingGoal.C0 = CFrame.new(0.15, 0.15, 0.5) * CFrame.Angles(0, math.rad(-30 + 5 * math.cos(sine / 15 - 0.5)), math.rad(15 + 5 * math.cos(sine / 15)))
LWingGoal.C0 = CFrame.new(-0.15, 0.15, 0.5) * CFrame.Angles(0, math.rad(210 - 5 * math.cos(sine / 15 - 0.5)), math.rad(15 + 5 * math.cos(sine / 15)))
RWingBarGoal.C0 = CFrame.new(-0.5 + 1.15 * math.cos(sine / 15 - 0.5), -0.15 * math.cos(sine / 15 - 0.5), -0.75 + 0.115 * math.cos(sine / 15 - 0.5))
LWingBarGoal.C0 = CFrame.new(-0.5 + 1.15 * math.cos(sine / 15 - 0.5), -0.15 * math.cos(sine / 15 - 0.5), -0.75 + 0.115 * math.cos(sine / 15 - 0.5))
RWingBarGoal2.C0 = CFrame.new(0.5 - 1.15 * math.cos(sine / 15 - 0.5), 0.15 * math.cos(sine / 15 - 0.5), 0.75 - 0.115 * math.cos(sine / 15 - 0.5))
LWingBarGoal2.C0 = CFrame.new(0.5 - 1.15 * math.cos(sine / 15 - 0.5), 0.15 * math.cos(sine / 15 - 0.5), 0.75 - 0.115 * math.cos(sine / 15 - 0.5))
elseif WMode == 13 then
RWingGoal.C0 = CFrame.new(0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(-30 + 5 * math.cos(sine / 25 - 0.5)), math.rad(15 + 5 * math.cos(sine / 25)))
LWingGoal.C0 = CFrame.new(-0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(210 - 5 * math.cos(sine / 25 - 0.5)), math.rad(15 + 5 * math.cos(sine / 25)))
RWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
RWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.125 * math.cos(sine / 25 - 0.5))
elseif WMode == 3 then
RWingGoal.C0 = CFrame.new(0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(-30 + 5 * math.cos(sine / 25 - 0.5)), math.rad(15 - 8 * math.cos(sine / 25)))
LWingGoal.C0 = CFrame.new(-0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(210 - 5 * math.cos(sine / 25 - 0.5)), math.rad(15 - 8 * math.cos(sine / 25)))
RWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
RWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.125 * math.cos(sine / 25 - 0.5))
elseif WMode == 4 then
RWingGoal.C0 = CFrame.new(0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(-30 + 5 * math.cos(sine / 25 - 0.5)), math.rad(-15 + 5 * math.cos(sine / 25)))
LWingGoal.C0 = CFrame.new(-0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(210 - 5 * math.cos(sine / 25 - 0.5)), math.rad(-15 + 5 * math.cos(sine / 25)))
RWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
RWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.125 * math.cos(sine / 25 - 0.5))
elseif WMode == 5 then
RWingGoal.C0 = CFrame.new(0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(-30 + 5 * math.cos(sine / 25 - 0.5)), math.rad(15 + 10 * math.cos(sine / 25)))
LWingGoal.C0 = CFrame.new(-0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(210 - 5 * math.cos(sine / 25 - 0.5)), math.rad(15 + 10 * math.cos(sine / 25)))
RWingBarGoal.C0 = CFrame.new(-0.5 + 1.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.225 * math.cos(sine / 25 - 0.5))
LWingBarGoal.C0 = CFrame.new(-0.5 + 1.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.225 * math.cos(sine / 25 - 0.5))
RWingBarGoal2.C0 = CFrame.new(0.5 - 1.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.225 * math.cos(sine / 25 - 0.5))
LWingBarGoal2.C0 = CFrame.new(0.5 - 1.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.225 * math.cos(sine / 25 - 0.5))
elseif WMode == 15 then
RWingGoal.C0 = CFrame.new(0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(-30 + 5 * math.cos(sine / 25 - 0.5)), math.rad(15 + 5 * math.cos(sine / 25)))
LWingGoal.C0 = CFrame.new(-0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(210 - 5 * math.cos(sine / 25 - 0.5)), math.rad(15 + 5 * math.cos(sine / 25)))
RWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
RWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.125 * math.cos(sine / 25 - 0.5))
elseif WMode == 6 then
RWingGoal.C0 = CFrame.new(0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(-40 + 5 * math.cos(sine / 25 - 0.5)), math.rad(19 + 5 * math.cos(sine / 25)))
LWingGoal.C0 = CFrame.new(-0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(220 - 5 * math.cos(sine / 25 - 0.5)), math.rad(19 + 5 * math.cos(sine / 25)))
RWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
RWingBarGoal2.C0 = CFrame.new(0.5 - 1.45 * math.cos(sine / 14 - 0.5), 2.15 * math.cos(sine / 14 - 0.5), 2.75 - 0.125 * math.cos(sine / 14 - 0.5))
LWingBarGoal2.C0 = CFrame.new(0.5 - 1.45 * math.cos(sine / 14 - 0.5), 2.15 * math.cos(sine / 14 - 0.5), 2.75 - 0.125 * math.cos(sine / 14 - 0.5))
elseif WMode == 12 then
RWingGoal.C0 = CFrame.new(0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(-30 + 5 * math.cos(sine / 10 - 0.5)), math.rad(15 + 5 * math.cos(sine / 10)))
LWingGoal.C0 = CFrame.new(-0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(210 - 5 * math.cos(sine / 10 - 0.5)), math.rad(15 + 5 * math.cos(sine / 10)))
RWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 10 - 0.5), -0.15 * math.cos(sine / 10 - 0.5), -0.75 + 0.125 * math.cos(sine / 10 - 0.5))
LWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 10 - 0.5), -0.15 * math.cos(sine / 10 - 0.5), -0.75 + 0.125 * math.cos(sine / 10 - 0.5))
RWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 10 - 0.5), 0.15 * math.cos(sine / 10 - 0.5), 0.75 - 0.125 * math.cos(sine / 10 - 0.5))
LWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 10 - 0.5), 0.15 * math.cos(sine / 10 - 0.5), 0.75 - 0.125 * math.cos(sine / 10 - 0.5))
elseif WMode == 7 then
RWingGoal.C0 = CFrame.new(0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(-30 + 5 * math.cos(sine / 25 - 0.5)), math.rad(15 + 5 * math.cos(sine / 25)))
LWingGoal.C0 = CFrame.new(-0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(210 - 5 * math.cos(sine / 25 - 0.5)), math.rad(15 + 5 * math.cos(sine / 25)))
RWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 25 - 0.5), -0.15 * math.cos(sine / 25 - 0.5), -0.75 + 0.125 * math.cos(sine / 25 - 0.5))
RWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.125 * math.cos(sine / 25 - 0.5))
LWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 25 - 0.5), 0.15 * math.cos(sine / 25 - 0.5), 0.75 - 0.125 * math.cos(sine / 25 - 0.5))
elseif WMode == 8 then
RWingGoal.C0 = CFrame.new(0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(-30 + 5 * math.cos(sine / 8 - 0.5)), math.rad(-15 + 5 * math.cos(sine / 8)))
LWingGoal.C0 = CFrame.new(-0.25, 0.25, 0.5) * CFrame.Angles(0, math.rad(210 - 5 * math.cos(sine / 8 - 0.5)), math.rad(-15 + 5 * math.cos(sine / 8)))
RWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 8 - 0.5)+ math.random(-3,3), -0.15 * math.cos(sine / 8 - 0.5), -0.75 + 0.125 * math.cos(sine / 8 - 0.5))
LWingBarGoal.C0 = CFrame.new(-0.5 + 0.25 * math.cos(sine / 8 - 0.5)+ math.random(-3,3), -0.15 * math.cos(sine / 8 - 0.5), -0.75 + 0.125 * math.cos(sine / 8 - 0.5))
RWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 8 - 0.5)+ math.random(-3,3), 0.15 * math.cos(sine / 8 - 0.5), 0.75 - 0.125 * math.cos(sine / 8 - 0.5))
LWingBarGoal2.C0 = CFrame.new(0.5 - 0.25 * math.cos(sine / 8 - 0.5)+ math.random(-3,3), 0.15 * math.cos(sine / 8 - 0.5), 0.75 - 0.125 * math.cos(sine / 8 - 0.5))
end
Tween(RBaseWeld, Info, RWingGoal) Tween(LBaseWeld, Info, LWingGoal) Tween(RWingBarWeld, Info, RWingBarGoal) Tween(LWingBarWeld, Info, LWingBarGoal) Tween(RWingBarWeld2, Info, RWingBarGoal2) Tween(LWingBarWeld2, Info, LWingBarGoal2)
local sidevec = math.clamp((root.Velocity*root.CFrame.rightVector).X+(root.Velocity*root.CFrame.rightVector).Z,-hum.WalkSpeed,hum.WalkSpeed)
local forwardvec = math.clamp((root.Velocity*root.CFrame.lookVector).X+(root.Velocity*root.CFrame.lookVector).Z,-hum.WalkSpeed,hum.WalkSpeed)
local sidevelocity = sidevec/hum.WalkSpeed
local forwardvelocity = forwardvec/hum.WalkSpeed
textt.Rotation = -5 * math.cos(sine / 23)
-- ffg.Position = UDim2.new(0,0,0.9- 0.1 * math.cos(sine / 19),0)
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
local velderp=RootPart.Velocity.y
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
coroutine.resume(coroutine.create(function()
if hitfloor ~= nil then
end
end))
if equipped==true or equipped==false then
if attack==false then
else
idle=0
end
if idle>=500 then
if attack==false then
--Sheath()
end
end
if Anim ~= "Idle" then
change = 1
speed = 3
else
change = 0.90
speed = 3
end
if RootPart.Velocity.y > 1 and hitfloor==nil then
Anim="Jump"
if attack==false then
smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
end
elseif RootPart.Velocity.y < -1 and hitfloor==nil then
Anim="Fall"
if attack==false then
smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10 + 10.05 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.1)
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15 - 10* math.cos(sine / 25)),math.rad(0),math.rad(55)),.1)
LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15 - 10* math.cos(sine / 25)),math.rad(0),math.rad(-55)),.1)
end
elseif torvel<1 and hitfloor~=nil then
Anim="Idle"
if attack==false then
if WMode == 1 then
smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
elseif WMode == 11 then
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-7 - 2 * math.cos(sine / 32))),.2)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(30 - 1 * math.cos(sine / 56)),math.rad(5 + 2 * math.cos(sine / 32))),.2)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-56)),.2)
RW.C0=clerp(RW.C0,cf(0.5,0.5,-0.5)*angles(math.rad(0),math.rad(-0),math.rad(-110)),.1)
LW.C0=clerp(LW.C0,cf(-1,0.5,-0)*angles(math.rad(200),math.rad(-0),math.rad(0)),.1)
elseif WMode == 2 then
local snap = math.random(1,32)
if snap == 1 then
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
end
smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
--Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0- 3 * math.cos(sine / 22)), math.rad(0- 5 * math.cos(sine / 32)) - hed.RotVelocity.Y / 15), 0.3)
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.2 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 10 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(-82 + 7 * math.cos(sine / 45))),.1)
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.2 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 10 * math.cos(sine / 66)),math.rad(4 - 8 * math.cos(sine / 59)),math.rad(67 - 9 * math.cos(sine / 45))),.1)
elseif WMode == 13 then
local Alpha = .3 smokt.Enabled = false
RootJoint.C0 = RootJoint.C0:lerp(cf(0.1,0 - 0.1 * math.cos(sine/15),-0.1)*angles(math.rad(-21),math.rad(-17.7),math.rad(-18))*RootCF,Alpha)
LH.C0 = LH.C0:lerp(cf(-1,-1.3+ 0.1 * math.cos(sine/15),0.1)*angles(math.rad(-12.7),math.rad(31.4),math.rad(6.7))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
RH.C0 = RH.C0:lerp(cf(1,-0.6+ 0.1 * math.cos(sine/15),-0.5)*angles(math.rad(0),math.rad(0),math.rad(12.9))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
LW.C0 = LW.C0:lerp(cf(-1.3,0.3 - 0.1 * math.cos(sine/30),-0.3)*angles(math.rad(37.2 - 4 * math.cos(sine/15)),math.rad(29.8 + 4 * math.cos(sine/20)),math.rad(15.5 + 4 * math.cos(sine/53))),Alpha)
RW.C0 = RW.C0:lerp(cf(1.4,0.6 + 0.1 * math.cos(sine/31),-0.3)*angles(math.rad(8.1 + 4 * math.cos(sine/15)),math.rad(28.3 - 4 * math.cos(sine/20)),math.rad(12.3 + 4 * math.cos(sine/34))),Alpha)
elseif WMode == 3 then
smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 30),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 30),0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 30))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1)
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.075 * math.cos(sine / 20),0)*angles(math.rad(0 + math.random(-5,5)),math.rad(2 + math.random(-5,5)),math.rad(-15 + math.random(-5,5))),1)
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.075 * math.cos(sine / 20),0)*angles(math.rad(0 + 5 * math.cos(sine / 50)),math.rad(2 - 3 * math.cos(sine / 52)),math.rad(15 + 5 * math.cos(sine / 20))),.1)
--RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 + 2 * math.cos(sine / 45))),.1)
--LW.C0=clerp(LW.C0,cf(-1,0.55,-0.5)*angles(math.rad(69 - 7 * math.cos(sine / 66)),math.rad(4 - 2 * math.cos(sine / 59)),math.rad(61 - 4 * math.cos(sine / 45))),.1)
elseif WMode == 14 then
local Alpha = .3
RootJoint.C0 = RootJoint.C0:lerp(cf(0,0 + 0.1 * math.cos(sine/26),0)*angles(math.rad(-35.1),math.rad(-35.5),math.rad(-22.2))*RootCF,Alpha)
LH.C0 = LH.C0:lerp(cf(-1.1,-1-0.1 * math.cos(sine/26),-0.4)*angles(math.rad(26),math.rad(11.2),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
RH.C0 = RH.C0:lerp(cf(1.2,-1.3-0.1 * math.cos(sine/26),0)*angles(math.rad(-11.8),math.rad(-30.9),math.rad(-22.2))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
LW.C0 = LW.C0:lerp(cf(-1.4,0.4,-0.3)*angles(math.rad(74.4),math.rad(0 + 5 * math.sin(sine/32)),math.rad(42.4 + 10 * math.sin(sine/26))),Alpha)
RW.C0 = RW.C0:lerp(cf(1.4,0.6,-0.3)*angles(math.rad(-41.3),math.rad(13.5 + 7 * math.cos(sine/32)),math.rad(33.7)),Alpha)
elseif WMode == 4 then
smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(25),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(25),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
--Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
RW.C0=clerp(RW.C0,cf(1.43,0.45 + 0.135 * math.cos(sine / 16),0)*angles(math.rad(12 + 6 * math.cos(sine / 22*-1.25)),math.rad(3 - 2 * math.cos(sine / 28*-1.25)),math.rad(10 + 10 * math.sin(sine / 16))),.1)
LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.1 * math.cos(sine / 28),-0.2)*angles(math.rad(150 + 1 * math.cos(sine / 62)),math.rad(-3),math.rad(27)),.1)
elseif WMode == 5 then
smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 24)* Player_Size, -0.05* Player_Size) * angles(Rad(70 + 3 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
elseif WMode == 15 then
smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-0.3,-0.6)*angles(math.rad(-10 - 5 * math.sin(sine/32)),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(7 + 15 * math.cos(sine / 32)),math.rad(0 + 20 * math.cos(sine/64)),math.rad(0)),.1)
--RW.C0=clerp(RW.C0,cf(1.3,0.5 + 0.3 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-20),math.rad(14 + 18 * math.sin(sine/32))),.1)
RW.C0 = clerp(RW.C0, CF(1.3,0.5 + 0.3 * math.cos(sine / 32),0) * angles(Rad(210), Rad(0), Rad(14 + 18 * math.sin(sine/32))), 0.1)
LW.C0=clerp(LW.C0,cf(-1.3,0.5 + 0.3 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(20),math.rad(-14 - 18 * math.sin(sine/32))),.1)
elseif WMode == 6 then
smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-1 - 0.075 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(-20),math.rad(0)),.2)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.075 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.075 * math.cos(sine / 22))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 2 * math.cos(sine / 53)),math.rad(9),math.rad(10 + 2 * math.cos(sine / 24))),.2)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-5 - 3 * math.cos(sine / 53)),math.rad(2),math.rad(-13 - 5 * math.cos(sine / 23))),.2)
elseif WMode == 12 then
local Alpha = .1 smokt.Enabled = false
RootJoint.C0 = RootJoint.C0:lerp(cf(0,4.8 + 2.3 * math.cos(sine/45),0)*angles(math.rad(38.2 - 10 * math.sin(sine/45)),math.rad(26.4),math.rad(-14.1))*RootCF,Alpha)
LH.C0 = LH.C0:lerp(cf(-1,-1,-0.1)*angles(math.rad(24.6 - 5 * math.cos(sine/45)),math.rad(-0.8),math.rad(-3.1))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
RH.C0 = RH.C0:lerp(cf(1,-0.5,-0.8)*angles(math.rad(-37 - 5 * math.cos(sine/45)),math.rad(4.1),math.rad(0.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
LW.C0 = LW.C0:lerp(cf(-1.1,1,0.1)*angles(math.rad(-164.6),math.rad(15.9),math.rad(53.8)),Alpha)
RW.C0 = RW.C0:lerp(cf(1.5,0.8,0)*angles(math.rad(19.1),math.rad(-9.6),math.rad(40.3)),Alpha)
elseif WMode == 7 then
smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 14),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5 - 5 * math.cos(sine / 28))),.1)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 14),0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 28))),.1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 14))*angles(math.rad(0 - 5 * math.cos(sine / 28)),math.rad(0),math.rad(20 + 5 * math.cos(sine / 28))),.1)
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.2 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 10 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(-82 + 7 * math.cos(sine / 45))),.1)
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.2 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 10 * math.cos(sine / 66)),math.rad(4 - 8 * math.cos(sine / 59)),math.rad(67 - 9 * math.cos(sine / 45))),.1)
elseif WMode == 8 then
local Alpha = .3 smokt.Enabled = false
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 35),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 30))),.25)
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 35),0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-9.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 30))),.25)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 35))*angles(math.rad(0 - .5 * math.cos(sine / 15)),math.rad(0),math.rad(-30)),.1)
RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.025 * math.cos(sine / 35), 0)*angles(math.rad(0 - 0 * math.cos(sine / 35)),math.rad(20 - 1 * math.cos(sine / 15)),math.rad(0 - 2 * math.cos(sine / 35))),.2)
LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.025 * math.cos(sine / 35),0)*angles(math.rad(4 - 0 * math.cos(sine / 35)),math.rad(20 - 1 * math.cos(sine / 15)),math.rad(0 + 2 * math.cos(sine / 35))),.2)
end
end
elseif torvel>2 and torvel<22 and hitfloor~=nil then
Anim="Walk"
if attack==false then
if WMode ~= 5 and WMode ~= 11 and WMode ~= 13 and WMode ~= 14 then
smokt.Enabled = true
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.75 - 0.4 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 15 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - .1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(sidevelocity*30 * math.cos(sine / 7)), math.rad(0), math.rad(forwardvelocity*20* math.cos(sine / 12))), 0.15)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.75 + 0.4 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 15 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - .1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(sidevelocity*30 * math.cos(sine / 7)), math.rad(0), math.rad(forwardvelocity*20* math.cos(sine / 12))), 0.15)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0+ 0.3 * math.cos(sine / 5))*angles(math.rad(forwardvelocity*15),math.rad(-sidevelocity*15),math.rad(sidevelocity*20)),.1)
RH.C0 = RH.C0:Lerp(CFrame.new(0.5,-1-0.4*math.cos(t/7)/2,0.5*math.cos(t/7)/2)*CFrame.Angles(math.rad(-15+forwardvelocity*22.5*math.cos(t/7)),math.rad(90- 0.1*math.cos(t/7)),math.rad(0))*CFrame.Angles(math.rad(sidevelocity*30*math.sin(t/7)),math.rad(0),math.rad(forwardvelocity*-22.5*math.sin(t/7))),0.15)
LH.C0 = LH.C0:Lerp(CFrame.new(-0.5,-1+0.4*math.cos(t/7)/2,-0.5*math.cos(t/7)/2)*CFrame.Angles(math.rad(-15+forwardvelocity*22.5*-math.cos(t/7)),math.rad(-90- 0.1*math.cos(t/7)),math.rad(0))*CFrame.Angles(math.rad(sidevelocity*30*math.sin(t/7)),math.rad(0),math.rad(forwardvelocity*-22.5*math.sin(t/7))),0.15)
elseif WMode == 5 then
smokt.Enabled = true
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.75 - 0.4 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 15 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - .1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(sidevelocity*30 * math.cos(sine / 7)), math.rad(0), math.rad(forwardvelocity*20* math.cos(sine / 12))), 0.15)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.75 + 0.4 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 15 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - .1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(sidevelocity*30 * math.cos(sine / 7)), math.rad(0), math.rad(forwardvelocity*20* math.cos(sine / 12))), 0.15)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0+ 0.3 * math.cos(sine / 5))*angles(math.rad(forwardvelocity*15),math.rad(-sidevelocity*15),math.rad(sidevelocity*20)),.1)
RH.C0 = RH.C0:Lerp(CFrame.new(0.5,-1-0.4*math.cos(t/7)/2,0.5*math.cos(t/7)/2)*CFrame.Angles(math.rad(-15+forwardvelocity*22.5*math.cos(t/7)),math.rad(90- 0.1*math.cos(t/7)),math.rad(0))*CFrame.Angles(math.rad(sidevelocity*30*math.sin(t/7)),math.rad(0),math.rad(forwardvelocity*-22.5*math.sin(t/7))),0.15)
LH.C0 = LH.C0:Lerp(CFrame.new(-0.5,-1+0.4*math.cos(t/7)/2,-0.5*math.cos(t/7)/2)*CFrame.Angles(math.rad(-15+forwardvelocity*22.5*-math.cos(t/7)),math.rad(-90- 0.1*math.cos(t/7)),math.rad(0))*CFrame.Angles(math.rad(sidevelocity*30*math.sin(t/7)),math.rad(0),math.rad(forwardvelocity*-22.5*math.sin(t/7))),0.15)
elseif WMode == 11 then
RH.C0 = RH.C0:Lerp(CFrame.new(0.5,-1-0.4*math.cos(t/7)/2,0.5*math.cos(t/7)/2)*CFrame.Angles(math.rad(-15+forwardvelocity*22.5*math.cos(t/7)),math.rad(90- 0.1*math.cos(t/7)),math.rad(0))*CFrame.Angles(math.rad(sidevelocity*30*math.sin(t/7)),math.rad(0),math.rad(forwardvelocity*-22.5*math.sin(t/7))),0.15)
LH.C0 = LH.C0:Lerp(CFrame.new(-0.5,-1+0.4*math.cos(t/7)/2,-0.5*math.cos(t/7)/2)*CFrame.Angles(math.rad(-15+forwardvelocity*22.5*-math.cos(t/7)),math.rad(-90- 0.1*math.cos(t/7)),math.rad(0))*CFrame.Angles(math.rad(sidevelocity*30*math.sin(t/7)),math.rad(0),math.rad(forwardvelocity*-22.5*math.sin(t/7))),0.15)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0+ 0.3 * math.cos(sine / 5))*angles(math.rad(forwardvelocity*15),math.rad(-sidevelocity*15),math.rad(sidevelocity*20)),.1)
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 8)* Player_Size, 0 - 0.5 * Sin(sine / 8) * Player_Size) * angles(Rad(45 * Sin(sine / 8)) + root.RotVelocity.Y / 75, Rad(-10 * Cos(sine / 8)), Rad(10) + root.RotVelocity.Y / -75), 0.1)
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0)*angles(math.rad(200),math.rad(-0),math.rad(0)),.1) AXW.C0 = clerp(AXW.C0, CF(0, -1, 0) * angles(Rad(-180), Rad(-90), Rad(180)), 0.1)
elseif WMode == 13 then
RH.C0 = RH.C0:Lerp(CFrame.new(0.5,-1-0.4*math.cos(t/7)/2,0.5*math.cos(t/7)/2)*CFrame.Angles(math.rad(-15+forwardvelocity*22.5*math.cos(t/7)),math.rad(90- 0.1*math.cos(t/7)),math.rad(0))*CFrame.Angles(math.rad(sidevelocity*30*math.sin(t/7)),math.rad(0),math.rad(forwardvelocity*-22.5*math.sin(t/7))),0.15)
LH.C0 = LH.C0:Lerp(CFrame.new(-0.5,-1+0.4*math.cos(t/7)/2,-0.5*math.cos(t/7)/2)*CFrame.Angles(math.rad(-15+forwardvelocity*22.5*-math.cos(t/7)),math.rad(-90- 0.1*math.cos(t/7)),math.rad(0))*CFrame.Angles(math.rad(sidevelocity*30*math.sin(t/7)),math.rad(0),math.rad(forwardvelocity*-22.5*math.sin(t/7))),0.15)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0+ 0.3 * math.cos(sine / 5))*angles(math.rad(forwardvelocity*15),math.rad(-sidevelocity*15),math.rad(sidevelocity*20)),.1)
RW.C0 = RW.C0:lerp(cf(1.4,0.6 + 0.1 * math.cos(sine/31),-0.3)*angles(math.rad(8.1 + 4 * math.cos(sine/15)),math.rad(28.3 - 4 * math.cos(sine/20)),math.rad(12.3 + 4 * math.cos(sine/34))),.3)
LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.1 * math.cos(sine / 28),-0.2)*angles(math.rad(90 + 1 * math.cos(sine / 62)),math.rad(-3),math.rad(0)),.1)
elseif WMode == 14 then
RH.C0 = RH.C0:Lerp(CFrame.new(0.5,-1-0.4*math.cos(t/7)/2,0.5*math.cos(t/7)/2)*CFrame.Angles(math.rad(-15+forwardvelocity*22.5*math.cos(t/7)),math.rad(90- 0.1*math.cos(t/7)),math.rad(0))*CFrame.Angles(math.rad(sidevelocity*30*math.sin(t/7)),math.rad(0),math.rad(forwardvelocity*-22.5*math.sin(t/7))),0.15)
LH.C0 = LH.C0:Lerp(CFrame.new(-0.5,-1+0.4*math.cos(t/7)/2,-0.5*math.cos(t/7)/2)*CFrame.Angles(math.rad(-15+forwardvelocity*22.5*-math.cos(t/7)),math.rad(-90- 0.1*math.cos(t/7)),math.rad(0))*CFrame.Angles(math.rad(sidevelocity*30*math.sin(t/7)),math.rad(0),math.rad(forwardvelocity*-22.5*math.sin(t/7))),0.15)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0+ 0.3 * math.cos(sine / 5))*angles(math.rad(forwardvelocity*15),math.rad(-sidevelocity*15),math.rad(sidevelocity*20)),.1)
LW.C0 = LW.C0:lerp(cf(-1.4,0.4,-0.3)*angles(math.rad(74.4),math.rad(0 + 5 * math.sin(sine/32)),math.rad(42.4 + 10 * math.sin(sine/26))),Alpha)
RW.C0 = RW.C0:lerp(cf(1.4,0.6,-0.3)*angles(math.rad(-41.3),math.rad(13.5 + 7 * math.cos(sine/32)),math.rad(33.7)),Alpha)
end
end
elseif torvel>=22 and hitfloor~=nil then
Anim="Run"
if attack==false then
smokt.Enabled = true
--RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.3)
-- RH.C0 = clerp(RH.C0, cf(1, -0.8 - 1 * math.cos(sine / 7) / 2, 0.6 * math.sin(sine / 7)) * angles(math.rad(-15 - 50 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
-- LH.C0 = clerp(LH.C0, cf(-1, -0.8 + 1 * math.cos(sine / 7) / 2, -0.6 * math.sin(sine / 7)) * angles(math.rad(-15 + 50 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.05 * math.sin(sine / 7), 0 - 0.5 * math.cos(sine / 7)) * angles(math.rad(78) * math.cos(sine / 7) , math.rad(-8 * math.cos(sine / 7)) , math.rad(6) - ra.RotVelocity.Y/75), 0.3)
LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.05 * math.sin(sine / 7), 0 + 0.5 * math.cos(sine / 7)) * angles(math.rad(-78) * math.cos(sine / 7) , math.rad(8 * math.cos(sine / 7)) , math.rad(-6) + la.RotVelocity.Y/75), 0.3)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(forwardvelocity*25),math.rad(-sidevelocity*20),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.3)
RH.C0 = RH.C0:Lerp(CFrame.new(0.5,-1-0.4*math.cos(t/7)/2,0.7*math.cos(t/7)/2)*CFrame.Angles(math.rad(-15+forwardvelocity*50*math.cos(t/7)),math.rad(90- 0.1*math.cos(t/7)),math.rad(0))*CFrame.Angles(math.rad(sidevelocity*55*math.sin(t/7)),math.rad(0),math.rad(forwardvelocity*-50*math.sin(t/7))),0.15)
LH.C0 = LH.C0:Lerp(CFrame.new(-0.5,-1+0.4*math.cos(t/7)/2,-0.7*math.cos(t/7)/2)*CFrame.Angles(math.rad(-15+forwardvelocity*50*-math.cos(t/7)),math.rad(-90- 0.1*math.cos(t/7)),math.rad(0))*CFrame.Angles(math.rad(sidevelocity*55*math.sin(t/7)),math.rad(0),math.rad(forwardvelocity*-50*math.sin(t/7))),0.15)
end
end
end
end