SHOW:
|
|
- or go back to the newest paste.
| 1 | - | Player = game:GetService("Players").LocalPlayer
|
| 1 | + | --The Script is Created by Cohenfan31 |
| 2 | - | Character = Player.Character |
| 2 | + | |
| 3 | - | PlayerGui = Player.PlayerGui |
| 3 | + | Player=game:GetService("Players").LocalPlayer
|
| 4 | - | Backpack = Player.Backpack |
| 4 | + | Character=Player.Character |
| 5 | - | Torso = Character.Torso |
| 5 | + | PlayerGui=Player.PlayerGui |
| 6 | - | Head = Character.Head |
| 6 | + | Backpack=Player.Backpack |
| 7 | - | Humanoid = Character.Humanoid |
| 7 | + | Torso=Character.Torso |
| 8 | - | LeftArm = Character["Left Arm"] |
| 8 | + | Head=Character.Head |
| 9 | - | LeftLeg = Character["Left Leg"] |
| 9 | + | Humanoid=Character.Humanoid |
| 10 | - | RightArm = Character["Right Arm"] |
| 10 | + | m=Instance.new('Model',Character)
|
| 11 | - | RightLeg = Character["Right Leg"] |
| 11 | + | LeftArm=Character["Left Arm"] |
| 12 | - | local HBill = Instance.new("BillboardGui", Head)
|
| 12 | + | LeftLeg=Character["Left Leg"] |
| 13 | - | local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
|
| 13 | + | RightArm=Character["Right Arm"] |
| 14 | - | local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
|
| 14 | + | RightLeg=Character["Right Leg"] |
| 15 | - | HBill.Size = UDim2.new(15,0,2.2,0) |
| 15 | + | LS=Torso["Left Shoulder"] |
| 16 | - | HBill.Name = "Health Display" |
| 16 | + | LH=Torso["Left Hip"] |
| 17 | - | HBill.StudsOffset = Vector3.new(0,4,0) |
| 17 | + | RS=Torso["Right Shoulder"] |
| 18 | - | HBill.AlwaysOnTop = true |
| 18 | + | RH=Torso["Right Hip"] |
| 19 | - | HBill.Enabled=true |
| 19 | + | Face = Head.face |
| 20 | - | HMain.BackgroundColor3 = Color3.new(0, 0, 0) |
| 20 | + | Neck=Torso.Neck |
| 21 | - | HMain.BackgroundTransparency = 0.6 |
| 21 | + | it=Instance.new |
| 22 | - | HMain.Size = UDim2.new(1,0,1,0) |
| 22 | + | attacktype=1 |
| 23 | - | HBarBack.Parent = HMain |
| 23 | + | vt=Vector3.new |
| 24 | - | HBarBack.BackgroundColor3 = Color3.new(0,0,0) |
| 24 | + | cf=CFrame.new |
| 25 | - | HBarBack.BorderColor3 = Color3.new(0,0,0) |
| 25 | + | euler=CFrame.fromEulerAnglesXYZ |
| 26 | - | HBarBack.BorderSizePixel = 2 |
| 26 | + | angles=CFrame.Angles |
| 27 | - | HBarBack.Position = UDim2.new(.025, 0, .55, 0) |
| 27 | + | cloaked=false |
| 28 | - | HBarBack.Size = UDim2.new(.95, 0, .3, 0) |
| 28 | + | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 29 | - | HBar.Parent = HBarBack |
| 29 | + | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 30 | - | HBar.BackgroundColor3 = Color3.new(0, 1, 0) |
| 30 | + | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
| 31 | - | HBar.BorderColor3 = Color3.new(0,0,0) |
| 31 | + | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
| 32 | - | HBar.Size = UDim2.new(.5,0,1,0) |
| 32 | + | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
| 33 | - | HHealth.BackgroundTransparency = 1 |
| 33 | + | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
| 34 | - | HHealth.Size = UDim2.new(1,0,1,0) |
| 34 | + | RootPart=Character.HumanoidRootPart |
| 35 | - | HHealth.Font = "SourceSans" |
| 35 | + | RootJoint=RootPart.RootJoint |
| 36 | - | HHealth.Text = "[10/10]" |
| 36 | + | RootCF=euler(-1.57,0,3.14) |
| 37 | - | HHealth.TextScaled = true |
| 37 | + | attack = false |
| 38 | - | HHealth.TextColor3 = Color3.new(255, 255, 255) |
| 38 | + | attackdebounce = false |
| 39 | - | HHealth.TextStrokeColor3 = Color3.new(85/255, 0, 127/255) |
| 39 | + | deb=false |
| 40 | - | HHealth.TextStrokeTransparency = 0 |
| 40 | + | equipped=true |
| 41 | - | HName.Parent = HMain |
| 41 | + | hand=false |
| 42 | - | HName.BackgroundTransparency = 1 |
| 42 | + | MMouse=nil |
| 43 | - | HName.Size = UDim2.new(1,0,.5,0) |
| 43 | + | combo=0 |
| 44 | - | HName.Font = "SourceSansItalic" |
| 44 | + | mana=0 |
| 45 | - | HName.Text = "Angel of Darkness, incarnate" |
| 45 | + | trispeed=.2 |
| 46 | - | HName.TextScaled = true |
| 46 | + | attackmode='none' |
| 47 | - | HName.TextColor3 = BrickColor.new("Black metallic").Color
|
| 47 | + | local idle=0 |
| 48 | - | HName.TextStrokeColor3 = Color3.new(0,0,0) |
| 48 | + | local Anim="Idle" |
| 49 | - | HName.TextStrokeTransparency = 0 |
| 49 | + | local Effects={}
|
| 50 | - | HName.TextYAlignment = "Top" |
| 50 | + | local gun=false |
| 51 | - | local runServ = game:GetService("RunService").RenderStepped
|
| 51 | + | local shoot=false |
| 52 | - | runServ:connect(function() |
| 52 | + | player=nil |
| 53 | - | HHealth.Text = "["..Humanoid.Health.."]" |
| 53 | + | mana=0 |
| 54 | - | HBar:TweenSize(UDim2.new((Humanoid.Health/Humanoid.MaxHealth),0,1,0), _, "Linear", .4) |
| 54 | + | |
| 55 | mouse=Player:GetMouse() | |
| 56 | - | local Player = game.Players.localPlayer |
| 56 | + | --save shoulders |
| 57 | - | local Character = Player.Character |
| 57 | + | RSH, LSH=nil, nil |
| 58 | - | local Humanoid = Character.Humanoid |
| 58 | + | --welds |
| 59 | - | local mouse = Player:GetMouse() |
| 59 | + | RW, LW=Instance.new("Weld"), Instance.new("Weld")
|
| 60 | - | local m = Instance.new("Model", Character)
|
| 60 | + | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
| 61 | - | m.Name = "WeaponModel" |
| 61 | + | LH=Torso["Left Hip"] |
| 62 | - | local LeftArm = Character["Left Arm"] |
| 62 | + | RH=Torso["Right Hip"] |
| 63 | - | local RightArm = Character["Right Arm"] |
| 63 | + | TorsoColor=Torso.BrickColor |
| 64 | - | local LeftLeg = Character["Left Leg"] |
| 64 | + | function NoOutline(Part) |
| 65 | - | local RightLeg = Character["Right Leg"] |
| 65 | + | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
| 66 | - | local Head = Character.Head |
| 66 | + | |
| 67 | - | local Torso = Character.Torso |
| 67 | + | player=Player |
| 68 | ch=Character | |
| 69 | RSH=ch.Torso["Right Shoulder"] | |
| 70 | - | FloatPart = function() |
| 70 | + | LSH=ch.Torso["Left Shoulder"] |
| 71 | - | local Part = Instance.new('Part',Torso)
|
| 71 | + | -- |
| 72 | - | Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87) |
| 72 | + | RSH.Parent=nil |
| 73 | - | Part.Anchored = true |
| 73 | + | LSH.Parent=nil |
| 74 | - | Part.Material = 'Neon' |
| 74 | + | -- |
| 75 | - | Part.CanCollide = false |
| 75 | + | RW.Name="Right Shoulder" |
| 76 | - | Part.BrickColor = BrickColor.new(PrimaryColor) |
| 76 | + | RW.Part0=ch.Torso |
| 77 | - | local Mesh = Instance.new('SpecialMesh',Part)
|
| 77 | + | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
| 78 | - | Mesh.Scale = Vector3.new(4,4,.2) |
| 78 | + | RW.C1=cf(0, 0.5, 0) |
| 79 | - | Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017' |
| 79 | + | RW.Part1=ch["Right Arm"] |
| 80 | - | Mesh.VertexColor = Vector3.new(0,170,255) |
| 80 | + | RW.Parent=ch.Torso |
| 81 | - | spawn(function() |
| 81 | + | -- |
| 82 | - | for i = 1,30 do |
| 82 | + | LW.Name="Left Shoulder" |
| 83 | - | Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0) |
| 83 | + | LW.Part0=ch.Torso |
| 84 | - | Part.Transparency = Part.Transparency + .035 |
| 84 | + | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
| 85 | - | game["Run Service"].RenderStepped:wait() |
| 85 | + | LW.C1=cf(0, 0.5, 0) |
| 86 | - | end |
| 86 | + | LW.Part1=ch["Left Arm"] |
| 87 | - | Part:Destroy() |
| 87 | + | LW.Parent=ch.Torso |
| 88 | - | end) |
| 88 | + | |
| 89 | - | end; |
| 89 | + | Player=game:GetService('Players').LocalPlayer
|
| 90 | Character=Player.Character | |
| 91 | - | DubPart = function() |
| 91 | + | Mouse=Player:GetMouse() |
| 92 | - | local Part = Instance.new('Part',Torso)
|
| 92 | + | m=Instance.new('Model',Character)
|
| 93 | - | Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87) |
| 93 | + | |
| 94 | - | Part.Anchored = true |
| 94 | + | |
| 95 | - | Part.CanCollide = false |
| 95 | + | local function weldBetween(a, b) |
| 96 | - | Part.Material = 'Neon' |
| 96 | + | local weldd = Instance.new("ManualWeld")
|
| 97 | - | Part.BrickColor = BrickColor.new(SecondaryColor) |
| 97 | + | weldd.Part0 = a |
| 98 | - | local Mesh = Instance.new('SpecialMesh',Part)
|
| 98 | + | weldd.Part1 = b |
| 99 | - | Mesh.Scale = Vector3.new(7,7,.2) |
| 99 | + | weldd.C0 = CFrame.new() |
| 100 | - | Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017' |
| 100 | + | weldd.C1 = b.CFrame:inverse() * a.CFrame |
| 101 | - | Mesh.VertexColor = Vector3.new(0,170,255) |
| 101 | + | weldd.Parent = a |
| 102 | - | spawn(function() |
| 102 | + | return weldd |
| 103 | - | for i = 1,30 do |
| 103 | + | |
| 104 | - | Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0) |
| 104 | + | |
| 105 | - | Part.Transparency = Part.Transparency + .035 |
| 105 | + | function swait(num) |
| 106 | - | game["Run Service"].RenderStepped:wait() |
| 106 | + | if num==0 or num==nil then |
| 107 | - | end |
| 107 | + | game:service'RunService'.Stepped:wait(0) |
| 108 | - | Part:Destroy() |
| 108 | + | |
| 109 | - | end) |
| 109 | + | for i=0,num do |
| 110 | - | end; |
| 110 | + | game:service'RunService'.Stepped:wait(0) |
| 111 | end | |
| 112 | - | Fade = function(Item,t) |
| 112 | + | |
| 113 | - | spawn(function() |
| 113 | + | |
| 114 | - | for i = 1,20 do |
| 114 | + | |
| 115 | - | Item.Transparency = Item.Transparency + .05 |
| 115 | + | function nooutline(part) |
| 116 | - | if t then |
| 116 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 117 | - | wait(t) |
| 117 | + | |
| 118 | - | else |
| 118 | + | |
| 119 | - | wait() |
| 119 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
| 120 | - | end |
| 120 | + | local fp=it("Part")
|
| 121 | - | end |
| 121 | + | fp.formFactor=formfactor |
| 122 | - | Item:Destroy() |
| 122 | + | fp.Parent=parent |
| 123 | - | end) |
| 123 | + | fp.Reflectance=reflectance |
| 124 | fp.Transparency=transparency | |
| 125 | fp.CanCollide=false | |
| 126 | - | Particle = function(PrimaryColor) |
| 126 | + | fp.Locked=true |
| 127 | - | local Part = Instance.new('Part',Torso)
|
| 127 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 128 | - | Part.BrickColor = BrickColor.new(PrimaryColor) |
| 128 | + | fp.Name=name |
| 129 | - | Part.Anchored = true |
| 129 | + | fp.Size=size |
| 130 | - | Part.Transparency = .3 |
| 130 | + | fp.Position=Character.Torso.Position |
| 131 | - | Part.CanCollide = false |
| 131 | + | nooutline(fp) |
| 132 | - | Part.CFrame = Torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random()) |
| 132 | + | fp.Material=material |
| 133 | - | local Mesh = Instance.new('BlockMesh',Part)
|
| 133 | + | fp:BreakJoints() |
| 134 | - | Mesh.Scale = Vector3.new(.05,.1,.1) |
| 134 | + | return fp |
| 135 | - | spawn(function() |
| 135 | + | |
| 136 | - | for i = 1,40 do |
| 136 | + | |
| 137 | - | Part.Transparency = Part.Transparency + .0125 |
| 137 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 138 | - | Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0) |
| 138 | + | local mesh=it(Mesh) |
| 139 | - | game["Run Service"].RenderStepped:wait() |
| 139 | + | mesh.Parent=part |
| 140 | - | end |
| 140 | + | if Mesh=="SpecialMesh" then |
| 141 | - | Part:Destroy() |
| 141 | + | mesh.MeshType=meshtype |
| 142 | - | end) |
| 142 | + | mesh.MeshId=meshid |
| 143 | - | end; |
| 143 | + | |
| 144 | mesh.Offset=offset | |
| 145 | - | --[[spawn(function() |
| 145 | + | mesh.Scale=scale |
| 146 | - | while wait() do |
| 146 | + | return mesh |
| 147 | - | wait(.05) |
| 147 | + | |
| 148 | - | FloatPart() |
| 148 | + | |
| 149 | - | wait(.08) |
| 149 | + | function weld(parent,part0,part1,c0,c1) |
| 150 | - | FloatPart() |
| 150 | + | local weld=it("Weld")
|
| 151 | - | wait(.05) |
| 151 | + | weld.Parent=parent |
| 152 | - | DubPart() |
| 152 | + | weld.Part0=part0 |
| 153 | - | wait(.08) |
| 153 | + | weld.Part1=part1 |
| 154 | - | end |
| 154 | + | weld.C0=c0 |
| 155 | - | end)]] |
| 155 | + | weld.C1=c1 |
| 156 | return weld | |
| 157 | - | game["Run Service"].RenderStepped:connect(function(_) |
| 157 | + | |
| 158 | - | Particle("Royale purple")
|
| 158 | + | |
| 159 | - | Particle("Really black")
|
| 159 | + | |
| 160 | - | Particle("Institutional White")
|
| 160 | + | local function CFrameFromTopBack(at, top, back) |
| 161 | - | --Character['HumanoidRootPart'].C1 = Character['HumanoidRootPart'].C1 * CFrame.new(0,Height+math.sin(tick())/150,0) |
| 161 | + | local right = top:Cross(back) |
| 162 | return CFrame.new(at.x, at.y, at.z, | |
| 163 | right.x, top.x, back.x, | |
| 164 | right.y, top.y, back.y, | |
| 165 | right.z, top.z, back.z) | |
| 166 | - | particle = function(parent, col1, col2, lightemis, size, texture, transparency, zoffset, accel, drag, ltp, velinher, emisdir, enabled, lifetime, rate, rotation, rotspeed, speed, velspread) |
| 166 | + | |
| 167 | - | local fp = it("ParticleEmitter")
|
| 167 | + | |
| 168 | - | fp.Parent = parent |
| 168 | + | function Triangle(a, b, c) |
| 169 | - | fp.Color = cs(col1, col2) |
| 169 | + | local edg1 = (c-a):Dot((b-a).unit) |
| 170 | - | fp.LightEmission = lightemis |
| 170 | + | local edg2 = (a-b):Dot((c-b).unit) |
| 171 | - | fp.Size = size |
| 171 | + | local edg3 = (b-c):Dot((a-c).unit) |
| 172 | - | fp.Texture = texture |
| 172 | + | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
| 173 | - | fp.Transparency = transparency |
| 173 | + | a, b, c = a, b, c |
| 174 | - | fp.ZOffset = zoffset |
| 174 | + | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
| 175 | - | fp.Acceleration = accel |
| 175 | + | a, b, c = b, c, a |
| 176 | - | fp.Drag = drag |
| 176 | + | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
| 177 | - | fp.LockedToPart = ltp |
| 177 | + | a, b, c = c, a, b |
| 178 | - | fp.VelocityInheritance = velinher |
| 178 | + | |
| 179 | - | fp.EmissionDirection = emisdir |
| 179 | + | assert(false, "unreachable") |
| 180 | - | fp.Enabled = enabled |
| 180 | + | |
| 181 | - | fp.Lifetime = lifetime |
| 181 | + | |
| 182 | - | fp.Rate = rate |
| 182 | + | local len1 = (c-a):Dot((b-a).unit) |
| 183 | - | fp.Rotation = rotation |
| 183 | + | local len2 = (b-a).magnitude - len1 |
| 184 | - | fp.RotSpeed = rotspeed |
| 184 | + | local width = (a + (b-a).unit*len1 - c).magnitude |
| 185 | - | fp.Speed = speed |
| 185 | + | |
| 186 | - | fp.VelocitySpread = velspread |
| 186 | + | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
| 187 | - | return fp |
| 187 | + | |
| 188 | local list = {}
| |
| 189 | - | Player=game:GetService('Players').LocalPlayer
|
| 189 | + | |
| 190 | - | local p = game.Players.LocalPlayer |
| 190 | + | local TrailColor = ("Dark grey")
|
| 191 | - | local char = p.Character |
| 191 | + | |
| 192 | - | local mouse = p:GetMouse() |
| 192 | + | if len1 > 0.01 then |
| 193 | - | local larm = char["Left Arm"] |
| 193 | + | local w1 = Instance.new('WedgePart', m)
|
| 194 | - | local rarm = char["Right Arm"] |
| 194 | + | game:GetService("Debris"):AddItem(w1,5)
|
| 195 | - | local lleg = char["Left Leg"] |
| 195 | + | w1.Material = "SmoothPlastic" |
| 196 | - | local rleg = char["Right Leg"] |
| 196 | + | w1.FormFactor = 'Custom' |
| 197 | - | local hed = char.Head |
| 197 | + | w1.BrickColor = BrickColor.new(TrailColor) |
| 198 | - | local torso = char.Torso |
| 198 | + | w1.Transparency = 0 |
| 199 | - | local hum = char.Humanoid |
| 199 | + | w1.Reflectance = 0 |
| 200 | - | local cam = game.Workspace.CurrentCamera |
| 200 | + | w1.Material = "SmoothPlastic" |
| 201 | - | local root = char.HumanoidRootPart |
| 201 | + | w1.CanCollide = false |
| 202 | - | local deb = false |
| 202 | + | NoOutline(w1) |
| 203 | - | local shot = 0 |
| 203 | + | local sz = Vector3.new(0.2, width, len1) |
| 204 | - | local debris=game:service"Debris" |
| 204 | + | w1.Size = sz |
| 205 | - | local l = game:GetService("Lighting")
|
| 205 | + | local sp = Instance.new("SpecialMesh",w1)
|
| 206 | - | local rs = game:GetService("RunService").RenderStepped
|
| 206 | + | sp.MeshType = "Wedge" |
| 207 | - | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
|
| 207 | + | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
| 208 | - | math.randomseed(os.time()) |
| 208 | + | w1:BreakJoints() |
| 209 | - | for i,v in pairs(char:children()) do |
| 209 | + | w1.Anchored = true |
| 210 | - | if v:IsA("Hat") then
|
| 210 | + | w1.Parent = workspace |
| 211 | - | v:Destroy() |
| 211 | + | w1.Transparency = 0.7 |
| 212 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 213 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 214 | - | for i,v in pairs (hed:GetChildren()) do |
| 214 | + | table.insert(list,w1) |
| 215 | - | if v:IsA("Sound") then
|
| 215 | + | |
| 216 | - | v:Destroy() |
| 216 | + | |
| 217 | if len2 > 0.01 then | |
| 218 | local w2 = Instance.new('WedgePart', m)
| |
| 219 | - | ---------------------------------------------------- |
| 219 | + | game:GetService("Debris"):AddItem(w2,5)
|
| 220 | - | Debounces = {
|
| 220 | + | w2.Material = "SmoothPlastic" |
| 221 | - | CanAttack = true; |
| 221 | + | w2.FormFactor = 'Custom' |
| 222 | - | NoIdl = false; |
| 222 | + | w2.BrickColor = BrickColor.new(TrailColor) |
| 223 | - | Slashing = false; |
| 223 | + | w2.Transparency = 0 |
| 224 | - | Slashed = false; |
| 224 | + | w2.Reflectance = 0 |
| 225 | - | RPunch = false; |
| 225 | + | w2.Material = "SmoothPlastic" |
| 226 | - | RPunched = false; |
| 226 | + | w2.CanCollide = false |
| 227 | - | LPunch = false; |
| 227 | + | NoOutline(w2) |
| 228 | - | LPunched = false; |
| 228 | + | local sz = Vector3.new(0.2, width, len2) |
| 229 | - | } |
| 229 | + | w2.Size = sz |
| 230 | - | local Touche = {char.Name, }
|
| 230 | + | local sp = Instance.new("SpecialMesh",w2)
|
| 231 | - | ---------------------------------------------------- |
| 231 | + | sp.MeshType = "Wedge" |
| 232 | - | hed.face.Texture = "" |
| 232 | + | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
| 233 | - | char["Body Colors"].HeadColor = BrickColor.new("Really black")
|
| 233 | + | w2:BreakJoints() |
| 234 | - | char["Body Colors"].TorsoColor = BrickColor.new("Really black")
|
| 234 | + | w2.Anchored = true |
| 235 | - | char["Body Colors"].LeftArmColor = BrickColor.new("Really black")
|
| 235 | + | w2.Parent = workspace |
| 236 | - | char["Body Colors"].RightArmColor = BrickColor.new("Really black")
|
| 236 | + | w2.Transparency = 0.7 |
| 237 | - | char["Body Colors"].RightLegColor = BrickColor.new("Really black")
|
| 237 | + | table.insert(Effects,{w2,"Disappear",.01})
|
| 238 | - | char["Body Colors"].LeftLegColor = BrickColor.new("Really black")
|
| 238 | + | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
| 239 | - | ---------------------------------------------------- |
| 239 | + | table.insert(list,w2) |
| 240 | - | ypcall(function() |
| 240 | + | |
| 241 | - | char.Shirt:Destroy() |
| 241 | + | return unpack(list) |
| 242 | - | char.Pants:Destroy() |
| 242 | + | |
| 243 | - | shirt = Instance.new("Shirt", char)
|
| 243 | + | |
| 244 | - | shirt.Name = "Shirt" |
| 244 | + | |
| 245 | - | pants = Instance.new("Pants", char)
|
| 245 | + | so = function(id,par,vol,pit) |
| 246 | - | pants.Name = "Pants" |
| 246 | + | coroutine.resume(coroutine.create(function() |
| 247 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0" |
| 247 | + | local sou = Instance.new("Sound",par or workspace)
|
| 248 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=0" |
| 248 | + | sou.Volume=vol |
| 249 | sou.Pitch=pit or 1 | |
| 250 | - | ---------------------------------------------------- |
| 250 | + | sou.SoundId=id |
| 251 | - | function lerp(a, b, t) -- Linear interpolation |
| 251 | + | swait() |
| 252 | - | return a + (b - a)*t |
| 252 | + | sou:play() |
| 253 | game:GetService("Debris"):AddItem(sou,6)
| |
| 254 | end)) | |
| 255 | - | function slerp(a, b, t) --Spherical interpolation |
| 255 | + | |
| 256 | - | dot = a:Dot(b) |
| 256 | + | |
| 257 | - | if dot > 0.99999 or dot < -0.99999 then |
| 257 | + | function clerp(a,b,t) |
| 258 | - | return t <= 0.5 and a or b |
| 258 | + | local qa = {QuaternionFromCFrame(a)}
|
| 259 | - | else |
| 259 | + | local qb = {QuaternionFromCFrame(b)}
|
| 260 | - | r = math.acos(dot) |
| 260 | + | local ax, ay, az = a.x, a.y, a.z |
| 261 | - | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) |
| 261 | + | local bx, by, bz = b.x, b.y, b.z |
| 262 | local _t = 1-t | |
| 263 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 264 | end | |
| 265 | - | function matrixInterpolate(a, b, t) |
| 265 | + | |
| 266 | - | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() |
| 266 | + | function QuaternionFromCFrame(cf) |
| 267 | - | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() |
| 267 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
| 268 | - | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position |
| 268 | + | local trace = m00 + m11 + m22 |
| 269 | - | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right |
| 269 | + | if trace > 0 then |
| 270 | - | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up |
| 270 | + | local s = math.sqrt(1 + trace) |
| 271 | - | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back |
| 271 | + | local recip = 0.5/s |
| 272 | - | local t = v1:Dot(v2) |
| 272 | + | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
| 273 | - | if not (t < 0 or t == 0 or t > 0) then -- Failsafe |
| 273 | + | else |
| 274 | - | return CFrame.new() |
| 274 | + | local i = 0 |
| 275 | if m11 > m00 then | |
| 276 | - | return CFrame.new( |
| 276 | + | i = 1 |
| 277 | - | v0.x, v0.y, v0.z, |
| 277 | + | |
| 278 | - | v1.x, v1.y, v1.z, |
| 278 | + | if m22 > (i == 0 and m00 or m11) then |
| 279 | - | v2.x, v2.y, v2.z, |
| 279 | + | i = 2 |
| 280 | - | v3.x, v3.y, v3.z) |
| 280 | + | end |
| 281 | if i == 0 then | |
| 282 | - | ---------------------------------------------------- |
| 282 | + | local s = math.sqrt(m00-m11-m22+1) |
| 283 | - | function genWeld(a,b) |
| 283 | + | local recip = 0.5/s |
| 284 | - | local w = Instance.new("Weld",a)
|
| 284 | + | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
| 285 | - | w.Part0 = a |
| 285 | + | elseif i == 1 then |
| 286 | - | w.Part1 = b |
| 286 | + | local s = math.sqrt(m11-m22-m00+1) |
| 287 | - | return w |
| 287 | + | local recip = 0.5/s |
| 288 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 289 | - | function weld(a, b) |
| 289 | + | elseif i == 2 then |
| 290 | - | local weld = Instance.new("Weld")
|
| 290 | + | local s = math.sqrt(m22-m00-m11+1) |
| 291 | - | weld.Name = "W" |
| 291 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
| 292 | - | weld.Part0 = a |
| 292 | + | end |
| 293 | - | weld.Part1 = b |
| 293 | + | end |
| 294 | - | weld.C0 = a.CFrame:inverse() * b.CFrame |
| 294 | + | |
| 295 | - | weld.Parent = a |
| 295 | + | |
| 296 | - | return weld; |
| 296 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
| 297 | local xs, ys, zs = x + x, y + y, z + z | |
| 298 | - | ---------------------------------------------------- |
| 298 | + | local wx, wy, wz = w*xs, w*ys, w*zs |
| 299 | - | function Lerp(c1,c2,al) |
| 299 | + | local xx = x*xs |
| 300 | - | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
|
| 300 | + | local xy = x*ys |
| 301 | - | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
|
| 301 | + | local xz = x*zs |
| 302 | - | for i,v in pairs(com1) do |
| 302 | + | local yy = y*ys |
| 303 | - | com1[i] = v+(com2[i]-v)*al |
| 303 | + | local yz = y*zs |
| 304 | local zz = z*zs | |
| 305 | - | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) |
| 305 | + | 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)) |
| 306 | end | |
| 307 | - | ---------------------------------------------------- |
| 307 | + | |
| 308 | - | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) |
| 308 | + | function QuaternionSlerp(a, b, t) |
| 309 | - | local wld = Instance.new("Weld", wp1)
|
| 309 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
| 310 | - | wld.Part0 = wp0 |
| 310 | + | local startInterp, finishInterp; |
| 311 | - | wld.Part1 = wp1 |
| 311 | + | if cosTheta >= 0.0001 then |
| 312 | - | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) |
| 312 | + | if (1 - cosTheta) > 0.0001 then |
| 313 | local theta = math.acos(cosTheta) | |
| 314 | - | ---------------------------------------------------- |
| 314 | + | local invSinTheta = 1/math.sin(theta) |
| 315 | - | function weld5(part0, part1, c0, c1) |
| 315 | + | startInterp = math.sin((1-t)*theta)*invSinTheta |
| 316 | - | weeld=Instance.new("Weld", part0)
|
| 316 | + | finishInterp = math.sin(t*theta)*invSinTheta |
| 317 | - | weeld.Part0=part0 |
| 317 | + | else |
| 318 | - | weeld.Part1=part1 |
| 318 | + | startInterp = 1-t |
| 319 | - | weeld.C0=c0 |
| 319 | + | finishInterp = t |
| 320 | - | weeld.C1=c1 |
| 320 | + | end |
| 321 | - | return weeld |
| 321 | + | else |
| 322 | if (1+cosTheta) > 0.0001 then | |
| 323 | - | ---------------------------------------------------- |
| 323 | + | local theta = math.acos(-cosTheta) |
| 324 | - | function HasntTouched(plrname) |
| 324 | + | local invSinTheta = 1/math.sin(theta) |
| 325 | - | local ret = true |
| 325 | + | startInterp = math.sin((t-1)*theta)*invSinTheta |
| 326 | - | for _, v in pairs(Touche) do |
| 326 | + | finishInterp = math.sin(t*theta)*invSinTheta |
| 327 | - | if v == plrname then |
| 327 | + | else |
| 328 | - | ret = false |
| 328 | + | startInterp = t-1 |
| 329 | finishInterp = t | |
| 330 | end | |
| 331 | - | return ret |
| 331 | + | end |
| 332 | 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 | |
| 333 | - | ---------------------------------------------------- |
| 333 | + | |
| 334 | - | newWeld(torso, larm, -1.5, 0.5, 0) |
| 334 | + | |
| 335 | - | larm.Weld.C1 = CFrame.new(0, 0.5, 0) |
| 335 | + | --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) |
| 336 | - | newWeld(torso, rarm, 1.5, 0.5, 0) |
| 336 | + | |
| 337 | - | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) |
| 337 | + | |
| 338 | - | newWeld(torso, hed, 0, 1.5, 0) |
| 338 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
| 339 | - | newWeld(torso, lleg, -0.5, -1, 0) |
| 339 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
|
| 340 | - | lleg.Weld.C1 = CFrame.new(0, 1, 0) |
| 340 | + | end |
| 341 | - | newWeld(torso, rleg, 0.5, -1, 0) |
| 341 | + | |
| 342 | - | rleg.Weld.C1 = CFrame.new(0, 1, 0) |
| 342 | + | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) |
| 343 | - | newWeld(root, torso, 0, -1, 0) |
| 343 | + | if hit.Parent==nil then |
| 344 | - | torso.Weld.C1 = CFrame.new(0, -1, 0) |
| 344 | + | return |
| 345 | - | ---------------------------------------------------- |
| 345 | + | |
| 346 | - | z = Instance.new("Sound", char)
|
| 346 | + | h=hit.Parent:FindFirstChild("Humanoid")
|
| 347 | - | z.SoundId = "rbxassetid://177510410"--303570180 |
| 347 | + | for _,v in pairs(hit.Parent:children()) do |
| 348 | - | z.Looped = true |
| 348 | + | if v:IsA("Humanoid") then
|
| 349 | - | z.Pitch =0.7 |
| 349 | + | h=v |
| 350 | - | z.Volume = 10 |
| 350 | + | |
| 351 | - | wait(.1) |
| 351 | + | |
| 352 | - | z:Play() |
| 352 | + | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
|
| 353 | - | ---------------------------------------------------- |
| 353 | + | h=hit.Parent.Parent:FindFirstChild("Humanoid")
|
| 354 | - | local Transforming = true |
| 354 | + | |
| 355 | - | hum.WalkSpeed = 0 |
| 355 | + | if hit.Parent.className=="Hat" then |
| 356 | - | local fx = Instance.new("Part",torso)
|
| 356 | + | hit=hit.Parent.Parent:findFirstChild("Head")
|
| 357 | - | fx.Anchored = true |
| 357 | + | |
| 358 | - | fx.Material = "Neon" |
| 358 | + | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
|
| 359 | - | fx.CanCollide = false |
| 359 | + | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
|
| 360 | - | fx.Locked = true |
| 360 | + | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then |
| 361 | - | fx.Transparency = 1 |
| 361 | + | return |
| 362 | - | fx.Material = "Neon" |
| 362 | + | end]] |
| 363 | - | fx.Size = Vector3.new(1,1,1) |
| 363 | + | -- hs(hit,1.2) |
| 364 | - | fx.TopSurface = "SmoothNoOutlines" |
| 364 | + | c=Instance.new("ObjectValue")
|
| 365 | - | fx.BottomSurface = "SmoothNoOutlines" |
| 365 | + | c.Name="creator" |
| 366 | - | fx.BrickColor = BrickColor.new("Really black")
|
| 366 | + | c.Value=game:service("Players").LocalPlayer
|
| 367 | - | fxm = Instance.new("SpecialMesh",fx)
|
| 367 | + | c.Parent=h |
| 368 | - | fxm.MeshType = "Sphere" |
| 368 | + | game:GetService("Debris"):AddItem(c,.5)
|
| 369 | - | fxm.Scale = Vector3.new(2,2,2) |
| 369 | + | Damage=math.random(minim,maxim) |
| 370 | - | for i = 1, 20 do rs:wait() |
| 370 | + | -- h:TakeDamage(Damage) |
| 371 | - | fx.Transparency = fx.Transparency - (1/20) |
| 371 | + | blocked=false |
| 372 | - | fx.CFrame = torso.CFrame |
| 372 | + | block=hit.Parent:findFirstChild("Block")
|
| 373 | - | fxm.Scale = fxm.Scale + Vector3.new(1,2000,1) |
| 373 | + | if block~=nil then |
| 374 | - | rs:wait() |
| 374 | + | print(block.className) |
| 375 | if block.className=="NumberValue" then | |
| 376 | - | --------------------------------------------------- |
| 376 | + | if block.Value>0 then |
| 377 | - | local player = game.Players.LocalPlayer |
| 377 | + | blocked=true |
| 378 | - | repeat |
| 378 | + | if decreaseblock==nil then |
| 379 | - | wait() |
| 379 | + | block.Value=block.Value-1 |
| 380 | - | until player.Character |
| 380 | + | |
| 381 | - | local rs = game:GetService("RunService").RenderStepped
|
| 381 | + | |
| 382 | - | local char = player.Character |
| 382 | + | |
| 383 | - | local HRP = char.HumanoidRootPart |
| 383 | + | if block.className=="IntValue" then |
| 384 | - | local Head = char.Head |
| 384 | + | if block.Value>0 then |
| 385 | - | local tents = {}
|
| 385 | + | blocked=true |
| 386 | - | getValue = function(p, x) |
| 386 | + | if decreaseblock~=nil then |
| 387 | - | |
| 387 | + | block.Value=block.Value-1 |
| 388 | - | return p[2] + 0.5 * x * (p[3] - p[1] + x * (2 * p[1] - 5 * p[2] + 4 * p[3] - p[4] + x * (3 * (p[2] - p[3]) + p[4] - p[1]))) |
| 388 | + | |
| 389 | end | |
| 390 | end | |
| 391 | - | getV3Cubic = function(tabl, perc) |
| 391 | + | |
| 392 | - | |
| 392 | + | if blocked==false then |
| 393 | - | local x, y, z = {}, {}, {}
|
| 393 | + | -- h:TakeDamage(Damage) |
| 394 | - | if perc >= 2 then |
| 394 | + | h.Health=h.Health-Damage |
| 395 | - | perc = perc % 1 |
| 395 | + | showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
|
| 396 | - | for i = 3, 6 do |
| 396 | + | |
| 397 | - | table.insert(x, tabl[i].x) |
| 397 | + | h.Health=h.Health-(Damage/2) |
| 398 | - | table.insert(y, tabl[i].y) |
| 398 | + | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
|
| 399 | - | table.insert(z, tabl[i].z) |
| 399 | + | |
| 400 | if Type=="Knockdown" then | |
| 401 | - | local X, Y, Z = getValue(x, perc), getValue(y, perc), getValue(z, perc) |
| 401 | + | hum=hit.Parent.Humanoid |
| 402 | - | return Vector3.new(X, Y, Z) |
| 402 | + | hum.PlatformStand=true |
| 403 | - | else |
| 403 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
| 404 | - | do |
| 404 | + | swait(1) |
| 405 | - | if perc >= 1 then |
| 405 | + | HHumanoid.PlatformStand=false |
| 406 | - | perc = perc % 1 |
| 406 | + | end),hum) |
| 407 | - | for i = 2, 5 do |
| 407 | + | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit |
| 408 | - | table.insert(x, tabl[i].x) |
| 408 | + | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) |
| 409 | - | table.insert(y, tabl[i].y) |
| 409 | + | local bodvol=Instance.new("BodyVelocity")
|
| 410 | - | table.insert(z, tabl[i].z) |
| 410 | + | bodvol.velocity=angle*knockback |
| 411 | bodvol.P=5000 | |
| 412 | - | local X, Y, Z = getValue(x, perc), getValue(y, perc), getValue(z, perc) |
| 412 | + | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
| 413 | - | return Vector3.new(X, Y, Z) |
| 413 | + | bodvol.Parent=hit |
| 414 | - | else |
| 414 | + | rl=Instance.new("BodyAngularVelocity")
|
| 415 | - | do |
| 415 | + | rl.P=3000 |
| 416 | - | for i = 1, 4 do |
| 416 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
| 417 | - | table.insert(x, tabl[i].x) |
| 417 | + | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
| 418 | - | table.insert(y, tabl[i].y) |
| 418 | + | rl.Parent=hit |
| 419 | - | table.insert(z, tabl[i].z) |
| 419 | + | game:GetService("Debris"):AddItem(bodvol,.5)
|
| 420 | - | end |
| 420 | + | game:GetService("Debris"):AddItem(rl,.5)
|
| 421 | - | do |
| 421 | + | elseif Type=="Normal" then |
| 422 | - | local X, Y, Z = getValue(x, perc), getValue(y, perc), getValue(z, perc) |
| 422 | + | vp=Instance.new("BodyVelocity")
|
| 423 | - | return Vector3.new(X, Y, Z) |
| 423 | + | vp.P=500 |
| 424 | - | end |
| 424 | + | vp.maxForce=Vector3.new(math.huge,0,math.huge) |
| 425 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 426 | - | end |
| 426 | + | if KnockbackType==1 then |
| 427 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 428 | - | end |
| 428 | + | elseif KnockbackType==2 then |
| 429 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 430 | end | |
| 431 | - | local rainbow = {"Really black", "Really black", "Really black", "Really black", "Really black", "Really black", "Really black", "Really black", "Really black"}
|
| 431 | + | if knockback>0 then |
| 432 | - | local rainbowCount = 1 |
| 432 | + | vp.Parent=hit.Parent.Torso |
| 433 | - | local isRainbow = true |
| 433 | + | |
| 434 | - | for i = 0, 4 do |
| 434 | + | game:GetService("Debris"):AddItem(vp,.5)
|
| 435 | - | local m = Instance.new("Model", char)
|
| 435 | + | elseif Type=="Up" then |
| 436 | - | m.Name = "Tentac00l" |
| 436 | + | local bodyVelocity=Instance.new("BodyVelocity")
|
| 437 | - | local parts = {}
|
| 437 | + | bodyVelocity.velocity=vt(0,60,0) |
| 438 | - | local lastpart = Head |
| 438 | + | bodyVelocity.P=5000 |
| 439 | - | local defC0 = nil |
| 439 | + | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
| 440 | - | rainbowCount = 1 |
| 440 | + | bodyVelocity.Parent=hit |
| 441 | - | for j = 0, 8 do |
| 441 | + | game:GetService("Debris"):AddItem(bodyVelocity,1)
|
| 442 | - | local sizex = 0.25 - 0.2 * (j / 8) |
| 442 | + | rl=Instance.new("BodyAngularVelocity")
|
| 443 | - | local sizey = 1.875 - 1.125 * (j / 8) |
| 443 | + | rl.P=3000 |
| 444 | - | local p = Instance.new("Part")
|
| 444 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
| 445 | - | p.Size = Vector3.new(0.2, 0.2, 0.2) |
| 445 | + | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) |
| 446 | - | p.BrickColor = BrickColor.new("Really black")
|
| 446 | + | rl.Parent=hit |
| 447 | - | p.TopSurface = 0 |
| 447 | + | game:GetService("Debris"):AddItem(rl,.5)
|
| 448 | - | p.BottomSurface = 0 |
| 448 | + | elseif Type=="Snare" then |
| 449 | - | p.CanCollide = false |
| 449 | + | bp=Instance.new("BodyPosition")
|
| 450 | - | p.Material = "SmoothPlastic" |
| 450 | + | bp.P=2000 |
| 451 | - | p.TopSurface = 0 |
| 451 | + | bp.D=100 |
| 452 | - | p.BottomSurface = 0 |
| 452 | + | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
| 453 | - | local mesh = Instance.new("CylinderMesh", p)
|
| 453 | + | bp.position=hit.Parent.Torso.Position |
| 454 | - | mesh.Name = "CyMesh" |
| 454 | + | bp.Parent=hit.Parent.Torso |
| 455 | - | mesh.Scale = Vector3.new(sizex, sizey, sizex) * 5 |
| 455 | + | game:GetService("Debris"):AddItem(bp,1)
|
| 456 | - | p.Parent = m |
| 456 | + | elseif Type=="Target" then |
| 457 | - | local p2 = p:Clone() |
| 457 | + | if Targetting==false then |
| 458 | - | p2.Parent = m |
| 458 | + | ZTarget=hit.Parent.Torso |
| 459 | - | p2.CyMesh.Scale = p2.CyMesh.Scale + Vector3.new(0.075, 0.001, 0.075) * 5 |
| 459 | + | coroutine.resume(coroutine.create(function(Part) |
| 460 | - | p2.Material = "Neon" |
| 460 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
|
| 461 | - | if isRainbow then |
| 461 | + | swait(5) |
| 462 | - | p2.BrickColor = BrickColor.new(tostring(rainbow[rainbowCount])) |
| 462 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
|
| 463 | end),ZTarget) | |
| 464 | - | p2.BrickColor = BrickColor.new(j % 2 == 1 and "Toothpaste" or "Electric blue") |
| 464 | + | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
|
| 465 | targetgui=Instance.new("BillboardGui")
| |
| 466 | - | rainbowCount = rainbowCount + 1 |
| 466 | + | targetgui.Parent=ZTarget |
| 467 | - | p2.Transparency = 0.35 |
| 467 | + | targetgui.Size=UDim2.new(10,100,10,100) |
| 468 | - | local w2 = Instance.new("Weld", p)
|
| 468 | + | targ=Instance.new("ImageLabel")
|
| 469 | - | w2.Parent = p2 |
| 469 | + | targ.Parent=targetgui |
| 470 | - | w2.Part0 = p |
| 470 | + | targ.BackgroundTransparency=1 |
| 471 | - | w2.Part1 = p2 |
| 471 | + | targ.Image="rbxassetid://360881766" |
| 472 | - | local w = Instance.new("Weld", p)
|
| 472 | + | targ.Size=UDim2.new(1,0,1,0) |
| 473 | - | w.Parent = p |
| 473 | + | cam.CameraType="Scriptable" |
| 474 | - | w.Part0 = lastpart |
| 474 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
| 475 | - | w.Part1 = p |
| 475 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
| 476 | - | if i % 2 ~= 0 or not 96 then |
| 476 | + | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
| 477 | - | do |
| 477 | + | Targetting=true |
| 478 | - | w.C0 = CFrame.Angles(0, math.rad(-10 + 200 * i / 4), math.rad(-30 + (j or 70))) * CFrame.new(0, 0.6, 0) |
| 478 | + | RocketTarget=ZTarget |
| 479 | - | w.C1 = CFrame.new(0, -0.125, 0) |
| 479 | + | for i=1,Property do |
| 480 | - | defC0 = w.C0 |
| 480 | + | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do |
| 481 | - | w.C0 = CFrame.new(0, mesh.Scale.y / 10, 0) |
| 481 | + | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then |
| 482 | - | w.C1 = CFrame.new(0, -sizey / 2, 0) |
| 482 | + | swait() |
| 483 | - | table.insert(parts, {p, w, p2})
|
| 483 | + | |
| 484 | - | lastpart = p |
| 484 | + | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) |
| 485 | - | rs:wait() |
| 485 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
| 486 | - | -- DECOMPILER ERROR at PC262: LeaveBlock: unexpected jumping out IF_THEN_STMT |
| 486 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
| 487 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 488 | - | -- DECOMPILER ERROR at PC262: LeaveBlock: unexpected jumping out IF_STMT |
| 488 | + | |
| 489 | Targetting=false | |
| 490 | - | end |
| 490 | + | RocketTarget=nil |
| 491 | targetgui.Parent=nil | |
| 492 | - | end |
| 492 | + | cam.CameraType="Custom" |
| 493 | - | local randoms = {Vector3.new(0, 0, 0), Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100), Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100), Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100), Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100), Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100)}
|
| 493 | + | |
| 494 | - | table.insert(tents, {0, randoms, parts, defC0})
|
| 494 | + | |
| 495 | debounce=Instance.new("BoolValue")
| |
| 496 | - | player.Chatted:connect(function(msg) |
| 496 | + | debounce.Name="DebounceHit" |
| 497 | - | |
| 497 | + | debounce.Parent=hit.Parent |
| 498 | - | if string.sub(msg:lower(), 1, 4) == "col/" then |
| 498 | + | debounce.Value=true |
| 499 | - | for i,v in pairs(tents) do |
| 499 | + | game:GetService("Debris"):AddItem(debounce,Delay)
|
| 500 | - | for j,o in pairs(v[3]) do |
| 500 | + | c=Instance.new("ObjectValue")
|
| 501 | - | o[3].BrickColor = BrickColor.new(string.sub(msg, 5)) |
| 501 | + | c.Name="creator" |
| 502 | - | end |
| 502 | + | c.Value=Player |
| 503 | c.Parent=h | |
| 504 | - | else |
| 504 | + | game:GetService("Debris"):AddItem(c,.5)
|
| 505 | - | do |
| 505 | + | CRIT=false |
| 506 | - | if string.sub(msg:lower(), 1, 7) == "/e col/" then |
| 506 | + | hitDeb=true |
| 507 | - | for i,v in pairs(tents) do |
| 507 | + | AttackPos=6 |
| 508 | - | for j,o in pairs(v[3]) do |
| 508 | + | |
| 509 | - | o[3].BrickColor = BrickColor.new(string.sub(msg, 8)) |
| 509 | + | |
| 510 | - | end |
| 510 | + | |
| 511 | showDamage=function(Char,Dealt,du,Color) | |
| 512 | - | end |
| 512 | + | m=Instance.new("Model")
|
| 513 | m.Name=tostring(Dealt) | |
| 514 | - | end |
| 514 | + | h=Instance.new("Humanoid")
|
| 515 | h.Health=0 | |
| 516 | - | ) |
| 516 | + | h.MaxHealth=0 |
| 517 | - | rs:connect(function() |
| 517 | + | h.Parent=m |
| 518 | - | |
| 518 | + | c=Instance.new("Part")
|
| 519 | - | for i,v in pairs(tents) do |
| 519 | + | c.Transparency=0 |
| 520 | - | v[1] = v[1] % 200 + 1 |
| 520 | + | c.BrickColor=Color |
| 521 | - | if v[1] == 1 then |
| 521 | + | c.Name="Head" |
| 522 | - | v[2][1] = v[2][2] |
| 522 | + | c.TopSurface=0 |
| 523 | - | v[2][2] = v[2][3] |
| 523 | + | c.BottomSurface=0 |
| 524 | - | v[2][3] = v[2][4] |
| 524 | + | c.formFactor="Plate" |
| 525 | - | v[2][4] = v[2][5] |
| 525 | + | c.Size=Vector3.new(1,.4,1) |
| 526 | - | v[2][5] = v[2][6] |
| 526 | + | ms=Instance.new("CylinderMesh")
|
| 527 | - | v[2][6] = Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100) |
| 527 | + | ms.Scale=Vector3.new(.8,.8,.8) |
| 528 | if CRIT==true then | |
| 529 | - | local p0 = v[2][1] |
| 529 | + | ms.Scale=Vector3.new(1,1.25,1) |
| 530 | - | local p1 = v[2][2] |
| 530 | + | |
| 531 | - | local p2 = v[2][3] |
| 531 | + | ms.Parent=c |
| 532 | - | local p3 = v[2][4] |
| 532 | + | c.Reflectance=0 |
| 533 | - | local p4 = v[2][5] |
| 533 | + | Instance.new("BodyGyro").Parent=c
|
| 534 | - | local p5 = v[2][6] |
| 534 | + | c.Parent=m |
| 535 | - | local arr = {p0, p1, p2, p3, p4, p5}
|
| 535 | + | if Char:findFirstChild("Head")~=nil then
|
| 536 | - | local dir = i % 2 == 0 and 1 or -1 |
| 536 | + | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
| 537 | - | for j,V in pairs(v[3]) do |
| 537 | + | elseif Char.Parent:findFirstChild("Head")~=nil then
|
| 538 | - | local val = math.sin(math.pi / 2 * 2 * ((v[1] + 100 * j / #v[3] * dir) % 100 / 100)) |
| 538 | + | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
| 539 | - | local off = getV3Cubic(arr, (v[1] + 340 * (j / #v[3])) / 200) |
| 539 | + | |
| 540 | - | V[3].Transparency = 0.12 + val * 0.65 |
| 540 | + | f=Instance.new("BodyPosition")
|
| 541 | - | if j == 1 then |
| 541 | + | f.P=2000 |
| 542 | - | V[2].C0 = v[4] * CFrame.Angles(off.x * 2, off.y * 2, off.z * 2) |
| 542 | + | f.D=100 |
| 543 | - | else |
| 543 | + | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
| 544 | - | V[2].C0 = CFrame.new(0, V[2].C0.y, 0) * CFrame.Angles(off.x * 2 * (1 + 0.75 * (j / #v[3])), off.y * 2 * (1 + 0.75 * (j / #v[3])), off.z * 2 * (1 + 0.75 * (j / #v[3]))) |
| 544 | + | f.position=c.Position+Vector3.new(0,3,0) |
| 545 | - | end |
| 545 | + | f.Parent=c |
| 546 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 547 | - | end |
| 547 | + | c.CanCollide=false |
| 548 | m.Parent=workspace | |
| 549 | - | ) |
| 549 | + | c.CanCollide=false |
| 550 | - | ---------------------------------------------------- |
| 550 | + | |
| 551 | - | Player=game:GetService('Players').LocalPlayer
|
| 551 | + | |
| 552 | - | Character=Player.Character |
| 552 | + | VestHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(2.01999998, 1.39999998, 1.01999998)) |
| 553 | - | Mouse=Player:GetMouse() |
| 553 | + | handleweld=weld(m,Character["Torso"],VestHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-005, 0.300115585, 3.05175781e-005, 0.999999642, 0, 0, 0, 1, 0, 0, 0, 0.999999642)) |
| 554 | - | m=Instance.new('Model',Character)
|
| 554 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024)) |
| 555 | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, 0.200000286, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0)) | |
| 556 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 557 | - | local function weldBetween(a, b) |
| 557 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012)) |
| 558 | - | local weldd = Instance.new("ManualWeld")
|
| 558 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000152587891, -0.999994516, -0.200134277, -4.47035475e-008, 0, 0.999999642, 0, 1, 0, -0.999999642, 0, -4.4703544e-008)) |
| 559 | - | weldd.Part0 = a |
| 559 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 560 | - | weldd.Part1 = b |
| 560 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998)) |
| 561 | - | weldd.C0 = CFrame.new() |
| 561 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700012207, -1.00999117, 1.52587891e-005, 0.999999046, 0, 0, 0, 1, 0, 0, 0, 0.999999046)) |
| 562 | - | weldd.C1 = b.CFrame:inverse() * a.CFrame |
| 562 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998)) |
| 563 | - | weldd.Parent = a |
| 563 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699127197, -1.00999379, 0.000549316406, 0.999997914, 6.38506317e-005, -2.78951497e-015, -6.38804122e-005, 1.00000012, 2.10474918e-015, 2.78942159e-015, 1.39239913e-015, 0.999997854)) |
| 564 | - | return weldd |
| 564 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993)) |
| 565 | - | end |
| 565 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609390259, 0.811340332, -0.0999908447, 3.08029073e-018, -2.69585922e-014, -0.999999642, -0.999999642, -6.39334685e-005, -1.35697087e-018, -6.39334467e-005, 1, -2.6958582e-014)) |
| 566 | - | |
| 566 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
|
| 567 | - | it=Instance.new |
| 567 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993)) |
| 568 | - | |
| 568 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609359741, -0.788131714, -0.0999910831, 3.06354694e-018, -2.34616979e-014, -0.999999642, -0.999999642, -6.39629943e-005, -1.56279636e-018, -6.39629725e-005, 1, -2.34616895e-014)) |
| 569 | - | function nooutline(part) |
| 569 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
|
| 570 | - | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 570 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993)) |
| 571 | - | end |
| 571 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609375, 0.0116882324, -0.0999908447, 3.06355067e-018, -2.34617301e-014, -0.999999642, -0.999999642, -6.39631544e-005, -1.56279822e-018, -6.39631326e-005, 1, -2.34617217e-014)) |
| 572 | - | |
| 572 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
|
| 573 | - | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
| 573 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993)) |
| 574 | - | local fp=it("Part")
|
| 574 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609313965, -0.388046265, -0.0999908447, 3.0635486e-018, -2.34617301e-014, -0.999998927, -0.999998927, -6.39631544e-005, -1.56279719e-018, -6.39630889e-005, 1, -2.34617047e-014)) |
| 575 | - | fp.formFactor=formfactor |
| 575 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
|
| 576 | - | fp.Parent=parent |
| 576 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993)) |
| 577 | - | fp.Reflectance=reflectance |
| 577 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609329224, 0.411483765, -0.0999908447, 3.08028867e-018, -2.69585922e-014, -0.999998927, -0.999998927, -6.39334685e-005, -1.35696984e-018, -6.3933403e-005, 1, -2.69585617e-014)) |
| 578 | - | fp.Transparency=transparency |
| 578 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
|
| 579 | - | fp.CanCollide=false |
| 579 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003)) |
| 580 | - | fp.Locked=true |
| 580 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000305175781, -0.800010204, 0.89906311, -4.47035724e-008, 6.26018334e-015, 0.999997854, -8.34552054e-008, 1.00000012, -5.15634779e-015, -0.999997914, -5.35364961e-008, -4.47035653e-008)) |
| 581 | - | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 581 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 582 | - | fp.Name=name |
| 582 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012)) |
| 583 | - | fp.Size=size |
| 583 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000228881836, -0.99998498, -0.199783325, -4.47038211e-008, -2.85946115e-012, -0.999997854, -6.3955762e-005, 1.00000012, 1.77753083e-015, 0.999997914, 6.39259815e-005, -4.47038175e-008)) |
| 584 | - | fp.Position=Character.Torso.Position |
| 584 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 585 | - | nooutline(fp) |
| 585 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 3.79999971, 0.200000003)) |
| 586 | - | fp.Material=material |
| 586 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356018066, -0.311279297, -0.609542847, 0.865768671, 0.500441432, 0, -0.5004403, 0.865770638, 3.55271241e-015, 3.55271241e-015, 3.02253882e-015, 0.999997854)) |
| 587 | - | fp:BreakJoints() |
| 587 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 588 | - | return fp |
| 588 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003)) |
| 589 | - | end |
| 589 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, -0.799995899, 0.900177002, 1.49011559e-008, 0, -0.999995232, 0, 1, 0, 0.999995232, 0, 1.49011559e-008)) |
| 590 | - | |
| 590 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 591 | - | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 591 | + | FlagLogo=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","FlagLogo",Vector3.new(3, 1.99999988, 0.200000003)) |
| 592 | - | local mesh=it(Mesh) |
| 592 | + | FlagLogoweld=weld(m,VestHandle,FlagLogo,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.14234924, -3.41108704, -0.610244751, 0.865850091, 0.500302911, -3.55240239e-015, -0.500302792, 0.865850449, 9.79956736e-019, 3.07633938e-015, 1.77642947e-015, 0.999999642)) |
| 593 | - | mesh.Parent=part |
| 593 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036)) |
| 594 | - | if Mesh=="SpecialMesh" then |
| 594 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356628418, -2.31108093, -0.620269775, 0.865850091, 0.500302911, 7.10581953e-015, -0.500302792, 0.865850449, 9.79956736e-019, 6.15238443e-015, 3.55382075e-015, 0.999999642)) |
| 595 | - | mesh.MeshType=meshtype |
| 595 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 596 | - | mesh.MeshId=meshid |
| 596 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000036, 0.200000003, 0.400000036)) |
| 597 | - | end |
| 597 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.354736328, -4.51108551, -0.620117188, 0.865849495, 0.500302911, 1.77640292e-014, -0.500302434, 0.865850449, 9.79956115e-019, 9.22842142e-015, 5.33121097e-015, 0.999998927)) |
| 598 | - | mesh.Offset=offset |
| 598 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 599 | - | mesh.Scale=scale |
| 599 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 1.99999964, 0.200000003)) |
| 600 | - | return mesh |
| 600 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356216431, -3.41107178, -0.610137939, 0.865848899, 0.500302911, 1.77639292e-014, -0.500302076, 0.865850449, 9.79955495e-019, 1.53807173e-014, 8.88612016e-015, 0.999998212)) |
| 601 | - | end |
| 601 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 602 | - | |
| 602 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036)) |
| 603 | - | function weld(parent,part0,part1,c0,c1) |
| 603 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356292725, 1.6887207, -0.619628906, 0.865768075, 0.500441432, 0, -0.500439942, 0.865770638, 3.55270987e-015, 3.55270987e-015, 3.02253882e-015, 0.999997139)) |
| 604 | - | local weld=it("Weld")
|
| 604 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 605 | - | weld.Parent=parent |
| 605 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993)) |
| 606 | - | weld.Part0=part0 |
| 606 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.589828491, 0.808547974, -0.0999956131, -3.90798369e-014, 8.06646416e-017, -0.999997854, -0.999997914, -6.36497934e-005, 3.90798369e-014, -6.36795739e-005, 1.00000012, 3.58011901e-015)) |
| 607 | - | weld.Part1=part1 |
| 607 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
|
| 608 | - | weld.C0=c0 |
| 608 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024)) |
| 609 | - | weld.C1=c1 |
| 609 | + | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, -0.399998188, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0)) |
| 610 | - | return weld |
| 610 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 611 | - | end |
| 611 | + | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.200000003, 0.200000003, 1.4000001)) |
| 612 | handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-005, -1.10011411, -1.52587891e-005, 0.999999404, -4.47034765e-008, 0, -4.47034836e-008, -0.999999285, 0, 0, 0, -1)) | |
| 613 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=74322546",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5))
| |
| 614 | - | Orb2=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Handle",Vector3.new(0.887265563, 0.887265563, 0.887265563)) |
| 614 | + | local Decal1 = Instance.new("Decal",FlagLogo)
|
| 615 | - | Orb2weld=weld(m,Character["Left Arm"],Orb2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.502059937, 0.355368137, 1.71773267, -0.44424206, 0.232894972, -0.865106404, 0.628215313, 0.769424856, -0.115459129, 0.638744593, -0.594764709, -0.488119096)) |
| 615 | + | Decal1.Texture = "http://www.roblox.com/asset/?id=201788175" |
| 616 | - | mesh("SpecialMesh",Orb2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.890794039, 0.890788555, 0.890788138))
|
| 616 | + | Decal1.Face = "Front" |
| 617 | - | Orb=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0.5,"Institutional white","Orb",Vector3.new(1.2214824, 1.2214824, 1.2214824)) |
| 617 | + | local Decal2 = Instance.new("Decal",FlagLogo)
|
| 618 | - | Orb.Shape = "Ball" |
| 618 | + | Decal2.Texture = "http://www.roblox.com/asset/?id=201788175" |
| 619 | Decal2.Face = "Back" | |
| 620 | - | Player=game:GetService('Players').LocalPlayer
|
| 620 | + | Humanoid.WalkSpeed = 70 |
| 621 | - | Character=Player.Character |
| 621 | + | |
| 622 | - | Mouse=Player:GetMouse() |
| 622 | + | function ALLAHUAKBAR() |
| 623 | - | m=Instance.new('Model',Character)
|
| 623 | + | attack = true |
| 624 | local speak = {"FOR ALLAH"}
| |
| 625 | local colors = {"Red","Red","Red"} -- The only 3 colors, adding more will error.
| |
| 626 | - | local function weldBetween(a, b) |
| 626 | + | local chat = game:GetService("Chat")
|
| 627 | - | local weldd = Instance.new("ManualWeld")
|
| 627 | + | chat:Chat(Head,speak[math.random(1,#speak)], colors[math.random(1,3)] ) |
| 628 | - | weldd.Part0 = a |
| 628 | + | for i = 0,1,0.05 do |
| 629 | - | weldd.Part1 = b |
| 629 | + | swait() |
| 630 | - | weldd.C0 = CFrame.new() |
| 630 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3) |
| 631 | - | weldd.C1 = b.CFrame:inverse() * a.CFrame |
| 631 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3) |
| 632 | - | weldd.Parent = a |
| 632 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3) |
| 633 | - | return weldd |
| 633 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) |
| 634 | - | end |
| 634 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 635 | - | |
| 635 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 636 | - | it=Instance.new |
| 636 | + | |
| 637 | - | |
| 637 | + | for i = 0,1,0.05 do |
| 638 | - | function nooutline(part) |
| 638 | + | swait() |
| 639 | - | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 639 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3) |
| 640 | - | end |
| 640 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3) |
| 641 | - | |
| 641 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(50)), 0.3) |
| 642 | - | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
| 642 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) |
| 643 | - | local fp=it("Part")
|
| 643 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 644 | - | fp.formFactor=formfactor |
| 644 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 645 | - | fp.Parent=parent |
| 645 | + | |
| 646 | - | fp.Reflectance=reflectance |
| 646 | + | for i = 1,20 do |
| 647 | - | fp.Transparency=transparency |
| 647 | + | --so("http://roblox.com/asset/?id=197815953",workspace,1,1)
|
| 648 | - | fp.CanCollide=false |
| 648 | + | so("rbxassetid://134854740",Torso,1,1.3)
|
| 649 | - | fp.Locked=true |
| 649 | + | so("rbxassetid://324445205",workspace,1,1)
|
| 650 | - | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 650 | + | so("rbxassetid://137994058",Torso,1,1)
|
| 651 | - | fp.Name=name |
| 651 | + | so("rbxassetid://165969964",Torso,1,1)
|
| 652 | - | fp.Size=size |
| 652 | + | local S = Instance.new("Explosion",workspace)
|
| 653 | - | fp.Position=Character.Torso.Position |
| 653 | + | S.Position = Torso.Position |
| 654 | - | nooutline(fp) |
| 654 | + | S.BlastPressure = 50 |
| 655 | - | fp.Material=material |
| 655 | + | S.BlastRadius = 50000000000000000000000000000 |
| 656 | - | fp:BreakJoints() |
| 656 | + | S.ExplosionType = 1 |
| 657 | - | return fp |
| 657 | + | |
| 658 | - | end |
| 658 | + | attack = false |
| 659 | - | |
| 659 | + | |
| 660 | - | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 660 | + | |
| 661 | - | local mesh=it(Mesh) |
| 661 | + | mouse.Button1Down:connect(function() |
| 662 | - | mesh.Parent=part |
| 662 | + | ALLAHUAKBAR() |
| 663 | - | if Mesh=="SpecialMesh" then |
| 663 | + | |
| 664 | - | mesh.MeshType=meshtype |
| 664 | + | |
| 665 | - | mesh.MeshId=meshid |
| 665 | + | mouse.KeyDown:connect(function(k) |
| 666 | - | end |
| 666 | + | k=k:lower() |
| 667 | - | mesh.Offset=offset |
| 667 | + | |
| 668 | - | mesh.Scale=scale |
| 668 | + | |
| 669 | - | return mesh |
| 669 | + | |
| 670 | - | end |
| 670 | + | |
| 671 | - | |
| 671 | + | |
| 672 | - | function weld(parent,part0,part1,c0,c1) |
| 672 | + | |
| 673 | - | local weld=it("Weld")
|
| 673 | + | |
| 674 | - | weld.Parent=parent |
| 674 | + | |
| 675 | - | weld.Part0=part0 |
| 675 | + | while true do |
| 676 | - | weld.Part1=part1 |
| 676 | + | swait() |
| 677 | - | weld.C0=c0 |
| 677 | + | |
| 678 | - | weld.C1=c1 |
| 678 | + | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude |
| 679 | - | return weld |
| 679 | + | local velderp=RootPart.Velocity.y |
| 680 | - | end |
| 680 | + | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) |
| 681 | if equipped==true or equipped==false then | |
| 682 | - | Orb3=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Really black","Handle",Vector3.new(0.887265563, 0.887265563, 0.887265563)) |
| 682 | + | if attack==false then |
| 683 | - | Orb3weld=weld(m,Character["Right Arm"],Orb3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0678920746, -0.688210368, 1.24336052, -0.703631341, 0.00967200287, 0.710499585, -0.236187309, 0.939869761, -0.246698543, -0.670163155, -0.341395736, -0.659037471)) |
| 683 | + | idle=idle+1 |
| 684 | - | mesh("SpecialMesh",Orb3,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.890794039, 0.890788555, 0.890788138))
|
| 684 | + | |
| 685 | - | Orb=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0.5,"Really black","Orb",Vector3.new(1.2214824, 1.2214824, 1.2214824)) |
| 685 | + | idle=0 |
| 686 | - | Orbweld=weld(m,Orb3,Orb,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000012, 1.49011612e-008, 0, 1.49011612e-008, 1, 0, 0, 0, 1)) |
| 686 | + | |
| 687 | - | mesh("SpecialMesh",Orb,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.890794039, 0.890788555, 0.890788138))
|
| 687 | + | if idle>=500 then |
| 688 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 688 | + | if attack==false then |
| 689 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143494606, -1.25856304, 0.329597473, 1.00000012, 1.49011612e-008, 0, 0, 0.923942626, -0.382531196, 0, 0.382531166, 0.923942626)) |
| 689 | + | --Sheath() |
| 690 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962539, 0.615454078, 0.793611169))
|
| 690 | + | |
| 691 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 691 | + | |
| 692 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143055916, -0.777040958, -1.45310402, 1.00000012, 1.49011612e-008, 0, 0, 0.923905969, -0.382619679, 2.98023224e-008, 0.382619619, 0.923905969)) |
| 692 | + | if RootPart.Velocity.y > 1 and hitfloor==nil then |
| 693 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.145765424, 0.372511417))
|
| 693 | + | Anim="Jump" |
| 694 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 1.29332566)) |
| 694 | + | if attack==false then |
| 695 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143642426, 1.01071525, 0.32174015, 1.00000012, 1.49011612e-008, 0, 1.86264515e-009, 0.923876107, -0.382691681, 0, 0.382691681, 0.923876166)) |
| 695 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 696 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.16196157, 1))
|
| 696 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3) |
| 697 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 697 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3) |
| 698 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.014380455, -0.705107212, -0.73434639, 1.00000012, 1.49011612e-008, 0, 1.86264515e-009, 0.923850656, -0.382753313, 0, 0.382753313, 0.923850656)) |
| 698 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) |
| 699 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.307727039, 0.3077268))
|
| 699 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) |
| 700 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 700 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) |
| 701 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0144486427, -0.138548374, 1.73012638, 1.00000012, 1.49011612e-008, 0, 1.86264515e-009, 0.923772991, -0.38294062, 0, 0.38294059, 0.92377305)) |
| 701 | + | |
| 702 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962539, 0.453492314, 0.583061278))
|
| 702 | + | elseif RootPart.Velocity.y < -1 and hitfloor==nil then |
| 703 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 703 | + | Anim="Fall" |
| 704 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.01440382, -0.769747734, 0.573980331, 1.00000012, 1.49011612e-008, 0, 1.86264515e-009, 0.923933685, -0.382552862, -2.98023224e-008, 0.382552892, 0.923933744)) |
| 704 | + | if attack==false then |
| 705 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.16196157, 0.242942229))
|
| 705 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3) |
| 706 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 706 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) |
| 707 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0144219398, -0.733915329, 0.825391769, 1.00000012, 1.49011612e-008, 0, 0, 0.92392379, -0.382576406, 0, 0.382576406, 0.92392385)) |
| 707 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3) |
| 708 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.242942333, 0.323922902))
|
| 708 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3) |
| 709 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 709 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) |
| 710 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.014424324, -1.38064384, -0.353040695, 1.00000012, 1.49011612e-008, 0, 1.86264515e-009, 0.923933685, -0.382552862, -2.98023224e-008, 0.382552892, 0.923933744)) |
| 710 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) |
| 711 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.890788734, 0.745022833))
|
| 711 | + | |
| 712 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 712 | + | elseif torvel<1 and hitfloor~=nil then |
| 713 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143566132, -1.12842798, -0.970887184, 1.00000012, 1.49011612e-008, 0, -1.86264515e-009, 0.923998177, -0.382396936, -2.98023224e-008, 0.382396907, 0.923998117)) |
| 713 | + | Anim="Idle" |
| 714 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.3239232, 0.323922902))
|
| 714 | + | if attack==false then |
| 715 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 1.25021493)) |
| 715 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(10)),.3) |
| 716 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0144233704, 1.14006543, 2.09680176, 1.00000012, 1.49011612e-008, 0, -1.86264515e-009, 0.923719823, -0.383068979, 5.96046448e-008, 0.383068949, 0.923719764)) |
| 716 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-10)),.3) |
| 717 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962539, 0.906984746, 1))
|
| 717 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3) |
| 718 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 718 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) |
| 719 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0144305229, -0.583024979, -1.07998466, 1.00000012, 1.49011612e-008, 0, 0, 0.923861682, -0.382726401, -2.98023224e-008, 0.382726401, 0.923861742)) |
| 719 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 720 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.583061755, 0.469688207))
|
| 720 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 721 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 721 | + | |
| 722 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0144481659, 0.825361252, 0.8253479, 1.00000012, 1.49011612e-008, 0, 0, 0.923942626, -0.382531196, 0, 0.382531166, 0.923942626)) |
| 722 | + | elseif torvel>2 and hitfloor~=nil then |
| 723 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962539, 0.259138525, 0.323922902))
|
| 723 | + | Anim="Walk" |
| 724 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 724 | + | if attack==false then |
| 725 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143418312, 0.86701417, 0.573102951, 1.00000012, 1.49011612e-008, 0, 3.7252903e-009, 0.923902094, -0.382628798, -2.98023224e-008, 0.382628769, 0.923902154)) |
| 725 | + | change=3 |
| 726 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.16196157, 0.242942229))
|
| 726 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3) |
| 727 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 727 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3) |
| 728 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0144238472, 0.400093079, 1.79470062, 1.00000012, 1.49011612e-008, 0, 1.86264515e-009, 0.923721433, -0.383065045, 2.98023224e-008, 0.383065045, 0.923721433)) |
| 728 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50*math.cos(sine/20)), math.rad(0), math.rad(10)), 0.3) |
| 729 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962539, 0.761219323, 0.728826642))
|
| 729 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50*math.cos(sine/20)), math.rad(0), math.rad(-10)), 0.3) |
| 730 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 2.58665133)) |
| 730 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 731 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143995285, -0.913483143, -0.324422836, 1.00000012, 1.49011612e-008, 0, 1.86264515e-009, 0.923933685, -0.382552862, -2.98023224e-008, 0.382552892, 0.923933744)) |
| 731 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 732 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.16196157, 1))
|
| 732 | + | |
| 733 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 733 | + | |
| 734 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143547058, -0.541141033, 1.62947273, 1.00000012, 1.49011612e-008, 0, -1.86264515e-009, 0.923827887, -0.382808328, -5.96046448e-008, 0.382808298, 0.923827887)) |
| 734 | + | |
| 735 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962539, 0.453492463, 0.356315255))
|
| 735 | + | if #Effects>0 then |
| 736 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 2.06932139, 0.887265563)) |
| 736 | + | --table.insert(Effects,{prt,"Block1",delay})
|
| 737 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0144166946, 0.0481677055, 1.21985817, 1.00000012, 1.49011612e-008, 0, -1.86264515e-009, 0.923881888, -0.382678002, 0, 0.382677972, 0.923881888)) |
| 737 | + | for e=1,#Effects do |
| 738 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 1, 0.566865087))
|
| 738 | + | if Effects[e]~=nil then |
| 739 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 739 | + | --for j=1,#Effects[e] do |
| 740 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143070221, -1.2364192, -0.755374908, 1.00000012, 1.49011612e-008, 0, 1.86264515e-009, 0.923951864, -0.382508934, 2.98023224e-008, 0.382508904, 0.923951805)) |
| 740 | + | local Thing=Effects[e] |
| 741 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.566865504, 0.161961451))
|
| 741 | + | if Thing~=nil then |
| 742 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 742 | + | local Part=Thing[1] |
| 743 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143699646, -0.769845009, -0.475525856, 1.00000012, 1.49011612e-008, 0, 1.86264515e-009, 0.923891902, -0.382653743, -2.98023224e-008, 0.382653683, 0.923891902)) |
| 743 | + | local Mode=Thing[2] |
| 744 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.16196157, 0.275334477))
|
| 744 | + | local Delay=Thing[3] |
| 745 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 1.33643687, 0.887265563)) |
| 745 | + | local IncX=Thing[4] |
| 746 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143666267, 0.0422482491, 0.896986008, 1.00000012, 1.49011612e-008, 0, 0, 0.923899233, -0.38263604, 0, 0.382636011, 0.923899233)) |
| 746 | + | local IncY=Thing[5] |
| 747 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 1, 0.161961451))
|
| 747 | + | local IncZ=Thing[6] |
| 748 | - | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Part",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 748 | + | if Thing[1].Transparency<=1 then |
| 749 | - | Partweld=weld(m,Orb3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143237114, 1.7868042, 2.95180702, 1.00000012, 1.49011612e-008, 0, -1.86264515e-009, 0.923719823, -0.383068979, 5.96046448e-008, 0.383068949, 0.923719764)) |
| 749 | + | if Thing[2]=="Block1" then |
| 750 | - | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.550669432, 0.842199624))
|
| 750 | + | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
| 751 | - | Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Wedge",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 751 | + | Mesh=Thing[1].Mesh |
| 752 | - | Wedgeweld=weld(m,Orb3,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143613815, -0.970600128, 1.38010454, 1.00000012, 1.49011612e-008, 0, 0, 0.382407755, 0.923993766, 1.86264515e-009, -0.923993766, 0.382407755)) |
| 752 | + | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) |
| 753 | - | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.3239232, 0.242942229))
|
| 753 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
| 754 | - | Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Wedge",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 754 | + | elseif Thing[2]=="Cylinder" then |
| 755 | - | Wedgeweld=weld(m,Orb3,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0143671036, 0.867209196, -0.314229965, -1.00000012, -1.49011612e-008, 0, 0, 0.923979223, -0.382442802, 0, -0.382442772, -0.923979282)) |
| 755 | + | Mesh=Thing[1].Mesh |
| 756 | - | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.16196163, 0.340119064))
|
| 756 | + | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) |
| 757 | - | Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Wedge",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 757 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
| 758 | - | Wedgeweld=weld(m,Orb3,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143041611, 0.76987648, -0.315297127, 1.00000012, 1.49011612e-008, 0, -1.86264515e-009, -0.923951864, 0.382508934, -2.98023224e-008, -0.382508904, -0.923951805)) |
| 758 | + | elseif Thing[2]=="Blood" then |
| 759 | - | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.16196157, 0.340119064))
|
| 759 | + | Mesh=Thing[7] |
| 760 | - | Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Wedge",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 760 | + | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) |
| 761 | - | Wedgeweld=weld(m,Orb3,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0141844749, -0.540944099, 1.8880825, 1.00000012, 1.49011612e-008, 0, 0, 0.923842251, -0.382773578, 0, 0.382773548, 0.923842311)) |
| 761 | + | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) |
| 762 | - | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.453492463, 0.226746053))
|
| 762 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
| 763 | - | Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Wedge",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 763 | + | elseif Thing[2]=="Elec" then |
| 764 | - | Wedgeweld=weld(m,Orb3,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0142354965, 0.769865513, -0.0939617157, -1.00000012, -1.49011612e-008, 0, 1.86264515e-009, -0.923998177, 0.382396936, -2.98023224e-008, 0.382396907, 0.923998117)) |
| 764 | + | Mesh=Thing[1].Mesh |
| 765 | - | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.16196157, 0.583061278))
|
| 765 | + | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) |
| 766 | - | Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Wedge",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 766 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
| 767 | - | Wedgeweld=weld(m,Orb3,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143609047, -1.25842857, 1.07650948, 1.00000012, 1.49011612e-008, 0, 1.86264515e-009, 0.923933685, -0.382552862, -2.98023224e-008, 0.382552892, 0.923933744)) |
| 767 | + | elseif Thing[2]=="Disappear" then |
| 768 | - | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.615454078, 0.890788138))
|
| 768 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
| 769 | - | Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Wedge",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 769 | + | |
| 770 | - | Wedgeweld=weld(m,Orb3,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0143790245, -1.65408182, 0.329648972, 1, -9.68575478e-007, -2.71201134e-006, -1.24797225e-007, 0.923948586, -0.382516891, 2.86102295e-006, 0.382516801, 0.923948526)) |
| 770 | + | |
| 771 | - | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.161962584, 0.275334716, 0.793611169))
|
| 771 | + | Part.Parent=nil |
| 772 | - | Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Wedge",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 772 | + | table.remove(Effects,e) |
| 773 | - | Wedgeweld=weld(m,Orb3,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0144429207, 0.633457184, -0.475393295, -1.00000012, -1.49011612e-008, 0, 0, -0.923926353, 0.382570535, 0, 0.382570565, 0.923926353)) |
| 773 | + | |
| 774 | - | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.161962539, 0.145765424, 0.275334477))
|
| 774 | + | |
| 775 | - | Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Wedge",Vector3.new(0.887265563, 0.887265265, 0.887265563)) |
| 775 | + | --end |
| 776 | - | Wedgeweld=weld(m,Orb3,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0142507553, 0.446650028, -0.734584808, -1.00000012, -1.49011612e-008, 0, 0, -0.923942626, 0.382531196, 0, 0.382531166, 0.923942626)) |
| 776 | + | |
| 777 | - | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.161962539, 0.275334716, 0.3077268))
|
| 777 | + | |
| 778 | - | Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"Really black","Wedge",Vector3.new(0.887265563, 1.79628587, 0.887265563)) |
| 778 | + | |
| 779 | - | Wedgeweld=weld(m,Orb3,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0143270493, 0.57338047, 1.31251836, -1.00000012, -1.49011612e-008, 0, 2.98023224e-008, 0.383064389, 0.92372179, 0, 0.923721671, -0.383064389)) |
| 779 | + |