Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local hi = Instance.new("Frame")
- local FARRAH = Instance.new("TextLabel")
- local TextLabel = Instance.new("TextLabel")
- local Frame = Instance.new("Frame")
- local Dex = Instance.new("TextButton")
- local aa = Instance.new("Frame")
- local tiy = Instance.new("TextLabel")
- local tiy_2 = Instance.new("TextLabel")
- local rosehub = Instance.new("TextButton")
- local gammer = Instance.new("TextButton")
- local Influx = Instance.new("TextButton")
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- hi.Name = "hi"
- hi.Parent = ScreenGui
- hi.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- hi.Position = UDim2.new(0.386345387, 0, 0.437346458, 0)
- hi.Size = UDim2.new(0, 282, 0, 100)
- FARRAH.Name = "FARRAH"
- FARRAH.Parent = hi
- FARRAH.BackgroundColor3 = Color3.new(1, 1, 1)
- FARRAH.BackgroundTransparency = 1
- FARRAH.Position = UDim2.new(0.145390064, 0, 0.100000001, 0)
- FARRAH.Size = UDim2.new(0, 200, 0, 61)
- FARRAH.Font = Enum.Font.SourceSansSemibold
- FARRAH.Text = "Farrah"
- FARRAH.TextColor3 = Color3.new(1, 1, 1)
- FARRAH.TextScaled = true
- FARRAH.TextSize = 14
- FARRAH.TextWrapped = true
- TextLabel.Parent = hi
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.145390064, 0, 0.439999998, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Loading..."
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 20
- TextLabel.TextWrapped = true
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- Frame.Position = UDim2.new(0.0562249422, 0, 0.55282557, 0)
- Frame.Size = UDim2.new(0, 282, 0, 276)
- Dex.Name = "Dex"
- Dex.Parent = Frame
- Dex.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Dex.BorderSizePixel = 0
- Dex.Position = UDim2.new(0.0354609936, 0, 0.159420297, 0)
- Dex.Size = UDim2.new(0, 129, 0, 31)
- Dex.Font = Enum.Font.SourceSans
- Dex.Text = "IRON"
- Dex.TextColor3 = Color3.new(1, 1, 1)
- Dex.TextSize = 14
- Dex.MouseButton1Down:connect(function()
- plr = game.Players.LocalPlayer
- char = plr.Character
- hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- 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"]
- vt = Vector3.new
- bc = BrickColor.new
- br = BrickColor.random
- it = Instance.new
- cf = CFrame.new
- function CameraShake(Times, Power)
- coroutine.resume(coroutine.create(function()
- FV = Instance.new("BoolValue", Character)
- 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))
- 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
- if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
- --[[local ss=script.CamShake:clone()
- ss.Parent=Noob
- ss.Power.Value=Power
- ss.Times.Value=Times
- ss.Disabled=false]]
- CameraShake(Times, Power)
- end
- end
- end
- end
- end
- end
- end
- function chatfunc(text,color)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("TalkingBillBoard")~= nil then
- Character:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "SciFi"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = color
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = "SciFi"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = Color3.new(0,0,0)
- tecks3.TextStrokeColor3 = color
- tecks3.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(text),1 do
- CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
- tecks2.Text = string.sub(text,1,i)
- tecks3.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(1)
- local randomrot = math.random(1,2)
- if randomrot == 1 then
- for i = 1, 50 do
- swait()
- tecks2.Rotation = tecks2.Rotation - .75
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.Rotation = tecks2.Rotation + .75
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- elseif randomrot == 2 then
- for i = 1, 50 do
- swait()
- tecks2.Rotation = tecks2.Rotation + .75
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.Rotation = tecks2.Rotation - .75
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- end
- naeeym2:Destroy()
- end)
- chat()
- 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,
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 10)
- 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, 30)
- 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 glowcolor = BrickColor.new("Toothpaste")
- local glowcolor2 = BrickColor.new("Institutional white")
- local patchcolor = BrickColor.new("Really black")
- local patchcolor2 = BrickColor.new("Really black")
- local wepcolor = BrickColor.new("Smoky grey")
- local m = 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.05,0.05,0.05)
- 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*20,y1*20,z1*20)
- 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.15,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local wepcenter = CreateParta(m,1,0,"SmoothPlastic",wepcolor)
- local wepweld = CreateWeld(wepcenter,tors,wepcenter,1,0,-4,math.rad(20),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ga = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
- CreateMesh(ga,"Brick",0.175,0.175,2.25)
- CreateWeld(ga,wepcenter,ga,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ga = CreateParta(m,0,0,"Neon",glowcolor)
- CreateMesh(ga,"Brick",0.195,0.195,1.45)
- CreateWeld(ga,wepcenter,ga,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ga = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
- CreateMesh(ga,"Brick",0.215,0.215,1.375)
- CreateWeld(ga,wepcenter,ga,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ga = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
- CreateMesh(ga,"Brick",0.125,0.125,1.25)
- CreateWeld(ga,wepcenter,ga,0,-0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ga = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
- CreateMesh(ga,"Brick",0.125,0.125,0.65)
- CreateWeld(ga,wepcenter,ga,0,-0.765,0.35,math.rad(45),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ga = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
- CreateMesh(ga,"Brick",0.125,0.125,0.65)
- CreateWeld(ga,wepcenter,ga,0,-0.765,-0.35,math.rad(-45),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ga = CreateParta(m,0,0,"Neon",glowcolor)
- CreateMesh(ga,"Brick",0.245,0.245,1.45)
- CreateWeld(ga,wepcenter,ga,0,0,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ga = CreateParta(m,0,0,"Neon",glowcolor)
- CreateMesh(ga,"Brick",0.265,0.265,0.45)
- CreateWeld(ga,wepcenter,ga,0,0,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ga = CreateParta(m,0,0,"SmoothPlastic",patchcolor)
- CreateMesh(ga,"Brick",0.285,0.285,0.35)
- CreateWeld(ga,wepcenter,ga,0,0,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ga = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
- CreateMesh(ga,"Brick",0.2525,0.2525,1.375)
- CreateWeld(ga,wepcenter,ga,0,0,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- cryst = CreateParta(m,0,0,"SmoothPlastic",patchcolor2)
- CreateSpecialMesh(cryst,"http://www.roblox.com/Asset/?id=9756362",0.55,0.55,1.5)
- CreateWeld(cryst,wepcenter,cryst,0,0,-1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- cryst = CreateParta(m,0,0,"SmoothPlastic",glowcolor2)
- CreateSpecialMesh(cryst,"http://www.roblox.com/Asset/?id=9756362",0.575,0.575,1)
- CreateWeld(cryst,wepcenter,cryst,0,0,-1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- cryst = CreateParta(m,0,0,"SmoothPlastic",glowcolor)
- CreateSpecialMesh(cryst,"http://www.roblox.com/Asset/?id=9756362",0.45,0.45,0.5)
- CreateWeld(cryst,wepcenter,cryst,0,0,-1.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- cryst = CreateParta(m,0,0,"SmoothPlastic",glowcolor)
- CreateSpecialMesh(cryst,"http://www.roblox.com/Asset/?id=9756362",0.45,0.45,0.5)
- CreateWeld(cryst,wepcenter,cryst,0,0,-0.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- cryst = CreateParta(m,0,0,"SmoothPlastic",patchcolor2)
- CreateSpecialMesh(cryst,"http://www.roblox.com/Asset/?id=9756362",0.5,0.5,2)
- CreateWeld(cryst,wepcenter,cryst,0,0,-2.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- cryst = CreateParta(m,0,0,"SmoothPlastic",patchcolor2)
- CreateSpecialMesh(cryst,"http://www.roblox.com/Asset/?id=9756362",1,1,0.5)
- CreateWeld(cryst,wepcenter,cryst,0,0,1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- crysta = CreateParta(m,0,0,"SmoothPlastic",patchcolor)
- CreateSpecialMesh(crysta,"http://www.roblox.com/Asset/?id=9756362",1,1,0.35)
- CreateWeld(crysta,cryst,crysta,0,0,0,math.rad(0),math.rad(0),math.rad(45),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbe = CreateParta(m,0,0,"Neon",glowcolor)
- CreateMesh(orbe,"Sphere",0.35,0.35,0.25)
- CreateWeld(orbe,wepcenter,orbe,0,0,1.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbem = CreateParta(m,0.75,0,"Neon",glowcolor)
- CreateMesh(orbem,"Cylinder",2,0.45,0.45)
- CreateWeld(orbem,orbe,orbem,0.75,0,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orba = CreateParta(m,0,0,"Neon",glowcolor2)
- CreateMesh(orba,"Sphere",0.65,0.65,0.65)
- CreateWeld(orba,wepcenter,orba,0,0,2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ger = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
- CreateSpecialMesh(ger,"http://www.roblox.com/asset?id=156292343",1.5,1.5,1.5)
- local orbitalweld = CreateWeld(ger,orba,ger,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- boi = CreateParta(m,0,0,"SmoothPlastic",patchcolor)
- CreateSpecialMesh(boi,"http://www.roblox.com/asset?id=156292343",2,2,7.5)
- CreateWeld(boi,cryst,boi,0,0,2,math.rad(0),math.rad(0),math.rad(45),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- boi = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
- CreateSpecialMesh(boi,"http://www.roblox.com/asset?id=156292343",3,3,2.5)
- CreateWeld(boi,cryst,boi,0,0,2,math.rad(0),math.rad(0),math.rad(45),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- crysta = CreateParta(m,0,0,"SmoothPlastic",glowcolor)
- CreateSpecialMesh(crysta,"http://www.roblox.com/Asset/?id=9756362",1,1,0.65)
- CreateWeld(crysta,cryst,crysta,0,0,2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- blad = CreateParta(m,0,0,"SmoothPlastic",patchcolor2)
- CreateMesh(blad,"Brick",0.15,1.5,6.75)
- CreateWeld(blad,wepcenter,blad,0,0,6.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- bladn = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
- CreateMesh(bladn,"Brick",0.1,1.65,6.75)
- CreateWeld(bladn,wepcenter,bladn,0,0,6.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local hitbox = CreateParta(m,1,0,"SmoothPlastic",BrickColor.random())
- hitbox.Size = Vector3.new(0.5,0.5,10)
- CreateWeld(hitbox,blad,hitbox,0,0,-1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- -----------
- boipatt = CreateParta(m,0,0,"SmoothPlastic",glowcolor)
- CreateSpecialMesh(boipatt,"http://www.roblox.com/asset?id=156292343",1,1,5)
- CreateWeld(boipatt,wepcenter,boipatt,4,-0.25,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatt = CreateParta(m,0,0,"Neon",glowcolor2)
- CreateMesh(orbpatt,"Sphere",0.8,0.8,0.225)
- CreateWeld(orbpatt,boipatt,orbpatt,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- boipatt = CreateParta(m,0,0,"SmoothPlastic",glowcolor)
- CreateSpecialMesh(boipatt,"http://www.roblox.com/asset?id=156292343",0.8,0.8,5)
- CreateWeld(boipatt,wepcenter,boipatt,6,-0.25,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatt = CreateParta(m,0,0,"Neon",glowcolor2)
- CreateMesh(orbpatt,"Sphere",0.6,0.6,0.225)
- CreateWeld(orbpatt,boipatt,orbpatt,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- boipatt = CreateParta(m,0,0,"SmoothPlastic",glowcolor)
- CreateSpecialMesh(boipatt,"http://www.roblox.com/asset?id=156292343",0.6,0.6,5)
- CreateWeld(boipatt,wepcenter,boipatt,8,-0.25,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatt = CreateParta(m,0,0,"Neon",glowcolor2)
- CreateMesh(orbpatt,"Sphere",0.4,0.4,0.225)
- CreateWeld(orbpatt,boipatt,orbpatt,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- boipatt = CreateParta(m,0,0,"SmoothPlastic",glowcolor)
- CreateSpecialMesh(boipatt,"http://www.roblox.com/asset?id=156292343",0.4,0.4,5)
- CreateWeld(boipatt,wepcenter,boipatt,10,-0.25,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatt = CreateParta(m,0,0,"Neon",glowcolor2)
- CreateMesh(orbpatt,"Sphere",0.25,0.25,0.225)
- CreateWeld(orbpatt,boipatt,orbpatt,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- patt = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
- CreateMesh(patt,"Brick",0.175,0.25,6.75)
- CreateWeld(patt,wepcenter,patt,0,0.45,6.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- pattw = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
- CreateMesh(pattw,"Wedge",0.175,0.25,0.25)
- CreateWeld(pattw,wepcenter,pattw,0,-0.45,10,math.rad(0),math.rad(0),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- patte = CreateParta(m,0,0,"Neon",glowcolor)
- CreateMesh(patte,"Brick",0.185,0.175,1)
- CreateWeld(patte,wepcenter,patte,0,0.45,3.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- patte = CreateParta(m,0,0,"Neon",glowcolor)
- CreateMesh(patte,"Brick",0.185,0.175,1)
- CreateWeld(patte,wepcenter,patte,0,0.45,4.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- patte = CreateParta(m,0,0,"Neon",glowcolor)
- CreateMesh(patte,"Brick",0.185,0.175,1)
- CreateWeld(patte,wepcenter,patte,0,0.45,6,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- patte = CreateParta(m,0,0,"Neon",glowcolor)
- CreateMesh(patte,"Brick",0.185,0.175,1)
- CreateWeld(patte,wepcenter,patte,0,0.45,7.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- patte = CreateParta(m,0,0,"Neon",glowcolor)
- CreateMesh(patte,"Brick",0.185,0.175,1)
- CreateWeld(patte,wepcenter,patte,0,0.45,8.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- patte = CreateParta(m,0,0,"Neon",glowcolor)
- CreateMesh(patte,"Brick",0.185,0.175,0.65)
- CreateWeld(patte,wepcenter,patte,0,0.45,9.55,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- pattew = CreateParta(m,0,0,"Neon",glowcolor)
- CreateMesh(pattew,"Wedge",0.185,0.175,0.15)
- CreateWeld(pattew,wepcenter,pattew,0,-0.45,9.95,math.rad(0),math.rad(0),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatet = CreateParta(m,0,0,"Neon",patchcolor)
- CreateMesh(orbpatet,"Sphere",0.175,0.175,0.225)
- CreateWeld(orbpatet,wepcenter,orbpatet,0,-0.45,5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatet = CreateParta(m,0,0,"Neon",patchcolor)
- CreateMesh(orbpatet,"Sphere",0.175,0.175,0.225)
- CreateWeld(orbpatet,wepcenter,orbpatet,0,-0.45,5.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatet = CreateParta(m,0,0,"Neon",patchcolor)
- CreateMesh(orbpatet,"Sphere",0.175,0.175,0.225)
- CreateWeld(orbpatet,wepcenter,orbpatet,0,-0.45,4.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatet = CreateParta(m,0,0,"Neon",patchcolor)
- CreateMesh(orbpatet,"Sphere",0.175,0.175,0.225)
- CreateWeld(orbpatet,wepcenter,orbpatet,0,-0.45,7,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatet = CreateParta(m,0,0,"Neon",patchcolor)
- CreateMesh(orbpatet,"Sphere",0.175,0.175,0.225)
- CreateWeld(orbpatet,wepcenter,orbpatet,0,-0.45,7.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatet = CreateParta(m,0,0,"Neon",patchcolor)
- CreateMesh(orbpatet,"Sphere",0.175,0.175,0.225)
- CreateWeld(orbpatet,wepcenter,orbpatet,0,-0.45,6.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatet = CreateParta(m,0,0,"Neon",patchcolor)
- CreateMesh(orbpatet,"Sphere",0.175,0.175,0.225)
- CreateWeld(orbpatet,wepcenter,orbpatet,0,-0.45,9,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatet = CreateParta(m,0,0,"Neon",patchcolor)
- CreateMesh(orbpatet,"Sphere",0.175,0.175,0.225)
- CreateWeld(orbpatet,wepcenter,orbpatet,0,-0.45,9.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatet = CreateParta(m,0,0,"Neon",patchcolor)
- CreateMesh(orbpatet,"Sphere",0.175,0.175,0.225)
- CreateWeld(orbpatet,wepcenter,orbpatet,0,-0.45,8.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatet = CreateParta(m,0,0,"Neon",patchcolor)
- CreateMesh(orbpatet,"Sphere",0.175,0.175,0.225)
- CreateWeld(orbpatet,wepcenter,orbpatet,0,-0.45,11,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- orbpatet = CreateParta(m,0,0,"Neon",patchcolor)
- CreateMesh(orbpatet,"Sphere",0.175,0.175,0.225)
- CreateWeld(orbpatet,wepcenter,orbpatet,0,-0.45,10.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- -----------
- bladt = CreateParta(m,0,0,"SmoothPlastic",patchcolor2)
- CreateMesh(bladt,"Wedge",0.15,1.5,2)
- CreateWeld(bladt,wepcenter,bladt,0,0,10.85,math.rad(0),math.rad(0),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- bladtn = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
- CreateMesh(bladtn,"Wedge",0.1,1.65,2.2)
- CreateWeld(bladtn,wepcenter,bladtn,0,0,10.975,math.rad(0),math.rad(0),math.rad(180),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 CreateMesh(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
- Player=game:GetService("Players").LocalPlayer
- 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
- MMouse=nil
- combo=0
- mana=0
- trispeed=.2
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- local sine = 0
- local change = 1
- player=nil
- mouse=Player:GetMouse()
- --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
- player=Player
- 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
- 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:FindFirstChild("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("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- 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.huge
- 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.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.Torso
- end
- 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 == "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 = Player
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = 0.03333333333333333
- local Pos = Pos or Vector3.new(0, 0, 0)
- local Text = Text or ""
- local Time = Time or 2
- local Color = Color or Color3.new(1, 0, 1)
- local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui")({
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart
- })
- local TextLabel = Create("TextLabel")({
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- TextColor3 = Color,
- TextScaled = true,
- Font = Enum.Font.ArialBold,
- Parent = BillboardGui
- })
- game.Debris:AddItem(EffectPart, Time + 0.1)
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = Time / Rate
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = Frame / Frames
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- function MagniDamage(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
- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
- 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("Pastel light blue"),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 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 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("Toothpaste")
- ---- This section of explosions.
- function Explode(rad,par,pitch,vol,mindam,maxdam)
- local expart = Instance.new("Part",char)
- local expart2 = Instance.new("Part",char)
- local rin = Instance.new("Part",char)
- local rin2 = Instance.new("Part",char)
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- local partMesh3 = Instance.new("SpecialMesh",rin)
- partMesh3.MeshType = "Brick"
- local partMesh4 = Instance.new("SpecialMesh",rin2)
- partMesh4.MeshType = "Brick"
- CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)
- expart.Transparency = 0
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("White")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)
- expart2.Transparency = 0.5
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = par.BrickColor
- expart2.CFrame = par.CFrame
- rin.Size = vt(1.15,1.15,1.15)
- rin.Transparency = 1
- rin.Anchored = true
- rin.Material = "Neon"
- rin.BrickColor = par.BrickColor
- rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- rin2.Size = vt(1.15,1.15,1.15)
- rin2.Transparency = 1
- rin2.Anchored = true
- rin2.Material = "Neon"
- rin2.BrickColor = par.BrickColor
- rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- partMesh3.Scale = vt(0,1,0)
- partMesh4.Scale = vt(0,1,0)
- local dec2 = Instance.new("Decal", rin)
- dec2.Face = "Top"
- dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
- dec2.Parent = rin
- local dec2b = dec2:Clone()
- dec2b.Face = "Bottom"
- dec2b.Parent = rin
- local dec2a = Instance.new("Decal", rin2)
- dec2a.Face = "Top"
- dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
- dec2a.Parent = rin2
- local dec2ab = dec2a:Clone()
- dec2ab.Face = "Bottom"
- dec2ab.Parent = rin2
- expart.CanCollide = false
- expart2.CanCollide = false
- rin.CanCollide = false
- rin2.CanCollide = false
- MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
- local value = 1*rad/6.5
- for i = 0, 199 do
- partMesh.Scale = partMesh.Scale + vt(value,value,value)
- expart.CFrame = expart.CFrame
- partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
- expart2.CFrame = expart.CFrame
- value = value - 0.035*rad/30
- if value < 7.5 then
- partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
- rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
- partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
- rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
- end
- if value < 0 then
- dec2.Transparency = dec2.Transparency + 0.025
- dec2a.Transparency = dec2a.Transparency + 0.025
- dec2b.Transparency = dec2b.Transparency + 0.025
- dec2ab.Transparency = dec2ab.Transparency + 0.025
- expart.Transparency = expart.Transparency + 0.025
- expart2.Transparency = expart2.Transparency + 0.025
- rin.Transparency = rin.Transparency + 0.025
- rin2.Transparency = rin2.Transparency + 0.025
- end
- swait()
- end
- game:GetService("Debris"):AddItem(expart, 1)
- game:GetService("Debris"):AddItem(expart2, 1)
- game:GetService("Debris"):AddItem(rin, 1)
- game:GetService("Debris"):AddItem(rin2, 1)
- end
- function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
- local expart = Instance.new("Part",char)
- local expart2 = Instance.new("Part",char)
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)
- expart.Transparency = 0
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("White")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)
- expart2.Transparency = 0.5
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = par.BrickColor
- expart2.CFrame = par.CFrame
- expart.CanCollide = false
- expart2.CanCollide = false
- MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
- local value = 1*rad/6.5
- for i = 0, 75 do
- partMesh.Scale = partMesh.Scale + vt(value,value,value)
- expart.CFrame = expart.CFrame
- partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
- expart2.CFrame = expart.CFrame
- value = value - 0.035*rad/5
- if value < 0 then
- value = 0
- expart.Transparency = expart.Transparency + 0.05
- expart2.Transparency = expart2.Transparency + 0.05
- end
- swait()
- end
- game:GetService("Debris"):AddItem(expart, 1)
- game:GetService("Debris"):AddItem(expart2, 1)
- end
- function AreaDanger(rad,par,mindam,maxdam)
- local expart = Instance.new("Part",char)
- local partMesh = Instance.new("SpecialMesh",expart)
- CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
- partMesh.MeshType = "Sphere"
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)
- expart.Transparency = 0.5
- expart.Anchored = true
- expart.Material = "Neon"
- expart.CanCollide = false
- expart.BrickColor = par.BrickColor
- expart.CFrame = par.CFrame
- local value = 1*rad/5
- MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
- for i = 0, 14 do
- wait()
- partMesh.Scale = partMesh.Scale + vt(value,value,value)
- expart.CFrame = expart.CFrame
- value = value - 0.035*rad
- if value < 0 then
- value = 0
- end
- end
- wait(0.25)
- CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
- wait(0.5)
- CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
- CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
- MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
- MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
- for i = 0, 14 do
- wait()
- partMesh.Scale = partMesh.Scale + vt(value,value,value)
- expart.CFrame = expart.CFrame
- value = value - 0.035*rad/2
- end
- expart.Transparency = 1
- game:GetService("Debris"):AddItem(expart, 5)
- end
- function Swarmsplosions(negrad,rad,par,mindam,maxdam)
- CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
- CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
- CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
- CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
- MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
- MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
- for i = 0, 24 do
- MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
- end
- for i = 0, 24 do
- local expart = Instance.new("Part",char)
- expart.Transparency = 1
- expart.Anchored = true
- expart.CanCollide = false
- expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
- CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
- CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
- MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
- MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
- for i = 0, 9 do
- MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
- end
- game:GetService("Debris"):AddItem(expart, 2)
- wait(0.1)
- end
- end
- function EXterPlosion(par)
- CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
- CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
- CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
- CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
- MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
- MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
- MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
- for i = 0, 24 do
- MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
- end
- for i = 0, 24 do
- MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
- 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 ring2(type,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.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 wave2(type,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.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 sphere(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.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
- 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 beam(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.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
- rngm.Scale = rngm.Scale + Vector3.new(0,10000,0)
- local scaler2 = 0.5
- if type == "Add" then
- scaler2 = 0.5*value
- elseif type == "Divide" then
- scaler2 = 0.5/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
- local dashing = false
- local OriginalWalkspeed = hum.WalkSpeed
- local equipped = false
- -- Functions are ready.
- function equipanim()
- attack = true
- for i = 0,2,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-40)),.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.75, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(100)), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
- end
- attack = false
- hum.WalkSpeed = 10
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(0),math.rad(0),math.rad(0)),1)
- wepweld.Part0 = rarm
- equipped = true
- end
- function unequipanim()
- attack = true
- for i = 0,2,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(0,-1,0)* angles(math.rad(220),math.rad(0),math.rad(0)),0.2)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-40)),.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.75, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(100)), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
- end
- attack = false
- hum.WalkSpeed = OriginalWalkspeed
- wepweld.C1 = clerp(wepweld.C1,cf(1,0,-4)* angles(math.rad(20),math.rad(-90),math.rad(0)),1)
- wepweld.Part0 = tors
- equipped = false
- end
- ----------- attacks
- function attackone()
- attack = true
- for i = 0,3,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-40)),.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(100)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.1)
- end
- CFuncs["Sound"].Create("rbxassetid://231917961", hitbox, 1, 1)
- local con = hitbox.Touched:connect(function(hit)
- Damagefunc(hitbox, hit, math.huge, math.huge, 0, "Normal", RootPart, 0.3, "0", 0.8)
- end)
- for i = 0,3,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-60)),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(60)),.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(40), math.rad(60)), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-0.25, 0.5, -0.75) * angles(math.rad(40), math.rad(0), math.rad(50)), 0.2)
- end
- con:disconnect()
- attack = false
- end
- function attacktwo()
- attack = true
- for i = 0,3,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(0,-1,0)* angles(math.rad(180),math.rad(0),math.rad(0)),0.1)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),0.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(40)),.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(70)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.1)
- end
- CFuncs["Sound"].Create("rbxassetid://231917950", hitbox, 1, 1)
- local con = hitbox.Touched:connect(function(hit)
- Damagefunc(hitbox, hit, math.huge, math.huge, 0, "Normal", RootPart, 0.3, "0", 0.8)
- end)
- for i = 0,3,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(0,-1,0)* angles(math.rad(180),math.rad(0),math.rad(0)),0.2)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-80)),.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.75) * angles(math.rad(0), math.rad(130), math.rad(100)), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(110), math.rad(0), math.rad(50)), 0.2)
- end
- con:disconnect()
- attack = false
- end
- function attackthree()
- attack = true
- for i = 0,3,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-100)),0.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(100)),.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(40), math.rad(60)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-0.25, 0.5, -0.75) * angles(math.rad(40), math.rad(0), math.rad(50)), 0.1)
- end
- CFuncs["Sound"].Create("rbxassetid://231917950", hitbox, 1, 1.25)
- local con = hitbox.Touched:connect(function(hit)
- Damagefunc(hitbox, hit, math.huge, math.huge, 0, "Normal", RootPart, 0.3, "0", 0.8)
- end)
- for i = 0,3,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(20),math.rad(0),math.rad(0)),0.2)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-70)),.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(80), math.rad(110)), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, -0.75) * angles(math.rad(120), math.rad(0), math.rad(-5)), 0.2)
- end
- con:disconnect()
- attack = false
- end
- function attackfour()
- attack = true
- for i = 0,3,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(1,1,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),0.5)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.15, 1, 0) * angles(math.rad(190), math.rad(0), math.rad(-40)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.15, 1, 0) * angles(math.rad(190), math.rad(0), math.rad(40)), 0.1)
- end
- for i = 0,1,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(1,1,0)* angles(math.rad(60),math.rad(0),math.rad(-40)),0.4)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.15, 0.25, -0.45) * angles(math.rad(60), math.rad(0), math.rad(-40)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.15, 0.25, -0.45) * angles(math.rad(60), math.rad(0), math.rad(40)), 0.4)
- end
- local impact = Instance.new("Part")
- impact.Parent = char
- impact.BrickColor = origcolor
- impact.CanCollide = false
- impact.Material = "Neon"
- impact.Anchored = true
- impact.TopSurface = 0
- impact.BottomSurface = 0
- impact.Transparency = 1
- impact.Size = vt(2,2,2)
- impact.Position = bladt.Position
- game:GetService("Debris"):AddItem(impact, 5)
- CFuncs["Sound"].Create("rbxassetid://231917806", impact, 2, 1)
- CFuncs["Sound"].Create("rbxassetid://231917845", impact, 1, 1)
- CFuncs["Sound"].Create("rbxassetid://231917833", impact, 1, 1.5)
- MagniDamage(impact, 10, 10,12, 0, "Normal")
- ring2("Divide",impact.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(1,1,0),1.5,BrickColor.new("White"))
- ring2("Divide",impact.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(5,5,0),2.5,BrickColor.new("White"))
- wave2("Divide",impact.CFrame*CFrame.Angles(0,0,0),Vector3.new(5,0,5),5,BrickColor.new("White"))
- for i = 0,1,0.1 do
- swait()
- CameraShake(10, 5)
- wepweld.C1 = clerp(wepweld.C1,cf(1,1,0)* angles(math.rad(60),math.rad(0),math.rad(-40)),0.4)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.15, 0.25, -0.45) * angles(math.rad(60), math.rad(0), math.rad(-40)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.15, 0.25, -0.45) * angles(math.rad(60), math.rad(0), math.rad(40)), 0.4)
- end
- attack = false
- end
- -------- Skills
- function scrollingup()
- attack = true
- for i = 0,3,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(110)),0.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-100)),.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(70), math.rad(90)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
- end
- local con = hitbox.Touched:connect(function(hit)
- Damagefunc(hitbox, hit, math.huge, math.huge, 0, "Normal", RootPart, 0.3, "0", 0.8)
- end)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = root.CFrame.lookVector*100
- bv.Parent = root
- CFuncs["Sound"].Create("rbxassetid://231917788", root, 2.5, 1)
- CFuncs["Sound"].Create("rbxassetid://231917845", root, 2.5, 1)
- CFuncs["Sound"].Create("rbxassetid://231917801", root, 1, 1)
- wave2("Divide",root.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(10,1,10),35,BrickColor.new("White"))
- wave2("Divide",root.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(10,1,10),5,BrickColor.new("White"))
- ring2("Divide",root.CFrame*CFrame.Angles(0,0,0),Vector3.new(1,1,1),1.5,BrickColor.new("White"))
- ring2("Divide",root.CFrame*CFrame.Angles(0,0,0),Vector3.new(1,1,1),1,BrickColor.new("White"))
- coroutine.resume(coroutine.create(function()
- wait(0.45)
- bv:Destroy()
- end))
- for z = 0, 1 do
- MagniDamage(root, 15, 13,15, 0, "Normal")
- ring2("Divide",root.CFrame*CFrame.Angles(0,0,0),Vector3.new(1,1,1),5,BrickColor.new("White"))
- ring2("Divide",root.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(15,15,1),25,BrickColor.new("Toothpaste"))
- ring2("Divide",root.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(15,15,1),2.5,BrickColor.new("Toothpaste"))
- for i = 0,1,0.3 do
- CameraShake(6, 3)
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(20),math.rad(-5),math.rad(0)),0.3)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-30)),0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(30)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-40)), 0.3)
- end
- for i = 0,1,0.3 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(20),math.rad(-5),math.rad(0)),0.3)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(90)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-40)), 0.3)
- end
- for i = 0,1,0.3 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(20),math.rad(-5),math.rad(0)),0.3)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-180)),0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(30)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-40)), 0.3)
- end
- for i = 0,1,0.3 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(20),math.rad(-5),math.rad(0)),0.3)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-270)),0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(30)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-40)), 0.3)
- end
- end
- attack = false
- con:disconnect()
- end
- function lemmesmashyoo()
- attack = true
- CFuncs["Sound"].Create("rbxassetid://136007472", root, 0.75, 1.15)
- sphere("Divide",root.CFrame*CFrame.Angles(0,0,0),Vector3.new(-25,-25,-25),1.75)
- for i = 0,5,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(1,1,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),0.5)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.15, 1, 0) * angles(math.rad(190), math.rad(0), math.rad(-40)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.15, 1, 0) * angles(math.rad(190), math.rad(0), math.rad(40)), 0.1)
- end
- for i = 0,1,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(1,1,0)* angles(math.rad(60),math.rad(0),math.rad(-40)),0.4)
- CameraShake(8, 4)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.15, 0.25, -0.45) * angles(math.rad(60), math.rad(0), math.rad(-40)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.15, 0.25, -0.45) * angles(math.rad(60), math.rad(0), math.rad(40)), 0.4)
- end
- local impact = Instance.new("Part")
- impact.Parent = char
- impact.BrickColor = origcolor
- impact.CanCollide = false
- impact.Material = "Neon"
- impact.Anchored = true
- impact.TopSurface = 0
- impact.BottomSurface = 0
- impact.Transparency = 1
- impact.Size = vt(2,2,2)
- impact.Position = bladt.Position
- game:GetService("Debris"):AddItem(impact, 5)
- CFuncs["Sound"].Create("rbxassetid://157878578", impact, 1.5, 0.75)
- CFuncs["Sound"].Create("rbxassetid://157878578", impact, 0.5, 0.5)
- CFuncs["Sound"].Create("rbxassetid://231917806", impact, 2.25, 0.5)
- CFuncs["Sound"].Create("rbxassetid://231917845", impact, 2.25, 0.5)
- CFuncs["Sound"].Create("rbxassetid://231917833", impact, 2.25, 1.25)
- MagniDamage(impact, 27.5, 15,17, 0, "Normal")
- ring2("Add",impact.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(1,1,0),1.25,BrickColor.new("White"))
- ring2("Divide",impact.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(5,5,0),1.5,BrickColor.new("White"))
- wave2("Divide",impact.CFrame*CFrame.Angles(0,0,0),Vector3.new(5,0,5),3.5,BrickColor.new("White"))
- wave2("Divide",impact.CFrame*CFrame.Angles(0,0,0),Vector3.new(15,0,15),5,BrickColor.new("White"))
- ring2("Add",impact.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(0,0,0),50,BrickColor.new("Really black"))
- beam("Add",impact.CFrame*CFrame.Angles(0,0,0),Vector3.new(0,0,0),1)
- beam("Add",impact.CFrame*CFrame.Angles(0,0,0),Vector3.new(0,0,0),1.25)
- for i = 0,1,0.1 do
- swait()
- wepweld.C1 = clerp(wepweld.C1,cf(1,1,0)* angles(math.rad(60),math.rad(0),math.rad(-40)),0.4)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.15, 0.25, -0.45) * angles(math.rad(60), math.rad(0), math.rad(-40)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.15, 0.25, -0.45) * angles(math.rad(60), math.rad(0), math.rad(40)), 0.4)
- end
- attack = false
- end
- ---
- local attacktype = 1
- mouse.Button1Down:connect(function()
- if equipped == true then
- if attack == false and attacktype == 1 then
- attacktype = 2
- attackone()
- elseif attack == false and attacktype == 2 then
- attacktype = 3
- attacktwo()
- elseif attack == false and attacktype == 3 then
- attacktype = 4
- attackthree()
- elseif attack == false and attacktype == 4 then
- attacktype = 1
- attackfour()
- end
- end
- end)
- mouse.KeyDown:connect(function(k)
- if k == "f" and attack == false and equipped == false then
- equipanim()
- elseif k == "f" and attack == false and equipped == true then
- unequipanim()
- end
- if equipped == true then
- if k == "z" and attack == false then
- scrollingup()
- end
- if k == "x" and attack == false then
- lemmesmashyoo()
- end
- end
- end)
- Humanoid.Animator.Parent = nil
- idleanim=.4
- while true do
- swait()
- sine = sine + change
- 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)
- if equipped==true or equipped==false then
- if attack==false then
- idle=idle+1
- else
- idle=0
- end
- if idle>=500 then
- if attack==false then
- end
- end
- if RootPart.Velocity.y > 1 and hitfloor==nil then
- Anim="Jump"
- if attack==false then
- RH.C0=clerp(RH.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)
- 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)
- if equipped == true then
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(-10),math.rad(180),math.rad(0)),0.1)
- end
- end
- elseif RootPart.Velocity.y < -1 and hitfloor==nil then
- Anim="Fall"
- if attack==false then
- RH.C0=clerp(RH.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)
- 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(0),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),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(-20),math.rad(0),math.rad(50)),.1)
- LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
- if equipped == true then
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(-10),math.rad(180),math.rad(0)),0.1)
- end
- end
- elseif torvel<1 and hitfloor~=nil then
- Anim="Idle"
- if equipped == false then
- if dashing == false then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 100),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-15)),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 100),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
- end
- if attack==false then
- wepweld.C1 = clerp(wepweld.C1,cf(1,0,-4)* angles(math.rad(20),math.rad(-90),math.rad(0)),0.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 100))*angles(math.rad(-10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 100))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 100)),math.rad(-10),math.rad(-20 - 2.5 * math.cos(sine / 100))),.1)
- RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 100),0)*angles(math.rad(2.5),math.rad(0),math.rad(20 + 5 * math.cos(sine / 100))),.1)
- LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 100),0)*angles(math.rad(-25),math.rad(0),math.rad(-15 + 1.5 * math.cos(sine / 100))),.1)
- end
- elseif equipped == true then
- if dashing == false then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 100),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-15)),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 100),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
- end
- if attack==false then
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 100))*angles(math.rad(10),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 100))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 100))),.1)
- RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 100),0)*angles(math.rad(2.5),math.rad(75),math.rad(40 + 5 * math.cos(sine / 100))),.1)
- LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 100),0)*angles(math.rad(60),math.rad(0),math.rad(20 + 1.5 * math.cos(sine / 100))),.1)
- end
- end
- elseif torvel>2 and torvel<22 and hitfloor~=nil then
- Anim="Walk"
- if equipped == false then
- if dashing == false then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 35 * math.cos(sine / 6))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 35 * math.cos(sine / 6))),.1)
- end
- if attack==false then
- wepweld.C1 = clerp(wepweld.C1,cf(1,0,-4)* angles(math.rad(20),math.rad(-90),math.rad(0)),0.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(10)),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-10)),.1)
- end
- elseif equipped == true then
- if dashing == false then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 35 * math.cos(sine / 12))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 35 * math.cos(sine / 12))),.1)
- end
- if attack==false then
- wepweld.C1 = clerp(wepweld.C1,cf(0,1,0)* angles(math.rad(20),math.rad(180),math.rad(0)),0.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-10),math.rad(20),math.rad(10)),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-10)),.1)
- end
- end
- elseif torvel>=22 and hitfloor~=nil then
- Anim="Run"
- if dashing == false 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(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
- 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),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
- end
- if attack==false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.25 + 0.05 * math.cos(sine / 32))* angles(math.rad(35),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3)
- end
- end
- end
- end
- end)
- aa.Name = "aa"
- aa.Parent = Frame
- aa.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- aa.BorderSizePixel = 0
- aa.Size = UDim2.new(0, 282, 0, 23)
- tiy.Name = "tiy"
- tiy.Parent = aa
- tiy.BackgroundColor3 = Color3.new(1, 1, 1)
- tiy.BackgroundTransparency = 1
- tiy.Size = UDim2.new(0, 67, 0, 23)
- tiy.Font = Enum.Font.SourceSans
- tiy.Text = "Farrah"
- tiy.TextColor3 = Color3.new(1, 1, 1)
- tiy.TextScaled = true
- tiy.TextSize = 14
- tiy.TextWrapped = true
- tiy_2.Name = "tiy"
- tiy_2.Parent = aa
- tiy_2.BackgroundColor3 = Color3.new(1, 1, 1)
- tiy_2.BackgroundTransparency = 1
- tiy_2.Position = UDim2.new(0.145390093, 0, 6.47826099, 0)
- tiy_2.Size = UDim2.new(0, 199, 0, 55)
- tiy_2.Font = Enum.Font.SourceSans
- tiy_2.Text = "More scripts later"
- tiy_2.TextColor3 = Color3.new(1, 1, 1)
- tiy_2.TextScaled = true
- tiy_2.TextSize = 14
- tiy_2.TextWrapped = true
- rosehub.Name = "rosehub"
- rosehub.Parent = Frame
- rosehub.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- rosehub.BorderSizePixel = 0
- rosehub.Position = UDim2.new(0.492907822, 0, 0.159420297, 0)
- rosehub.Size = UDim2.new(0, 129, 0, 31)
- rosehub.Font = Enum.Font.SourceSans
- rosehub.Text = "RoseHub"
- rosehub.TextColor3 = Color3.new(1, 1, 1)
- rosehub.TextSize = 14
- rosehub.MouseButton1Down:connect(function()
- local version = '2.1.7'
- local message = 'Soon...'
- local coreGui = game:GetService("CoreGui")
- local tweening = false
- local tabPos = 5
- local scriptsTabText = ""
- local feTabText = ""
- local gameScriptsTabText = ""
- local guiTabText = ""
- local scripttabList = {
- {"Infinite Yield", "MjBzRjmT", 1},
- {"Knife V3", "W833RBFr", 1},
- {"Bird Wings", "RQ9b8UTv", 1},
- {"M4A1", "eP1zq8tb", 1},
- {"Dungun", "90M7Mi8e", 1},
- {"Bomb Vest", "tG1PPuMd", 1},
- {"Music Bars", "SvYebC2r", 1},
- {"Omni God", "87NeeChc", 1},
- {"Pain Titan", "Hg5L8EtM", 1,},
- {"Reaper Titan", "B0q3QBg6", 1},
- {"Alter Chat", "ZSB4pN9R", 1},
- {"Hoverbike", 01268225564, 2},
- {"Rail Gun Titan", "0wFiFdwM", 1},
- {"True Hero", "P8AQ2ebJ", 1},
- {"Celestial Wheel", "bymTcgzf", 1},
- {"Knive V4", "j0Ns1w1S", 1},
- {"Ravenger Claws", "D7GxxvWL", 1},
- {"John Doe", "m5wHsLhr", 1},
- {"Messor Titan", "4bSrkLtA", 1},
- {"Clown Titan", "L0WLDZvc", 1},
- {"Chara", "HrWjgXtb", 1},
- {"Shedlesky Rage", "2SPz35LS", 1},
- {"LunchaThug", "x6GWFC5K", 1},
- {"Nazi Flag", "ZCZNxFBD", 1},
- {"Psychopath", "DGqk3bqY", 1},
- {"Fireworks Wand", "GB29NAPv", 1},
- {"Psycho Clown", "UgxKqKwE", 1},
- {"Inferno", "qhMGk36S", 1},
- {"Police Titan", "UCmufLU8", 1},
- {"Galaxy Titan", "nKNdCrKj", 1},
- {"Holy Wrench", "cKSh0a8C", 1},
- {"Krystal Dance", "j7EqLfbP", 1},
- {"Pee", "3CYmA0Pz", 1},
- {"Jihad", "vSujnuaF", 1},
- {"Hermit Purple", "R3C3ajQV", 1},
- {"Golden Gun", "2574Sd9E", 1},
- {"Goku", "yAXZZF9r", 1},
- {"Emoji", "vKPcMKnm", 1},
- {"Damn Son", "AMLHT8aJ", 1},
- {"Devuzi", "q0mt2peM", 1},
- {"Flash", "gGSVVq1H", 1},
- {"Teal Scythe", "0TUBSaxt", 1},
- {"Demon Demise", "ghMDMW63", 1},
- {"Red Sayan", "uC5DBvf9", 1},
- {"Ban Hammer", "1ynQ4Mu0", 1},
- {"Dick Gun", "UR9FBjcj", 1},
- {"Dat Boi", "Sz7KJHay", 1},
- {"Watermelon Trap", "pypsM3hj", 1},
- {"Whip", "XDsek3Rf", 1},
- {"School Shooter", "EmmwRFDA", 1},
- {"9/11", "3UmV26hG", 1},
- {"Bong", "8Kb08E9s", 1},
- {"Horse", "MVph7nmq", 1},
- {"Scythe", "fEEVkJba", 1},
- {"Disco Fog", "xg8d4PS0", 1},
- {"Disco Mesh", "GvtPCRVR", 1},
- {"Russian Dance", "RADQ2vH8", 1},
- {"Sun God", "0uJhLJ5m", 1},
- {"Rolling Light Ball", "S4Hj3MPd", 1},
- {"Red Death Scythe", "KJ5nqeVF", 1},
- {"Crystal Pistols", "GDLZ4VAq", 1},
- {"Epic Sword", "DZVV9AGG", 1},
- {"Circle Visualizer", "diJiteen", 1},
- {"Hex Blade", "fA0bBELV", 1},
- {"Bulldog", "nPPLxSA3", 1},
- {"FS-627-SENDER", "R3m4gfuP", 1},
- {"Voodoo Child", "w5TEtd0Q", 1},
- {"Bye Bye", "XBysEMgg", 1},
- {"Galil V2", "cnFz3h8D", 1},
- {"Mario", "pKmtnc9u", 1},
- {"Lighting Blade", "rMEe8R4N", 1},
- {"Flamingo Skybox", "8rWM880e", 1},
- {"Sin Unleashed", "ZQh5B023", 1},
- {"Ravager", "VQEz6a6i", 1},
- {"Brock", "Fe5YrxcY", 1},
- {"M249", "J4ijx897", 1},
- {"MG36", "zLZ4Auqn", 1},
- {"Omega Scythe", "Ag8dKZYB", 1},
- {"Omega Sword", "7JjxwhPn", 1},
- {"Draw", "1322re6a", 1},
- {"Gaydar", "s1P9sJub", 1},
- {"Crimson Hell", "na3pQXNV", 1},
- {"Psycho", "WNvhEZJw", 1},
- {"R6", "yX1DMcvM", 1},
- {"Elemental God", "mLz55spD", 1},
- {"Cross Power", "mLz55spD", 1},
- {"Blood Harvester", "qz0ufnwd", 1},
- {"Mustard Gas", "sg2wg4y8", 1},
- {"Gas Can", "xknu2gna", 1},
- {"Frieza", "tpkyda6c", 1},
- {"Sadistic Genocider V2", "nch0tn9u", 1},
- {"Demon Nelf", "VcBmmGuz", 1},
- {"Demonic Sword", "W2Hc3Tkd", 1},
- {"Noob Power", "9YMc9FRj", 1},
- {"Creep", "z7S1ugBF", 1},
- {"Crazy Nuke", "6kbRdDk6", 1},
- {"Sticky Bombs", "2A4U8xdA", 1},
- }
- local fescripttabList = {
- {"Fe God", "KduGECH6", 1},
- {"Fe Fly", 1281055032, 2},
- {"Spam", "74GjB7tB", 1},
- }
- local gameScriptsList = {
- {"PF Virgo 2.0", "7TeJszah", 1},
- {"City Life Bomb Vest", "sLHGSBn1", 1},
- {"City Life Suicide", "YdKKQ7yT", 1},
- {"City Life Explosion", "vy78mqrG", 1},
- {"CB:RO Aimbot", "t3yHg06t", 1},
- {"Prison Life 2 GUI", "d6X2R39V", 1},
- }
- local guitabList = {
- {"c00lgui", "Rz2EFsLU", 1},
- {"Topkek 4.0", "d0CJRrcg", 1},
- {"Topkek 3.0", "SikGfE9u", 1},
- {"Ro-Xploit 4.0", 175137115, 2},
- {"Ro-Xploit 5.0", 288646117, 2},
- {"Ro-Xploit 6.0", 364364477, 2},
- {"Dex 2.0", 492005721, 2},
- {"Dex 3.0", 418957341, 2},
- {"Clown Van", "a5UZuuiT", 1},
- {"Hell Elevator GUI", "8NYWpf2T", 1},
- {"Chams / Aimlock", "Yi7fzELj", 1},
- {"YourMom GUI", "289110135", 2},
- {"Pepe GUI", "277881926", 2},
- {"Brack Hub", "PT9Gf7d5", 1},
- {"Vesprin FE GUI", "1231351616", 2},
- {"Music GUI", "U352cdsv", 1},
- }
- local mapsList = {
- {"Clockwork Arena", "EvnXCXhP", 1},
- {"Town Map", 1345094164, 2},
- {"Cave Island", "t29C42rm", 1},
- {"Nature Map", "gmF4Kq5B", 1},
- {"Nazi Map", "az8sLCLT", 1},
- {"Ritual Room", "hYCTFiAC", 1},
- {"Stripper", "jztW5Vuy", 1},
- {"Witch Map", "R9epW292", 1},
- {"Rainbow Tunnel", "8bznLitn", 1},
- {"Scary Map", "fNw46f74", 1},
- {"Nazi Camp", "KJNk4STm", 1},
- {"Night Club", 1281063730, 2},
- }
- local lists = {
- {scripttabList, "Scripts"},
- {fescripttabList, "FE Scripts"},
- {gameScriptsList, "Game Scripts"},
- {guitabList, "GUIs"},
- {mapsList, "Maps"},
- }
- local function makeFrame(Active, BackgroundColor3, BorderSizePixel, Name, Parent, Position, Size, ClipsDescendants, Draggable, BackgroundTransparency)
- local Frame = Instance.new("Frame")
- Frame.Active = Active
- Frame.BackgroundColor3 = BackgroundColor3
- Frame.BorderSizePixel = BorderSizePixel
- Frame.Name = Name
- Frame.Parent = Parent
- Frame.Position = Position
- Frame.Size = Size
- Frame.ClipsDescendants = ClipsDescendants
- Frame.Draggable = Draggable
- Frame.BackgroundTransparency = BackgroundTransparency
- end
- local function makeScrollingFrame(BackgroundColor3, BorderSizePixel, Name, Parent, Position, Size, CanvasSize, BackgroundTransparency, ScrollBarThickness)
- local ScrollingFrame = Instance.new("ScrollingFrame")
- ScrollingFrame.BackgroundColor3 = BackgroundColor3
- ScrollingFrame.BorderSizePixel = BorderSizePixel
- ScrollingFrame.Name = Name
- ScrollingFrame.Parent = Parent
- ScrollingFrame.Position = Position
- ScrollingFrame.Size = Size
- ScrollingFrame.CanvasSize = CanvasSize
- ScrollingFrame.BackgroundTransparency = BackgroundTransparency
- ScrollingFrame.ScrollBarThickness = ScrollBarThickness
- end
- local function makeTextLabel(BackgroundColor3, BackgroundTransparency, Name, Parent, Position, Size, Font, Text, TextColor3, TextSize, BorderSizePixel, TextWrapped)
- local TextLabel = Instance.new("TextLabel")
- TextLabel.BackgroundColor3 = BackgroundColor3
- TextLabel.BackgroundTransparency = BackgroundTransparency
- TextLabel.Name = Name
- TextLabel.Parent = Parent
- TextLabel.Position = Position
- TextLabel.Size = Size
- TextLabel.Font = Font
- TextLabel.Text = Text
- TextLabel.TextColor3 = TextColor3
- TextLabel.TextSize = TextSize
- TextLabel.BorderSizePixel = BorderSizePixel
- TextLabel.TextWrapped = TextWrapped
- end
- local function makeTextBox(BackgroundColor3, BackgroundTransparency, MultiLine, Name, Parent, Position, Size, Font, Text, TextColor3, TextSize, TextWrapped, TextYAlignment, BorderSizePixel, PlaceholderText, TextXAlignment)
- local TextBox = Instance.new("TextBox")
- TextBox.BackgroundColor3 = BackgroundColor3
- TextBox.BackgroundTransparency = BackgroundTransparency
- TextBox.MultiLine = MultiLine
- TextBox.Name = Name
- TextBox.Parent = Parent
- TextBox.Position = Position
- TextBox.Size = Size
- TextBox.Font = Font
- TextBox.Text = Text
- TextBox.TextColor3 = TextColor3
- TextBox.TextSize = TextSize
- TextBox.TextWrapped = TextWrapped
- TextBox.TextYAlignment = TextYAlignment
- TextBox.BorderSizePixel = BorderSizePixel
- TextBox.PlaceholderText = PlaceholderText
- TextBox.TextXAlignment = TextXAlignment
- end
- local function makeTextButton(BackgroundColor3, BorderSizePixel, Name, Parent, Position, Size, Font, Text, TextColor3, TextSize, BackgroundTransparency, func)
- local TextButton = Instance.new("TextButton")
- TextButton.BackgroundColor3 = BackgroundColor3
- TextButton.BorderSizePixel = BorderSizePixel
- TextButton.Name = Name
- TextButton.Parent = Parent
- TextButton.Position = Position
- TextButton.Size = Size
- TextButton.Font = Font
- TextButton.Text = Text
- TextButton.TextColor3 = TextColor3
- TextButton.TextSize = TextSize
- TextButton.BackgroundTransparency = BackgroundTransparency
- TextButton.MouseButton1Down:connect(func)
- end
- local function makeImageLabel(BackgroundColor3, BackgroundTransparency, BorderSizePixel, Name, Parent, Selectable, Size, Image, Position, Rotation)
- local ImageLabel = Instance.new("ImageLabel")
- ImageLabel.BackgroundColor3 = BackgroundColor3
- ImageLabel.BackgroundTransparency = BackgroundTransparency
- ImageLabel.BorderSizePixel = BorderSizePixel
- ImageLabel.Name = Name
- ImageLabel.Parent = Parent
- ImageLabel.Selectable = Selectable
- ImageLabel.Size = Size
- ImageLabel.Image = Image
- ImageLabel.Position = Position
- ImageLabel.Rotation = Rotation
- end
- local tabs = {
- "Home",
- "Scripts",
- "FE Scripts",
- "Game Scripts",
- "GUIs",
- "Maps",
- "Executor",
- "Credits",
- }
- local selectedTab = tabs[1]
- local function changeTab(newTab)
- if tweening == false and newTab ~= selectedTab then
- tweening = true
- if selectedTab == "Credits" then
- for _,object in pairs(screenGui.MainFrame.MainStuff.Credits:GetDescendants()) do
- if object.ClassName == "ImageLabel" then
- local sTween = game:GetService("TweenService")
- local part = object
- local goal = {}
- goal.ImageTransparency = 1
- local tweenInfo = TweenInfo.new(0.5)
- local tween = sTween:Create(part, tweenInfo, goal)
- tween:Play()
- end
- end
- wait(0.5)
- end
- screenGui.MainFrame.MainStuff[selectedTab]:TweenPosition(UDim2.new(-1, 0, 0, 0), "Out", "Quad", 0.5)
- screenGui.MainFrame.MainStuff[newTab]:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 0.5)
- screenGui.MainFrame.SelectedTab.SelectedTab:TweenPosition(UDim2.new(0, 0, -1, 0), "Out", "Quad", 0.25)
- wait(0.25)
- screenGui.MainFrame.SelectedTab.SelectedTab.Text = newTab
- wait()
- screenGui.MainFrame.SelectedTab.SelectedTab:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 0.25)
- wait(0.25)
- screenGui.MainFrame.MainStuff[selectedTab].Position = UDim2.new(1, 0, 0, 0)
- if newTab == "Credits" then
- for _,object in pairs(screenGui.MainFrame.MainStuff.Credits:GetDescendants()) do
- if object.ClassName == "ImageLabel" then
- local sTween = game:GetService("TweenService")
- local part = object
- local goal = {}
- goal.ImageTransparency = 0
- local tweenInfo = TweenInfo.new(0.5)
- local tween = sTween:Create(part, tweenInfo, goal)
- tween:Play()
- end
- end
- wait(0.5)
- end
- selectedTab = newTab
- tweening = false
- end
- end
- local function mainTween(what)
- if tweening == false then
- tweening = true
- if what == "Open" then
- screenGui.open:TweenPosition(UDim2.new(-1,0,0.531,0), "Out", "Quad", 0.6)
- screenGui.MainFrame:TweenSize(UDim2.new(0, 350, 0, 40), "Out", "Quad", 0.6)
- wait(0.6)
- screenGui.MainFrame:TweenSize(UDim2.new(0, 350, 0, 340), "Out", "Quad", 0.6)
- if selectedTab == "Credits" then
- wait(0.6)
- for _,object in pairs(screenGui.MainFrame.MainStuff.Credits:GetDescendants()) do
- if object.ClassName == "ImageLabel" then
- local sTween = game:GetService("TweenService")
- local part = object
- local goal = {}
- goal.ImageTransparency = 0
- local tweenInfo = TweenInfo.new(0.5)
- local tween = sTween:Create(part, tweenInfo, goal)
- tween:Play()
- end
- end
- wait(0.5)
- end
- elseif what == "Close" then
- if selectedTab == "Credits" then
- for _,object in pairs(screenGui.MainFrame.MainStuff.Credits:GetDescendants()) do
- if object.ClassName == "ImageLabel" then
- local sTween = game:GetService("TweenService")
- local part = object
- local goal = {}
- goal.ImageTransparency = 1
- local tweenInfo = TweenInfo.new(0.5)
- local tween = sTween:Create(part, tweenInfo, goal)
- tween:Play()
- end
- end
- wait(0.5)
- end
- screenGui.MainFrame:TweenSize(UDim2.new(0, 350, 0, 40), "Out", "Quad", 0.6)
- wait(0.6)
- screenGui.MainFrame:TweenSize(UDim2.new(0, 0, 0, 40), "Out", "Quad", 0.6)
- screenGui.open:TweenPosition(UDim2.new(0,0,0.531,0), "Out", "Quad", 0.6)
- end
- if selectedTab ~= "Credits" then
- wait(0.6)
- end
- tweening = false
- end
- end
- --Make Screen
- screenGui = Instance.new("ScreenGui")
- screenGui.Parent = coreGui
- screenGui.Name = "RoseHubV2"
- makeFrame(true, Color3.fromRGB(255, 35, 110), 0, "MainFrame", screenGui, UDim2.new(0.5, -175, 0.5, -170), UDim2.new(0, 350, 0, 340), true, true, 0)
- makeScrollingFrame(Color3.fromRGB(255, 0, 100), 0, "TabButtons", screenGui.MainFrame, UDim2.new(0, 0, 0, 40), UDim2.new(0, 125, 1, -40), UDim2.new(0, 0, 0, 0), 0, 12)
- makeFrame(false, Color3.fromRGB(225, 0, 100), 0, "TitleFrame", screenGui.MainFrame, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 0, 40), true, false, 0)
- makeTextLabel(Color3.fromRGB(255, 255, 255), 1, "Title", screenGui.MainFrame.TitleFrame, UDim2.new(0, 45, 0, 0), UDim2.new(0, 265, 1, 0), Enum.Font.Fantasy, "Rose Hub "..version.."", Color3.fromRGB(255, 255, 255), 30, 1, false)
- makeImageLabel(Color3.fromRGB(255, 85, 127), 1, 0, "RoseIcon", screenGui.MainFrame.TitleFrame, false, UDim2.new(0, 45, 0, 41), "rbxassetid://1342740333", UDim2.new(0, 0, 0, 0), 0)
- makeTextButton(Color3.fromRGB(255, 255, 255), 1, "Close", screenGui.MainFrame.TitleFrame, UDim2.new(0, 310, 0, 0), UDim2.new(0, 40, 0, 40), Enum.Font.ArialBold, "X", Color3.fromRGB(255, 255, 255), 30, 1, function()
- mainTween("Close")
- end)
- makeTextLabel(Color3.fromRGB(255, 255, 255), 1, "MOTD", screenGui.MainFrame, UDim2.new(0, 125, 0, 315), UDim2.new(0, 225, 0, 25), Enum.Font.Fantasy, "MOTD: "..message.."", Color3.fromRGB(255, 255, 255), 16, 0, true)
- makeFrame(false, Color3.fromRGB(255, 100, 150), 0, "MainStuff", screenGui.MainFrame, UDim2.new(0, 130, 0, 70), UDim2.new(0, 215, 0, 245), true, false, 0.5)
- makeFrame(false, Color3.fromRGB(0, 0, 0), 0, "SelectedTab", screenGui.MainFrame, UDim2.new(0, 125, 0, 40), UDim2.new(0, 225, 0, 30), true, false, 1)
- makeTextLabel(Color3.fromRGB(255, 255, 255), 1, "SelectedTab", screenGui.MainFrame.SelectedTab, UDim2.new(0, 0, 0, 0), UDim2.new(0, 225, 0, 30), Enum.Font.Fantasy, "Home", Color3.fromRGB(255, 255, 255), 25, 0, false)
- makeFrame(true, Color3.fromRGB(255, 84, 126), 0, "open", screenGui, UDim2.new(-0.5, 0, 0.5, 0), UDim2.new(0, 150, 0, 50), true, false, 1)
- makeTextButton(Color3.fromRGB(255, 50, 127), 1, "openbutton", screenGui.open, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), Enum.Font.Fantasy, "OPEN", Color3.fromRGB(255, 255, 255), 32, false, function()
- mainTween("Open")
- end)
- for i,tabButton in pairs(tabs) do
- makeTextButton(Color3.fromRGB(255, 50, 127), 0, tabButton.."Button", screenGui.MainFrame.TabButtons, UDim2.new(0, 5, 0, tabPos), UDim2.new(0, 115, 0, 30), Enum.Font.Fantasy, tabButton, Color3.fromRGB(255, 255, 255), 20, 0, function()
- changeTab(tabs[i])
- end)
- local mainStuffPos = 0
- if tabButton == selectedTab then
- mainStuffPos = 0
- else
- mainStuffPos = 1
- end
- makeScrollingFrame(Color3.fromRGB(0, 0, 0), 1, tabButton, screenGui.MainFrame.MainStuff, UDim2.new(mainStuffPos, 0, 0, 0), UDim2.new(1, 0, 1, 0), UDim2.new(1, 0, 0, 0), 1)
- tabPos = tabPos + 35
- end
- --Sort lists and insert them
- for _,list in pairs(lists) do
- local toSort = {}
- local sortedList = {}
- local pos = 28
- for _,v in pairs(list[1]) do
- table.insert(toSort, v[1])
- end
- table.sort(toSort)
- for i,name in pairs(toSort) do
- for i,actualTable in pairs(list[1]) do
- if name == actualTable[1] then
- table.insert(sortedList, {actualTable[1], actualTable[2], actualTable[3]})
- end
- end
- end
- local function createButons(text)
- pos = 28
- for _,button in pairs(sortedList) do
- if text == "" or string.sub(string.lower(button[1]), 1, string.len(text)) == string.lower(text) then
- makeTextButton(Color3.fromRGB(255, 50, 127), 0, button[1], screenGui.MainFrame.MainStuff[list[2]], UDim2.new(0, 5, 0, pos), UDim2.new(1, -10, 0, 20), Enum.Font.Fantasy, button[1], Color3.fromRGB(255, 255, 255), 14, 0, function()
- if button[3] == 1 then
- loadstring(game:HttpGet("https://pastebin.com/raw/"..button[2], true))()
- elseif button[3] == 2 then
- loadstring(game:GetObjects("rbxassetid://"..button[2])[1].Source)()
- end
- end)
- pos = pos + 23
- end
- end
- end
- --Remove Buttons and create new on search
- local function removeButtons()
- for _,button in pairs(screenGui.MainFrame.MainStuff[list[2]]:GetChildren()) do
- if button.ClassName == "TextButton" then
- button:Destroy()
- end
- end
- end
- --Search Box
- makeTextBox(Color3.fromRGB(255, 50, 127), 0, false, "Search", screenGui.MainFrame.MainStuff[list[2]], UDim2.new(0, 5, 0, 5), UDim2.new(1, -10, 0, 20), Enum.Font.Fantasy, "", Color3.fromRGB(255, 255, 255), 14, false, "Center", 0, "Search "..list[2], "Center")
- local function searchBar(chosenList)
- local search = screenGui.MainFrame.MainStuff[chosenList].Search
- local currentSearch = ""
- search.Changed:connect(function(property)
- if property == "Text" then
- if search.Text ~= "" and search.Text ~= currentSearch then
- currentSearch = search.Text
- removeButtons()
- createButons(search.Text)
- elseif search.Text == "" and currentSearch.Text ~= "" then
- currentSearch = search.Text
- removeButtons()
- createButons("")
- end
- end
- end)
- end
- searchBar(list[2])
- createButons("")
- screenGui.MainFrame.MainStuff[list[2]].CanvasSize = UDim2.new(1, 0, 0, pos+2)
- screenGui.MainFrame.MainStuff[list[2]].ScrollBarThickness = 0
- end
- makeTextLabel(Color3.fromRGB(255, 255, 255), 1, "WelcomeMSG", screenGui.MainFrame.MainStuff.Home, UDim2.new(0.102, 0, 0.045, 0), UDim2.new(0, 170, 0, 29), Enum.Font.Fantasy, "Welcome to Rose Hub!", Color3.fromRGB(255, 255, 255), 20, 1, false)
- makeTextLabel(Color3.fromRGB(255, 255, 255), 1, "FEStatus", screenGui.MainFrame.MainStuff.Home, UDim2.new(0.2, 0, 0.155, 0), UDim2.new(0, 128, 0, 22), Enum.Font.Fantasy, "FE: Unknown", Color3.fromRGB(255, 255, 255), 16, 1, false)
- if game:GetService("Workspace").FilteringEnabled then --Rather have Enabled/Disabled than true/false
- screenGui.MainFrame.MainStuff.Home.FEStatus.Text = "FE: Enabled!"
- else
- screenGui.MainFrame.MainStuff.Home.FEStatus.Text = "FE: Disabled!"
- end
- makeFrame(false, Color3.fromRGB(255, 0, 127), 0, "SegLine", screenGui.MainFrame.MainStuff.Home, UDim2.new(0, 0, 0.245, 0), UDim2.new(0, 215, 0, 2), false, false, 0.5)
- makeTextLabel(Color3.fromRGB(255, 255, 255), 1, "Explanation", screenGui.MainFrame.MainStuff.Home, UDim2.new(0, 0, 0.253, 0), UDim2.new(0, 215, 0, 183), Enum.Font.SourceSans, 'To get started click the tabs to find what scripts your looking for.\nThe scrolling bar is invisible so to scroll use your scroll wheel.\n\nWant scripts or features added?\n\nJoin our Discord for Support donations and more!', Color3.fromRGB(255, 255, 255), 14, 1, true)
- screenGui.MainFrame.MainStuff.Home.Explanation.TextYAlignment = "Top"
- makeTextButton(Color3.fromRGB(255, 50, 127), 0, "DiscordInvite", screenGui.MainFrame.MainStuff.Home, UDim2.new(0.179, 0, 0.816, 0), UDim2.new(0, 138, 0, 32), Enum.Font.Fantasy, "Discord", Color3.fromRGB(255, 255, 255), 14, 0, function()
- local copy = true
- if pcall(function() Synapse:Copy("http://discord.me/rosehub") end) then
- else
- local clip = setclipboard or Clipboard.set
- clip("http://discord.me/rosehub")
- end
- screenGui.MainFrame.MainStuff.Home.DiscordInvite.text = "Copied!"
- wait(1)
- screenGui.MainFrame.MainStuff.Home.DiscordInvite.text = "Discord"
- end)
- makeTextButton(Color3.fromRGB(255, 0, 127), 0, "Clear", screenGui.MainFrame.MainStuff.Executor, UDim2.new(0, 5, 1, -25), UDim2.new(0, 100, 0, 20), Enum.Font.SourceSansBold, "Clear", Color3.fromRGB(255, 255, 255), 14, 0, function()
- screenGui.MainFrame.MainStuff.Executor.InputHolder.Input.Text = ""
- end)
- makeScrollingFrame(Color3.fromRGB(255, 255, 255), 0, "InputHolder", screenGui.MainFrame.MainStuff.Executor, UDim2.new(0, 5, 0, 5), UDim2.new(0, 205, 0, 205), UDim2.new(0, 0, 0, 0), 1, 0)
- makeTextBox(Color3.fromRGB(255, 0, 128), 1, true, "Input", screenGui.MainFrame.MainStuff.Executor.InputHolder, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), Enum.Font.Fantasy, "", Color3.fromRGB(255, 255, 255), 14, true, Enum.TextYAlignment.Top, 0, "Paste/Type Scripts Here", Enum.TextXAlignment.Left)
- local execHolder = screenGui.MainFrame.MainStuff.Executor.InputHolder
- local execInput = execHolder.Input
- local movedExec196 = false
- execInput.ClearTextOnFocus = false
- --Checks if executor text changed, if so it will change your canvas position IF you are at the bottom of the script. Has an extra check for the first time moving so it doesnt get annoying
- execInput.Changed:connect(function(property)
- if property == "Text" then
- execHolder.CanvasSize = UDim2.new(1, -10, 0, execInput.TextBounds.Y + execInput.TextSize)
- if execInput.TextBounds.Y - execHolder.CanvasPosition.Y == 205 then
- execHolder.CanvasPosition = Vector2.new(0, execInput.TextBounds.Y+205)
- movedExec196 = false
- elseif movedExec196 == false and execInput.TextBounds.Y == 196 and execHolder.CanvasPosition.Y == 0 then
- execHolder.CanvasPosition = Vector2.new(0, execInput.TextBounds.Y+205)
- movedExec196 = true
- elseif movedExec196 == true and execInput.TextBounds.Y < 196 then
- movedExec196 = false
- end
- end
- end)
- makeTextButton(Color3.fromRGB(255, 0, 127), 0, "Execute", screenGui.MainFrame.MainStuff.Executor, UDim2.new(0.5, 2, 1, -25), UDim2.new(0, 100, 0, 20), Enum.Font.SourceSansBold, "Execute", Color3.fromRGB(255, 255, 255), 14, 0, function()
- loadstring(screenGui.MainFrame.MainStuff.Executor.InputHolder.Input.Text)()
- end)
- --Credits
- makeTextLabel(Color3.fromRGB(255, 255, 255), 1, "RoseCredit", screenGui.MainFrame.MainStuff.Credits, UDim2.new(0.202, 0, 0.053, 0), UDim2.new(0, 128, 0, 32), Enum.Font.Fantasy, "0xRose\nHumanoid#1337", Color3.fromRGB(255, 255, 255), 20, 0, false)
- makeImageLabel(Color3.fromRGB(255, 255, 255), 1, 1, "RoseDrops", screenGui.MainFrame.MainStuff.Credits.RoseCredit, false, UDim2.new(0, 66, 0, 65), "rbxassetid://1342740333", UDim2.new(-0.25, 0, -0.844, 0), 80)
- makeImageLabel(Color3.fromRGB(255, 255, 255), 1, 1, "RoseDrops2", screenGui.MainFrame.MainStuff.Credits.RoseCredit, false, UDim2.new(0, 66, 0, 65), "rbxassetid://1342740333", UDim2.new(0.891, 0, 4.438, 0), -40)
- makeTextLabel(Color3.fromRGB(255, 255, 255), 1, "ZwolfCredit", screenGui.MainFrame.MainStuff.Credits, UDim2.new(0.221, 0, 0.253, 0), UDim2.new(0, 120, 0, 30), Enum.Font.Fantasy, "Usingthisisfun\nZwolf#3762", Color3.fromRGB(255, 255, 255), 20, 1, false)
- makeImageLabel(Color3.fromRGB(255, 255, 255), 1, 1, "RoseDrops3", screenGui.MainFrame.MainStuff.Credits.ZwolfCredit, false, UDim2.new(0, 62, 0, 59), "rbxassetid://1342740333", UDim2.new(0.875, 0, 0, 0), -10)
- makeImageLabel(Color3.fromRGB(255, 255, 255), 1, 1, "ImageLabel", screenGui.MainFrame.MainStuff.Credits.ZwolfCredit, false, UDim2.new(0, 70, 0, 60), "rbxassetid://1342740333", UDim2.new(-0.483, 0, 0.433, 0), 59)
- makeTextLabel(Color3.fromRGB(255, 255, 255), 1, "AlexCredit", screenGui.MainFrame.MainStuff.Credits, UDim2.new(0.191, 0, 0.469, 0), UDim2.new(0, 139, 0, 29), Enum.Font.Fantasy, "Alexflamer2\nAlex the Great#9740", Color3.fromRGB(255, 255, 255), 20, 1, false)
- makeTextLabel(Color3.fromRGB(255, 255, 255), 1, "DeanCredit", screenGui.MainFrame.MainStuff.Credits, UDim2.new(0.153, 0, 0.755, 0), UDim2.new(0, 139, 0, 40), Enum.Font.Fantasy, "Miya - Intro\nKiwi#4879", Color3.fromRGB(255, 255, 255), 20, 1, false)
- for _,object in pairs(screenGui.MainFrame.MainStuff.Credits:GetDescendants()) do
- if object.ClassName == "ImageLabel" then
- object.ImageTransparency = 1
- end
- end
- screenGui.MainFrame.Size = UDim2.new(0, 0, 0, 40)
- --Intro
- --Made by Kiwi
- --Fixed by Pluto
- local function createEvents()
- create = {}
- local function Create_PrivImpl(objectType)
- if type(objectType) ~= 'string' then return end
- return function(dat)
- dat = dat or {}
- local obj = Instance.new(objectType)
- local ctor = nil
- for k, v in pairs(dat) do
- if type(k) == 'string' then
- obj[k] = v
- elseif type(k) == 'number' then
- if type(v) ~= 'userdata' then break end
- v.Parent = obj
- elseif type(k) == 'table' and k.__eventname then
- if type(v) ~= 'function' then break end
- obj[k.__eventname]:connect(v)
- elseif k == Create then
- if type(v) ~= 'function' then break elseif ctor then break end
- ctor = v
- else break end
- end
- if ctor then
- ctor(obj)
- end
- return obj
- end
- end
- Create = setmetatable({}, {__call = function(tb, ...) return Create_PrivImpl(...) end})
- Create.Event = function(eventName)
- return {__eventname = eventName}
- end
- end
- local function definitions()
- Create'BlurEffect'{
- Parent = workspace.CurrentCamera,
- Size = 0,
- [Create] = function(this)
- blur = this
- end
- }
- Create'ScreenGui'{
- Parent = game.CoreGui,
- Create'Frame'{
- Position = UDim2.new(0.5, -50, 0.5, -50),
- Size = UDim2.new(0, 100, 0, 100),
- BackgroundTransparency = 1,
- --Load Sounds
- Create'Sound'{
- SoundId = 'rbxassetid://752527668',
- Volume = 1,
- [Create] = function(this)
- sound01 = this
- end
- },
- Create'Sound'{
- SoundId = 'rbxassetid://541909867',
- Volume = 1,
- [Create] = function(this)
- sound02 = this
- end
- },
- Create'Sound'{
- SoundId = 'rbxassetid://541909763',
- Volume = 1,
- [Create] = function(this)
- sound03 = this
- end
- },
- Create'Sound'{
- SoundId = 'rbxassetid://147722270',
- Volume = 1,
- [Create] = function(this)
- sound04 = this
- end
- },
- --Load GUI Elements
- Create'Frame'{
- Size = UDim2.new(0, 0, 0, 100),
- Position = UDim2.new(0.5, 0, 0, 0),
- BorderSizePixel = 0,
- ZIndex = 5,
- BackgroundColor3 = Color3.fromRGB(255, 35, 110),
- [Create] = function(this)
- frame01 = this
- end
- },
- Create'ImageLabel'{
- Image = 'rbxassetid://1491878692',
- BackgroundTransparency = 1,
- Size = UDim2.new(0, 100, 0, 100),
- Position = UDim2.new(0, 0, 0, -500),
- ZIndex = 3,
- [Create] = function(this)
- image01 = this
- end
- },
- Create'ImageLabel'{
- Image = 'rbxassetid://1491878477',
- BackgroundTransparency = 1,
- ImageTransparency = 1,
- Size = UDim2.new(0, 100, 0, 100),
- Position = UDim2.new(0, 0, 0, 0),
- ZIndex = 4,
- [Create] = function(this)
- image02 = this
- end
- },
- Create'ImageLabel'{
- Image = 'rbxassetid://1491878477',
- BackgroundTransparency = 1,
- ImageTransparency = 1,
- Size = UDim2.new(0, 100, 0, 100),
- Position = UDim2.new(0, 0, 0, 0),
- [Create] = function(this)
- image03 = this
- end
- },
- Create'ImageLabel'{
- Image = 'rbxassetid://1491979712',
- BackgroundTransparency = 1,
- ImageTransparency = 1,
- Size = UDim2.new(0, 100, 0, 100),
- Position = UDim2.new(0, 0, 0, 0),
- [Create] = function(this)
- image04 = this
- end
- },
- Create'ImageLabel'{
- Image = 'rbxassetid://1491935743',
- BackgroundTransparency = 1,
- ImageTransparency = 1,
- Size = UDim2.new(0, 500, 0, 100),
- Position = UDim2.new(0.5, -250, 0, 0),
- ZIndex = 6,
- [Create] = function(this)
- image05 = this
- end
- },
- [Create] = function(this)
- main = this
- end
- },
- [Create] = function(this)
- intro = this
- end
- }
- end
- local function tweenService()
- fadeIn = game:GetService("TweenService"):Create(blur, TweenInfo.new (2, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Size = 24})
- fadeOut = game:GetService("TweenService"):Create(blur, TweenInfo.new (2, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Size = 0})
- imageTwn01 = game:GetService("TweenService"):Create(image04, TweenInfo.new(2, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Position = UDim2.new(0, -50, 0, -50), Size = UDim2.new(0, 200, 0, 200), ImageTransparency = 1}) --bloop
- imageTwn02 = game:GetService("TweenService"):Create(image01, TweenInfo.new(2, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Position = UDim2.new(0, 0, 0, 0), Rotation = -720})
- imageTwn03 = game:GetService("TweenService"):Create(image05, TweenInfo.new(2, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {ImageTransparency = 0})
- imageTwn04 = game:GetService("TweenService"):Create(image02, TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {ImageTransparency = 0})
- end
- local function start()
- imageTwn02:Play() --imagetween
- sound02:Play() --large
- fadeIn:Play() --fadein
- wait(2)
- image04.ImageTransparency = 0
- imageTwn01:Play() --bloop
- sound01:Play() --tomatosauce
- wait(2)
- imageTwn04:Play() --poof
- wait(1)
- image01.ImageTransparency = 1
- image03.ImageTransparency = 0
- image02:TweenPosition(UDim2.new(0, -250, 0, 0), "Out", "Quint", 2)
- image03:TweenPosition(UDim2.new(0, 250, 0, 0), "Out", "Quint", 2)
- frame01:TweenSizeAndPosition(UDim2.new(0, 500, 0, 100), UDim2.new(0.5, -250, 0.5, -50), "Out", "Quint", 2)
- sound03:Play() --smol
- wait(1.3)
- imageTwn03:Play() --textappere
- wait(2)
- main:TweenPosition(UDim2.new(0, 5000, 0.5, -50), "In", "Quint", 2)
- sound04:Play() --wosh
- wait(1.4)
- fadeOut:Play() --fadeout
- wait(2)
- intro:Destroy()
- blur:Destroy()
- wait()
- tweening = true
- screenGui.open:TweenPosition(UDim2.new(0, 0, 0.5, 0),'Out','Quad',0.6)
- wait(0.6)
- tweening = false
- end
- createEvents()
- definitions()
- tweenService()
- start()
- end)
- gammer.Name = "gammer"
- gammer.Parent = Frame
- gammer.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- gammer.BorderSizePixel = 0
- gammer.Position = UDim2.new(0.0354610085, 0, 0.271739125, 0)
- gammer.Size = UDim2.new(0, 129, 0, 31)
- gammer.Font = Enum.Font.SourceSans
- gammer.Text = "8 Mine Hammer"
- gammer.TextColor3 = Color3.new(1, 1, 1)
- gammer.TextSize = 14
- gammer.MouseButton1Down:connect(function()
- Player = game:GetService("Players").LocalPlayer
- Cha = Player.Character
- mouse = game.Players.LocalPlayer:GetMouse()
- torso = Cha.Torso
- click = false
- rush = false
- shot = false
- fist = false
- massive = false
- wind = false
- Cha.Humanoid.WalkSpeed = 80
- Cha.Torso["Right Shoulder"].Part0 = nil
- Cha.Torso["Right Shoulder"].Part1 = nil
- Cha.Torso["Left Shoulder"].Part0 = nil
- Cha.Torso["Left Shoulder"].Part1 = nil
- wait()
- RightArmWeld = Instance.new("Weld")
- RightArmWeld.Parent = Cha["Torso"]
- RightArmWeld.Part0 = RightArmWeld.Parent
- RightArmWeld.Part1 = Cha["Right Arm"]
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.5, -0.5, 0.5)
- LeftArmWeld = Instance.new("Weld")
- LeftArmWeld.Parent = Cha["Torso"]
- LeftArmWeld.Part0 = LeftArmWeld.Parent
- LeftArmWeld.Part1 = Cha["Left Arm"]
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- mouse.Button1Down:connect(function()
- if (not vDebounce) and click == false then
- click = true
- vDebounce = true
- wa = Instance.new("Part",Cha)
- wa.Transparency=1
- wa.CanCollide = false
- wa.Size = Vector3.new(1, 1, 1)
- wa:BreakJoints()
- Weld3 = Instance.new("Weld",wa)
- Weld3.Part0 = Handle
- Weld3.Part1 = wa
- Weld3.C0 = CFrame.new(0, 0, -2) * CFrame.Angles(0, 0, 0)
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.4, -0.4, 0.4)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.3, -0.3, 0.3)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.2, -0.2, 0.2)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.1, -0.1, 0.1)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.5, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.6, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.7, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.8, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.9, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(1, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.1,-0.1) * CFrame.fromEulerAnglesXYZ(1.1, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.2,-0.2) * CFrame.fromEulerAnglesXYZ(1.2, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.2,-0.2) * CFrame.fromEulerAnglesXYZ(1.3, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.2,-0.2) * CFrame.fromEulerAnglesXYZ(1.4, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.3,-0.3) * CFrame.fromEulerAnglesXYZ(1.5, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.3,-0.3) * CFrame.fromEulerAnglesXYZ(1.6, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.3,-0.3) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.4,-0.4) * CFrame.fromEulerAnglesXYZ(1.8, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.4,-0.4) * CFrame.fromEulerAnglesXYZ(1.9, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(2, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.4,-0.4) * CFrame.fromEulerAnglesXYZ(1.9, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.3,-0.3) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.3,-0.3) * CFrame.fromEulerAnglesXYZ(1.5, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.2,-0.2) * CFrame.fromEulerAnglesXYZ(1.3, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.1,-0.1) * CFrame.fromEulerAnglesXYZ(1.1, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.9, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.7, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.5, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.1, -0.1, 0.1)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.2, -0.2, 0.2)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.3, -0.3, 0.3)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.4, -0.4, 0.4)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.5, -0.5, 0.5)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- HitBox = Instance.new("Part",Cha)
- HitBox.TopSurface = "Smooth"
- HitBox.BottomSurface = "Smooth"
- HitBox.FormFactor = "Custom"
- HitBox.Size = Vector3.new(3,3,3)
- HitBox.CanCollide = True
- HitBox.Transparency = 1
- HitBox.BrickColor = BrickColor.new("Really red")
- HitBoxMesh = Instance.new("SpecialMesh", HitBox)
- HitBoxMesh.MeshType = "Brick"
- HitBoxMesh.Scale = Vector3.new(1.5,2,2)
- HitBoxWeld = Instance.new("Weld",Cha)
- HitBoxWeld.Part0 = Hammer
- HitBoxWeld.Part1 = HitBox
- HitBoxWeld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- HitBox2 = Instance.new("Part",Cha)
- HitBox2.TopSurface = "Smooth"
- HitBox2.BottomSurface = "Smooth"
- HitBox2.FormFactor = "Custom"
- HitBox2.Size = Vector3.new(3,3,3)
- HitBox2.CanCollide = True
- HitBox2.Transparency = 1
- HitBox2.BrickColor = BrickColor.new("Really red")
- HitBox2Mesh = Instance.new("SpecialMesh", HitBox2)
- HitBox2Mesh.MeshType = "Brick"
- HitBox2Mesh.Scale = Vector3.new(1.5,2,2)
- HitBox2Weld = Instance.new("Weld",Cha)
- HitBox2Weld.Part0 = Hammerv2
- HitBox2Weld.Part1 = HitBox2
- HitBox2Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- HitBox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and click == true then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(25)
- HitBox:Destroy()
- Boom2 = Instance.new("Part",Workspace)
- Boom2.BrickColor = BrickColor.new("Really black")
- Boom2.Transparency = 0.7
- Boom2.TopSurface = "Smooth"
- Boom2.BottomSurface = "Smooth"
- Boom2.Anchored = true
- Boom2.CanCollide = True
- Boom2.CFrame = hit.Parent:FindFirstChild("Humanoid").Torso.CFrame
- Boom2Mesh = Instance.new("SpecialMesh", Boom2)
- Boom2Mesh.MeshType = "Sphere"
- Boom2Mesh.Scale = Vector3.new(1,1,1)
- wait()
- Boom2Mesh.Scale = Vector3.new(3,3,3)
- wait()
- Boom2Mesh.Scale = Vector3.new(5,5,5)
- wait()
- Boom2Mesh.Scale = Vector3.new(7,7,7)
- wait()
- Boom2Mesh.Scale = Vector3.new(9,9,9)
- wait()
- Boom2Mesh.Scale = Vector3.new(11,11,11)
- wait()
- Boom2Mesh.Scale = Vector3.new(13,13,13)
- wait()
- Boom2Mesh.Scale = Vector3.new(15,15,15)
- wait()
- Boom2:Destroy()
- hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
- end
- end)
- HitBox2.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and click == true then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(25)
- HitBox2:Destroy()
- Boom2 = Instance.new("Part",Workspace)
- Boom2.BrickColor = BrickColor.new("Really black")
- Boom2.Transparency = 0.7
- Boom2.TopSurface = "Smooth"
- Boom2.BottomSurface = "Smooth"
- Boom2.Anchored = true
- Boom2.CanCollide = True
- Boom2.CFrame = hit.Parent:FindFirstChild("Humanoid").Torso.CFrame
- Boom2Mesh = Instance.new("SpecialMesh", Boom2)
- Boom2Mesh.MeshType = "Sphere"
- Boom2Mesh.Scale = Vector3.new(1,1,1)
- wait()
- Boom2Mesh.Scale = Vector3.new(3,3,3)
- wait()
- Boom2Mesh.Scale = Vector3.new(5,5,5)
- wait()
- Boom2Mesh.Scale = Vector3.new(7,7,7)
- wait()
- Boom2Mesh.Scale = Vector3.new(9,9,9)
- wait()
- Boom2Mesh.Scale = Vector3.new(11,11,11)
- wait()
- Boom2Mesh.Scale = Vector3.new(13,13,13)
- wait()
- Boom2Mesh.Scale = Vector3.new(15,15,15)
- wait(1)
- Boom2:Destroy()
- hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
- end
- end)
- wait(0.5)
- HitBox:Destroy()
- HitBox2:Destroy()
- wa:remove()
- vDebounce = false
- click = false
- end
- end)
- RightArm = Instance.new("Part",Cha)
- RightArm.TopSurface = "Smooth"
- RightArm.BottomSurface = "Smooth"
- RightArm.FormFactor = "Custom"
- RightArm.Size = Vector3.new(1,1,1)
- RightArm.CanCollide = True
- RightArm.Transparency = 0
- RightArm.BrickColor = BrickColor.new("Really black")
- RightArmMesh = Instance.new("SpecialMesh", RightArm)
- RightArmMesh.MeshType = "Brick"
- RightArmMesh.Scale = Vector3.new(1.2,0.2,1.2)
- RightArm2Weld = Instance.new("Weld",Cha)
- RightArm2Weld.Part0 = Cha["Right Arm"]
- RightArm2Weld.Part1 = RightArm
- RightArm2Weld.C1 = CFrame.new(0,0.25,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LeftArm = Instance.new("Part",Cha)
- LeftArm.TopSurface = "Smooth"
- LeftArm.BottomSurface = "Smooth"
- LeftArm.FormFactor = "Custom"
- LeftArm.Size = Vector3.new(1,1,1)
- LeftArm.CanCollide = True
- LeftArm.Transparency = 0
- LeftArm.BrickColor = BrickColor.new("Really black")
- LeftArmMesh = Instance.new("SpecialMesh", LeftArm)
- LeftArmMesh.MeshType = "Brick"
- LeftArmMesh.Scale = Vector3.new(1.2,0.2,1.2)
- LeftArm2Weld = Instance.new("Weld",Cha)
- LeftArm2Weld.Part0 = Cha["Left Arm"]
- LeftArm2Weld.Part1 = LeftArm
- LeftArm2Weld.C1 = CFrame.new(0,0.25,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RightTop = Instance.new("Part",Cha)
- RightTop.TopSurface = "Smooth"
- RightTop.BottomSurface = "Smooth"
- RightTop.FormFactor = "Custom"
- RightTop.Size = Vector3.new(1,1,1)
- RightTop.CanCollide = True
- RightTop.Transparency = 0
- RightTop.BrickColor = BrickColor.new("Really black")
- RightTopMesh = Instance.new("SpecialMesh", RightTop)
- RightTopMesh.MeshType = "Torso"
- RightTopMesh.Scale = Vector3.new(1.1,0.7,1.1)
- RightTopWeld = Instance.new("Weld",Cha)
- RightTopWeld.Part0 = Cha["Right Arm"]
- RightTopWeld.Part1 = RightTop
- RightTopWeld.C1 = CFrame.new(0,0.25,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LeftTop = Instance.new("Part",Cha)
- LeftTop.TopSurface = "Smooth"
- LeftTop.BottomSurface = "Smooth"
- LeftTop.FormFactor = "Custom"
- LeftTop.Size = Vector3.new(1,1,1)
- LeftTop.CanCollide = True
- LeftTop.Transparency = 0
- LeftTop.BrickColor = BrickColor.new("Really black")
- LeftTopMesh = Instance.new("SpecialMesh", LeftTop)
- LeftTopMesh.MeshType = "Torso"
- LeftTopMesh.Scale = Vector3.new(1.1,0.7,1.1)
- LeftTopWeld = Instance.new("Weld",Cha)
- LeftTopWeld.Part0 = Cha["Left Arm"]
- LeftTopWeld.Part1 = LeftTop
- LeftTopWeld.C1 = CFrame.new(0,0.25,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RightTopDesign = Instance.new("Part",Cha)
- RightTopDesign.TopSurface = "Smooth"
- RightTopDesign.BottomSurface = "Smooth"
- RightTopDesign.FormFactor = "Custom"
- RightTopDesign.Size = Vector3.new(1,1,1)
- RightTopDesign.CanCollide = True
- RightTopDesign.Transparency = 0.5
- RightTopDesign.BrickColor = BrickColor.new("Really red")
- RightTopDesignMesh = Instance.new("SpecialMesh", RightTopDesign)
- RightTopDesignMesh.MeshType = "Torso"
- RightTopDesignMesh.Scale = Vector3.new(1,0.65,1.15)
- RightTopDesignWeld = Instance.new("Weld",Cha)
- RightTopDesignWeld.Part0 = Cha["Right Arm"]
- RightTopDesignWeld.Part1 = RightTopDesign
- RightTopDesignWeld.C1 = CFrame.new(0,0.25,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LeftTopDesign = Instance.new("Part",Cha)
- LeftTopDesign.TopSurface = "Smooth"
- LeftTopDesign.BottomSurface = "Smooth"
- LeftTopDesign.FormFactor = "Custom"
- LeftTopDesign.Size = Vector3.new(1,1,1)
- LeftTopDesign.CanCollide = True
- LeftTopDesign.Transparency = 0.5
- LeftTopDesign.BrickColor = BrickColor.new("Really red")
- LeftTopDesignMesh = Instance.new("SpecialMesh", LeftTopDesign)
- LeftTopDesignMesh.MeshType = "Torso"
- LeftTopDesignMesh.Scale = Vector3.new(1,0.65,1.15)
- LeftTopDesignWeld = Instance.new("Weld",Cha)
- LeftTopDesignWeld.Part0 = Cha["Left Arm"]
- LeftTopDesignWeld.Part1 = LeftTopDesign
- LeftTopDesignWeld.C1 = CFrame.new(0,0.25,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RightArm2 = Instance.new("Part",Cha)
- RightArm2.TopSurface = "Smooth"
- RightArm2.BottomSurface = "Smooth"
- RightArm2.FormFactor = "Custom"
- RightArm2.Size = Vector3.new(1,1,1)
- RightArm2.CanCollide = True
- RightArm2.Transparency = 0
- RightArm2.BrickColor = BrickColor.new("Really black")
- RightArm2Mesh = Instance.new("SpecialMesh", RightArm2)
- RightArm2Mesh.MeshType = "Brick"
- RightArm2Mesh.Scale = Vector3.new(1.1,0.5,1.1)
- RightArm2Weld = Instance.new("Weld",Cha)
- RightArm2Weld.Part0 = Cha["Right Arm"]
- RightArm2Weld.Part1 = RightArm2
- RightArm2Weld.C1 = CFrame.new(0,0.25,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LeftArm2 = Instance.new("Part",Cha)
- LeftArm2.TopSurface = "Smooth"
- LeftArm2.BottomSurface = "Smooth"
- LeftArm2.FormFactor = "Custom"
- LeftArm2.Size = Vector3.new(1,1,1)
- LeftArm2.CanCollide = True
- LeftArm2.Transparency = 0
- LeftArm2.BrickColor = BrickColor.new("Really black")
- LeftArm2Mesh = Instance.new("SpecialMesh", LeftArm2)
- LeftArm2Mesh.MeshType = "Brick"
- LeftArm2Mesh.Scale = Vector3.new(1.1,0.5,1.1)
- LeftArm2Weld = Instance.new("Weld",Cha)
- LeftArm2Weld.Part0 = Cha["Left Arm"]
- LeftArm2Weld.Part1 = LeftArm2
- LeftArm2Weld.C1 = CFrame.new(0,0.25,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RightCrystal = Instance.new("Part",Cha)
- RightCrystal.TopSurface = "Smooth"
- RightCrystal.BottomSurface = "Smooth"
- RightCrystal.CanCollide = True
- RightCrystal.BrickColor = BrickColor.new("Really red")
- RightCrystal.Reflectance = 0
- RightCrystal.Transparency = 0
- RightCrystalMesh = Instance.new("SpecialMesh",RightCrystal)
- RightCrystalMesh.MeshType = "FileMesh"
- RightCrystalMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- RightCrystalMesh.Scale = Vector3.new(1,1,1)
- RightCrystalWeld = Instance.new("Weld",Cha)
- RightCrystalWeld.Part0 = Cha["Right Arm"]
- RightCrystalWeld.Part1 = RightCrystal
- RightCrystalWeld.C1 = CFrame.new(0,0.25,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LeftCrystal = Instance.new("Part",Cha)
- LeftCrystal.TopSurface = "Smooth"
- LeftCrystal.BottomSurface = "Smooth"
- LeftCrystal.CanCollide = True
- LeftCrystal.BrickColor = BrickColor.new("Really red")
- LeftCrystal.Reflectance = 0
- LeftCrystal.Transparency = 0
- LeftCrystalMesh = Instance.new("SpecialMesh",LeftCrystal)
- LeftCrystalMesh.MeshType = "FileMesh"
- LeftCrystalMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- LeftCrystalMesh.Scale = Vector3.new(1,1,1)
- LeftCrystalWeld = Instance.new("Weld",Cha)
- LeftCrystalWeld.Part0 = Cha["Left Arm"]
- LeftCrystalWeld.Part1 = LeftCrystal
- LeftCrystalWeld.C1 = CFrame.new(0,0.25,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RightTriangle = Instance.new("Part",Cha)
- RightTriangle.TopSurface = "Smooth"
- RightTriangle.BottomSurface = "Smooth"
- RightTriangle.FormFactor = "Custom"
- RightTriangle.Size = Vector3.new(1,1,1)
- RightTriangle.CanCollide = True
- RightTriangle.Transparency = 0
- RightTriangle.BrickColor = BrickColor.new("Really black")
- RightTriangleMesh = Instance.new("SpecialMesh", RightTriangle)
- RightTriangleMesh.MeshType = "Torso"
- RightTriangleMesh.Scale = Vector3.new(0.6,1.7,1.1)
- RightTriangleWeld = Instance.new("Weld",Cha)
- RightTriangleWeld.Part0 = Cha["Right Arm"]
- RightTriangleWeld.Part1 = RightTriangle
- RightTriangleWeld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LeftTriangle = Instance.new("Part",Cha)
- LeftTriangle.TopSurface = "Smooth"
- LeftTriangle.BottomSurface = "Smooth"
- LeftTriangle.FormFactor = "Custom"
- LeftTriangle.Size = Vector3.new(1,1,1)
- LeftTriangle.CanCollide = True
- LeftTriangle.Transparency = 0
- LeftTriangle.BrickColor = BrickColor.new("Really black")
- LeftTriangleMesh = Instance.new("SpecialMesh", LeftTriangle)
- LeftTriangleMesh.MeshType = "Torso"
- LeftTriangleMesh.Scale = Vector3.new(0.6,1.7,1.1)
- LeftTriangleWeld = Instance.new("Weld",Cha)
- LeftTriangleWeld.Part0 = Cha["Left Arm"]
- LeftTriangleWeld.Part1 = LeftTriangle
- LeftTriangleWeld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Handle = Instance.new("Part",Cha)
- Handle.TopSurface = "Smooth"
- Handle.BottomSurface = "Smooth"
- Handle.FormFactor = "Custom"
- Handle.Size = Vector3.new(1,1,1)
- Handle.CanCollide = True
- Handle.Transparency = 0
- Handle.BrickColor = BrickColor.new("Really black")
- HandleMesh = Instance.new("SpecialMesh", Handle)
- HandleMesh.MeshType = "Cylinder"
- HandleMesh.Scale = Vector3.new(6,0.2,0.2)
- HandleWeld = Instance.new("Weld",Cha)
- HandleWeld.Part0 = Cha["Right Arm"]
- HandleWeld.Part1 = Handle
- HandleWeld.C1 = CFrame.new(0,0.75,0)*CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- Handle2 = Instance.new("Part",Cha)
- Handle2.TopSurface = "Smooth"
- Handle2.BottomSurface = "Smooth"
- Handle2.FormFactor = "Custom"
- Handle2.Size = Vector3.new(1,1,1)
- Handle2.CanCollide = True
- Handle2.Transparency = 0
- Handle2.BrickColor = BrickColor.new("Really red")
- Handle2Mesh = Instance.new("SpecialMesh", Handle2)
- Handle2Mesh.MeshType = "Cylinder"
- Handle2Mesh.Scale = Vector3.new(2,0.25,0.25)
- Handle2Weld = Instance.new("Weld",Cha)
- Handle2Weld.Part0 = Handle
- Handle2Weld.Part1 = Handle2
- Handle2Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Handle3 = Instance.new("Part",Cha)
- Handle3.TopSurface = "Smooth"
- Handle3.BottomSurface = "Smooth"
- Handle3.FormFactor = "Custom"
- Handle3.Size = Vector3.new(1,1,1)
- Handle3.CanCollide = True
- Handle3.Transparency = 0
- Handle3.BrickColor = BrickColor.new("Really red")
- Handle3Mesh = Instance.new("SpecialMesh", Handle3)
- Handle3Mesh.MeshType = "Cylinder"
- Handle3Mesh.Scale = Vector3.new(1,0.25,0.25)
- Handle3Weld = Instance.new("Weld",Cha)
- Handle3Weld.Part0 = Handle
- Handle3Weld.Part1 = Handle3
- Handle3Weld.C1 = CFrame.new(2.6,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Handle4 = Instance.new("Part",Cha)
- Handle4.TopSurface = "Smooth"
- Handle4.BottomSurface = "Smooth"
- Handle4.FormFactor = "Custom"
- Handle4.Size = Vector3.new(1,1,1)
- Handle4.CanCollide = True
- Handle4.Transparency = 0
- Handle4.BrickColor = BrickColor.new("Really red")
- Handle4Mesh = Instance.new("SpecialMesh", Handle4)
- Handle4Mesh.MeshType = "Cylinder"
- Handle4Mesh.Scale = Vector3.new(1,0.25,0.25)
- Handle4Weld = Instance.new("Weld",Cha)
- Handle4Weld.Part0 = Handle
- Handle4Weld.Part1 = Handle4
- Handle4Weld.C1 = CFrame.new(-2.6,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- BladeStart = Instance.new("Part",Cha)
- BladeStart.TopSurface = "Smooth"
- BladeStart.BottomSurface = "Smooth"
- BladeStart.FormFactor = "Custom"
- BladeStart.Size = Vector3.new(1,1,1)
- BladeStart.CanCollide = True
- BladeStart.Transparency = 0
- BladeStart.BrickColor = BrickColor.new("Really red")
- BladeStartMesh = Instance.new("SpecialMesh", BladeStart)
- BladeStartMesh.MeshType = "Brick"
- BladeStartMesh.Scale = Vector3.new(0.5,1,0.5)
- BladeStartWeld = Instance.new("Weld",Cha)
- BladeStartWeld.Part0 = Handle
- BladeStartWeld.Part1 = BladeStart
- BladeStartWeld.C1 = CFrame.new(3,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- BladeStart2 = Instance.new("Part",Cha)
- BladeStart2.TopSurface = "Smooth"
- BladeStart2.BottomSurface = "Smooth"
- BladeStart2.FormFactor = "Custom"
- BladeStart2.Size = Vector3.new(1,1,1)
- BladeStart2.CanCollide = True
- BladeStart2.Transparency = 0
- BladeStart2.BrickColor = BrickColor.new("Really black")
- BladeStart2Mesh = Instance.new("SpecialMesh", BladeStart2)
- BladeStart2Mesh.MeshType = "Brick"
- BladeStart2Mesh.Scale = Vector3.new(0.3,1.1,0.6)
- BladeStart2Weld = Instance.new("Weld",Cha)
- BladeStart2Weld.Part0 = Handle
- BladeStart2Weld.Part1 = BladeStart2
- BladeStart2Weld.C1 = CFrame.new(3,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Connector = Instance.new("Part",Cha)
- Connector.TopSurface = "Smooth"
- Connector.BottomSurface = "Smooth"
- Connector.FormFactor = "Custom"
- Connector.Size = Vector3.new(1,1,1)
- Connector.CanCollide = True
- Connector.Transparency = 0
- Connector.BrickColor = BrickColor.new("Really black")
- ConnectorMesh = Instance.new("SpecialMesh", Connector)
- ConnectorMesh.MeshType = "Cylinder"
- ConnectorMesh.Scale = Vector3.new(2,0.2,0.2)
- ConnectorWeld = Instance.new("Weld",Cha)
- ConnectorWeld.Part0 = Handle
- ConnectorWeld.Part1 = Connector
- ConnectorWeld.C1 = CFrame.new(4,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- BladeStart3 = Instance.new("Part",Cha)
- BladeStart3.TopSurface = "Smooth"
- BladeStart3.BottomSurface = "Smooth"
- BladeStart3.FormFactor = "Custom"
- BladeStart3.Size = Vector3.new(1,1,1)
- BladeStart3.CanCollide = True
- BladeStart3.Transparency = 0
- BladeStart3.BrickColor = BrickColor.new("Really red")
- BladeStart3Mesh = Instance.new("SpecialMesh", BladeStart3)
- BladeStart3Mesh.MeshType = "Brick"
- BladeStart3Mesh.Scale = Vector3.new(0.5,2,1)
- BladeStart3Weld = Instance.new("Weld",Cha)
- BladeStart3Weld.Part0 = Handle
- BladeStart3Weld.Part1 = BladeStart3
- BladeStart3Weld.C1 = CFrame.new(4,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- BladeStart4 = Instance.new("Part",Cha)
- BladeStart4.TopSurface = "Smooth"
- BladeStart4.BottomSurface = "Smooth"
- BladeStart4.FormFactor = "Custom"
- BladeStart4.Size = Vector3.new(1,1,1)
- BladeStart4.CanCollide = True
- BladeStart4.Transparency = 0
- BladeStart4.BrickColor = BrickColor.new("Really black")
- BladeStart4Mesh = Instance.new("SpecialMesh", BladeStart4)
- BladeStart4Mesh.MeshType = "Brick"
- BladeStart4Mesh.Scale = Vector3.new(0.3,2.1,1.1)
- BladeStart4Weld = Instance.new("Weld",Cha)
- BladeStart4Weld.Part0 = Handle
- BladeStart4Weld.Part1 = BladeStart4
- BladeStart4Weld.C1 = CFrame.new(4,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Starter = Instance.new("Part",Cha)
- Starter.TopSurface = "Smooth"
- Starter.BottomSurface = "Smooth"
- Starter.FormFactor = "Custom"
- Starter.Size = Vector3.new(1,1,1)
- Starter.CanCollide = True
- Starter.Transparency = 0
- Starter.BrickColor = BrickColor.new("Really black")
- StarterMesh = Instance.new("SpecialMesh", Starter)
- StarterMesh.MeshType = "Brick"
- StarterMesh.Scale = Vector3.new(1,2,1.5)
- StarterWeld = Instance.new("Weld",Cha)
- StarterWeld.Part0 = Handle
- StarterWeld.Part1 = Starter
- StarterWeld.C1 = CFrame.new(5,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Starter2 = Instance.new("Part",Cha)
- Starter2.TopSurface = "Smooth"
- Starter2.BottomSurface = "Smooth"
- Starter2.FormFactor = "Custom"
- Starter2.Size = Vector3.new(1,1,1)
- Starter2.CanCollide = True
- Starter2.Transparency = 0
- Starter2.BrickColor = BrickColor.new("Really red")
- Starter2Mesh = Instance.new("SpecialMesh", Starter2)
- Starter2Mesh.MeshType = "Brick"
- Starter2Mesh.Scale = Vector3.new(0.8,2.2,1.4)
- Starter2Weld = Instance.new("Weld",Cha)
- Starter2Weld.Part0 = Handle
- Starter2Weld.Part1 = Starter2
- Starter2Weld.C1 = CFrame.new(5,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Starter3 = Instance.new("Part",Cha)
- Starter3.TopSurface = "Smooth"
- Starter3.BottomSurface = "Smooth"
- Starter3.FormFactor = "Custom"
- Starter3.Size = Vector3.new(1,1,1)
- Starter3.CanCollide = True
- Starter3.Transparency = 0
- Starter3.BrickColor = BrickColor.new("Really black")
- Starter3Mesh = Instance.new("SpecialMesh", Starter3)
- Starter3Mesh.MeshType = "Brick"
- Starter3Mesh.Scale = Vector3.new(0.6,2.4,1.2)
- Starter3Weld = Instance.new("Weld",Cha)
- Starter3Weld.Part0 = Handle
- Starter3Weld.Part1 = Starter3
- Starter3Weld.C1 = CFrame.new(5,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Starter4 = Instance.new("Part",Cha)
- Starter4.TopSurface = "Smooth"
- Starter4.BottomSurface = "Smooth"
- Starter4.FormFactor = "Custom"
- Starter4.Size = Vector3.new(1,1,1)
- Starter4.CanCollide = True
- Starter4.Transparency = 0
- Starter4.BrickColor = BrickColor.new("Really red")
- Starter4Mesh = Instance.new("SpecialMesh", Starter4)
- Starter4Mesh.MeshType = "Brick"
- Starter4Mesh.Scale = Vector3.new(0.4,2.6,1)
- Starter4Weld = Instance.new("Weld",Cha)
- Starter4Weld.Part0 = Handle
- Starter4Weld.Part1 = Starter4
- Starter4Weld.C1 = CFrame.new(5,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Starter5 = Instance.new("Part",Cha)
- Starter5.TopSurface = "Smooth"
- Starter5.BottomSurface = "Smooth"
- Starter5.FormFactor = "Custom"
- Starter5.Size = Vector3.new(1,1,1)
- Starter5.CanCollide = True
- Starter5.Transparency = 0
- Starter5.BrickColor = BrickColor.new("Really black")
- Starter5Mesh = Instance.new("SpecialMesh", Starter5)
- Starter5Mesh.MeshType = "Brick"
- Starter5Mesh.Scale = Vector3.new(0.3,5,0.4)
- Starter5Weld = Instance.new("Weld",Cha)
- Starter5Weld.Part0 = Handle
- Starter5Weld.Part1 = Starter5
- Starter5Weld.C1 = CFrame.new(5,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammer = Instance.new("Part",Cha)
- Hammer.TopSurface = "Smooth"
- Hammer.BottomSurface = "Smooth"
- Hammer.FormFactor = "Custom"
- Hammer.Size = Vector3.new(1,1,1)
- Hammer.CanCollide = True
- Hammer.Transparency = 0
- Hammer.BrickColor = BrickColor.new("Really black")
- HammerMesh = Instance.new("SpecialMesh", Hammer)
- HammerMesh.MeshType = "Brick"
- HammerMesh.Scale = Vector3.new(0.4,1,1)
- HammerWeld = Instance.new("Weld",Cha)
- HammerWeld.Part0 = Handle
- HammerWeld.Part1 = Hammer
- HammerWeld.C1 = CFrame.new(5,3,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammer2 = Instance.new("Part",Cha)
- Hammer2.TopSurface = "Smooth"
- Hammer2.BottomSurface = "Smooth"
- Hammer2.FormFactor = "Custom"
- Hammer2.Size = Vector3.new(1,1,1)
- Hammer2.CanCollide = True
- Hammer2.Transparency = 0.9
- Hammer2.BrickColor = BrickColor.new("Really red")
- Hammer2Mesh = Instance.new("SpecialMesh", Hammer2)
- Hammer2Mesh.MeshType = "Brick"
- Hammer2Mesh.Scale = Vector3.new(0.5,1.1,1.1)
- Hammer2Weld = Instance.new("Weld",Cha)
- Hammer2Weld.Part0 = Hammer
- Hammer2Weld.Part1 = Hammer2
- Hammer2Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammer3 = Instance.new("Part",Cha)
- Hammer3.TopSurface = "Smooth"
- Hammer3.BottomSurface = "Smooth"
- Hammer3.FormFactor = "Custom"
- Hammer3.Size = Vector3.new(1,1,1)
- Hammer3.CanCollide = True
- Hammer3.Transparency = 0.8
- Hammer3.BrickColor = BrickColor.new("Really black")
- Hammer3Mesh = Instance.new("SpecialMesh", Hammer3)
- Hammer3Mesh.MeshType = "Brick"
- Hammer3Mesh.Scale = Vector3.new(0.6,1.2,1.2)
- Hammer3Weld = Instance.new("Weld",Cha)
- Hammer3Weld.Part0 = Hammer
- Hammer3Weld.Part1 = Hammer3
- Hammer3Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammer4 = Instance.new("Part",Cha)
- Hammer4.TopSurface = "Smooth"
- Hammer4.BottomSurface = "Smooth"
- Hammer4.FormFactor = "Custom"
- Hammer4.Size = Vector3.new(1,1,1)
- Hammer4.CanCollide = True
- Hammer4.Transparency = 0.7
- Hammer4.BrickColor = BrickColor.new("Really red")
- Hammer4Mesh = Instance.new("SpecialMesh", Hammer4)
- Hammer4Mesh.MeshType = "Brick"
- Hammer4Mesh.Scale = Vector3.new(0.7,1.3,1.3)
- Hammer4Weld = Instance.new("Weld",Cha)
- Hammer4Weld.Part0 = Hammer
- Hammer4Weld.Part1 = Hammer4
- Hammer4Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammer5 = Instance.new("Part",Cha)
- Hammer5.TopSurface = "Smooth"
- Hammer5.BottomSurface = "Smooth"
- Hammer5.FormFactor = "Custom"
- Hammer5.Size = Vector3.new(1,1,1)
- Hammer5.CanCollide = True
- Hammer5.Transparency = 0.6
- Hammer5.BrickColor = BrickColor.new("Really black")
- Hammer5Mesh = Instance.new("SpecialMesh", Hammer5)
- Hammer5Mesh.MeshType = "Brick"
- Hammer5Mesh.Scale = Vector3.new(0.8,1.4,1.4)
- Hammer5Weld = Instance.new("Weld",Cha)
- Hammer5Weld.Part0 = Hammer
- Hammer5Weld.Part1 = Hammer5
- Hammer5Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammer6 = Instance.new("Part",Cha)
- Hammer6.TopSurface = "Smooth"
- Hammer6.BottomSurface = "Smooth"
- Hammer6.FormFactor = "Custom"
- Hammer6.Size = Vector3.new(1,1,1)
- Hammer6.CanCollide = True
- Hammer6.Transparency = 0.5
- Hammer6.BrickColor = BrickColor.new("Really red")
- Hammer6Mesh = Instance.new("SpecialMesh", Hammer6)
- Hammer6Mesh.MeshType = "Brick"
- Hammer6Mesh.Scale = Vector3.new(0.9,1.5,1.5)
- Hammer6Weld = Instance.new("Weld",Cha)
- Hammer6Weld.Part0 = Hammer
- Hammer6Weld.Part1 = Hammer6
- Hammer6Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammer7 = Instance.new("Part",Cha)
- Hammer7.TopSurface = "Smooth"
- Hammer7.BottomSurface = "Smooth"
- Hammer7.FormFactor = "Custom"
- Hammer7.Size = Vector3.new(1,1,1)
- Hammer7.CanCollide = True
- Hammer7.Transparency = 0.4
- Hammer7.BrickColor = BrickColor.new("Really black")
- Hammer7Mesh = Instance.new("SpecialMesh", Hammer7)
- Hammer7Mesh.MeshType = "Brick"
- Hammer7Mesh.Scale = Vector3.new(1,1.6,1.6)
- Hammer7Weld = Instance.new("Weld",Cha)
- Hammer7Weld.Part0 = Hammer
- Hammer7Weld.Part1 = Hammer7
- Hammer7Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammer8 = Instance.new("Part",Cha)
- Hammer8.TopSurface = "Smooth"
- Hammer8.BottomSurface = "Smooth"
- Hammer8.FormFactor = "Custom"
- Hammer8.Size = Vector3.new(1,1,1)
- Hammer8.CanCollide = True
- Hammer8.Transparency = 0.3
- Hammer8.BrickColor = BrickColor.new("Really red")
- Hammer8Mesh = Instance.new("SpecialMesh", Hammer8)
- Hammer8Mesh.MeshType = "Brick"
- Hammer8Mesh.Scale = Vector3.new(1.1,1.7,1.7)
- Hammer8Weld = Instance.new("Weld",Cha)
- Hammer8Weld.Part0 = Hammer
- Hammer8Weld.Part1 = Hammer8
- Hammer8Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammerv2 = Instance.new("Part",Cha)
- Hammerv2.TopSurface = "Smooth"
- Hammerv2.BottomSurface = "Smooth"
- Hammerv2.FormFactor = "Custom"
- Hammerv2.Size = Vector3.new(1,1,1)
- Hammerv2.CanCollide = True
- Hammerv2.Transparency = 0
- Hammerv2.BrickColor = BrickColor.new("Really black")
- Hammerv2Mesh = Instance.new("SpecialMesh", Hammerv2)
- Hammerv2Mesh.MeshType = "Brick"
- Hammerv2Mesh.Scale = Vector3.new(0.4,1,1)
- Hammerv2Weld = Instance.new("Weld",Cha)
- Hammerv2Weld.Part0 = Handle
- Hammerv2Weld.Part1 = Hammerv2
- Hammerv2Weld.C1 = CFrame.new(5,-3,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammerv22 = Instance.new("Part",Cha)
- Hammerv22.TopSurface = "Smooth"
- Hammerv22.BottomSurface = "Smooth"
- Hammerv22.FormFactor = "Custom"
- Hammerv22.Size = Vector3.new(1,1,1)
- Hammerv22.CanCollide = True
- Hammerv22.Transparency = 0.9
- Hammerv22.BrickColor = BrickColor.new("Really red")
- Hammerv22Mesh = Instance.new("SpecialMesh", Hammerv22)
- Hammerv22Mesh.MeshType = "Brick"
- Hammerv22Mesh.Scale = Vector3.new(0.5,1.1,1.1)
- Hammerv22Weld = Instance.new("Weld",Cha)
- Hammerv22Weld.Part0 = Hammerv2
- Hammerv22Weld.Part1 = Hammerv22
- Hammerv22Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammerv23 = Instance.new("Part",Cha)
- Hammerv23.TopSurface = "Smooth"
- Hammerv23.BottomSurface = "Smooth"
- Hammerv23.FormFactor = "Custom"
- Hammerv23.Size = Vector3.new(1,1,1)
- Hammerv23.CanCollide = True
- Hammerv23.Transparency = 0.8
- Hammerv23.BrickColor = BrickColor.new("Really black")
- Hammerv23Mesh = Instance.new("SpecialMesh", Hammerv23)
- Hammerv23Mesh.MeshType = "Brick"
- Hammerv23Mesh.Scale = Vector3.new(0.6,1.2,1.2)
- Hammerv23Weld = Instance.new("Weld",Cha)
- Hammerv23Weld.Part0 = Hammerv2
- Hammerv23Weld.Part1 = Hammerv23
- Hammerv23Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammerv24 = Instance.new("Part",Cha)
- Hammerv24.TopSurface = "Smooth"
- Hammerv24.BottomSurface = "Smooth"
- Hammerv24.FormFactor = "Custom"
- Hammerv24.Size = Vector3.new(1,1,1)
- Hammerv24.CanCollide = True
- Hammerv24.Transparency = 0.7
- Hammerv24.BrickColor = BrickColor.new("Really red")
- Hammerv24Mesh = Instance.new("SpecialMesh", Hammerv24)
- Hammerv24Mesh.MeshType = "Brick"
- Hammerv24Mesh.Scale = Vector3.new(0.7,1.3,1.3)
- Hammerv24Weld = Instance.new("Weld",Cha)
- Hammerv24Weld.Part0 = Hammerv2
- Hammerv24Weld.Part1 = Hammerv24
- Hammerv24Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammerv25 = Instance.new("Part",Cha)
- Hammerv25.TopSurface = "Smooth"
- Hammerv25.BottomSurface = "Smooth"
- Hammerv25.FormFactor = "Custom"
- Hammerv25.Size = Vector3.new(1,1,1)
- Hammerv25.CanCollide = True
- Hammerv25.Transparency = 0.6
- Hammerv25.BrickColor = BrickColor.new("Really black")
- Hammerv25Mesh = Instance.new("SpecialMesh", Hammerv25)
- Hammerv25Mesh.MeshType = "Brick"
- Hammerv25Mesh.Scale = Vector3.new(0.8,1.4,1.4)
- Hammerv25Weld = Instance.new("Weld",Cha)
- Hammerv25Weld.Part0 = Hammerv2
- Hammerv25Weld.Part1 = Hammerv25
- Hammerv25Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammerv26 = Instance.new("Part",Cha)
- Hammerv26.TopSurface = "Smooth"
- Hammerv26.BottomSurface = "Smooth"
- Hammerv26.FormFactor = "Custom"
- Hammerv26.Size = Vector3.new(1,1,1)
- Hammerv26.CanCollide = True
- Hammerv26.Transparency = 0.5
- Hammerv26.BrickColor = BrickColor.new("Really red")
- Hammerv26Mesh = Instance.new("SpecialMesh", Hammerv26)
- Hammerv26Mesh.MeshType = "Brick"
- Hammerv26Mesh.Scale = Vector3.new(0.9,1.5,1.5)
- Hammerv26Weld = Instance.new("Weld",Cha)
- Hammerv26Weld.Part0 = Hammerv2
- Hammerv26Weld.Part1 = Hammerv26
- Hammerv26Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammerv27 = Instance.new("Part",Cha)
- Hammerv27.TopSurface = "Smooth"
- Hammerv27.BottomSurface = "Smooth"
- Hammerv27.FormFactor = "Custom"
- Hammerv27.Size = Vector3.new(1,1,1)
- Hammerv27.CanCollide = True
- Hammerv27.Transparency = 0.4
- Hammerv27.BrickColor = BrickColor.new("Really black")
- Hammerv27Mesh = Instance.new("SpecialMesh", Hammerv27)
- Hammerv27Mesh.MeshType = "Brick"
- Hammerv27Mesh.Scale = Vector3.new(1,1.6,1.6)
- Hammerv27Weld = Instance.new("Weld",Cha)
- Hammerv27Weld.Part0 = Hammerv2
- Hammerv27Weld.Part1 = Hammerv27
- Hammerv27Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Hammerv28 = Instance.new("Part",Cha)
- Hammerv28.TopSurface = "Smooth"
- Hammerv28.BottomSurface = "Smooth"
- Hammerv28.FormFactor = "Custom"
- Hammerv28.Size = Vector3.new(1,1,1)
- Hammerv28.CanCollide = True
- Hammerv28.Transparency = 0.3
- Hammerv28.BrickColor = BrickColor.new("Really red")
- Hammerv28Mesh = Instance.new("SpecialMesh", Hammerv28)
- Hammerv28Mesh.MeshType = "Brick"
- Hammerv28Mesh.Scale = Vector3.new(1.1,1.7,1.7)
- Hammerv28Weld = Instance.new("Weld",Cha)
- Hammerv28Weld.Part0 = Hammerv2
- Hammerv28Weld.Part1 = Hammerv28
- Hammerv28Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- function Chat(Object,Text,Color)
- local Color = BrickColor.new(Color)
- pcall(function()Object:findFirstChild("AtlasText"):Destroy()end)
- local G = Instance.new("BillboardGui",Object)
- G.Name = "AtlasText"
- G.Adornee = Object
- G.Size = UDim2.new(3.5,0,2.5,0)
- G.AlwaysOnTop = false
- G.StudsOffset = Vector3.new(0,3,0)
- local Frame = Instance.new("Frame")
- Frame.Parent = G
- Frame.Size = UDim2.new(1,0,1,0)
- Frame.BackgroundTransparency = 1
- local Txt = Instance.new("TextLabel",Frame)
- Txt.Size = UDim2.new(1,0,1,0)
- Txt.Text = Text
- Txt.TextScaled = true
- Txt.TextWrapped = true
- Txt.Font = "SourceSansBold"
- Txt.TextColor = Color
- Txt.BackgroundTransparency = 1
- Txt.ZIndex = 2
- Game:GetService("Debris"):AddItem(G,3)
- end
- mouse.KeyDown:connect(function(key)
- key:lower()
- if key == "e" and rush == false then
- rush = true
- Chat(Cha.Head,"Hammer Rush!","Really black")
- Cha.Humanoid.Name = "Swagger"
- x = Instance.new("Part")
- x.BrickColor = BrickColor.new("Really red")
- x.Size = Vector3.new(20,10,20)
- x.TopSurface = "Smooth"
- x.BottomSurface = "Smooth"
- x.Shape = "Block"
- x.Name = "Gravity"
- x.CanCollide = false
- x.Transparency = 0.6
- z = Instance.new("SpecialMesh",x)
- z.MeshType = "Brick"
- z.Scale = Vector3.new(0,0,0)
- x.Parent = Workspace
- x.CFrame = Cha.Torso.CFrame*CFrame.new(0, 0,0)
- x2 = Instance.new("Part")
- x2.BrickColor = BrickColor.new("Really black")
- x2.Size = Vector3.new(25,15,25)
- x2.TopSurface = "Smooth"
- x2.BottomSurface = "Smooth"
- x2.Shape = "Block"
- x2.Name = "Gravity"
- x2.Transparency = 0.6
- x2.CanCollide = false
- x2.Anchored = true
- z2 = Instance.new("SpecialMesh",x2)
- z2.MeshType = "Brick"
- z2.Scale = Vector3.new(0,0,0)
- x2.Parent = Workspace
- x2.CFrame = Cha.Torso.CFrame*CFrame.new(0, 0,0)
- x.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(3)
- hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
- end
- end)
- for i = 1,5 do
- z.Scale = z.Scale + Vector3.new(.2,.2,.2)
- x.Transparency = x.Transparency - .02
- wait(.005)
- end
- for fly = 1,40 do
- x.CFrame = Cha.Torso.CFrame*CFrame.new(0, 0,0)
- x2.CFrame = Cha.Torso.CFrame*CFrame.new(0, 0,0)
- g = Instance.new("Part",Workspace)
- g.BrickColor = BrickColor.new("Really red")
- g.Size = Vector3.new(15,15,15)
- g.TopSurface = "Smooth"
- g.BottomSurface = "Smooth"
- g.Shape = "Block"
- g.CFrame = x.CFrame *CFrame.new(0, 0, -2) * CFrame.Angles(0,fly * 2, 0)
- g.Name = "Ice"
- g.CanCollide = false
- g.Anchored = true
- g.Transparency = 0.8
- z2 = Instance.new("SpecialMesh",g)
- z2.MeshType = "Brick"
- z2.Scale = Vector3.new(1,1,1)
- g.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(0.5)
- hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
- end
- end)
- g2 = Instance.new("Part",Workspace)
- g2.BrickColor = BrickColor.new("Really black")
- g2.Size = Vector3.new(20,20,20)
- g2.TopSurface = "Smooth"
- g2.BottomSurface = "Smooth"
- g2.Shape = "Block"
- g2.CFrame = x2.CFrame *CFrame.new(0, 0, -2) * CFrame.Angles(0,fly * 2, 0)
- g2.Name = "Ice"
- g2.CanCollide = false
- g2.Anchored = true
- g2.Transparency = 0.8
- z3 = Instance.new("SpecialMesh",g2)
- z3.MeshType = "Brick"
- z3.Scale = Vector3.new(1,1,1)
- game.Debris:AddItem(g, 1)
- game.Debris:AddItem(g2, 1)
- y = Instance.new("BodyVelocity")
- y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- y.velocity = Cha.Torso.CFrame.lookVector*250
- y.Parent = Cha.Torso
- game.Debris:AddItem(y, .1)
- wait(.005)
- end
- x:remove()
- x2:remove()
- y:remove()
- Cha.Swagger.Name = "Humanoid"
- wait(5)
- rush = false
- end
- if key == "q" and shot == false then
- shot = true
- Cha.Humanoid.Name = "Swagger"
- Chat(Cha.Head,"Darkness Shot","Really black")
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.4, -0.4, 0.4)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.3, -0.3, 0.3)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.2, -0.2, 0.2)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.1, -0.1, 0.1)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.5, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.6, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.7, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.8, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.9, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(1, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.1,-0.1) * CFrame.fromEulerAnglesXYZ(1.1, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.2,-0.2) * CFrame.fromEulerAnglesXYZ(1.2, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.2,-0.2) * CFrame.fromEulerAnglesXYZ(1.3, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.2,-0.2) * CFrame.fromEulerAnglesXYZ(1.4, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.3,-0.3) * CFrame.fromEulerAnglesXYZ(1.5, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.3,-0.3) * CFrame.fromEulerAnglesXYZ(1.6, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.3,-0.3) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.4,-0.4) * CFrame.fromEulerAnglesXYZ(1.8, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.4,-0.4) * CFrame.fromEulerAnglesXYZ(1.9, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(2, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.4,-0.4) * CFrame.fromEulerAnglesXYZ(1.9, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.3,-0.3) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.3,-0.3) * CFrame.fromEulerAnglesXYZ(1.5, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.2,-0.2) * CFrame.fromEulerAnglesXYZ(1.3, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0.1,-0.1) * CFrame.fromEulerAnglesXYZ(1.1, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.9, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.7, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.5, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.1, -0.1, 0.1)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.2, -0.2, 0.2)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.3, -0.3, 0.3)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.4, -0.4, 0.4)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- wait()
- RightArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0.5, -0.5, 0.5)
- LeftArmWeld.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
- x = Instance.new("Part")
- x.BrickColor = BrickColor.new("Really red")
- x.Size = Vector3.new(50,50,50)
- x.TopSurface = "Smooth"
- x.BottomSurface = "Smooth"
- x.Shape = "Block"
- x.Name = "DS"
- x.CanCollide = false
- x.Anchored = true
- x.Transparency = 0.7
- z = Instance.new("SpecialMesh",x)
- z.MeshType = "Cylinder"
- z.Scale = Vector3.new(0,0,0)
- y = Instance.new("BodyVelocity")
- y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- y.velocity = Cha.Torso.CFrame.lookVector*0
- x.Parent = Workspace
- y.Parent = x
- cf = Cha.Torso.CFrame*CFrame.new(0, 0, -8) * CFrame.Angles(180,0,0)
- x.CFrame = cf
- x2 = x:clone()
- x2.BrickColor = BrickColor.new("Really black")
- x2.Size = Vector3.new(55,55,55)
- x2.TopSurface = "Smooth"
- x2.BottomSurface = "Smooth"
- x2.Shape = "Block"
- x2.Name = "DS"
- x2.CanCollide = false
- x2.Anchored = true
- z2 = Instance.new("SpecialMesh",x2)
- z2.MeshType = "Cylinder"
- z2.Scale = Vector3.new(0,0,0)
- x2.Parent = Workspace
- cf2 = Cha.Torso.CFrame*CFrame.new(0, 0, -8) * CFrame.Angles(180,0,0)
- x2.CFrame = cf2
- x.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
- hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
- end
- end)
- game.Debris:AddItem(x, 10)
- game.Debris:AddItem(x2, 10)
- z.Scale = z.Scale + Vector3.new(1,1,1)
- z2.Scale = z2.Scale + Vector3.new(1,1,1)
- for dy = 1,60 do
- x.CFrame = Cha.Torso.CFrame *CFrame.new(0, 0, (-10 - dy * 6)) * CFrame.Angles(180,0,0)
- x2.CFrame = Cha.Torso.CFrame *CFrame.new(0, 0, (-10 - dy * 6)) * CFrame.Angles(180,0,0)
- wait(.005)
- g = Instance.new("Part",Workspace)
- g.BrickColor = BrickColor.new("Really red")
- g.Size = Vector3.new(45,45,45)
- g.TopSurface = "Smooth"
- g.BottomSurface = "Smooth"
- g.Shape = "Block"
- g.CFrame = x.CFrame *CFrame.new(math.random(-2,2), 0, -2) * CFrame.Angles(0,dy * 2, 0)
- g.Name = "DS"
- g.CanCollide = false
- g.Anchored = true
- g.Transparency = 0.9
- z2 = Instance.new("SpecialMesh",g)
- z2.MeshType = "Brick"
- z2.Scale = Vector3.new(1,1,1)
- g.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(0.01)
- hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
- end
- end)
- g2 = Instance.new("Part",Workspace)
- g2.BrickColor = BrickColor.new("Really black")
- g2.Size = Vector3.new(50,50,50)
- g2.TopSurface = "Smooth"
- g2.BottomSurface = "Smooth"
- g2.Shape = "Block"
- g2.CFrame = x2.CFrame *CFrame.new(math.random(-2,2), 0, -2) * CFrame.Angles(0,dy * 2, 0)
- g2.Name = "DS"
- g2.CanCollide = false
- g2.Anchored = true
- g2.Transparency = 0.9
- z4 = Instance.new("SpecialMesh",g2)
- z4.MeshType = "Brick"
- z4.Scale = Vector3.new(1,1,1)
- game.Debris:AddItem(g, 1)
- game.Debris:AddItem(g2, 1)
- end
- x:remove()
- x2:remove()
- Cha.Swagger.Name = "Humanoid"
- wait(5)
- shot = false
- end
- if key == "r" and massive == false then
- massive = true
- Cha.Humanoid.Name = "Swagger"
- Chat(Cha.Head,"Wide Shot","Really black")
- for i = 1,30 do
- x = Instance.new("Part")
- x.Size = Vector3.new(12,12,20)
- x.TopSurface = "Smooth"
- x.BottomSurface = "Smooth"
- x.Shape = "Ball"
- x.Name = "Snow"
- x.CanCollide = false
- x.Anchored = false
- x.Transparency = 0.1
- z = Instance.new("SpecialMesh",x)
- z.MeshType = "Sphere"
- z.Scale = Vector3.new(0,0,0)
- y = Instance.new("BodyVelocity")
- y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- y.velocity = Cha.Torso.CFrame.lookVector*200
- x.Parent = Workspace
- y.Parent = x
- x.CFrame = Cha.Torso.CFrame*CFrame.new(math.random(-3,3), math.random(-1,1),-10)
- game.Debris:AddItem(x, 2)
- x.Anchored = true
- x.BrickColor = BrickColor.new("Really red")
- x.Anchored = false
- x.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(0.1)
- hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
- end
- end)
- for i = 1,2.5 do
- z.Scale = z.Scale + Vector3.new(.1,.1,.1)
- x.Transparency = x.Transparency + .2
- wait(.001)
- end
- end
- Cha.Swagger.Name = "Humanoid"
- wait(5)
- massive = false
- end
- if key == "f" and fist == false then
- fist = true
- Cha.Humanoid.Name = "Swagger"
- Chat(Cha.Head,"Giant Ice Fist","Really black")
- x = Instance.new("Part")
- x.BrickColor = BrickColor.new("Really red")
- x.Size = Vector3.new(28, 34, 25)
- x.TopSurface = "Smooth"
- x.BottomSurface = "Smooth"
- x.Shape = "Block"
- x.Name = "Earth"
- x.CanCollide = true
- x.Anchored = false
- x.Transparency = 0.6
- z = Instance.new("SpecialMesh",x)
- z.MeshType = "FileMesh"
- z.MeshId = "http://www.roblox.com/asset/?id=90718752"
- z.Scale = Vector3.new(0,0,0)
- y = Instance.new("BodyVelocity")
- y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- y.velocity = Cha.Torso.CFrame.lookVector*140
- x.Parent = Workspace
- y.Parent = x
- cf = Cha.Torso.CFrame*CFrame.new(0, 0, -13) * CFrame.Angles(90,0,0)
- x.CFrame = cf
- x.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
- hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
- end
- end)
- game.Debris:AddItem(x, 10)
- for i = 1,5 do
- z.Scale = z.Scale + Vector3.new(22,22,22)
- x.Transparency = x.Transparency - .02
- wait(.005)
- end
- for dy = 1,30 do
- wait(.02)
- g = Instance.new("Part",Workspace)
- g.BrickColor = BrickColor.new("Really red")
- g.Size = Vector3.new(10,10,10)
- g.TopSurface = "Smooth"
- g.BottomSurface = "Smooth"
- g.Shape = "Block"
- g.CFrame = x.CFrame *CFrame.new(0, 0, -2) * CFrame.Angles(0,dy * 4, 0)
- g.Name = "Earth"
- g.CanCollide = false
- g.Anchored = true
- g.Transparency = 0.8
- z2 = Instance.new("SpecialMesh",g)
- z2.MeshType = "Brick"
- z2.Scale = Vector3.new(2,2,2)
- game.Debris:AddItem(g, 1)
- end
- x:remove()
- Cha.Swagger.Name = "Humanoid"
- wait(5)
- fist = false
- end
- if key == "g" and wind == false then
- wind = true
- Chat(Cha.Head,"Blizzard","Really black")
- Cha.Humanoid.Name = "Swagger"
- x = Instance.new("Part")
- x.BrickColor = BrickColor.new("Really red")
- x.Size = Vector3.new(10,10,80)
- x.TopSurface = "Smooth"
- x.BottomSurface = "Smooth"
- x.Shape = "Block"
- x.Name = "DS"
- x.CanCollide = true
- x.Anchored = true
- x.Transparency = 0.5
- z = Instance.new("SpecialMesh",x)
- z.MeshType = "Sphere"
- z.Scale = Vector3.new(0,0,0)
- y = Instance.new("BodyVelocity")
- y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- y.velocity = Cha.Torso.CFrame.lookVector*0
- x.Parent = Workspace
- y.Parent = x
- cf = Cha.Torso.CFrame*CFrame.new(0, 0, -8) --* CFrame.Angles(180,0,0)
- x.CFrame = cf
- x.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
- hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
- end
- end)
- game.Debris:AddItem(x, 10)
- z.Scale = z.Scale + Vector3.new(1,1,1)
- for dy = 1,20 do
- x.CFrame = Cha.Torso.CFrame *CFrame.new(0, 0, (-10 - dy * 15)) -- CFrame.Angles(180,0,0)
- wait(.01)
- g = Instance.new("Part",Workspace)
- g.BrickColor = BrickColor.new("Really red")
- g.Size = x.Size
- g.TopSurface = "Smooth"
- g.BottomSurface = "Smooth"
- g.Shape = "Block"
- g.CFrame = x.CFrame *CFrame.new(0, 0, -2)-- * CFrame.Angles(0,dy * 2, 0)
- g.Name = "DS"
- g.CanCollide = false
- g.Anchored = true
- g.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(0.01)
- hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
- end
- end)
- g.Transparency = x.Transparency
- z2 = Instance.new("SpecialMesh",g)
- z2.MeshType = "Sphere"
- z2.Scale = Vector3.new(1,1,1)
- game.Debris:AddItem(g, 1)
- end
- x:remove()
- Cha.Swagger.Name = "Humanoid"
- wait(5)
- wind = false
- end
- end)
- end)
- Influx.Name = "Influx"
- Influx.Parent = Frame
- Influx.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Influx.BorderSizePixel = 0
- Influx.Position = UDim2.new(0.492907822, 0, 0.271739125, 0)
- Influx.Size = UDim2.new(0, 129, 0, 31)
- Influx.Font = Enum.Font.SourceSans
- Influx.Text = "Influx"
- Influx.TextColor3 = Color3.new(1, 1, 1)
- Influx.TextSize = 14
- Influx.MouseButton1Down:connect(function()
- -----------//INFLUX\\-----------
- --[[Movelist
- Mouseclick = 3 attacks
- Attack 1 = Basic swipe
- Attack 2 = Lunge
- Attack 3 = Whirlwind
- E = Waterball
- R = Orbital Cannon(WILL CAUSE LAG AND ANNIHILATES ALMOST EVERYTHING!, DO THIS IN PLACE 2 TO PREVENT BANS!!!)
- ---------]]
- --Whoever thought it was funny to decompile my best work and leak it deserves to get shot in his leg.--
- --I've seen alot of scripters quit lately, i won't be one of them though, i still find enjoyment out of scripting.--
- --Influx! Yes the brother of Reflux! Even though it's alot smaller than Reflux... Stupid FE!--
- Player=game.Players.LocalPlayer
- Character=Player.Character
- Character.Humanoid.Name = "noneofurbusiness"
- hum = Character.noneofurbusiness
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- Root=Character["HumanoidRootPart"]
- Head=Character["Head"]
- Torso=Character["Torso"]
- Neck=Torso["Neck"]
- mouse = Player:GetMouse()
- walking = false
- hitdebounce = false
- debounce = false
- jumping = false
- attacking = false
- firsttime = false
- tauntdebounce = false
- position = nil
- MseGuide = true
- running = false
- settime = 0
- sine = 0
- t = 0
- throwballv = false
- ws = 18
- change = 1
- wtr1 = false
- combo1 = true
- equip = false
- dgs = 75
- combo2 = false
- switch1 = true
- switch2 = false
- firsttime2 = false
- combo3 = false
- gunallowance = false
- orbitalcannon = false
- shooting = false
- RunSrv = game:GetService("RunService")
- RenderStepped = game:GetService("RunService").RenderStepped
- removeuseless = game:GetService("Debris")
- screenGui = Instance.new("ScreenGui")
- screenGui.Parent = script.Parent
- local HEADLERP = Instance.new("ManualWeld")
- HEADLERP.Parent = Head
- HEADLERP.Part0 = Head
- HEADLERP.Part1 = Head
- HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local TORSOLERP = Instance.new("ManualWeld")
- TORSOLERP.Parent = Root
- TORSOLERP.Part0 = Torso
- TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local ROOTLERP = Instance.new("ManualWeld")
- ROOTLERP.Parent = Root
- ROOTLERP.Part0 = Root
- ROOTLERP.Part1 = Torso
- ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTARMLERP = Instance.new("ManualWeld")
- RIGHTARMLERP.Parent = RightArm
- RIGHTARMLERP.Part0 = RightArm
- RIGHTARMLERP.Part1 = Torso
- RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTARMLERP = Instance.new("ManualWeld")
- LEFTARMLERP.Parent = LeftArm
- LEFTARMLERP.Part0 = LeftArm
- LEFTARMLERP.Part1 = Torso
- LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTLEGLERP = Instance.new("ManualWeld")
- RIGHTLEGLERP.Parent = RightLeg
- RIGHTLEGLERP.Part0 = RightLeg
- RIGHTLEGLERP.Part1 = Torso
- RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTLEGLERP = Instance.new("ManualWeld")
- LEFTLEGLERP.Parent = LeftLeg
- LEFTLEGLERP.Part0 = LeftLeg
- LEFTLEGLERP.Part1 = Torso
- LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local function weldBetween(a, b)
- local weld = Instance.new("ManualWeld", a)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- return weld
- end
- leftlocation = Instance.new("Part",LeftArm)
- leftlocation.Size = Vector3.new(1,1,1)
- leftlocation.Transparency = 1
- leftlocationweld = weldBetween(leftlocation,LeftArm)
- leftlocation.Name = "leftloc"
- leftlocationweld.C0 = CFrame.new(0,1.2,0)
- function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
- A = Instance.new("Attachment", PARENT)
- A.Position = POSITION1
- A.Name = "A"
- B = Instance.new("Attachment", PARENT)
- B.Position = POSITION2
- B.Name = "B"
- tr1 = Instance.new("Trail", PARENT)
- tr1.Attachment0 = A
- tr1.Attachment1 = B
- tr1.Enabled = true
- tr1.Lifetime = LIFETIME
- tr1.TextureMode = "Static"
- tr1.LightInfluence = 0
- tr1.Color = COLOR
- tr1.Transparency = NumberSequence.new(0, 1)
- end
- shirt = Instance.new("Shirt", Character)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", Character)
- pants.Name = "Pants"
- Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1591925990"
- Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1819336634"
- skull = Instance.new("Part",Character)
- skull.Size = Vector3.new(2,2,2)
- skull.CFrame = Head.CFrame
- skull.CanCollide = false
- skullweld = Instance.new("Weld",skull)
- skullweld.Part0 = skull
- skullweld.Part1 = Head
- skullweld.C0 = skull.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.39,0)
- mskull = Instance.new("SpecialMesh", skull)
- mskull.MeshType = "FileMesh"
- mskull.Scale = Vector3.new(1.25, 1.25, 1.25)
- mskull.VertexColor = Vector3.new(0,0,25)
- mskull.MeshId,mskull.TextureId = 'http://www.roblox.com/asset/?id=116524125','http://www.roblox.com/asset/?id=116524213'
- johndoe = Instance.new("Part",Head)
- johndoe.Shape = "Ball"
- johndoe.Material = "Neon"
- johndoe.BrickColor = BrickColor.new("Cyan")
- johndoe.Size = Vector3.new(1.68,1.68,1.68)
- johndoeweld = weldBetween(johndoe,Head)
- johndoeweld.C0 = CFrame.new(0,-.15,.1)
- seacutlass = Instance.new("Part",Character)
- seacutlass.Size = Vector3.new(2,2,2)
- seacutlass.CFrame = RightArm.CFrame
- seacutlass.CanCollide = false
- seacutlassweld = Instance.new("Weld",seacutlass)
- seacutlassweld.Part0 = seacutlass
- seacutlassweld.Part1 = RightArm
- seacutlassweld.C0 = seacutlass.CFrame:inverse() * RightArm.CFrame * CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45))
- mseacutlass = Instance.new("SpecialMesh", seacutlass)
- mseacutlass.MeshType = "FileMesh"
- mseacutlass.Scale = Vector3.new(1, 1, 1)
- mseacutlass.MeshId,mseacutlass.TextureId = 'http://www.roblox.com/asset/?id=155403991','http://www.roblox.com/asset/?id=155403949'
- hitbox = Instance.new("Part",seacutlass)
- hitbox.Size = Vector3.new(1,4,1)
- hitbox.CanCollide = false
- hitbox.Transparency = 1
- hitboxweld = weldBetween(hitbox,seacutlass)
- hitboxweld.C0 = CFrame.new(0,-1,.25) * CFrame.Angles(math.rad(40),0,0)
- swordslash1 = Instance.new("Sound",seacutlass)
- swordslash1.SoundId = "rbxassetid://553461718"
- swordslash1.Volume = 4
- swordslash1.Name = "swordslash1"
- swordslash1.Pitch = 1
- swordslash2 = Instance.new("Sound",seacutlass)
- swordslash2.SoundId = "rbxassetid://553461718"
- swordslash2.Volume = 4
- swordslash2.Name = "swordslash2"
- swordslash2.Pitch = .85
- swordslash3 = Instance.new("Sound",seacutlass)
- swordslash3.SoundId = "rbxassetid://553461718"
- swordslash3.Volume = 4
- swordslash3.Name = "swordslash3"
- swordslash3.Pitch = 1.15
- seacutlass.ChildRemoved:connect(function(removed)
- if removed.Name == "swordslash1" then
- swordslash1 = Instance.new("Sound",seacutlass)
- swordslash1.SoundId = "rbxassetid://553461718"
- swordslash1.Name = "swordslash1"
- swordslash1.Volume = 4
- swordslash1.Pitch = 1
- elseif removed.Name == "swordslash2" then
- swordslash2 = Instance.new("Sound",seacutlass)
- swordslash2.SoundId = "rbxassetid://553461718"
- swordslash2.Volume = 4
- swordslash2.Name = "swordslash2"
- swordslash2.Pitch = .85
- elseif removed.Name == "swordslash3" then
- swordslash3 = Instance.new("Sound",seacutlass)
- swordslash3.SoundId = "rbxassetid://553461718"
- swordslash3.Volume = 4
- swordslash3.Name = "swordslash3"
- swordslash3.Pitch = 1.15
- end
- end)
- A = Instance.new("Attachment", seacutlass)
- A.Position = Vector3.new(0,2.25,0)
- A.Name = "A"
- B = Instance.new("Attachment", seacutlass)
- B.Position = Vector3.new(0,-.50,0)
- B.Name = "B"
- tr1 = Instance.new("Trail", seacutlass)
- tr1.Attachment0 = A
- tr1.Attachment1 = B
- tr1.Enabled = false
- tr1.Lifetime = 1
- tr1.TextureMode = "Static"
- tr1.LightInfluence = 0
- tr1.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
- tr1.Transparency = NumberSequence.new(0, 1)
- coroutine.wrap(function()
- while wait() do
- hum.WalkSpeed = ws
- LeftArm.BrickColor = BrickColor.new("Really black")
- RightArm.BrickColor = BrickColor.new("Really black")
- Head.BrickColor = BrickColor.new("Really black")
- end
- end)()
- godmode = coroutine.wrap(function()
- for i,v in pairs(Character:GetChildren()) do
- if v:IsA("BasePart") and v ~= Root then
- v.Anchored = false
- end
- end
- while true do
- hum.MaxHealth = math.huge
- wait(0.0000001)
- hum.Health = math.huge
- wait()
- end
- end)
- godmode()
- ff = Instance.new("ForceField", Character)
- ff.Visible = false
- coroutine.wrap(function()
- for i,v in pairs(Character:GetChildren()) do
- if v.Name == "Animate" then v:Remove()
- end
- end
- end)()
- function damagealll(Radius,Position)
- local Returning = {}
- for _,v in pairs(workspace:GetChildren()) do
- if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
- if v:FindFirstChild("Torso") then
- local Mag = (v.Torso.Position - Position).magnitude
- if Mag < Radius then
- table.insert(Returning,v)
- end
- elseif v:FindFirstChild("UpperTorso") then
- local Mag = (v.UpperTorso.Position - Position).magnitude
- if Mag < Radius then
- table.insert(Returning,v)
- end
- end
- end
- end
- return Returning
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- 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
- doomtheme = Instance.new("Sound", Torso)
- doomtheme.Volume = 3
- doomtheme.Name = "doomtheme"
- doomtheme.Looped = true
- doomtheme.SoundId = "rbxassetid://2136330117"
- doomtheme:Play()
- Torso.ChildRemoved:connect(function(removed)
- if removed.Name == "doomtheme" then
- doomtheme = Instance.new("Sound", Torso)
- doomtheme.Volume = 1
- doomtheme.Name = "doomtheme"
- doomtheme.Looped = true
- doomtheme.SoundId = "rbxassetid://2136330117"
- doomtheme:Play()
- end
- end)
- for _,n in pairs(Character:GetChildren()) do
- if n:IsA("Accessory") then n:Remove() end
- end
- for _,x in pairs(Character:GetChildren()) do
- if x:IsA("Decal") then x:Remove() end
- end
- function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
- so = Instance.new("Sound")
- so.Parent = PARENT
- so.SoundId = "rbxassetid://"..ID
- so.Volume = VOL
- so.Looped = LOOP
- so:Play()
- removeuseless:AddItem(so,REMOVE)
- end
- locpart = Instance.new("Part",Torso)
- locpart.Size = Vector3.new(1.1,1.1,1.1)
- locpart.Transparency = 1
- locpart.CanCollide = false
- locweld = weldBetween(locpart,Torso)
- circlepart = Instance.new("Part",Torso)
- circlepart.Size = Vector3.new(1,1,1)
- circlepart.Transparency = 1
- circlepart.CanCollide = false
- circlepart.Anchored = false
- circlepart.Name = "c1"
- circlepartweld = weldBetween(circlepart,locpart)
- circlepart2 = Instance.new("Part",Torso)
- circlepart2.Size = Vector3.new(1,1,1)
- circlepart2.Transparency = 1
- circlepart2.CanCollide = false
- circlepart2.Anchored = false
- circlepart2.Name = "c2"
- circlepart2weld = weldBetween(circlepart2,locpart)
- circlepart3 = Instance.new("Part",Torso)
- circlepart3.Size = Vector3.new(1,1,1)
- circlepart3.Transparency = 1
- circlepart3.CanCollide = false
- circlepart3.Anchored = false
- circlepart3.Name = "c3"
- circlepart3weld = weldBetween(circlepart3,locpart)
- circlepart4 = Instance.new("Part",Torso)
- circlepart4.Size = Vector3.new(1,1,1)
- circlepart4.Transparency = 1
- circlepart4.CanCollide = false
- circlepart4.Anchored = false
- circlepart4.Name = "c4"
- circlepart4weld = weldBetween(circlepart4,locpart)
- A = Instance.new("Attachment", circlepart3)
- A.Position = Vector3.new(0,.05,0)
- A.Name = "A"
- B = Instance.new("Attachment", circlepart3)
- B.Position = Vector3.new(0,-.05,0)
- B.Name = "B"
- trail = Instance.new("Trail", circlepart3)
- trail.Attachment0 = A
- trail.Attachment1 = B
- trail.Enabled = true
- trail.Lifetime = 2.5
- trail.TextureMode = "Static"
- trail.LightInfluence = 0
- trail.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
- trail.Transparency = NumberSequence.new(0, 1)
- A2 = Instance.new("Attachment", circlepart4)
- A2.Position = Vector3.new(0,.05,0)
- A.Name = "A"
- B2 = Instance.new("Attachment", circlepart4)
- B2.Position = Vector3.new(0,-.05,0)
- B.Name = "B"
- trail2 = Instance.new("Trail", circlepart4)
- trail2.Attachment0 = A2
- trail2.Attachment1 = B2
- trail2.Enabled = true
- trail2.Lifetime = 2.5
- trail2.TextureMode = "Static"
- trail2.LightInfluence = 0
- trail2.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
- trail2.Transparency = NumberSequence.new(0, 1)
- A = Instance.new("Attachment", circlepart)
- A.Position = Vector3.new(0,.05,0)
- A.Name = "A"
- B = Instance.new("Attachment", circlepart)
- B.Position = Vector3.new(0,-.05,0)
- B.Name = "B"
- trail3 = Instance.new("Trail", circlepart)
- trail3.Attachment0 = A
- trail3.Attachment1 = B
- trail3.Enabled = true
- trail3.Lifetime = 1
- trail3.TextureMode = "Static"
- trail3.LightInfluence = 0
- trail3.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
- trail3.Transparency = NumberSequence.new(0, 1)
- A2 = Instance.new("Attachment", circlepart2)
- A2.Position = Vector3.new(0,.05,0)
- A.Name = "A"
- B2 = Instance.new("Attachment", circlepart2)
- B2.Position = Vector3.new(0,-.05,0)
- B.Name = "B"
- trail4 = Instance.new("Trail", circlepart2)
- trail4.Attachment0 = A2
- trail4.Attachment1 = B2
- trail4.Enabled = true
- trail4.Lifetime = 1
- trail4.TextureMode = "Static"
- trail4.LightInfluence = 0
- trail4.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
- trail4.Transparency = NumberSequence.new(0, 1)
- x = 0
- g = 0
- range = 2.5
- range2 = 5
- coroutine.wrap(function()
- while true do
- x = x + 2
- g = g + 1
- swait()
- circlepartweld.C0 = CFrame.new(range,0,0) * CFrame.Angles(math.rad(0),math.rad(x),math.rad(0))
- circlepart2weld.C0 = CFrame.new(-range,0,0) * CFrame.Angles(math.rad(0),math.rad(x),math.rad(0))
- circlepart3weld.C0 = CFrame.new(-range2,0,0) * CFrame.Angles(math.rad(0),math.rad(g),math.rad(0))
- circlepart4weld.C0 = CFrame.new(range2,0,0) * CFrame.Angles(math.rad(0),math.rad(g),math.rad(0))
- end
- end)()
- wind = Instance.new("Part", Torso)
- wind.BrickColor = BrickColor.new("Cyan")
- wind.Size = Vector3.new(5,5,5)
- wind.CanCollide = false
- wind.Anchored = true
- wind.Name = "wind"
- wind.Transparency = .75
- wind.Material = "Neon"
- windmesh = Instance.new("SpecialMesh", wind)
- windmesh.Scale = Vector3.new(.5,.8,.5)
- windmesh.MeshId = "rbxassetid://168892432"
- n = 0
- coroutine.wrap(function()
- while true do
- swait()
- n = n + 3
- wind.CFrame = Root.CFrame * CFrame.new(0,-1,-1.5) * CFrame.Angles(math.rad(0),math.rad(n),0)
- end
- end)()
- coroutine.wrap(function()
- while true do
- swait()
- if spin then
- trail.Enabled = true
- trail2.Enabled = true
- trail3.Enabled = true
- trail4.Enabled = true
- while wind.Transparency > .75 do
- if not spin then break end
- swait()
- wind.Transparency = wind.Transparency - .025
- end
- elseif not spin then
- trail.Enabled = false
- trail2.Enabled = false
- trail3.Enabled = false
- trail4.Enabled = false
- while wind.Transparency < 1 do
- if spin then break end
- swait()
- wind.Transparency = wind.Transparency + .025
- end
- end
- end
- end)()
- checks1 = coroutine.wrap(function() -------Checks
- while true do
- if Root.Velocity.y > 1 then
- position = "Jump"
- elseif Root.Velocity.y < -1 then
- position = "Falling"
- elseif Root.Velocity.Magnitude < 2 then
- position = "Idle"
- elseif Root.Velocity.Magnitude < 20 then
- position = "Walking"
- elseif Root.Velocity.Magnitude > 20 then
- position = "Running"
- else
- end
- wait()
- end
- end)
- checks1()
- mouse.Button1Down:connect(function()
- if debounce then return end
- debounce = true
- attacking = true
- spin = false
- if combo1 then
- combo1 = false
- combo3 = false
- combo2 = true
- ws = 12
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
- for i = 1, 12 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3)
- seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1.5,1.5) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(240)),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(20),math.rad(5),math.rad(20)),.3)
- swait()
- end
- hitdebounce = false
- swordslash1:Play()
- tr1.Enabled = true
- hitbox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") then
- slachtoffer = hit.Parent:FindFirstChildOfClass("Humanoid")
- if slachtoffer.Parent.Name ~= Player.Name then
- if hitdebounce then return end
- hitdebounce = true
- slachtoffer:TakeDamage(math.random(17,26))
- end
- end
- end)
- for i = 1, 12 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
- seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-2.2,1.4) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(200)),.15)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1.35,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(-20),math.rad(5),math.rad(20)),.3)
- swait()
- end
- removeuseless:AddItem(g1,.01)
- tr1.Enabled = false
- attacking = false
- hitdebounce = true
- debounce = false
- spin = true
- ws = 18
- elseif combo2 then
- combo3 = true
- combo2 = false
- combo1 = false
- ws = 12
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
- for i = 1, 12 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.3)
- seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1.8,2) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(-130)),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(20),math.rad(5),math.rad(20)),.3)
- swait()
- end
- hitdebounce = false
- tr1.Enabled = true
- swordslash2:Play()
- hitbox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") then
- slachtoffer = hit.Parent:FindFirstChildOfClass("Humanoid")
- if slachtoffer.Parent.Name ~= Player.Name then
- if hitdebounce then return end
- hitdebounce = true
- slachtoffer:TakeDamage(math.random(31,42))
- end
- end
- end)
- ws = 7
- for i = 1, 12 do
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3)
- seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1.8,2) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(-130)),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.25,1.75,.5) * CFrame.Angles(math.rad(-90),math.rad(70),math.rad(0)), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(20),math.rad(7),math.rad(12)),.3)
- swait()
- end
- removeuseless:AddItem(g1,.01)
- ws = 18
- tr1.Enabled = false
- attacking = false
- hitdebounce = true
- debounce = false
- spin = true
- elseif combo3 then
- combo1 = true
- combo2 = false
- combo3 = false
- z = 0
- ws = 4
- tr1.Enabled = true
- for i = 1, 10 do
- swait()
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55, .15) * CFrame.Angles(math.rad(0), math.rad(2), math.rad(-2)), .3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.8, .2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2)), .3)
- seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1,1.5) * CFrame.Angles(math.rad(-310),math.rad(0),math.rad(0)),.8)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.25,1.75,.5) * CFrame.Angles(math.rad(-90),math.rad(70),math.rad(0)), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(20),math.rad(7),math.rad(12)),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3)
- end
- hitdebounce = false
- hitbox.Touched:connect(function(hit2)
- if hit2.Parent:FindFirstChildOfClass("Humanoid") then
- slachtoffer = hit2.Parent:FindFirstChildOfClass("Humanoid")
- if slachtoffer.Parent.Name ~= Player.Name then
- if hitdebounce then return end
- slachtoffer:TakeDamage(math.random(1,5))
- end
- end
- end)
- coroutine.wrap(function()
- for i = 1, 9 do
- swordslash3:Play()
- swait(5)
- end
- end)()
- for i = 1, 50 do
- z = z + 50
- swait()
- seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-0,1) * CFrame.Angles(math.rad(z),math.rad(0),math.rad(0)),.8)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.25,1.75,.5) * CFrame.Angles(math.rad(-90),math.rad(70),math.rad(0)), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(20),math.rad(7),math.rad(12)),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3)
- end
- hitdebounce = true
- ws = 18
- attacking = false
- debounce = false
- tr1.Enabled = false
- spin = true
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='r' then
- if orbitalcannon then return end
- if debounce then return end
- orbitalcannon = true
- debounce = true
- uhoh = true
- attacking = true
- ws = 0
- coroutine.wrap(function()
- for i = 1, 15 do
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-.5,2,0) * CFrame.Angles(math.rad(0),math.rad(-20),math.rad(140)),.3)
- swait()
- end
- end)()
- powerball = Instance.new("Part",Torso)
- powerball.Anchored = true
- powerball.CanCollide = false
- powerball.Size = Vector3.new(1,1,1)
- powerball.Transparency = 1
- powerball.Material = "Neon"
- powerball.BrickColor = BrickColor.new("Cyan")
- powerball.CFrame = leftlocation.CFrame * CFrame.new(-40,0,0)
- powerball.Shape = "Ball"
- gz = Instance.new("Sound", powerball)
- gz.SoundId = "rbxassetid://907530407"
- gz.Looped = true
- gz.Volume = 0
- gz:Play()
- for i = 1, 300 do
- gz.Volume = gz.Volume + .25
- powerball.CFrame = leftlocation.CFrame * CFrame.new(0,-40,0)
- seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45)),.8)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90 - 3 * math.sin(sine/12)),math.rad(-40),math.rad(0)), 0.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
- powerball.Size = powerball.Size + Vector3.new(.25,.25,.25)
- powerball.Transparency = powerball.Transparency - .025
- swait()
- end
- gz:Remove()
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- LightOfDeath = Instance.new("Part", Torso)
- LightOfDeath.Size = Vector3.new(0.5, 0.5, 0.5)
- LightOfDeath.Material = "Neon"
- LightOfDeath.BrickColor = BrickColor.new("Cyan")
- LightOfDeath.Transparency = 1
- LightOfDeath.Anchored = true
- LightOfDeath.CanCollide = false
- LightOfDeathMESH = Instance.new("SpecialMesh", LightOfDeath)
- LightOfDeathMESH.MeshType = "Cylinder"
- LightOfDeathMESH.Scale = Vector3.new(1000,3,3)
- LightOfDeath.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
- coroutine.wrap(function()
- wait(9)
- uhoh = false
- end)()
- soundofdoom = Instance.new("Sound", powerball)
- soundofdoom.SoundId = "rbxassetid://1545630949"
- soundofdoom.Volume = 10
- soundofdoom:Play()
- ws = 0
- while uhoh do
- if mouse.Target ~= nil then
- LightOfDeath.CFrame = LightOfDeath.CFrame:lerp(CFrame.new(mouse.Hit.p) * CFrame.Angles(0,0,math.rad(90)),.1)
- powerball.CFrame = powerball.CFrame:lerp(CFrame.new(mouse.Hit.p) * CFrame.new(0,250,0),.1)
- end
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
- LightOfDeath.Transparency = LightOfDeath.Transparency - .05
- swait()
- end
- coroutine.wrap(function()
- coroutine.wrap(function()
- for i = 1, 400 do
- Hit = damagealll(200,LightOfDeath.Position)
- for _,v in pairs(Hit) do
- v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(LightOfDeath.Position,torso.Position).lookVector*875
- removeuseless:AddItem(vel,.1)
- end
- explosionc = Instance.new("Part",Torso)
- explosionc.Anchored = true
- explosionc.CanCollide = false
- explosionc.Size = Vector3.new(1,1,1)
- explosionc.BrickColor = BrickColor.new("Cyan")
- explosionc.Material = "Neon"
- explosionc.CFrame = CFrame.new(LightOfDeath.Position)
- explosionc.Shape = "Ball"
- explosionc.Name = "explob"
- removeuseless:AddItem(explosionc,2)
- swait(.1)
- end
- end)()
- powerball.Transparency = 0
- LightOfDeath.Transparency = 0
- for i = 1, 400 do
- powerball.Transparency = powerball.Transparency + .05
- LightOfDeath.Transparency = LightOfDeath.Transparency + .05
- sk = Instance.new("Part",Torso)
- sk.CanCollide = false
- sk.Anchored = true
- sk.BrickColor = BrickColor.new("Cyan")
- sk.Name = "sk"
- sk.CFrame = LightOfDeath.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
- skmesh = Instance.new("SpecialMesh",sk)
- skmesh.MeshId = "rbxassetid://662586858"
- skmesh.Name = "waterwave"
- skmesh.Scale = Vector3.new(.04,.01,.04)
- removeuseless:AddItem(sk,2)
- for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then
- v.Scale = v.Scale + Vector3.new(.2,0,.2)
- v.Parent.Transparency = v.Parent.Transparency + .05
- end
- end
- for i,v in pairs(Torso:GetChildren()) do
- if v.Name == "explob" then
- v.Size = v.Size + Vector3.new(20,20,20)
- v.Transparency = v.Transparency + .05
- end
- end
- swait()
- end
- for i = 1, 50 do
- for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then
- v.Scale = v.Scale + Vector3.new(.2,0,.2)
- v.Parent.Transparency = v.Parent.Transparency + .05
- end
- end
- for i,v in pairs(Torso:GetChildren()) do
- if v.Name == "explob" then
- v.Size = v.Size + Vector3.new(20,20,20)
- v.Transparency = v.Transparency + .05
- end
- end
- swait()
- end
- powerball:Remove()
- LightOfDeath:Remove()
- orbitalcannon = false
- end)()
- for i = 1, 35 do
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, .8, 0.4) * CFrame.Angles(math.rad(-60 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
- swait()
- end
- removeuseless:AddItem(g1,.001)
- ws = 18
- attacking = false
- debounce = false
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='e' then
- if debounce then return end
- debounce = true
- attacking = true
- ws = 2
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- SOUND(leftlocation,214876666,8,false,6)
- coroutine.wrap(function()
- for i = 1, 49 do
- waterballs = Instance.new("Part",Torso)
- waterballs.Anchored = true
- waterballs.CanCollide = false
- waterballs.Shape = "Ball"
- waterballs.BrickColor = BrickColor.new("Cyan")
- waterballs.Material = "Neon"
- waterballs.Transparency = .6
- waterballs.CFrame = leftlocation.CFrame
- waterballs.Size = Vector3.new(10,10,10)
- waterballs.Name = "wter"
- removeuseless:AddItem(waterballs,2)
- sk = Instance.new("Part",Torso)
- sk.CanCollide = false
- sk.Anchored = true
- sk.BrickColor = BrickColor.new("Cyan")
- sk.Name = "sk"
- sk.CFrame = leftlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
- skmesh = Instance.new("SpecialMesh",sk)
- skmesh.MeshId = "rbxassetid://662586858"
- skmesh.Name = "waterwave"
- skmesh.Scale = Vector3.new(.04,.01,.04)
- removeuseless:AddItem(sk,2)
- for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then
- v.Scale = v.Scale + Vector3.new(.02,0,.02)
- v.Parent.Transparency = v.Parent.Transparency + .05
- end
- end
- for i,v in pairs(Torso:GetDescendants()) do if v.Name == "wter" then
- v.Size = v.Size - Vector3.new(1,1,1)
- v.Transparency = v.Transparency + .05
- end
- end
- swait()
- end
- for i = 1, 40 do
- for i,v in pairs(Torso:GetDescendants()) do if v.Name == "wter" then
- v.Size = v.Size - Vector3.new(1,1,1)
- v.Transparency = v.Transparency + .05
- end
- end
- for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then
- v.Scale = v.Scale + Vector3.new(.02,0,.01)
- v.Parent.Transparency = v.Parent.Transparency + .05
- end
- end
- swait()
- end
- end)()
- for i = 1, 50 do
- seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1,1.5) * CFrame.Angles(math.rad(-315),math.rad(0),math.rad(0)),.8)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.55,0) * CFrame.Angles(math.rad(-20),math.rad(-5),math.rad(-20)),.3)
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
- LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(-14), math.rad(-20), math.rad(90)), 0.3)
- swait()
- end
- ws = 0
- coroutine.wrap(function()
- local throwball = Instance.new("Part",Torso)
- throwball.Anchored = false
- throwball.CanCollide = false
- throwball.Size = Vector3.new(1,1,1)
- throwball.Material = "Neon"
- throwball.Shape = "Ball"
- throwball.CFrame = leftlocation.CFrame
- throwball.BrickColor = BrickColor.new("Cyan")
- throwball.Name = "throwball"
- removeuseless:AddItem(throwball,4)
- throwball.Touched:connect(function(hit)
- if hit.Name ~= "watblock" and hit.Name ~= "sk" and hit.Name ~= "wter" and hit.Name ~= "leftloc" and hit.Name ~= "c1" and hit.Name ~= "c2" and hit.Name ~= "c3" and hit.Name ~= "c4" and hit.Parent ~= "Torso" and hit.Parent ~= "LeftArm" and hit.Parent ~= "RightArm" and hit.Parent ~= "Head" and hit.Name ~= "wind" then
- if throwballv then return end
- throwballv = true
- explo = Instance.new("Sound",throwball)
- explo.SoundId = "rbxassetid://821439273"
- explo.Volume = 8
- explo.Pitch = 1.3
- explo:Play()
- hit.Transparency = 0
- throwball.Anchored = true
- for i = 1, 15 do
- sk = Instance.new("Part",Torso)
- sk.CanCollide = false
- sk.Anchored = true
- sk.BrickColor = BrickColor.new("Cyan")
- sk.Name = "sk"
- sk.CFrame = throwball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
- skmesh = Instance.new("SpecialMesh",sk)
- skmesh.MeshId = "rbxassetid://662586858"
- skmesh.Name = "waterwave2"
- skmesh.Scale = Vector3.new(.04,.01,.04)
- removeuseless:AddItem(sk,2)
- end
- Hit = damagealll(25,throwball.Position)
- for _,v in pairs(Hit) do
- v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(39,52))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(throwball.Position,torso.Position).lookVector*125
- removeuseless:AddItem(vel,.1)
- end
- explosion = Instance.new("Part",Torso)
- explosion.Anchored = true
- explosion.CanCollide = false
- explosion.Shape = "Ball"
- explosion.BrickColor = BrickColor.new("Cyan")
- explosion.Material = "Neon"
- explosion.CFrame = throwball.CFrame
- explosion2 = Instance.new("Part",Torso)
- explosion2.Anchored = true
- explosion2.CanCollide = false
- explosion2.Shape = "Ball"
- explosion2.BrickColor = BrickColor.new("Cyan")
- explosion2.Material = "Neon"
- explosion2.CFrame = throwball.CFrame
- for i = 1, 30 do
- explo.Volume = explo.Volume - .5
- for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave2" then
- v.Scale = v.Scale + Vector3.new(.02,0,.02)
- v.Parent.Transparency = v.Parent.Transparency + .05
- end
- end
- explosion.Size = explosion.Size + Vector3.new(2,2,2)
- explosion.Transparency = explosion.Transparency + .05
- explosion2.Size = explosion2.Size + Vector3.new(1,1,1)
- explosion2.Transparency = explosion2.Transparency + .045
- swait()
- end
- explosion:Remove()
- explosion2:Remove()
- throwball:Remove()
- throwballv = false
- end
- end)
- local bov = Instance.new("BodyVelocity",throwball)
- bov.maxForce = Vector3.new(99999,99999,99999)
- throwball.CFrame = CFrame.new(throwball.Position,mouse.Hit.p)
- bov.velocity = throwball.CFrame.lookVector*215
- if wtr1 then return end
- wtr1 = true
- while true do
- for i,v in pairs(Torso:GetDescendants()) do if v.Name == "throwball" then
- watblock = Instance.new("Part",Torso)
- watblock.Size = Vector3.new(3,3,3)
- watblock.CanCollide = false
- watblock.BrickColor = BrickColor.new("Cyan")
- watblock.Anchored = false
- watblock.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- watblock.Material = "Neon"
- watblock.Name = "watblock"
- removeuseless:AddItem(watblock,2)
- end
- end
- for i,v in pairs(Torso:GetDescendants()) do if v.Name == "watblock" then
- v.Size = v.Size - Vector3.new(.25,.25,.25)
- v.Transparency = v.Transparency - .05
- end
- end
- swait()
- end
- end)()
- for i = 1, 12 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
- LEFTARMLERP.C1 = CFrame.new(0,0,0)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(25),math.rad(0)), 0.5)
- swait()
- end
- removeuseless:AddItem(g1,.001)
- ws = 18
- attacking = false
- debounce = false
- end
- end)
- function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function ray2(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
- return ray(StartPos, DIRECTION, Distance, Ignore)
- end
- OrgnC0 = Neck.C0
- local movelimbs = coroutine.wrap(function()
- while RunSrv.RenderStepped: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
- HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- Neck.C0 = 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()
- immortal = {}
- for i,v in pairs(Character:GetDescendants()) do
- if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
- if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
- v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
- elseif v:IsA("JointInstance") then
- table.insert(immortal,{v,v.Parent,nil,nil,nil})
- end
- end
- for e = 1, #immortal do
- if immortal[e] ~= nil then
- local STUFF = immortal[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if levitate then
- if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:connect(function()
- PART.Parent = PARENT
- end)
- else
- if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:connect(function()
- PART.Parent = PARENT
- end)
- end
- end
- end
- function immortality()
- for e = 1, #immortal do
- if immortal[e] ~= nil then
- local STUFF = immortal[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART.ClassName == "Part" and PART == Root then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- if PART.Parent ~= PARENT then
- hum:Remove()
- PART.Parent = PARENT
- hum = Instance.new("Humanoid",Character)
- hum.Name = "noneofurbusiness"
- end
- end
- end
- end
- coroutine.wrap(function()
- while true do
- if hum.Health < .1 then
- deadsound = Instance.new("Sound", Torso)
- deadsound.Volume = 6
- deadsound.SoundId = "rbxassetid://1411352723"
- deadsound:Play()
- immortality()
- end
- wait()
- end
- end)()
- local anims = coroutine.wrap(function()
- while true do
- settime = 0.05
- sine = sine + change
- if position == "Jump" and attacking == false then
- change = 1
- spin = false
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
- elseif position == "Jump2" and attacking == false then
- change = 1
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
- elseif position == "Falling" and attacking == false then
- change = 1
- spin = false
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
- elseif position == "Falling2" and attacking == false then
- change = 1
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
- elseif position == "Walking" and attacking == false and running == false then
- change = 1.2
- walking = true
- spin = false
- seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1,1.5) * CFrame.Angles(math.rad(-315),math.rad(0),math.rad(0)),.8)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5 + Root.RotVelocity.Y / 85,.35,-.5*math.sin(sine/8)) * CFrame.Angles(math.rad(35*math.sin(sine/8)),math.rad(0*math.sin(sine/8)),math.rad(-10 + Root.RotVelocity.Y / 10, math.sin(-20 * math.sin(sine/4)))),.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,.35,.5*math.sin(sine/8)) * CFrame.Angles(math.rad(-35*math.sin(sine/8)),math.rad(0*math.sin(sine/8)),math.rad(10 + Root.RotVelocity.Y / 10, math.sin(20 * math.sin(sine/4)))),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.1)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.3)
- elseif position == "Idle" and attacking == false and running == false then
- change = .5
- spin = true
- seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45)),.8)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,0,.5) * CFrame.Angles(math.rad(-90 - 3 * math.sin(sine/12)),math.rad(40),math.rad(0)), 0.1)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90 - 3 * math.sin(sine/12)),math.rad(-40),math.rad(0)), 0.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
- elseif position == "Idle2" and attacking == false and running == false then
- change = .75
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
- LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
- elseif position == "Walking2" and attacking == false and running == false then
- ws = 50
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
- elseif position == "Running" and attacking == false then
- change = 1
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3)
- end
- swait()
- end
- end)
- anims()
- warn("The power of water. Made by Supr14")
- end)
- TextLabel.TextTransparency = 1
- Frame.Visible = false
- wait(1)
- for i = 1,0,-0.1 do
- TextLabel.TextTransparency = i
- wait(0.1)
- end
- wait(1)
- TextLabel.Visible = false
- FARRAH.Visible = false
- hi:TweenSize(UDim2.new(0, 1,0, 100), "Out", "Sine", 1)
- Frame.Visible = true
- wait(1)
- hi.Visible = false
- Frame.Active = true
- Frame.Draggable = true
Add Comment
Please, Sign In to add comment