Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
- local runServ = game:GetService("RunService").RenderStepped
- local Player=game.Players.LocalPlayer
- repeat wait() until Player
- local Character=Player.Character
- repeat wait() until Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- if Humanoid.Health ~= Humanoid.MaxHealth then
- Humanoid.MaxHealth = 200
- end
- Humanoid.JumpPower = 90
- LeftArm=Character:WaitForChild("Left Arm")
- LeftLeg=Character:WaitForChild("Left Leg")
- RightArm=Character:WaitForChild("Right Arm")
- RightLeg=Character:WaitForChild("Left Arm")
- LS=Torso:WaitForChild("Left Shoulder")
- LH=Torso:WaitForChild("Left Hip")
- RS=Torso:WaitForChild("Right Shoulder")
- RH=Torso:WaitForChild("Right Hip")
- Neck=Torso.Neck
- it=Instance.new
- vt=Vector3.new
- cf=CFrame.new
- local runServ = game:GetService("RunService").RenderStepped
- local TextTable = {}
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- 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
- MMouse=Player:GetMouse()
- combo=0
- local Effects={}
- equipped=false
- local idle=0
- local hold=false
- local con1=nil
- local con2=nil
- local Mode="Binary"
- local idleanim=0
- local idleanim2=false
- local impulse=1
- local hitfloor,posfloor=nil,nil
- local damcount=0
- local guard=false
- local damagebonus = 1
- --player
- player=nil
- --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"]
- Asset="http://www.roblox.com/asset/?id="
- Health=200
- ---HEALTHBAR
- ---REST OF THE SCRIPT IS LIRON
- local p = game.Players.LocalPlayer--48103735
- local char = p.Character
- local mouse = p:GetMouse()
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- local rj = root.RootJoint
- local deb = false
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").RenderStepped
- local hb = game:GetService("RunService").Heartbeat
- local Stepped = game:GetService("RunService").Stepped
- math.randomseed(os.time())
- --arm effects--
- 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"]
- local mouse=Player:GetMouse()
- local PE = Instance.new("ParticleEmitter", LeftArm)
- PE.Name = "Flame"
- local c1 = Color3.fromRGB (0,0,0)
- local c2 = Color3.fromRGB (0,0,150)
- PE.Color = ColorSequence.new(c1)
- PE.EmissionDirection = "Bottom"
- PE.Texture = "rbxassetid://242201991"
- PE.LightEmission = 0.850
- PE.Speed = NumberRange.new(0)
- PE.RotSpeed = NumberRange.new(250)
- PE.Size = NumberSequence.new(.5)
- PE.Lifetime = NumberRange.new(0.2)
- PE.Rate = 200
- PE.VelocitySpread = 50
- local PE = Instance.new("ParticleEmitter", RightArm)
- PE.Name = "Flame"
- local c1 = Color3.fromRGB (0,0,0)
- local c2 = Color3.fromRGB (0,0,150)
- PE.Color = ColorSequence.new(c1)
- PE.EmissionDirection = "Bottom"
- PE.Texture = "rbxassetid://242201991"
- PE.LightEmission = 0.850
- PE.Speed = NumberRange.new(0)
- PE.RotSpeed = NumberRange.new(250)
- PE.Size = NumberSequence.new(.5)
- PE.Lifetime = NumberRange.new(0.2)
- PE.Rate = 200
- PE.VelocitySpread = 50
- ------------------------------------------Magic----
- Magik = function()
- Spawn(function()
- local function lerp(a,b,c)
- return a+(b-a)*c
- end
- local function rndRange(rng)
- return math.random(-rng*1000,rng*1000)/1000
- end
- local magik = Instance.new("Part", LeftArm)
- local Colors = {"Dark blue", "Light blue"}
- local Material = {"Granite","Granite"}
- magik.Anchored = true
- magik.Material = "Granite"
- magik.Locked = true
- magik.FormFactor = "Custom"
- magik.Size = Vector3.new(1.2, 1.2, 1.2)
- magik.TopSurface = "Smooth"
- magik.BottomSurface = "Smooth"
- magik.Transparency = 0
- magik.CanCollide = false
- magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
- magik.Material = (Material[math.random(1,#Material)])
- local mr = math.rad
- local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
- local cf = LeftArm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
- magik.CFrame = cf
- for i = 0, 1, .05 do
- local newTrans = lerp(0.5, 1, i)
- local ns = lerp(1,1.2,i)
- magik.Transparency = newTrans
- magik.Size = Vector3.new(ns,ns,ns)
- magik.CFrame = cf
- wait()
- end
- magik:Destroy()
- wait()
- end)
- end
- Spawn(function()
- while wait (.05) do
- Magik()
- end
- end)
- local p = game.Players.LocalPlayer
- local char = p.Character
- local mouse = p:GetMouse()
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- local deb = false
- local CanAttack = true
- local shot = 0
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").RenderStepped
- math.randomseed(os.time())
- hum.MaxHealth = 9001
- wait(1)
- hum.Health = 9001
- for i,v in pairs (hed:GetChildren()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- --game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char
- --char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813"
- ----------------------------------------------------
- --[[Additional Functions]]
- cf=CFrame.new
- vt=Vector3.new
- 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
- ----------------------------------------------------
- Debounces = {
- CanAttack = true;
- CanJoke = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- Slapping = false;
- Slapped = false;
- ks = false;
- }
- local Touche = {char.Name, }
- ----------------------------------------------------
- function HasntTouched(plrname)
- local ret = true
- for _, v in pairs(Touche) do
- if v == plrname then
- ret = false
- end
- end
- return ret
- end
- ----------------------------------------------------
- function weld5(part0, part1, c0, c1)
- weeld=Instance.new("Weld", part0)
- weeld.Part0=part0
- weeld.Part1=part1
- weeld.C0=c0
- weeld.C1=c1
- return weeld
- end
- ----------------------------------------------------
- function FindNearestTorso(Position,Distance,SinglePlayer)
- if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
- local List = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= char then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- end
- ----------------------------------------------------
- function lerp(a, b, t) -- Linear interpolation
- return a + (b - a)*t
- end
- function slerp(a, b, t) --Spherical interpolation
- dot = a:Dot(b)
- if dot > 0.99999 or dot < -0.99999 then
- return t <= 0.5 and a or b
- else
- r = math.acos(dot)
- return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
- end
- end
- function matrixInterpolate(a, b, t)
- local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
- local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
- local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
- local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
- local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
- local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
- local t = v1:Dot(v2)
- if not (t < 0 or t == 0 or t > 0) then -- Failsafe
- return CFrame.new()
- end
- return CFrame.new(
- v0.x, v0.y, v0.z,
- v1.x, v1.y, v1.z,
- v2.x, v2.y, v2.z,
- v3.x, v3.y, v3.z)
- end
- ----------------------------------------------------
- function genWeld(a,b)
- local w = Instance.new("Weld",a)
- w.Part0 = a
- w.Part1 = b
- return w
- end
- function weld(a, b)
- local weld = Instance.new("Weld")
- weld.Name = "W"
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- weld.Parent = a
- return weld;
- end
- ----------------------------------------------------
- function Lerp(c1,c2,al)
- local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i] = v+(com2[i]-v)*al
- end
- return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
- end
- ----------------------------------------------------[[Dissolve function]]
- function Dissolve(ret)
- ret.BrickColor = BrickColor.new("Really black")
- for i = 1, 10 do wait()
- for i,v in pairs(ret:GetChildren()) do
- if v:IsA("Part") or v:IsA("WedgePart") then
- v.Transparency = v.Transparency + 0.1
- end
- end
- end
- ret:Destroy()
- end
- ----------------------------------------------------
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- --newcape
- local verlet = {}
- verlet.step_time = 1 / 50
- verlet.gravity = Vector3.new(0, -150, 0) --//
- local char = game.Players.LocalPlayer.Character
- local torso = game.Workspace[game.Players.LocalPlayer.Name].Torso
- local parts = {}
- local render = game:GetService("RunService").RenderStepped
- wait()
- local point = {}
- local link = {}
- local rope = {}
- local function ccw(A,B,C)
- return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
- end
- local function intersect(A,B,C,D)
- return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
- end
- local function vec2(v)
- return Vector2.new(v.x, v.z)
- end
- function point:step()
- if not self.fixed then
- local derivative = (self.position - self.last_position) * 0.95
- self.last_position = self.position
- self.position = self.position + derivative + ((verlet.gravity + (torso.CFrame.lookVector * -90)) * verlet.step_time ^ 2) --//
- --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
- local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
- local pointE = self.position + torso.CFrame.lookVector * 100
- local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
- if not doIntersect then
- self.postition = self.position - torso.CFrame.lookVector * 10
- end]]
- end
- end
- function link:step()
- for i = 1, 1 do
- local distance = self.point1.position - self.point2.position
- local magnitude = distance.magnitude
- local differance = (self.length - magnitude) / magnitude
- local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
- if not self.point1.fixed then
- self.point1.position = self.point1.position + translation
- end
- if not self.point2.fixed then
- self.point2.position = self.point2.position - translation
- end
- end
- end
- function verlet.new(class, a, b, c)
- if class == "Point" then
- local new = {}
- setmetatable(new, {__index = point})
- new.class = class
- new.position = a or Vector3.new()
- new.last_position = new.position
- new.velocity = verlet.gravity
- new.fixed = false
- return new
- elseif class == "Link" then
- local new = {}
- setmetatable(new, {__index = link})
- new.class = class
- new.point1 = a
- new.point2 = b
- new.length = c or (a.position - b.position).magnitude
- return new
- elseif class == "Rope" then
- local new = {}
- setmetatable(new, {__index = link})
- new.class = class
- new.start_point = a
- new.finish_point = b
- new.points = {}
- new.links = {}
- local inc = (b - a) / 10
- for i = 0, 10 do
- table.insert(new.points, verlet.new("Point", a + (i * inc)))
- end
- for i = 2, #new.points do
- table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
- end
- return new
- end
- end
- local tris = {}
- local triParts = {}
- local function GetDiscoColor(hue)
- local section = hue % 1 * 3
- local secondary = 0.5 * math.pi * (section % 1)
- if section < 1 then
- return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
- elseif section < 2 then
- return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
- else
- return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
- end
- end
- local function setupPart(part)
- part.Anchored = true
- part.FormFactor = 3
- part.CanCollide = false
- part.TopSurface = 10
- part.BottomSurface = 10
- part.LeftSurface = 10
- part.RightSurface = 10
- part.FrontSurface = 10
- part.BackSurface = 10
- part.Material = "Granite"
- local m = Instance.new("SpecialMesh", part)
- m.MeshType = "Wedge"
- m.Scale = Vector3.new(0.2, 1, 1)
- return part
- 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
- local function drawTri(parent, a, b, c)
- local this = {}
- local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
- local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
- function this:Set(a, b, c)
- local ab, bc, ca = b-a, c-b, a-c
- local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
- local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
- local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
- local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
- if edg1 < edg2 then
- if edg1 >= edg3 then
- a, b, c = c, a, b
- ab, bc, ca = ca, ab, bc
- abm = cam
- end
- else
- if edg2 < edg3 then
- a, b, c = b, c, a
- ab, bc, ca = bc, ca, ab
- abm = bcm
- else
- a, b, c = c, a, b
- ab, bc, ca = ca, ab, bc
- abm = cam
- end
- end
- local len1 = -ca:Dot(ab)/abm
- local len2 = abm - len1
- local width = (ca + ab.unit*len1).magnitude
- local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
- if len1 > 0.2 then
- mPart1.Parent = parent
- mPart1.Size = Vector3.new(0.2, width, len1)
- mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
- else
- mPart1.Parent = nil
- end
- if len2 > 0.2 then
- mPart2.Parent = parent
- mPart2.Size = Vector3.new(0.2, width, len2)
- mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
- else
- mPart2.Parent = nil
- end
- end
- function this:SetProperty(prop, value)
- mPart1[prop] = value
- mPart2[prop] = value
- end
- this:Set(a, b, c)
- function this:Destroy()
- mPart1:Destroy()
- mPart2:Destroy()
- end
- this.p1 = mPart1
- this.p2 = mPart2
- this.p1.BrickColor = BrickColor.new "Dark blue"
- this.p2.BrickColor = BrickColor.new "Light blue"
- return this
- end
- function verlet.draw(object, id)
- if object.class == "Point" then
- local part = parts[id]
- part.BrickColor = BrickColor.new(1, 1, 1)
- part.Transparency = 0
- part.formFactor = 3
- part.Anchored = true
- part.CanCollide = false
- part.TopSurface = 0
- part.BottomSurface = 0
- part.Size = Vector3.new(0.35, 0.35, 0.35)
- part.Material = "Neon"
- part.CFrame = CFrame.new(object.position)
- part.Parent = torso
- return part
- elseif object.class == "Link" then
- local part = parts[id]
- local dist = (object.point1.position - object.point2.position).magnitude
- part.Size = Vector3.new(0.2, 0.2, dist)
- part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
- part.Parent = torso
- return part
- end
- end
- function verlet.clear()
- for _, v in pairs(workspace:GetChildren()) do
- if v.Name == "Part" then
- v:Destroy()
- end
- end
- end
- local points = {}
- local links = {}
- for x = 0, 2 do
- points[x] = {}
- for y = 0, 3 do
- points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
- points[x][y].fixed = y == 0
- end
- end
- for x = 1, 2 do
- for y = 0, 3 do
- links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
- end
- end
- for x = 0, 2 do
- for y = 1, 3 do
- links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
- end
- end
- render:connect(function()
- for x = 0, 2 do
- for y = 0, 3 do
- if y == 0 then
- points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
- else
- points[x][y]:step()
- end
- end
- end
- for i = 1, #links do
- links[i]:step()
- end
- for i = 1, #tris do
- triParts[#triParts + 1] = tris[i].p1
- triParts[#triParts + 1] = tris[i].p2
- end
- tris = {}
- for x = 1, 2 do
- for y = 1, 3 do
- tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
- tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
- end
- end
- end)
- local cor6 = Instance.new("Part", torso.Cloak)
- cor6.Name = "Thingy"
- cor6.Locked = true
- cor6.BottomSurface = 0
- cor6.CanCollide = false
- cor6.Size = Vector3.new(1,1,1)
- cor6.Transparency = 1
- cor6.TopSurface = 0
- corw6 = Instance.new("Weld", cor6)
- corw6.Part0 = torso
- corw6.Part1 = cor6
- corw6.C0 = CFrame.new(0, 1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- corw6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- weld6 = Instance.new("Weld", torso.Cloak.NeckPart)
- weld6.Part0 = cor6
- weld6.Part1 = torso.Cloak.NeckPart
- weld6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- --Amulet
- m7 = Instance.new("Model")
- m7.Name = "Amulet"
- p1 = Instance.new("Part", m7)
- p1.BrickColor = BrickColor.new("Crimson")
- p1.Material = Enum.Material.Neon
- p1.Name = "Center"
- p1.CFrame = CFrame.new(-1.0658141e-014, 14.4125643, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p1.CanCollide = false
- p1.Locked = true
- p1.FormFactor = Enum.FormFactor.Custom
- p1.Shape = Enum.PartType.Cylinder
- p1.Size = Vector3.new(0.5, 0.5, 0.5)
- p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- p2 = Instance.new("Part", m7)
- p2.BrickColor = BrickColor.new("Really black")
- p2.Material = Enum.Material.Metal
- p2.Name = "Bottom"
- p2.CFrame = CFrame.new(1.19209318e-007, 14.1625719, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p2.CanCollide = false
- p2.Locked = true
- p2.FormFactor = Enum.FormFactor.Custom
- p2.Size = Vector3.new(0.200000003, 0.649999976, 0.649999976)
- p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b1 = Instance.new("SpecialMesh", p2)
- b1.MeshType = Enum.MeshType.Cylinder
- b1.Name = "Mesh"
- p3 = Instance.new("Part", m7)
- p3.BrickColor = BrickColor.new("Really black")
- p3.Material = Enum.Material.Metal
- p3.CFrame = CFrame.new(1.23580463e-007, 14.4625673, -0.280000001, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p3.CanCollide = false
- p3.Locked = true
- p3.FormFactor = Enum.FormFactor.Custom
- p3.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b2 = Instance.new("SpecialMesh", p3)
- b2.MeshType = Enum.MeshType.Brick
- b2.Name = "Mesh"
- b2.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p4 = Instance.new("Part", m7)
- p4.BrickColor = BrickColor.new("Really black")
- p4.Material = Enum.Material.Metal
- p4.CFrame = CFrame.new(1.19209318e-007, 14.4625673, 0.280000001, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p4.CanCollide = false
- p4.Locked = true
- p4.FormFactor = Enum.FormFactor.Custom
- p4.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b3 = Instance.new("SpecialMesh", p4)
- b3.MeshType = Enum.MeshType.Brick
- b3.Name = "Mesh"
- b3.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p5 = Instance.new("Part", m7)
- p5.BrickColor = BrickColor.new("Really black")
- p5.Material = Enum.Material.Metal
- p5.CFrame = CFrame.new(0.14000012, 14.4625673, -0.242487118, -3.78551732e-008, -0.866025388, -0.5, 1, -4.37113883e-008, 0, -2.18556941e-008, -0.5, 0.866025388)
- p5.CanCollide = false
- p5.Locked = true
- p5.FormFactor = Enum.FormFactor.Custom
- p5.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b4 = Instance.new("SpecialMesh", p5)
- b4.MeshType = Enum.MeshType.Brick
- b4.Name = "Mesh"
- b4.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p6 = Instance.new("Part", m7)
- p6.BrickColor = BrickColor.new("Really black")
- p6.Material = Enum.Material.Metal
- p6.CFrame = CFrame.new(-0.139999881, 14.4625673, 0.242487103, -3.78551732e-008, -0.866025388, -0.5, 1, -4.37113883e-008, 0, -2.18556941e-008, -0.5, 0.866025388)
- p6.CanCollide = false
- p6.Locked = true
- p6.FormFactor = Enum.FormFactor.Custom
- p6.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b5 = Instance.new("SpecialMesh", p6)
- b5.MeshType = Enum.MeshType.Brick
- b5.Name = "Mesh"
- b5.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p7 = Instance.new("Part", m7)
- p7.BrickColor = BrickColor.new("Really black")
- p7.Material = Enum.Material.Metal
- p7.CFrame = CFrame.new(-0.242486984, 14.4625673, 0.139999986, -2.18556924e-008, -0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551732e-008, -0.866025388, 0.5)
- p7.CanCollide = false
- p7.Locked = true
- p7.FormFactor = Enum.FormFactor.Custom
- p7.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b6 = Instance.new("SpecialMesh", p7)
- b6.MeshType = Enum.MeshType.Brick
- b6.Name = "Mesh"
- b6.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p8 = Instance.new("Part", m7)
- p8.BrickColor = BrickColor.new("Really black")
- p8.Material = Enum.Material.Metal
- p8.CFrame = CFrame.new(0.242487192, 14.4625673, -0.139999971, -2.18556924e-008, -0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551732e-008, -0.866025388, 0.5)
- p8.CanCollide = false
- p8.Locked = true
- p8.FormFactor = Enum.FormFactor.Custom
- p8.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b7 = Instance.new("SpecialMesh", p8)
- b7.MeshType = Enum.MeshType.Brick
- b7.Name = "Mesh"
- b7.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p9 = Instance.new("Part", m7)
- p9.BrickColor = BrickColor.new("Really black")
- p9.Material = Enum.Material.Metal
- p9.CFrame = CFrame.new(0.280000091, 14.4625673, -1.64313008e-014, 0, 0, -1, 1, -4.37113847e-008, 0, -4.37113847e-008, -1, 0)
- p9.CanCollide = false
- p9.Locked = true
- p9.FormFactor = Enum.FormFactor.Custom
- p9.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b8 = Instance.new("SpecialMesh", p9)
- b8.MeshType = Enum.MeshType.Brick
- b8.Name = "Mesh"
- b8.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p10 = Instance.new("Part", m7)
- p10.BrickColor = BrickColor.new("Really black")
- p10.Material = Enum.Material.Metal
- p10.CFrame = CFrame.new(-0.279999852, 14.4625673, -1.49011772e-008, 0, 0, -1, 1, -4.37113847e-008, 0, -4.37113847e-008, -1, 0)
- p10.CanCollide = false
- p10.Locked = true
- p10.FormFactor = Enum.FormFactor.Custom
- p10.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b9 = Instance.new("SpecialMesh", p10)
- b9.MeshType = Enum.MeshType.Brick
- b9.Name = "Mesh"
- b9.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p11 = Instance.new("Part", m7)
- p11.BrickColor = BrickColor.new("Really black")
- p11.Material = Enum.Material.Metal
- p11.CFrame = CFrame.new(-0.242486984, 14.4625673, -0.139999986, 2.18556906e-008, 0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551697e-008, -0.866025388, -0.5)
- p11.CanCollide = false
- p11.Locked = true
- p11.FormFactor = Enum.FormFactor.Custom
- p11.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b10 = Instance.new("SpecialMesh", p11)
- b10.MeshType = Enum.MeshType.Brick
- b10.Name = "Mesh"
- b10.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p12 = Instance.new("Part", m7)
- p12.BrickColor = BrickColor.new("Really black")
- p12.Material = Enum.Material.Metal
- p12.CFrame = CFrame.new(0.242487192, 14.4625673, 0.139999971, 2.18556906e-008, 0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551697e-008, -0.866025388, -0.5)
- p12.CanCollide = false
- p12.Locked = true
- p12.FormFactor = Enum.FormFactor.Custom
- p12.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b11 = Instance.new("SpecialMesh", p12)
- b11.MeshType = Enum.MeshType.Brick
- b11.Name = "Mesh"
- b11.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p13 = Instance.new("Part", m7)
- p13.BrickColor = BrickColor.new("Really black")
- p13.Material = Enum.Material.Metal
- p13.CFrame = CFrame.new(-0.139999866, 14.4625673, -0.242487073, 3.78551732e-008, 0.866025388, -0.5, 1, -4.37113812e-008, 1.77635684e-015, -2.18556924e-008, -0.5, -0.866025388)
- p13.CanCollide = false
- p13.Locked = true
- p13.FormFactor = Enum.FormFactor.Custom
- p13.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b12 = Instance.new("SpecialMesh", p13)
- b12.MeshType = Enum.MeshType.Brick
- b12.Name = "Mesh"
- b12.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p14 = Instance.new("Part", m7)
- p14.BrickColor = BrickColor.new("Really black")
- p14.Material = Enum.Material.Metal
- p14.CFrame = CFrame.new(0.14000012, 14.4625673, 0.242487073, 3.78551732e-008, 0.866025388, -0.5, 1, -4.37113812e-008, 1.77635684e-015, -2.18556924e-008, -0.5, -0.866025388)
- p14.CanCollide = false
- p14.Locked = true
- p14.FormFactor = Enum.FormFactor.Custom
- p14.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b13 = Instance.new("SpecialMesh", p14)
- b13.MeshType = Enum.MeshType.Brick
- b13.Name = "Mesh"
- b13.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p15 = Instance.new("Part", m7)
- p15.BrickColor = BrickColor.new("Really black")
- p15.Material = Enum.Material.Metal
- p15.Name = "Top"
- p15.CFrame = CFrame.new(0, 14.7125645, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p15.CanCollide = false
- p15.Locked = true
- p15.FormFactor = Enum.FormFactor.Custom
- p15.Size = Vector3.new(0.200000003, 0.649999976, 0.649999976)
- p15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b14 = Instance.new("SpecialMesh", p15)
- b14.MeshType = Enum.MeshType.Cylinder
- b14.Name = "Mesh"
- w1 = Instance.new("Weld", p1)
- w1.Name = "Joint"
- w1.Part0 = p1
- w1.C0 = CFrame.new(0.300000191, -1.31134357e-008, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w1.Part1 = p15
- w1.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w2 = Instance.new("Weld", p2)
- w2.Name = "Joint"
- w2.Part0 = p2
- w2.C0 = CFrame.new(0.249992371, 1.08281824e-007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w2.Part1 = p1
- w2.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w3 = Instance.new("Weld", p3)
- w3.Name = "Joint"
- w3.Part0 = p3
- w3.C0 = CFrame.new(-0.0500030518, 1.25766178e-007, 0.280000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w3.Part1 = p1
- w3.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w4 = Instance.new("Weld", p4)
- w4.Name = "Joint"
- w4.Part0 = p4
- w4.C0 = CFrame.new(-0.0500030518, 1.21395033e-007, -0.280000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w4.Part1 = p1
- w4.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w5 = Instance.new("Weld", p5)
- w5.Name = "Joint"
- w5.Part0 = p5
- w5.C0 = CFrame.new(-0.0500030518, 1.00163732e-007, 0.280000061, 1, -5.85621507e-009, -2.18556941e-008, -5.85621507e-009, 0.866025388, -0.5, 2.18556941e-008, 0.5, 0.866025388)
- w5.Part1 = p1
- w5.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w6 = Instance.new("Weld", p6)
- w6.Name = "Joint"
- w6.Part0 = p6
- w6.C0 = CFrame.new(-0.0500030518, 1.00163732e-007, -0.279999942, 1, -5.85621507e-009, -2.18556941e-008, -5.85621507e-009, 0.866025388, -0.5, 2.18556941e-008, 0.5, 0.866025388)
- w6.Part1 = p1
- w6.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w7 = Instance.new("Weld", p7)
- w7.Name = "Joint"
- w7.Part0 = p7
- w7.C0 = CFrame.new(-0.0500030518, 5.54602479e-008, -0.279999882, 1, -2.18556959e-008, -3.78551732e-008, -2.18556906e-008, 0.5, -0.866025388, 3.78551732e-008, 0.866025388, 0.5)
- w7.Part1 = p1
- w7.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w8 = Instance.new("Weld", p8)
- w8.Name = "Joint"
- w8.Part0 = p8
- w8.C0 = CFrame.new(-0.0500030518, 7.03614091e-008, 0.280000061, 1, -2.18556959e-008, -3.78551732e-008, -2.18556906e-008, 0.5, -0.866025388, 3.78551732e-008, 0.866025388, 0.5)
- w8.Part1 = p1
- w8.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w9 = Instance.new("Weld", p9)
- w9.Name = "Joint"
- w9.Part0 = p9
- w9.C0 = CFrame.new(-0.0500030518, 2.1856863e-009, 0.280000091, 1, -4.37113883e-008, -4.37113847e-008, -4.37113847e-008, 1.91068525e-015, -1, 4.37113883e-008, 1, 0)
- w9.Part1 = p1
- w9.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w10 = Instance.new("Weld", p10)
- w10.Name = "Joint"
- w10.Part0 = p10
- w10.C0 = CFrame.new(-0.0500030518, -1.27154749e-008, -0.279999852, 1, -4.37113883e-008, -4.37113847e-008, -4.37113847e-008, 1.91068525e-015, -1, 4.37113883e-008, 1, 0)
- w10.Part1 = p1
- w10.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w11 = Instance.new("Weld", p11)
- w11.Name = "Joint"
- w11.Part0 = p11
- w11.C0 = CFrame.new(-0.0500030518, -5.6298461e-008, -0.279999882, 1, -6.55670789e-008, -3.78551697e-008, -6.55670789e-008, -0.5, -0.866025388, 3.78551732e-008, 0.866025388, -0.5)
- w11.Part1 = p1
- w11.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w12 = Instance.new("Weld", p12)
- w12.Name = "Joint"
- w12.Part0 = p12
- w12.C0 = CFrame.new(-0.0500030518, -6.37490416e-008, 0.280000061, 1, -6.55670789e-008, -3.78551697e-008, -6.55670789e-008, -0.5, -0.866025388, 3.78551732e-008, 0.866025388, -0.5)
- w12.Part1 = p1
- w12.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w13 = Instance.new("Weld", p13)
- w13.Name = "Joint"
- w13.Part0 = p13
- w13.C0 = CFrame.new(-0.0500030518, -1.01001945e-007, -0.279999912, 1, -8.15665615e-008, -2.18556924e-008, -8.15665544e-008, -0.866025388, -0.5, 2.18556959e-008, 0.5, -0.866025388)
- w13.Part1 = p1
- w13.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w14 = Instance.new("Weld", p14)
- w14.Name = "Joint"
- w14.Part0 = p14
- w14.C0 = CFrame.new(-0.0500030518, -1.08452525e-007, 0.280000031, 1, -8.15665615e-008, -2.18556924e-008, -8.15665544e-008, -0.866025388, -0.5, 2.18556959e-008, 0.5, -0.866025388)
- w14.Part1 = p1
- w14.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- m7.Parent = torso
- m7:MakeJoints()
- ----------------------------------------------------
- local cor7 = Instance.new("Part", torso)
- cor7.Name = "Thingy"
- cor7.Locked = true
- cor7.BottomSurface = 0
- cor7.CanCollide = false
- cor7.Size = Vector3.new(1, 1, 1)
- cor7.Transparency = 1
- cor7.TopSurface = 0
- corw7 = Instance.new("Weld", cor7)
- corw7.Part0 = torso.Torso.Connection
- corw7.Part1 = cor7
- corw7.C0 = CFrame.new(0, 0.26, 0.1) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0))
- corw7.C1 = CFrame.new(0, -0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(140))
- weld7 = Instance.new("Weld", torso.Amulet)
- weld7.Part0 = cor7
- weld7.Part1 = torso.Amulet.Top
- weld7.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- --SWORD
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- m8=Instance.new('Model',Character)
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- it=Instance.new
- Player=game:GetService('Players').LocalPlayer
- Character=Player.Character
- Mouse=Player:GetMouse()
- m8=Instance.new('Model',Character)
- it=Instance.new
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=BrickColor.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Character.Torso.Position
- nooutline(fp)
- fp.Material=material
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0,c1)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- char.Humanoid.WalkSpeed = 50
- CR = torso.Cloak.Rotater
- CR2 = torso.Cloak.CapeLevel1
- CR3 = torso.Cloak.CapeLevel2
- CR4 = torso.Cloak.CapeLevel3
- CR5 = torso.Cloak.CapeLevel4
- jump = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement