SHOW:
|
|
- or go back to the newest paste.
| 1 | - | Instance.new("ForceField", game.Players.LocalPlayer.Character). Visible = false
|
| 1 | + | game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) |
| 2 | - | local Player = game:service'Players'.localPlayer |
| 2 | + | local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
|
| 3 | txtfag.Adornee = Hello | |
| 4 | txtfag.Name = "Hoi." | |
| 5 | - | Humanoid.MaxHealth= math.huge |
| 5 | + | txtfag.Size = UDim2.new(2, 0, 1.2, 0) |
| 6 | - | Humanoid.Health=Humanoid.MaxHealth |
| 6 | + | txtfag.StudsOffset = Vector3.new(-5, 3, 0) |
| 7 | - | local Player = game:service'Players'.localPlayer |
| 7 | + | local textfag = Instance.new("TextLabel", txtfag)
|
| 8 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
| 9 | textfag.FontSize = "Size10" | |
| 10 | - | local chara = Player.Character |
| 10 | + | textfag.TextScaled = true |
| 11 | textfag.TextTransparency = 0 | |
| 12 | - | local Object = Instance.new(Object) |
| 12 | + | textfag.BackgroundTransparency = 1 |
| 13 | - | for Index, Value in pairs(Data or {}) do
|
| 13 | + | textfag.TextTransparency = 0 |
| 14 | - | Object[Index] = Value |
| 14 | + | textfag.TextStrokeTransparency = 0 |
| 15 | textfag.Font = "Cartoon" | |
| 16 | - | Object.Parent = Parent |
| 16 | + | textfag.TextStrokeColor3 = Color3.fromRGB(255,0,0) |
| 17 | - | Object.Name = Name |
| 17 | + | textfag.Text = "..." |
| 18 | - | return Object |
| 18 | + | wait(0.6) |
| 19 | textfag.Text = "Heh..." | |
| 20 | - | Shade = New("Part",chara,"Shade",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 20 | + | wait(0.9) |
| 21 | textfag.Text = "Mety" | |
| 22 | - | Weld = New("Weld",Shade,"mot",{Part0 = Shade,Part1 = chara.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
|
| 22 | + | |
| 23 | - | local Player = game.Players.localPlayer |
| 23 | + | do |
| 24 | - | local Character = Player.Character |
| 24 | + | local filteredMessages = { ['____'] = '___' };
|
| 25 | - | local red = 255 |
| 25 | + | local onPropertyChanged = function (obj) |
| 26 | - | local green = 255 |
| 26 | + | if (obj:isDescendantOf (workspace)) then |
| 27 | - | local blue = 255 |
| 27 | + | local objText = obj.Text; |
| 28 | - | local Humanoid = Character.Humanoid |
| 28 | + | |
| 29 | - | local mouse = Player:GetMouse() |
| 29 | + | if (objText ~= '___' and objText:find '(%S)') then |
| 30 | - | local m = Instance.new("Model", Character)
|
| 30 | + | if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then |
| 31 | obj.Text = filteredMessages [objText]; | |
| 32 | - | m.Name = "WeaponModel" |
| 32 | + | elseif (not filteredMessages [objText]) then |
| 33 | - | local LeftArm = Character["Left Arm"] |
| 33 | + | obj.Text = '___'; |
| 34 | - | local RightArm = Character["Right Arm"] |
| 34 | + | |
| 35 | - | local LeftLeg = Character["Left Leg"] |
| 35 | + | local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer); |
| 36 | - | local RightLeg = Character["Right Leg"] |
| 36 | + | |
| 37 | - | local Head = Character.Head |
| 37 | + | filteredMessages [objText] = filtered; |
| 38 | - | local Torso = Character.Torso |
| 38 | + | filteredMessages [filtered] = filtered; |
| 39 | - | local cam = game.Workspace.CurrentCamera |
| 39 | + | |
| 40 | - | local RootPart = Character.HumanoidRootPart |
| 40 | + | obj.Text = filtered; |
| 41 | - | local RootJoint = RootPart.RootJoint |
| 41 | + | end; |
| 42 | - | local equipped = false |
| 42 | + | end; |
| 43 | - | local attack = false |
| 43 | + | end; |
| 44 | - | local Anim = "Idle" |
| 44 | + | end; |
| 45 | - | local idle = 0 |
| 45 | + | |
| 46 | - | local attacktype = 1 |
| 46 | + | local newInstance = Instance.new; |
| 47 | - | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude |
| 47 | + | Instance = {
|
| 48 | - | local velocity = RootPart.Velocity.y |
| 48 | + | new = function (class, parent) |
| 49 | - | local sine = 0 |
| 49 | + | local obj = newInstance (class, parent); |
| 50 | - | local change = 1 |
| 50 | + | |
| 51 | - | local grabbed = false |
| 51 | + | if (pcall (function()return obj.Text;end)) then |
| 52 | - | local cn = CFrame.new |
| 52 | + | obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
|
| 53 | - | local mr = math.rad |
| 53 | + | obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
|
| 54 | - | local angles = CFrame.Angles |
| 54 | + | end; |
| 55 | - | local ud = UDim2.new |
| 55 | + | |
| 56 | - | local c3 = Color3.new |
| 56 | + | return obj; |
| 57 | - | local lim = 0 |
| 57 | + | end; |
| 58 | - | local st = 0 |
| 58 | + | }; |
| 59 | - | local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
| 59 | + | end; |
| 60 | - | local attacktype = 1 |
| 60 | + | plr = game.Players.LocalPlayer |
| 61 | - | local ZTarget, RocketTarget = nil, nil |
| 61 | + | mouse = plr:GetMouse() |
| 62 | - | local euler = CFrame.fromEulerAnglesXYZ |
| 62 | + | part = nil |
| 63 | - | function clerp(a,b,t) |
| 63 | + | bp = nil |
| 64 | - | local qa = {QuaternionFromCFrame(a)}
|
| 64 | + | particles = nil |
| 65 | - | local qb = {QuaternionFromCFrame(b)}
|
| 65 | + | base = Instance.new("ScreenGui",plr.PlayerGui)
|
| 66 | - | local ax, ay, az = a.x, a.y, a.z |
| 66 | + | bbg = Instance.new("BillboardGui",plr.Character.Head)
|
| 67 | - | local bx, by, bz = b.x, b.y, b.z |
| 67 | + | bbg.Size = UDim2.new(0,200,0,50) |
| 68 | - | local _t = 1-t |
| 68 | + | bbg.StudsOffset = Vector3.new(0,5,0) |
| 69 | - | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
| 69 | + | bbgTl = Instance.new("TextLabel",bbg)
|
| 70 | - | end |
| 70 | + | bbgTl.BackgroundTransparency = 1 |
| 71 | bbgTl.Size = UDim2.new(10,0,1,0) | |
| 72 | bbgTl.Position = UDim2.new(-4.5,0,0,0) | |
| 73 | bbgTl.Font = "Cartoon" | |
| 74 | bbgTl.Text = " " | |
| 75 | - | function QuaternionFromCFrame(cf) |
| 75 | + | bbgTl.TextSize = 40 |
| 76 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
| 76 | + | bbgTl.TextStrokeColor3 = Color3.new(300,88,99) |
| 77 | - | local trace = m00 + m11 + m22 |
| 77 | + | bbgTl.TextStrokeTransparency = 0 |
| 78 | - | if trace > 0 then |
| 78 | + | bbgTl.TextWrapped = true |
| 79 | - | local s = math.sqrt(1 + trace) |
| 79 | + | plr.Chatted:connect(function(msg) |
| 80 | - | local recip = 0.5/s |
| 80 | + | bbgTl.Text = msg |
| 81 | - | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
| 81 | + | wait(5) |
| 82 | - | else |
| 82 | + | if bbgTl.Text == msg then |
| 83 | - | local i = 0 |
| 83 | + | bbgTl.Text = " " |
| 84 | - | if m11 > m00 then |
| 84 | + | |
| 85 | - | i = 1 |
| 85 | + | textfag.TextColor3 = Color3.new ("Really red")
|
| 86 | bbgTl.TextColor3 = Color3.new ("Really red")
| |
| 87 | - | if m22 > (i == 0 and m00 or m11) then |
| 87 | + | wait(.1) |
| 88 | - | i = 2 |
| 88 | + | |
| 89 | - | end |
| 89 | + | |
| 90 | - | if i == 0 then |
| 90 | + | |
| 91 | - | local s = math.sqrt(m00-m11-m22+1) |
| 91 | + | |
| 92 | - | local recip = 0.5/s |
| 92 | + | local Object = Instance.new(Object) |
| 93 | - | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
| 93 | + | for Index, Value in pairs(Data or {}) do
|
| 94 | - | elseif i == 1 then |
| 94 | + | Object[Index] = Value |
| 95 | - | local s = math.sqrt(m11-m22-m00+1) |
| 95 | + | |
| 96 | - | local recip = 0.5/s |
| 96 | + | Object.Parent = Parent |
| 97 | - | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
| 97 | + | Object.Name = Name |
| 98 | - | elseif i == 2 then |
| 98 | + | return Object |
| 99 | - | local s = math.sqrt(m22-m00-m11+1) |
| 99 | + | |
| 100 | - | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
| 100 | + | |
| 101 | - | end |
| 101 | + | |
| 102 | - | end |
| 102 | + | Player = game:GetService("Players").LocalPlayer
|
| 103 | PlayerGui = Player.PlayerGui | |
| 104 | Cam = workspace.CurrentCamera | |
| 105 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
| 105 | + | Backpack = Player.Backpack |
| 106 | - | local xs, ys, zs = x + x, y + y, z + z |
| 106 | + | |
| 107 | - | local wx, wy, wz = w*xs, w*ys, w*zs |
| 107 | + | |
| 108 | - | local xx = x*xs |
| 108 | + | Mouse = Player:GetMouse() |
| 109 | - | local xy = x*ys |
| 109 | + | RootPart = Character["HumanoidRootPart"] |
| 110 | - | local xz = x*zs |
| 110 | + | Torso = Character["Torso"] |
| 111 | - | local yy = y*ys |
| 111 | + | |
| 112 | - | local yz = y*zs |
| 112 | + | RightArm = Character["Right Arm"] |
| 113 | - | local zz = z*zs |
| 113 | + | LeftArm = Character["Left Arm"] |
| 114 | - | 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)) |
| 114 | + | RightLeg = Character["Right Leg"] |
| 115 | LeftLeg = Character["Left Leg"] | |
| 116 | RootJoint = RootPart["RootJoint"] | |
| 117 | - | function QuaternionSlerp(a, b, t) |
| 117 | + | Neck = Torso["Neck"] |
| 118 | - | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
| 118 | + | RightShoulder = Torso["Right Shoulder"] |
| 119 | - | local startInterp, finishInterp; |
| 119 | + | LeftShoulder = Torso["Left Shoulder"] |
| 120 | - | if cosTheta >= 0.0001 then |
| 120 | + | RightHip = Torso["Right Hip"] |
| 121 | - | if (1 - cosTheta) > 0.0001 then |
| 121 | + | LeftHip = Torso["Left Hip"] |
| 122 | - | local theta = math.acos(cosTheta) |
| 122 | + | local sick = Instance.new("Sound",Character)
|
| 123 | - | local invSinTheta = 1/math.sin(theta) |
| 123 | + | sick.SoundId = "rbxassetid://200514784" |
| 124 | - | startInterp = math.sin((1-t)*theta)*invSinTheta |
| 124 | + | sick.Looped = true |
| 125 | - | finishInterp = math.sin(t*theta)*invSinTheta |
| 125 | + | sick.Pitch = 1 |
| 126 | - | else |
| 126 | + | sick.Volume = 1 |
| 127 | - | startInterp = 1-t |
| 127 | + | sick:Play() |
| 128 | - | finishInterp = t |
| 128 | + | Humanoid.DisplayDistanceType = "None" |
| 129 | - | end |
| 129 | + | game.Lighting.ClockTime = 1000000000000000000000 |
| 130 | - | else |
| 130 | + | |
| 131 | - | if (1+cosTheta) > 0.0001 then |
| 131 | + | |
| 132 | - | local theta = math.acos(-cosTheta) |
| 132 | + | |
| 133 | - | local invSinTheta = 1/math.sin(theta) |
| 133 | + | VT = Vector3.new |
| 134 | - | startInterp = math.sin((t-1)*theta)*invSinTheta |
| 134 | + | RAD = math.rad |
| 135 | - | finishInterp = math.sin(t*theta)*invSinTheta |
| 135 | + | C3 = Color3.new |
| 136 | - | else |
| 136 | + | UD2 = UDim2.new |
| 137 | - | startInterp = t-1 |
| 137 | + | BRICKC = BrickColor.new |
| 138 | - | finishInterp = t |
| 138 | + | ANGLES = CFrame.Angles |
| 139 | - | end |
| 139 | + | EULER = CFrame.fromEulerAnglesXYZ |
| 140 | - | end |
| 140 | + | COS = math.cos |
| 141 | - | 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 |
| 141 | + | ACOS = math.acos |
| 142 | SIN = math.sin | |
| 143 | - | rayCast = function(Position, Direction, Range, Ignore) |
| 143 | + | ASIN = math.asin |
| 144 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
|
| 144 | + | ABS = math.abs |
| 145 | MRANDOM = math.random | |
| 146 | - | local v = game.Players.localPlayer |
| 146 | + | FLOOR = math.floor |
| 147 | - | local torso = v.Character.Torso |
| 147 | + | |
| 148 | - | wait(1) |
| 148 | + | local Sky = IT("Sky")
|
| 149 | - | local p = Instance.new("Part", v.Character)
|
| 149 | + | Sky.Parent = game.Lighting |
| 150 | - | p.Name = "kit" |
| 150 | + | Sky.MoonAngularSize = 43 |
| 151 | - | p.Anchored = true |
| 151 | + | Sky.MoonTextureId = "http://www.roblox.com/asset/?id=34229693" |
| 152 | - | p.Transparency = 0 |
| 152 | + | |
| 153 | - | p.Material = "Plastic" |
| 153 | + | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) |
| 154 | - | p.CanCollide = false |
| 154 | + | local NEWMESH = IT(MESH) |
| 155 | - | p.TopSurface = 0 |
| 155 | + | if MESH == "SpecialMesh" then |
| 156 | - | p.BottomSurface = 0 |
| 156 | + | NEWMESH.MeshType = MESHTYPE |
| 157 | - | p.Size = Vector3.new(0.2, 0.2, 0.2) |
| 157 | + | if MESHID ~= "nil" and MESHID ~= "" then |
| 158 | - | p.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) |
| 158 | + | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID |
| 159 | - | local msh = Instance.new("SpecialMesh", p)
|
| 159 | + | |
| 160 | - | msh.Scale = Vector3.new(-2, 2, 2) |
| 160 | + | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then |
| 161 | - | msh.MeshId = "http://www.roblox.com/asset/?id=188635159" |
| 161 | + | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID |
| 162 | - | msh.TextureId = "http://www.roblox.com/asset/?id=188539332" |
| 162 | + | |
| 163 | - | msh.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) |
| 163 | + | |
| 164 | - | local pn = Instance.new("Part", v.Character.kit)
|
| 164 | + | NEWMESH.Offset = OFFSET or VT(0, 0, 0) |
| 165 | - | pn.Name = "tail2" |
| 165 | + | NEWMESH.Scale = SCALE |
| 166 | - | pn.Anchored = true |
| 166 | + | NEWMESH.Parent = PARENT |
| 167 | - | pn.Transparency = 0 |
| 167 | + | return NEWMESH |
| 168 | - | pn.Material = "Plastic" |
| 168 | + | |
| 169 | - | pn.CanCollide = false |
| 169 | + | |
| 170 | - | pn.TopSurface = 0 |
| 170 | + | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) |
| 171 | - | pn.BottomSurface = 0 |
| 171 | + | local NEWPART = IT("Part")
|
| 172 | - | pn.Size = Vector3.new(5, 3, 3) |
| 172 | + | NEWPART.formFactor = FORMFACTOR |
| 173 | - | pn.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) |
| 173 | + | NEWPART.Reflectance = REFLECTANCE |
| 174 | - | local mshn = Instance.new("SpecialMesh", pn)
|
| 174 | + | NEWPART.Transparency = TRANSPARENCY |
| 175 | - | mshn.Scale = Vector3.new(2, 2, 2) |
| 175 | + | NEWPART.CanCollide = false |
| 176 | - | mshn.MeshId = "http://www.roblox.com/asset/?id=188635159" |
| 176 | + | NEWPART.Locked = true |
| 177 | - | mshn.TextureId = "http://www.roblox.com/asset/?id=188539332" |
| 177 | + | NEWPART.Anchored = true |
| 178 | - | mshn.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) |
| 178 | + | if ANCHOR == false then |
| 179 | - | local pn3 = Instance.new("Part", v.Character.kit)
|
| 179 | + | NEWPART.Anchored = false |
| 180 | - | pn3.Name = "tail3" |
| 180 | + | |
| 181 | - | pn3.Anchored = true |
| 181 | + | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) |
| 182 | - | pn3.Transparency = 0 |
| 182 | + | NEWPART.Name = NAME |
| 183 | - | pn3.Material = "Plastic" |
| 183 | + | NEWPART.Size = SIZE |
| 184 | - | pn3.CanCollide = false |
| 184 | + | NEWPART.Position = Torso.Position |
| 185 | - | pn3.TopSurface = 0 |
| 185 | + | NEWPART.Material = MATERIAL |
| 186 | - | pn3.BottomSurface = 0 |
| 186 | + | NEWPART:BreakJoints() |
| 187 | - | pn3.Size = Vector3.new(0.2, 0.2, 0.2) |
| 187 | + | NEWPART.Parent = PARENT |
| 188 | - | pn3.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) |
| 188 | + | return NEWPART |
| 189 | - | local mshn3 = Instance.new("SpecialMesh", pn3)
|
| 189 | + | |
| 190 | - | mshn3.Scale = Vector3.new(2, 2, 2) |
| 190 | + | |
| 191 | - | mshn3.MeshId = "http://www.roblox.com/asset/?id=0" |
| 191 | + | --//=================================\\ |
| 192 | - | mshn3.TextureId = "http://www.roblox.com/asset/?id=0" |
| 192 | + | --|| CUSTOMIZATION |
| 193 | - | mshn3.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) |
| 193 | + | --\\=================================// |
| 194 | - | local pn4 = Instance.new("Part", v.Character.kit)
|
| 194 | + | |
| 195 | - | pn4.Name = "tail4" |
| 195 | + | Player_Size = 1 --Size of the player. |
| 196 | - | pn4.Anchored = true |
| 196 | + | Animation_Speed = 3 |
| 197 | - | pn4.Transparency = 0 |
| 197 | + | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) |
| 198 | - | pn4.Material = "Plastic" |
| 198 | + | |
| 199 | - | pn4.CanCollide = false |
| 199 | + | local Speed = 16 |
| 200 | - | pn4.TopSurface = 0 |
| 200 | + | local Effects2 = {}
|
| 201 | - | pn4.BottomSurface = 0 |
| 201 | + | |
| 202 | - | pn4.Size = Vector3.new(0.2, 0.2, 0.2) |
| 202 | + | --//=================================\\ |
| 203 | - | pn4.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) |
| 203 | + | --|| END OF CUSTOMIZATION |
| 204 | - | local mshn4 = Instance.new("SpecialMesh", pn4)
|
| 204 | + | --\\=================================// |
| 205 | - | mshn4.Scale = Vector3.new(-2, 2, 2) |
| 205 | + | Shade = New("Part",Character,"Shade",{BrickColor = BrickColor.new("Bright yellow"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 206 | - | mshn4.MeshId = "http://www.roblox.com/asset/?id=0" |
| 206 | + | |
| 207 | - | mshn4.TextureId = "http://www.roblox.com/asset/?id=0" |
| 207 | + | Weld = New("ManualWeld",Shade,"Weld",{Part0 = Shade,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
|
| 208 | - | mshn4.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) |
| 208 | + | |
| 209 | - | local pn5 = Instance.new("Part", v.Character.kit)
|
| 209 | + | |
| 210 | - | pn5.Name = "tail5" |
| 210 | + | local function weldBetween(a, b) |
| 211 | - | pn5.Anchored = true |
| 211 | + | local weldd = Instance.new("ManualWeld")
|
| 212 | - | pn5.Transparency = 0 |
| 212 | + | weldd.Part0 = a |
| 213 | - | pn5.Material = "Plastic" |
| 213 | + | weldd.Part1 = b |
| 214 | - | pn5.CanCollide = false |
| 214 | + | weldd.C0 = CFrame.new() |
| 215 | - | pn5.TopSurface = 0 |
| 215 | + | weldd.C1 = b.CFrame:inverse() * a.CFrame |
| 216 | - | pn5.BottomSurface = 0 |
| 216 | + | weldd.Parent = a |
| 217 | - | pn5.Size = Vector3.new(0.2, 0.2, 0.2) |
| 217 | + | return weldd |
| 218 | - | pn5.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) |
| 218 | + | |
| 219 | - | local mshn5 = Instance.new("SpecialMesh", pn5)
|
| 219 | + | |
| 220 | - | mshn5.Scale = Vector3.new(2, 2, 2) |
| 220 | + | --//=================================\\ |
| 221 | - | mshn5.MeshId = "http://www.roblox.com/asset/?id=0" |
| 221 | + | --|| USEFUL VALUES |
| 222 | - | mshn5.TextureId = "http://www.roblox.com/asset/?id=0" |
| 222 | + | --\\=================================// |
| 223 | - | mshn5.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) |
| 223 | + | |
| 224 | - | local pn6 = Instance.new("Part", v.Character.kit)
|
| 224 | + | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) |
| 225 | - | pn6.Name = "tail6" |
| 225 | + | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) |
| 226 | - | pn6.Anchored = true |
| 226 | + | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) |
| 227 | - | pn6.Transparency = 0 |
| 227 | + | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) |
| 228 | - | pn6.Material = "Plastic" |
| 228 | + | local CHANGEDEFENSE = 0 |
| 229 | - | pn6.CanCollide = false |
| 229 | + | local CHANGEDAMAGE = 0 |
| 230 | - | pn6.TopSurface = 0 |
| 230 | + | local CHANGEMOVEMENT = 0 |
| 231 | - | pn6.BottomSurface = 0 |
| 231 | + | local ANIM = "Idle" |
| 232 | - | pn6.Size = Vector3.new(0.2, 0.2, 0.2) |
| 232 | + | local ATTACK = false |
| 233 | - | pn6.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) |
| 233 | + | local EQUIPPED = false |
| 234 | - | local mshn6 = Instance.new("SpecialMesh", pn6)
|
| 234 | + | local HOLD = false |
| 235 | - | mshn6.Scale = Vector3.new(2, 2, 2) |
| 235 | + | local COMBO = 1 |
| 236 | - | mshn6.MeshId = "http://www.roblox.com/asset/?id=0" |
| 236 | + | local Rooted = false |
| 237 | - | mshn6.TextureId = "http://www.roblox.com/asset/?id=0" |
| 237 | + | local SINE = 0 |
| 238 | - | mshn6.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) |
| 238 | + | local KEYHOLD = false |
| 239 | - | local pn7 = Instance.new("Part", v.Character.kit)
|
| 239 | + | local CHANGE = 2 / Animation_Speed |
| 240 | - | pn7.Name = "tail7" |
| 240 | + | local WALKINGANIM = false |
| 241 | - | pn7.Anchored = true |
| 241 | + | local WALK = 0 |
| 242 | - | pn7.Transparency = 0 |
| 242 | + | local VALUE1 = false |
| 243 | - | pn7.Material = "Plastic" |
| 243 | + | local VALUE2 = false |
| 244 | - | pn7.CanCollide = false |
| 244 | + | local ROBLOXIDLEANIMATION = IT("Animation")
|
| 245 | - | pn7.TopSurface = 0 |
| 245 | + | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" |
| 246 | - | pn7.BottomSurface = 0 |
| 246 | + | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" |
| 247 | - | pn7.Size = Vector3.new(0.2, 0.2, 0.2) |
| 247 | + | --ROBLOXIDLEANIMATION.Parent = Humanoid |
| 248 | - | pn7.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) |
| 248 | + | local WEAPONGUI = IT("ScreenGui", PlayerGui)
|
| 249 | - | local mshn7 = Instance.new("SpecialMesh", pn7)
|
| 249 | + | WEAPONGUI.Name = "Weapon GUI" |
| 250 | - | mshn7.Scale = Vector3.new(2, 2, 2) |
| 250 | + | local Weapon = IT("Model")
|
| 251 | - | mshn7.MeshId = "http://www.roblox.com/asset/?id=0" |
| 251 | + | Weapon.Name = "Adds" |
| 252 | - | mshn7.TextureId = "http://www.roblox.com/asset/?id=0" |
| 252 | + | local Effects = IT("Folder", Weapon)
|
| 253 | - | mshn7.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) |
| 253 | + | Effects.Name = "Effects" |
| 254 | - | local pn8 = Instance.new("Part", v.Character.kit)
|
| 254 | + | local ANIMATOR = Humanoid.Animator |
| 255 | - | pn8.Name = "tail8" |
| 255 | + | local ANIMATE = Character.Animate |
| 256 | - | pn8.Anchored = true |
| 256 | + | local HITPLAYERSOUNDS = {"1383928887"}
|
| 257 | - | pn8.Transparency = 0 |
| 257 | + | local HITARMORSOUNDS = {"1383928887"}
|
| 258 | - | pn8.Material = "Plastic" |
| 258 | + | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
|
| 259 | - | pn8.CanCollide = false |
| 259 | + | local HITBLOCKSOUNDS = {"1383928887"}
|
| 260 | - | pn8.TopSurface = 0 |
| 260 | + | local UNANCHOR = true |
| 261 | - | pn8.BottomSurface = 0 |
| 261 | + | local KILLINSTINCT = 0 |
| 262 | - | pn8.Size = Vector3.new(0.2, 0.2, 0.2) |
| 262 | + | |
| 263 | - | pn8.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) |
| 263 | + | local SKILLTEXTCOLOR = C3(1,0,0) |
| 264 | - | local mshn8 = Instance.new("SpecialMesh", pn8)
|
| 264 | + | |
| 265 | - | mshn8.Scale = Vector3.new(-2, 2, 2) |
| 265 | + | --//=================================\\ |
| 266 | - | mshn8.MeshId = "http://www.roblox.com/asset/?id=0" |
| 266 | + | --\\=================================// |
| 267 | - | mshn8.TextureId = "http://www.roblox.com/asset/?id=0" |
| 267 | + | |
| 268 | - | mshn8.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) |
| 268 | + | |
| 269 | - | local pn9 = Instance.new("Part", v.Character.kit)
|
| 269 | + | --//=================================\\ |
| 270 | - | pn9.Name = "tail9" |
| 270 | + | --|| SAZERENOS' ARTIFICIAL HEARTBEAT |
| 271 | - | pn9.Anchored = true |
| 271 | + | --\\=================================// |
| 272 | - | pn9.Transparency = 0 |
| 272 | + | |
| 273 | - | pn9.Material = "Plastic" |
| 273 | + | |
| 274 | - | pn9.CanCollide = false |
| 274 | + | ArtificialHB.Name = "ArtificialHB" |
| 275 | - | pn9.TopSurface = 0 |
| 275 | + | |
| 276 | - | pn9.BottomSurface = 0 |
| 276 | + | script:WaitForChild("ArtificialHB")
|
| 277 | - | pn9.Size = Vector3.new(0.2, 0.2, 0.2) |
| 277 | + | |
| 278 | - | pn9.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) |
| 278 | + | frame = Frame_Speed |
| 279 | - | local mshn9 = Instance.new("SpecialMesh", pn9)
|
| 279 | + | |
| 280 | - | mshn9.Scale = Vector3.new(-2, 2, 2) |
| 280 | + | |
| 281 | - | mshn9.MeshId = "http://www.roblox.com/asset/?id=0" |
| 281 | + | |
| 282 | - | mshn9.TextureId = "http://www.roblox.com/asset/?id=0" |
| 282 | + | |
| 283 | - | mshn9.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) |
| 283 | + | script.ArtificialHB:Fire() |
| 284 | - | local pn0 = Instance.new("Part", v.Character.kit)
|
| 284 | + | |
| 285 | - | pn0.Name = "ears" |
| 285 | + | |
| 286 | - | pn0.Anchored = true |
| 286 | + | |
| 287 | - | pn0.Transparency = 0 |
| 287 | + | |
| 288 | - | pn0.Material = "Plastic" |
| 288 | + | |
| 289 | - | pn0.CanCollide = false |
| 289 | + | script.ArtificialHB:Fire() |
| 290 | - | pn0.TopSurface = 0 |
| 290 | + | |
| 291 | - | pn0.BottomSurface = 0 |
| 291 | + | |
| 292 | - | pn0.Size = Vector3.new(0.2, 0.2, 0.2) |
| 292 | + | |
| 293 | - | pn0.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) |
| 293 | + | script.ArtificialHB:Fire() |
| 294 | - | local mshn0 = Instance.new("SpecialMesh", pn0)
|
| 294 | + | |
| 295 | - | mshn0.Scale = Vector3.new(0.5, 0.5, 0.5) |
| 295 | + | lastframe = tick() |
| 296 | - | mshn0.MeshId = "http://www.roblox.com/asset/?id=361948302" |
| 296 | + | |
| 297 | - | mshn0.TextureId = "http://www.roblox.com/asset/?id=50657528" |
| 297 | + | |
| 298 | - | mshn0.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) |
| 298 | + | |
| 299 | - | p.Anchored = false |
| 299 | + | |
| 300 | - | local motor1 = Instance.new("Weld", p)
|
| 300 | + | |
| 301 | - | motor1.Part0 = p |
| 301 | + | |
| 302 | - | motor1.Part1 = torso |
| 302 | + | |
| 303 | - | motor1.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 303 | + | |
| 304 | - | motor1.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 304 | + | |
| 305 | - | pn.Anchored = false |
| 305 | + | --//=================================\\ |
| 306 | - | local motor2 = Instance.new("Weld", pn)
|
| 306 | + | --\\=================================// |
| 307 | - | motor2.Part0 = pn |
| 307 | + | |
| 308 | - | motor2.Part1 = torso |
| 308 | + | |
| 309 | - | motor2.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 309 | + | |
| 310 | - | motor2.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 310 | + | |
| 311 | - | pn3.Anchored = false |
| 311 | + | |
| 312 | - | local motor3 = Instance.new("Weld", pn3)
|
| 312 | + | --//=================================\\ |
| 313 | - | motor3.Part0 = pn3 |
| 313 | + | --|| SOME FUNCTIONS |
| 314 | - | motor3.Part1 = torso |
| 314 | + | --\\=================================// |
| 315 | - | motor3.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 315 | + | |
| 316 | - | motor3.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 316 | + | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) |
| 317 | - | pn4.Anchored = false |
| 317 | + | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) |
| 318 | - | local motor4 = Instance.new("Weld", pn4)
|
| 318 | + | |
| 319 | - | motor4.Part0 = pn4 |
| 319 | + | |
| 320 | - | motor4.Part1 = torso |
| 320 | + | function PositiveAngle(NUMBER) |
| 321 | - | motor4.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 321 | + | if NUMBER >= 0 then |
| 322 | - | motor4.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 322 | + | NUMBER = 0 |
| 323 | - | pn5.Anchored = false |
| 323 | + | |
| 324 | - | local motor5 = Instance.new("Weld", pn5)
|
| 324 | + | return NUMBER |
| 325 | - | motor5.Part0 = pn5 |
| 325 | + | |
| 326 | - | motor5.Part1 = torso |
| 326 | + | |
| 327 | - | motor5.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 327 | + | function NegativeAngle(NUMBER) |
| 328 | - | motor5.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 328 | + | if NUMBER <= 0 then |
| 329 | - | pn6.Anchored = false |
| 329 | + | NUMBER = 0 |
| 330 | - | local motor6 = Instance.new("Weld", pn6)
|
| 330 | + | |
| 331 | - | motor6.Part0 = pn6 |
| 331 | + | return NUMBER |
| 332 | - | motor6.Part1 = torso |
| 332 | + | |
| 333 | - | motor6.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 333 | + | |
| 334 | - | motor6.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 334 | + | function Swait(NUMBER) |
| 335 | - | pn7.Anchored = false |
| 335 | + | if NUMBER == 0 or NUMBER == nil then |
| 336 | - | local motor7 = Instance.new("Weld", pn7)
|
| 336 | + | ArtificialHB.Event:wait() |
| 337 | - | motor7.Part0 = pn7 |
| 337 | + | |
| 338 | - | motor7.Part1 = torso |
| 338 | + | for i = 1, NUMBER do |
| 339 | - | motor7.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 339 | + | ArtificialHB.Event:wait() |
| 340 | - | motor7.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 340 | + | |
| 341 | - | pn8.Anchored = false |
| 341 | + | |
| 342 | - | local motor8 = Instance.new("Weld", pn8)
|
| 342 | + | |
| 343 | - | motor8.Part0 = pn8 |
| 343 | + | |
| 344 | - | motor8.Part1 = torso |
| 344 | + | |
| 345 | - | motor8.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 345 | + | |
| 346 | - | motor8.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 346 | + | |
| 347 | - | pn9.Anchored = false |
| 347 | + | if trace > 0 then |
| 348 | - | local motor9 = Instance.new("Weld", pn9)
|
| 348 | + | |
| 349 | - | motor9.Part0 = pn9 |
| 349 | + | |
| 350 | - | motor9.Part1 = torso |
| 350 | + | |
| 351 | - | motor9.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 351 | + | |
| 352 | - | motor9.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 352 | + | |
| 353 | - | pn0.Anchored = false |
| 353 | + | if m11 > m00 then |
| 354 | - | local motor0 = Instance.new("Weld", pn0)
|
| 354 | + | |
| 355 | - | motor0.Part0 = pn0 |
| 355 | + | |
| 356 | - | motor0.Part1 = v.Character.Head |
| 356 | + | |
| 357 | - | motor0.C0 = CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 357 | + | |
| 358 | - | game:GetService("RunService").Stepped:connect(function()
|
| 358 | + | |
| 359 | - | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude |
| 359 | + | |
| 360 | - | velocity = RootPart.Velocity.y |
| 360 | + | |
| 361 | - | sine = sine + change |
| 361 | + | |
| 362 | - | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) |
| 362 | + | |
| 363 | - | if equipped == true or equipped == false then |
| 363 | + | |
| 364 | - | if RootPart.Velocity.y > 1 and hit == nil then |
| 364 | + | |
| 365 | - | Anim = "Jump" |
| 365 | + | |
| 366 | - | if attack == false then |
| 366 | + | |
| 367 | - | motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(80 + 0 * math.cos(sine / 25))), 0.1) |
| 367 | + | |
| 368 | - | motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1) |
| 368 | + | |
| 369 | - | motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-110 + 0 * math.cos(sine / 25))), 0.1) |
| 369 | + | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
| 370 | - | motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(110 + 0 * math.cos(sine / 25))), 0.1) |
| 370 | + | |
| 371 | - | motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1) |
| 371 | + | |
| 372 | - | motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1) |
| 372 | + | |
| 373 | - | motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1) |
| 373 | + | |
| 374 | - | motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(80 + 0 * math.cos(sine / 25))), 0.1) |
| 374 | + | |
| 375 | - | motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(80 + 0 * math.cos(sine / 25))), 0.1) |
| 375 | + | |
| 376 | - | end |
| 376 | + | |
| 377 | - | else |
| 377 | + | |
| 378 | - | if RootPart.Velocity.y < -1 and hit == nil then |
| 378 | + | |
| 379 | - | Anim = "Fall" |
| 379 | + | |
| 380 | - | if attack == false then |
| 380 | + | |
| 381 | - | motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1) |
| 381 | + | |
| 382 | - | motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1) |
| 382 | + | |
| 383 | - | motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1) |
| 383 | + | |
| 384 | - | motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1) |
| 384 | + | |
| 385 | - | motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1) |
| 385 | + | |
| 386 | - | motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1) |
| 386 | + | |
| 387 | - | motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1) |
| 387 | + | |
| 388 | - | motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1) |
| 388 | + | local startInterp, finishInterp; |
| 389 | - | motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1) |
| 389 | + | if cosTheta >= 0.0001 then |
| 390 | - | end |
| 390 | + | if (1 - cosTheta) > 0.0001 then |
| 391 | - | else |
| 391 | + | local theta = ACOS(cosTheta) |
| 392 | - | if Torsovelocity < 1 and hit ~= nil then |
| 392 | + | local invSinTheta = 1 / SIN(theta) |
| 393 | - | Anim = "Idle" |
| 393 | + | startInterp = SIN((1 - t) * theta) * invSinTheta |
| 394 | - | if attack == false then |
| 394 | + | finishInterp = SIN(t * theta) * invSinTheta |
| 395 | - | change = 1 |
| 395 | + | |
| 396 | - | motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-5 + 5 * math.cos(sine / 50)), math.rad(0 + 5 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) |
| 396 | + | |
| 397 | - | motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-5 + -5 * math.cos(sine / 70)), math.rad(0 + -5 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) |
| 397 | + | |
| 398 | - | motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-5 + -5 * math.cos(sine / 80)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(-50 + 0 * math.cos(sine / 25))), 0.1) |
| 398 | + | |
| 399 | - | motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(0 + 5 * math.cos(sine / 40)), math.rad(0 + 5 * math.cos(sine / 70)), math.rad(-40 + 0 * math.cos(sine / 25))), 0.1) |
| 399 | + | |
| 400 | - | motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(0 + 5 * math.cos(sine / 60)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(40 + 0 * math.cos(sine / 25))), 0.1) |
| 400 | + | if (1 + cosTheta) > 0.0001 then |
| 401 | - | motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 35)), math.rad(0 + 5 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) |
| 401 | + | local theta = ACOS(-cosTheta) |
| 402 | - | motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 70)), math.rad(0 + 5 * math.cos(sine / 35)), math.rad(-45 + 0 * math.cos(sine / 25))), 0.1) |
| 402 | + | local invSinTheta = 1 / SIN(theta) |
| 403 | - | motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 55)), math.rad(0 + 5 * math.cos(sine / 55)), math.rad(-10 + 0 * math.cos(sine / 25))), 0.1) |
| 403 | + | startInterp = SIN((t - 1) * theta) * invSinTheta |
| 404 | - | motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 65)), math.rad(0 + 5 * math.cos(sine / 60)), math.rad(35 + 0 * math.cos(sine / 25))), 0.1) |
| 404 | + | finishInterp = SIN(t * theta) * invSinTheta |
| 405 | - | end |
| 405 | + | |
| 406 | - | else |
| 406 | + | startInterp = t - 1 |
| 407 | - | if Torsovelocity > 2 and hit ~= nil then |
| 407 | + | |
| 408 | - | Anim = "Walk" |
| 408 | + | |
| 409 | - | if attack == false then |
| 409 | + | |
| 410 | - | motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1) |
| 410 | + | |
| 411 | - | motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1) |
| 411 | + | |
| 412 | - | motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1) |
| 412 | + | |
| 413 | - | motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1) |
| 413 | + | function Clerp(a, b, t) |
| 414 | - | motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1) |
| 414 | + | local qa = {QuaternionFromCFrame(a)}
|
| 415 | - | motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1) |
| 415 | + | local qb = {QuaternionFromCFrame(b)}
|
| 416 | - | motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1) |
| 416 | + | |
| 417 | - | motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1) |
| 417 | + | |
| 418 | - | motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1) |
| 418 | + | |
| 419 | - | end |
| 419 | + | |
| 420 | - | end |
| 420 | + | |
| 421 | - | end |
| 421 | + | |
| 422 | - | end |
| 422 | + | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) |
| 423 | local frame = IT("Frame")
| |
| 424 | - | end |
| 424 | + | frame.BackgroundTransparency = TRANSPARENCY |
| 425 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 426 | - | ParticleSettings = {
|
| 426 | + | frame.Position = POSITION |
| 427 | - | Lifetime = 1, |
| 427 | + | frame.Size = SIZE |
| 428 | - | Texture = 'rbxassetid://1209757190', |
| 428 | + | frame.BackgroundColor3 = COLOR |
| 429 | - | --Color1 is for UpperBody and Accessories, Color2 is for Lower Body |
| 429 | + | frame.BorderColor3 = BORDERCOLOR |
| 430 | - | Color1 = ColorSequence.new(BrickColor.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b).Color,BrickColor.new('Black').Color),
|
| 430 | + | frame.Name = NAME |
| 431 | - | Color2 = ColorSequence.new(BrickColor.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b).Color,BrickColor.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b).Color), |
| 431 | + | frame.Parent = PARENT |
| 432 | - | AllBody = true, |
| 432 | + | return frame |
| 433 | - | UpperBodyOnly = false, |
| 433 | + | |
| 434 | - | LowerBodyOnly = false, |
| 434 | + | |
| 435 | - | Accessories = true, |
| 435 | + | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) |
| 436 | - | Extras = true, |
| 436 | + | local label = IT("TextLabel")
|
| 437 | - | } |
| 437 | + | label.BackgroundTransparency = 1 |
| 438 | - | TrailSettings = {
|
| 438 | + | label.Size = UD2(1, 0, 1, 0) |
| 439 | - | Lifetime = 1, |
| 439 | + | label.Position = UD2(0, 0, 0, 0) |
| 440 | - | Texture = 'rbxassetid://1209757190', |
| 440 | + | label.TextColor3 = TEXTCOLOR |
| 441 | - | --Color1 is for UpperBody and Accessories, Color2 is for Lower Body |
| 441 | + | label.TextStrokeTransparency = STROKETRANSPARENCY |
| 442 | - | Color1 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Black').Color),
|
| 442 | + | label.TextTransparency = TRANSPARENCY |
| 443 | - | Color2 = ColorSequence.new(BrickColor.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b).Color,BrickColor.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b).Color), |
| 443 | + | label.FontSize = TEXTFONTSIZE |
| 444 | - | AllBody = true, |
| 444 | + | label.Font = TEXTFONT |
| 445 | - | UpperBodyOnly = false, |
| 445 | + | label.BorderSizePixel = BORDERSIZEPIXEL |
| 446 | - | LowerBodyOnly = false, |
| 446 | + | label.TextScaled = false |
| 447 | - | Accessories = true, |
| 447 | + | label.Text = TEXT |
| 448 | - | Extras = true, |
| 448 | + | label.Name = NAME |
| 449 | - | } |
| 449 | + | label.Parent = PARENT |
| 450 | - | m = game:service'Players'.LocalPlayer:GetMouse() |
| 450 | + | return label |
| 451 | - | local p=game:service("Players").LocalPlayer
|
| 451 | + | |
| 452 | - | Instance.new("ForceField", game.Players.LocalPlayer.Character). Visible = false
|
| 452 | + | |
| 453 | - | local char=p.Character |
| 453 | + | function NoOutlines(PART) |
| 454 | - | script.Parent=char |
| 454 | + | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 |
| 455 | - | local tor=char.Torso |
| 455 | + | |
| 456 | - | local hed=char.Head |
| 456 | + | |
| 457 | - | local hupart=char:FindFirstChild('HumanoidRootPart')
|
| 457 | + | |
| 458 | - | local larm=char:FindFirstChild("Left Arm")
|
| 458 | + | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) |
| 459 | - | local rarm=char:FindFirstChild("Right Arm")
|
| 459 | + | local NEWWELD = IT(TYPE) |
| 460 | - | local lleg=char:FindFirstChild("Left Leg")
|
| 460 | + | NEWWELD.Part0 = PART0 |
| 461 | - | local rleg=char:FindFirstChild("Right Leg")
|
| 461 | + | NEWWELD.Part1 = PART1 |
| 462 | - | local hum=char.Humanoid |
| 462 | + | NEWWELD.C0 = C0 |
| 463 | - | local cam=workspace.CurrentCamera |
| 463 | + | NEWWELD.C1 = C1 |
| 464 | - | local root=char.HumanoidRootPart |
| 464 | + | NEWWELD.Parent = PARENT |
| 465 | - | local mouse=p:GetMouse() |
| 465 | + | return NEWWELD |
| 466 | - | local hb=game:service("RunService").Heartbeat
|
| 466 | + | |
| 467 | - | local rs=game:service("RunService").Stepped
|
| 467 | + | |
| 468 | - | hum.MaxHealth= math.huge |
| 468 | + | |
| 469 | - | hum.Health=hum.MaxHealth |
| 469 | + | local NEWSOUND = nil |
| 470 | - | local Colorpart1 = Torso.BrickColor.r |
| 470 | + | |
| 471 | - | local Colorpart2 = Torso.BrickColor.g |
| 471 | + | NEWSOUND = IT("Sound", PARENT)
|
| 472 | - | local Colorpart3 = Torso.BrickColor.b |
| 472 | + | NEWSOUND.Volume = VOLUME |
| 473 | - | for i,v in pairs(char:GetChildren()) do |
| 473 | + | NEWSOUND.Pitch = PITCH |
| 474 | - | if v.ClassName == "Accessory" then |
| 474 | + | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID |
| 475 | - | v:Destroy() |
| 475 | + | Swait() |
| 476 | NEWSOUND:play() | |
| 477 | game:GetService("Debris"):AddItem(NEWSOUND, 10)
| |
| 478 | - | Head.face.Texture = "http://www.roblox.com/asset/?id=176441796" |
| 478 | + | |
| 479 | return NEWSOUND | |
| 480 | end | |
| 481 | - | local hat3 = Instance.new("Part",char)
|
| 481 | + | |
| 482 | - | hat3.Transparency = 0.3 |
| 482 | + | function CFrameFromTopBack(at, top, back) |
| 483 | - | hat3.CanCollide= false |
| 483 | + | local right = top:Cross(back) |
| 484 | - | hat3.Name = 'aot' |
| 484 | + | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) |
| 485 | - | hat3.Size = Vector3.new(1,1,1) |
| 485 | + | |
| 486 | - | local light =Instance.new('PointLight',hat3)
|
| 486 | + | |
| 487 | - | light.Color= Color3.new(255,255,255) |
| 487 | + | function MakeForm(PART,TYPE) |
| 488 | - | light.Brightness = 1234 |
| 488 | + | if TYPE == "Cyl" then |
| 489 | - | light.Range = 5 |
| 489 | + | local MSH = IT("CylinderMesh",PART)
|
| 490 | - | local image =Instance.new("SpecialMesh",hat3)
|
| 490 | + | elseif TYPE == "Ball" then |
| 491 | - | image.Scale = Vector3.new(1,1,1) |
| 491 | + | local MSH = IT("SpecialMesh",PART)
|
| 492 | - | image.MeshId = 'http://www.roblox.com/asset/?id=1376459' |
| 492 | + | MSH.MeshType = "Sphere" |
| 493 | - | image.TextureId ='rbxassetid://1982057222' |
| 493 | + | elseif TYPE == "Wedge" then |
| 494 | - | image.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) |
| 494 | + | local MSH = IT("SpecialMesh",PART)
|
| 495 | - | local w = Instance.new("Weld",hat3)
|
| 495 | + | MSH.MeshType = "Wedge" |
| 496 | - | w.Part1=hat3 |
| 496 | + | |
| 497 | - | w.Part0=tor |
| 497 | + | |
| 498 | - | w.C0=CFrame.new(0,4,0) |
| 498 | + | |
| 499 | Debris = game:GetService("Debris")
| |
| 500 | - | local hat4 = Instance.new("Part",char)
|
| 500 | + | --//=================================\\ |
| 501 | - | hat4.Transparency = 0.2 |
| 501 | + | --|| WEAPON CREATION |
| 502 | - | hat4.CanCollide= false |
| 502 | + | --\\=================================// |
| 503 | - | hat4.Name = 'aot1' |
| 503 | + | |
| 504 | - | hat4.Size = Vector3.new(1,1,1) |
| 504 | + | local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) |
| 505 | - | local image =Instance.new("SpecialMesh",hat4)
|
| 505 | + | local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "145815658", "917070127", VT(0.9,0.9,0.9), VT(0, 0, 0))
|
| 506 | - | image.Scale = Vector3.new(1, 1, 1) |
| 506 | + | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-1,0) * ANGLES(RAD(1), RAD(1), RAD(1)), CF(1, 1, 1))
|
| 507 | - | image.MeshId = 'http://www.roblox.com/asset/?id=1028713' |
| 507 | + | |
| 508 | - | image.TextureId ='rbxassetid://1982057222' |
| 508 | + | local DECAL = IT("Decal",HandlePart)
|
| 509 | - | image.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) |
| 509 | + | DECAL.Texture = "http://www.roblox.com/asset/?id=917070127" |
| 510 | - | local w = Instance.new("Weld",hat4)
|
| 510 | + | |
| 511 | - | w.Part1=hat4 |
| 511 | + | for _, c in pairs(Weapon:GetChildren()) do |
| 512 | - | w.Part0=hed |
| 512 | + | if c.ClassName == "Part" then |
| 513 | - | w.C0=CFrame.new(0,.9,0) |
| 513 | + | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) |
| 514 | end | |
| 515 | - | local hat2 = Instance.new("Part",char)
|
| 515 | + | |
| 516 | - | hat2.Transparency = 1 |
| 516 | + | |
| 517 | - | hat2.CanCollide= false |
| 517 | + | local A = IT("Attachment",HandlePart)
|
| 518 | - | hat2.Size = Vector3.new(1,1,1) |
| 518 | + | A.Position = VT(0, -1.5, 0) |
| 519 | - | hat2.Name = 'r' |
| 519 | + | local B = IT("Attachment",HandlePart)
|
| 520 | B.Position = VT(0, 2.2, 1) | |
| 521 | - | local w = Instance.new("Weld",hat2)
|
| 521 | + | local Trail = IT("Trail",HandlePart)
|
| 522 | - | w.Part1=hat2 |
| 522 | + | Trail.Attachment0 = A |
| 523 | - | w.Part0=tor |
| 523 | + | Trail.Attachment1 = B |
| 524 | - | w.C0=CFrame.new(0,4.5,0) |
| 524 | + | Trail.Lifetime = 0.2 |
| 525 | Trail.Transparency = NumberSequence.new(-0.8, 1) | |
| 526 | - | local trail = Instance.new("Trail",char)
|
| 526 | + | Trail.Enabled = false |
| 527 | - | trail.Color = TrailSettings.Color2 |
| 527 | + | |
| 528 | - | trail.Lifetime = 0.5 |
| 528 | + | Weapon.Parent = Character |
| 529 | - | local attachment0 = Instance.new("Attachment",char.aot)
|
| 529 | + | |
| 530 | - | attachment0.Name = "TrailAttachment0" |
| 530 | + | Humanoid.Died:connect(function() |
| 531 | - | local attachment1 = Instance.new("Attachment",char.r)
|
| 531 | + | ATTACK = true |
| 532 | - | attachment1.Name = "TrailAttachment1" |
| 532 | + | |
| 533 | - | trail.Attachment0 = attachment0 |
| 533 | + | |
| 534 | - | trail.Attachment1 = attachment1 |
| 534 | + | local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") |
| 535 | - | local hat4 = Instance.new("Part",char)
|
| 535 | + | local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") |
| 536 | - | hat4.Transparency = 0 |
| 536 | + | --local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") |
| 537 | - | hat4.CanCollide= false |
| 537 | + | --local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") |
| 538 | - | hat4.Name = 'aot1' |
| 538 | + | --local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") |
| 539 | - | hat4.Size = Vector3.new(1,1,1) |
| 539 | + | |
| 540 | - | local image =Instance.new("SpecialMesh",hat4)
|
| 540 | + | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK] Swing", SKILLTEXTCOLOR, 8, "Cartoon", 0, 2, 1, "Text 1") |
| 541 | - | image.Scale = Vector3.new(1, 1, 1) |
| 541 | + | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Enrage", SKILLTEXTCOLOR, 8, "Cartoon", 0, 2, 1, "Text 2") |
| 542 | - | image.MeshId = 'http://www.roblox.com/asset/?id=13070796' |
| 542 | + | --local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 3") |
| 543 | - | image.TextureId ='rbxassetid://13694600' |
| 543 | + | --local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text 4") |
| 544 | - | local w = Instance.new("Weld",hat4)
|
| 544 | + | --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Ability 5", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 5") |
| 545 | - | w.Part1=hat4 |
| 545 | + | |
| 546 | - | w.Part0=hed |
| 546 | + | --//=================================\\ |
| 547 | - | w.C0=CFrame.new(0,-.4,0) |
| 547 | + | --|| DAMAGING |
| 548 | - | local hat4 = Instance.new("Part",char)
|
| 548 | + | --\\=================================// |
| 549 | - | hat4.Transparency = 0 |
| 549 | + | |
| 550 | - | hat4.CanCollide= false |
| 550 | + | local asd = Instance.new("ParticleEmitter")
|
| 551 | - | hat4.Name = 'aot1' |
| 551 | + | asd.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(255, 0, 0)) |
| 552 | - | hat4.Size = Vector3.new(1,1,1) |
| 552 | + | asd.LightEmission = .1 |
| 553 | - | local image =Instance.new("SpecialMesh",hat4)
|
| 553 | + | asd.Size = NumberSequence.new(0.2) |
| 554 | - | image.Scale = Vector3.new(1.05, 1.05, 1.05) |
| 554 | + | asd.Texture = "http://www.roblox.com/asset/?ID=103029617" |
| 555 | - | image.MeshId = 'http://www.roblox.com/asset/?id=16627529' |
| 555 | + | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
|
| 556 | - | image.TextureId ='rbxassetid://17877254' |
| 556 | + | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
|
| 557 | - | local w = Instance.new("Weld",hat4)
|
| 557 | + | asd.Transparency = bbb |
| 558 | - | w.Part1=hat4 |
| 558 | + | asd.Size = aaa |
| 559 | - | w.Part0=hed |
| 559 | + | asd.ZOffset = .9 |
| 560 | - | w.C0=CFrame.new(0,.4,0) |
| 560 | + | asd.Acceleration = Vector3.new(0, -5, 0) |
| 561 | - | ----------------------- |
| 561 | + | asd.LockedToPart = false |
| 562 | - | --[[ Organization : Insanity ]]-- |
| 562 | + | asd.EmissionDirection = "Back" |
| 563 | - | --[[ Name : Ender (Thou who collects the souls of innocents) ]]-- |
| 563 | + | asd.Lifetime = NumberRange.new(1, 2) |
| 564 | - | --[[ Creator / Captain : DATA RESTRICTED ]]-- |
| 564 | + | asd.Rotation = NumberRange.new(-100, 100) |
| 565 | - | ------------------------------------------------------- |
| 565 | + | asd.RotSpeed = NumberRange.new(-100, 100) |
| 566 | - | --A script By makhail07 |
| 566 | + | asd.Speed = NumberRange.new(2) |
| 567 | asd.Enabled = false | |
| 568 | - | --Discord Creterisk#2958 |
| 568 | + | asd.VelocitySpread = 10000 |
| 569 | ||
| 570 | - | --This script is a fucking mistake have fun skids |
| 570 | + | function getbloody(victim,amount) |
| 571 | - | ------------------------------------------------------- |
| 571 | + | local prtcl = asd:Clone() |
| 572 | prtcl.Parent = victim | |
| 573 | - | local FavIDs = {
|
| 573 | + | prtcl:Emit(amount) |
| 574 | - | 340106355, --Nefl Crystals |
| 574 | + | |
| 575 | - | 927529620, --Dimension |
| 575 | + | |
| 576 | - | 876981900, --Fantasy |
| 576 | + | local TORSOVELOCITY = 0 |
| 577 | - | 398987889, --Ordinary Days |
| 577 | + | |
| 578 | - | 1117396305, --Oh wait, it's you. |
| 578 | + | function Ragdoll(Character2,CharTorso) |
| 579 | - | 885996042, --Action Winter Journey |
| 579 | + | local svch = Character2 |
| 580 | - | 919231299, --Sprawling Idiot Effigy |
| 580 | + | local hum = Character2:findFirstChild("Humanoid")
|
| 581 | - | 743466274, --Good Day Sunshine |
| 581 | + | local q = Character2:GetChildren() |
| 582 | - | 727411183, --Knife Fight |
| 582 | + | local CLONE = IT("Model",Effects)
|
| 583 | - | 1402748531, --The Earth Is Counting On You! |
| 583 | + | local DummyHead = nil |
| 584 | - | 595230126 --Robot Language |
| 584 | + | for i = 1,#q do |
| 585 | - | } |
| 585 | + | if q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Accessory" and q[i].ClassName ~= "Hat" and q[i].ClassName ~= "Gear" then |
| 586 | q[i].Parent = CLONE | |
| 587 | if q[i].Name == "Head" then | |
| 588 | DummyHead = CLONE.Head:Clone() | |
| 589 | - | --The reality of my life isn't real but a Universe -makhail07 |
| 589 | + | q[i]:ClearAllChildren() |
| 590 | - | wait() |
| 590 | + | q[i].Transparency = 1 |
| 591 | - | local plr = game:service'Players'.LocalPlayer |
| 591 | + | |
| 592 | - | print('Local User is '..plr.Name)
|
| 592 | + | |
| 593 | - | local char = plr.Character |
| 593 | + | if q[i].ClassName ~= "Humanoid" then |
| 594 | - | local hum = char.Humanoid |
| 594 | + | q[i]:remove() |
| 595 | - | local ra = char["Right Arm"] |
| 595 | + | |
| 596 | - | local la= char["Left Arm"] |
| 596 | + | |
| 597 | - | local rl= char["Right Leg"] |
| 597 | + | |
| 598 | - | local ll = char["Left Leg"] |
| 598 | + | local chrclone = CLONE |
| 599 | - | local hed = char.Head |
| 599 | + | |
| 600 | - | local root = char.HumanoidRootPart |
| 600 | + | for _, c in pairs(Character2:GetChildren()) do |
| 601 | - | local rootj = root.RootJoint |
| 601 | + | if c.ClassName == "Accessory" then |
| 602 | - | local tors = char.Torso |
| 602 | + | c:remove() |
| 603 | - | local mouse = plr:GetMouse() |
| 603 | + | |
| 604 | - | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
| 604 | + | |
| 605 | - | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) |
| 605 | + | |
| 606 | - | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) |
| 606 | + | local ch = chrclone:GetChildren() |
| 607 | - | ------------------------------------------------------- |
| 607 | + | local i |
| 608 | - | --Start Good Stuff-- |
| 608 | + | for i = 1,#ch do |
| 609 | - | ------------------------------------------------------- |
| 609 | + | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then |
| 610 | ch[i]:remove() | |
| 611 | - | angles = CFrame.Angles |
| 611 | + | |
| 612 | - | attack = false |
| 612 | + | |
| 613 | - | Euler = CFrame.fromEulerAnglesXYZ |
| 613 | + | local function Scan(ch) |
| 614 | - | Rad = math.rad |
| 614 | + | local e |
| 615 | for e = 1,#ch do | |
| 616 | - | BrickC = BrickColor.new |
| 616 | + | Scan(ch[e]:GetChildren()) |
| 617 | - | Cos = math.cos |
| 617 | + | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then |
| 618 | - | Acos = math.acos |
| 618 | + | ch[e]:remove() |
| 619 | - | Sin = math.sin |
| 619 | + | |
| 620 | - | Asin = math.asin |
| 620 | + | |
| 621 | - | Abs = math.abs |
| 621 | + | |
| 622 | - | Mrandom = math.random |
| 622 | + | Scan(chrclone:GetChildren()) |
| 623 | - | Floor = math.floor |
| 623 | + | |
| 624 | - | ------------------------------------------------------- |
| 624 | + | local ch = Character2:GetChildren() |
| 625 | - | --End Good Stuff-- |
| 625 | + | local i |
| 626 | - | ------------------------------------------------------- |
| 626 | + | for i = 1,#ch do |
| 627 | - | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 627 | + | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then |
| 628 | - | RSH, LSH = nil, nil |
| 628 | + | ch[i]:remove() |
| 629 | - | RW = Instance.new("Weld")
|
| 629 | + | |
| 630 | - | LW = Instance.new("Weld")
|
| 630 | + | |
| 631 | - | RH = tors["Right Hip"] |
| 631 | + | |
| 632 | - | LH = tors["Left Hip"] |
| 632 | + | local ch = Character2:GetChildren() |
| 633 | - | RSH = tors["Right Shoulder"] |
| 633 | + | local i |
| 634 | - | LSH = tors["Left Shoulder"] |
| 634 | + | for i = 1,#ch do |
| 635 | - | RSH.Parent = nil |
| 635 | + | if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then |
| 636 | - | LSH.Parent = nil |
| 636 | + | ch[i]:remove() |
| 637 | - | RW.Name = "RW" |
| 637 | + | |
| 638 | - | RW.Part0 = tors |
| 638 | + | |
| 639 | - | RW.C0 = CF(1.5, 0.5, 0) |
| 639 | + | Character2 = chrclone |
| 640 | - | RW.C1 = CF(0, 0.5, 0) |
| 640 | + | local Torso2 = Character2.Torso |
| 641 | - | RW.Part1 = ra |
| 641 | + | local movevector = Vector3.new() |
| 642 | - | RW.Parent = tors |
| 642 | + | |
| 643 | - | LW.Name = "LW" |
| 643 | + | if Torso2 then |
| 644 | - | LW.Part0 = tors |
| 644 | + | movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector |
| 645 | - | LW.C0 = CF(-1.5, 0.5, 0) |
| 645 | + | local Head = Character2:FindFirstChild("Head")
|
| 646 | - | LW.C1 = CF(0, 0.5, 0) |
| 646 | + | if Head then |
| 647 | - | LW.Part1 = la |
| 647 | + | local Neck = Instance.new("Weld")
|
| 648 | - | LW.Parent = tors |
| 648 | + | Neck.Name = "Neck" |
| 649 | - | Effects = {}
|
| 649 | + | Neck.Part0 = Torso2 |
| 650 | Neck.Part1 = Head | |
| 651 | - | ------------------------------------------------------- |
| 651 | + | Neck.C0 = CFrame.new(0, 1.5, 0) |
| 652 | - | --Start HeartBeat-- |
| 652 | + | Neck.C1 = CFrame.new() |
| 653 | - | ------------------------------------------------------- |
| 653 | + | Neck.Parent = Torso2 |
| 654 | Head:ClearAllChildren() | |
| 655 | - | ArtificialHB.Name = "Heartbeat" |
| 655 | + | Head.Transparency = 1 |
| 656 | - | script:WaitForChild("Heartbeat")
|
| 656 | + | |
| 657 | end | |
| 658 | - | frame = 1 / 60 |
| 658 | + | local Limb = Character2:FindFirstChild("Right Arm")
|
| 659 | if Limb then | |
| 660 | ||
| 661 | Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0) | |
| 662 | local Joint = Instance.new("Glue")
| |
| 663 | Joint.Name = "RightShoulder" | |
| 664 | Joint.Part0 = Torso2 | |
| 665 | - | script.Heartbeat:Fire() |
| 665 | + | Joint.Part1 = Limb |
| 666 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 667 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 668 | Joint.Parent = Torso2 | |
| 669 | ||
| 670 | local B = Instance.new("Part")
| |
| 671 | B.TopSurface = 0 | |
| 672 | - | script.Heartbeat:Fire() |
| 672 | + | B.BottomSurface = 0 |
| 673 | B.formFactor = "Symmetric" | |
| 674 | B.Size = Vector3.new(1, 1, 1) | |
| 675 | B.Transparency = 1 | |
| 676 | - | script.Heartbeat:Fire() |
| 676 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
| 677 | B.Parent = Character2 | |
| 678 | local W = Instance.new("Weld")
| |
| 679 | W.Part0 = Limb | |
| 680 | W.Part1 = B | |
| 681 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 682 | W.Parent = Limb | |
| 683 | ||
| 684 | end | |
| 685 | local Limb = Character2:FindFirstChild("Left Arm")
| |
| 686 | if Limb then | |
| 687 | - | ------------------------------------------------------- |
| 687 | + | |
| 688 | - | --End HeartBeat-- |
| 688 | + | Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0) |
| 689 | - | ------------------------------------------------------- |
| 689 | + | local Joint = Instance.new("Glue")
|
| 690 | Joint.Name = "LeftShoulder" | |
| 691 | - | ------------------------------------------------------- |
| 691 | + | Joint.Part0 = Torso2 |
| 692 | - | --Start Important Functions-- |
| 692 | + | Joint.Part1 = Limb |
| 693 | - | ------------------------------------------------------- |
| 693 | + | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
| 694 | - | function swait(num) |
| 694 | + | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
| 695 | - | if num == 0 or num == nil then |
| 695 | + | Joint.Parent = Torso2 |
| 696 | - | game:service("RunService").Stepped:wait(0)
|
| 696 | + | |
| 697 | local B = Instance.new("Part")
| |
| 698 | - | for i = 0, num do |
| 698 | + | B.TopSurface = 0 |
| 699 | - | game:service("RunService").Stepped:wait(0)
|
| 699 | + | B.BottomSurface = 0 |
| 700 | B.formFactor = "Symmetric" | |
| 701 | B.Size = Vector3.new(1, 1, 1) | |
| 702 | B.Transparency = 1 | |
| 703 | - | function thread(f) |
| 703 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
| 704 | - | coroutine.resume(coroutine.create(f)) |
| 704 | + | B.Parent = Character2 |
| 705 | local W = Instance.new("Weld")
| |
| 706 | - | function clerp(a, b, t) |
| 706 | + | W.Part0 = Limb |
| 707 | - | local qa = {
|
| 707 | + | W.Part1 = B |
| 708 | - | QuaternionFromCFrame(a) |
| 708 | + | W.C0 = CFrame.new(0, -0.5, 0) |
| 709 | - | } |
| 709 | + | W.Parent = Limb |
| 710 | - | local qb = {
|
| 710 | + | |
| 711 | - | QuaternionFromCFrame(b) |
| 711 | + | |
| 712 | - | } |
| 712 | + | local Limb = Character2:FindFirstChild("Right Leg")
|
| 713 | if Limb then | |
| 714 | ||
| 715 | Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0) | |
| 716 | local Joint = Instance.new("Glue")
| |
| 717 | Joint.Name = "RightHip" | |
| 718 | Joint.Part0 = Torso2 | |
| 719 | Joint.Part1 = Limb | |
| 720 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 721 | - | if trace > 0 then |
| 721 | + | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
| 722 | Joint.Parent = Torso2 | |
| 723 | ||
| 724 | local B = Instance.new("Part")
| |
| 725 | B.TopSurface = 0 | |
| 726 | B.BottomSurface = 0 | |
| 727 | - | if m00 < m11 then |
| 727 | + | B.formFactor = "Symmetric" |
| 728 | B.Size = Vector3.new(1, 1, 1) | |
| 729 | B.Transparency = 1 | |
| 730 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 731 | B.Parent = Character2 | |
| 732 | local W = Instance.new("Weld")
| |
| 733 | W.Part0 = Limb | |
| 734 | W.Part1 = B | |
| 735 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 736 | W.Parent = Limb | |
| 737 | ||
| 738 | end | |
| 739 | local Limb = Character2:FindFirstChild("Left Leg")
| |
| 740 | if Limb then | |
| 741 | ||
| 742 | Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0) | |
| 743 | local Joint = Instance.new("Glue")
| |
| 744 | - | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
| 744 | + | Joint.Name = "LeftHip" |
| 745 | Joint.Part0 = Torso2 | |
| 746 | Joint.Part1 = Limb | |
| 747 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 748 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 749 | Joint.Parent = Torso2 | |
| 750 | ||
| 751 | local B = Instance.new("Part")
| |
| 752 | B.TopSurface = 0 | |
| 753 | B.BottomSurface = 0 | |
| 754 | B.formFactor = "Symmetric" | |
| 755 | B.Size = Vector3.new(1, 1, 1) | |
| 756 | B.Transparency = 1 | |
| 757 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 758 | B.Parent = Character2 | |
| 759 | local W = Instance.new("Weld")
| |
| 760 | W.Part0 = Limb | |
| 761 | - | local startInterp, finishInterp |
| 761 | + | W.Part1 = B |
| 762 | - | if cosTheta >= 1.0E-4 then |
| 762 | + | W.C0 = CFrame.new(0, -0.5, 0) |
| 763 | - | if 1 - cosTheta > 1.0E-4 then |
| 763 | + | W.Parent = Limb |
| 764 | - | local theta = math.acos(cosTheta) |
| 764 | + | |
| 765 | - | local invSinTheta = 1 / Sin(theta) |
| 765 | + | |
| 766 | - | startInterp = Sin((1 - t) * theta) * invSinTheta |
| 766 | + | --[ |
| 767 | - | finishInterp = Sin(t * theta) * invSinTheta |
| 767 | + | local Bar = Instance.new("Part")
|
| 768 | Bar.TopSurface = 0 | |
| 769 | Bar.BottomSurface = 0 | |
| 770 | Bar.formFactor = "Symmetric" | |
| 771 | Bar.Size = Vector3.new(1, 1, 1) | |
| 772 | - | elseif 1 + cosTheta > 1.0E-4 then |
| 772 | + | Bar.Transparency = 1 |
| 773 | - | local theta = math.acos(-cosTheta) |
| 773 | + | Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0) |
| 774 | - | local invSinTheta = 1 / Sin(theta) |
| 774 | + | Bar.Parent = Character2 |
| 775 | - | startInterp = Sin((t - 1) * theta) * invSinTheta |
| 775 | + | local Weld = Instance.new("Weld")
|
| 776 | - | finishInterp = Sin(t * theta) * invSinTheta |
| 776 | + | Weld.Part0 = Torso2 |
| 777 | Weld.Part1 = Bar | |
| 778 | - | startInterp = t - 1 |
| 778 | + | Weld.C0 = CFrame.new(0, 0.5, 0) |
| 779 | - | finishInterp = t |
| 779 | + | Weld.Parent = Torso2 |
| 780 | --]] | |
| 781 | end | |
| 782 | Character2.Parent = Weapon | |
| 783 | - | function rayCast(Position, Direction, Range, Ignore) |
| 783 | + | if movevector ~= Vector3.new() then |
| 784 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
|
| 784 | + | for i = 1,10 do |
| 785 | Torso2.Velocity = movevector * 30 | |
| 786 | - | local RbxUtility = LoadLibrary("RbxUtility")
|
| 786 | + | |
| 787 | - | local Create = RbxUtility.Create |
| 787 | + | |
| 788 | DummyHead.Name = "FakeHead" | |
| 789 | - | ------------------------------------------------------- |
| 789 | + | DummyHead.Parent = CLONE |
| 790 | - | --Start Damage Function-- |
| 790 | + | local BLOOD = CreatePart(3, DummyHead, "Neon", 0, 0, "Really red", "Blood", VT(0.65,0.25,0.65),false) |
| 791 | - | ------------------------------------------------------- |
| 791 | + | BLOOD.CFrame = DummyHead.CFrame*CF(0,-DummyHead.Size.Y/2,0) |
| 792 | - | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
| 792 | + | MakeForm(BLOOD,"Cyl") |
| 793 | - | if hit.Parent == nil then |
| 793 | + | weldBetween(DummyHead,BLOOD) |
| 794 | - | return |
| 794 | + | local BLOOD = CreatePart(3, Torso2, "Neon", 0, 0, "Really red", "Blood", VT(0.65,0.2,0.65),false) |
| 795 | BLOOD.CFrame = Torso2.CFrame*CF(0,Torso2.Size.Y/2,0) | |
| 796 | - | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
|
| 796 | + | MakeForm(BLOOD,"Cyl") |
| 797 | - | for _, v in pairs(hit.Parent:children()) do |
| 797 | + | weldBetween(Torso2,BLOOD) |
| 798 | - | if v:IsA("Humanoid") then
|
| 798 | + | Character2.Name = "Corpse" |
| 799 | - | h = v |
| 799 | + | local hum2 = svch:findFirstChild("Humanoid")
|
| 800 | ||
| 801 | return Character2,Torso2,DummyHead | |
| 802 | - | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
|
| 802 | + | |
| 803 | - | |
| 803 | + | |
| 804 | - | hit.Parent:FindFirstChild("Head"):BreakJoints()
|
| 804 | + | function PuddleOfBlood(Position,MaxDrop,Model,MaxSize) |
| 805 | - | end |
| 805 | + | local HITFLOOR, HITPOS = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model) |
| 806 | if HITFLOOR ~= nil then | |
| 807 | - | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
|
| 807 | + | if HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then |
| 808 | - | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
|
| 808 | + | if HITFLOOR.Name == "BloodPuddle" then |
| 809 | - | if hit.Parent.DebounceHit.Value == true then |
| 809 | + | local DIST = (Position - HITFLOOR.Position).Magnitude |
| 810 | - | return |
| 810 | + | if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then |
| 811 | HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1) | |
| 812 | end | |
| 813 | - | if insta == true then |
| 813 | + | else |
| 814 | - | hit.Parent:FindFirstChild("Head"):BreakJoints()
|
| 814 | + | if HITFLOOR.Anchored == true then |
| 815 | - | end |
| 815 | + | local BLOOD = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "BloodPuddle", VT(1,0,1)) |
| 816 | - | local c = Create("ObjectValue"){
|
| 816 | + | BLOOD.CFrame = CF(HITPOS) |
| 817 | - | Name = "creator", |
| 817 | + | MakeForm(BLOOD,"Cyl") |
| 818 | - | Value = game:service("Players").LocalPlayer,
|
| 818 | + | coroutine.resume(coroutine.create(function() |
| 819 | - | Parent = h, |
| 819 | + | Swait(75) |
| 820 | - | } |
| 820 | + | while true do |
| 821 | - | game:GetService("Debris"):AddItem(c, .5)
|
| 821 | + | Swait() |
| 822 | - | if HitSound ~= nil and HitPitch ~= nil then |
| 822 | + | BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02) |
| 823 | - | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
| 823 | + | if BLOOD.Size.Z < 0.051 then |
| 824 | BLOOD:remove() | |
| 825 | - | local Damage = math.random(minim, maxim) |
| 825 | + | break |
| 826 | - | local blocked = false |
| 826 | + | |
| 827 | - | local block = hit.Parent:findFirstChild("Block")
|
| 827 | + | |
| 828 | - | if block ~= nil then |
| 828 | + | end)) |
| 829 | - | if block.className == "IntValue" then |
| 829 | + | |
| 830 | - | if block.Value > 0 then |
| 830 | + | |
| 831 | - | blocked = true |
| 831 | + | |
| 832 | - | block.Value = block.Value - 1 |
| 832 | + | |
| 833 | - | print(block.Value) |
| 833 | + | |
| 834 | ||
| 835 | function SprayBlood(POSITION,DIRECTION,BloodSize) | |
| 836 | local BLOOD = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "BloodPuddle", VT(0.5,0.5,0.5),false) | |
| 837 | - | if blocked == false then |
| 837 | + | BLOOD.CFrame = CF(POSITION) |
| 838 | - | h.Health = h.Health - Damage |
| 838 | + | MakeForm(BLOOD,"Ball") |
| 839 | - | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) |
| 839 | + | local bv = Instance.new("BodyVelocity",BLOOD)
|
| 840 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 841 | - | h.Health = h.Health - (Damage / 2) |
| 841 | + | bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3)/30,MRANDOM(-3,3)/30,MRANDOM(-3,3)/30)).lookVector*15 |
| 842 | - | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) |
| 842 | + | bv.Name = "MOVE" |
| 843 | Debris:AddItem(bv,0.05) | |
| 844 | - | if Type == "Knockdown" then |
| 844 | + | |
| 845 | - | local hum = hit.Parent.Humanoid |
| 845 | + | local HASTOUCHEDGROUND = false |
| 846 | - | hum.PlatformStand = true |
| 846 | + | local HIT = BLOOD.Touched:Connect(function(hit) |
| 847 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
| 847 | + | if hit.Anchored == true then |
| 848 | - | swait(1) |
| 848 | + | HASTOUCHEDGROUND = true |
| 849 | - | HHumanoid.PlatformStand = false |
| 849 | + | PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize) |
| 850 | - | end), hum) |
| 850 | + | |
| 851 | - | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit |
| 851 | + | |
| 852 | - | local bodvol = Create("BodyVelocity"){
|
| 852 | + | for i = 1, 50 do |
| 853 | - | velocity = angle * knockback, |
| 853 | + | Swait() |
| 854 | - | P = 5000, |
| 854 | + | if HASTOUCHEDGROUND == true then |
| 855 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
| 855 | + | break |
| 856 | - | Parent = hit, |
| 856 | + | |
| 857 | - | } |
| 857 | + | BLOOD.Size = BLOOD.Size * 1 |
| 858 | - | local rl = Create("BodyAngularVelocity"){
|
| 858 | + | |
| 859 | - | P = 3000, |
| 859 | + | BLOOD:remove() |
| 860 | - | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
| 860 | + | |
| 861 | - | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
| 861 | + | |
| 862 | - | Parent = hit, |
| 862 | + | |
| 863 | - | } |
| 863 | + | function Kill(Target) |
| 864 | - | game:GetService("Debris"):AddItem(bodvol, .5)
|
| 864 | + | if Target.Parent ~= Weapon and Target:FindFirstChildOfClass("Humanoid") then
|
| 865 | - | game:GetService("Debris"):AddItem(rl, .5)
|
| 865 | + | Target:BreakJoints() |
| 866 | - | elseif Type == "Normal" then |
| 866 | + | local CFRAME = Target:FindFirstChild("Torso").CFrame or Target:FindFirstChild("UpperTorso")
|
| 867 | - | local vp = Create("BodyVelocity"){
|
| 867 | + | local CLONE,TORS2,DummyHead = Ragdoll(Target,Torso) |
| 868 | - | P = 500, |
| 868 | + | getbloody(DummyHead,45) |
| 869 | - | maxForce = Vector3.new(math.huge, 0, math.huge), |
| 869 | + | if TORS2 ~= nil then |
| 870 | - | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, |
| 870 | + | CreateSound("1383928887", TORS2, 10, (math.random(8,12)/10))
|
| 871 | - | } |
| 871 | + | CreateSound("1383928887", DummyHead, 5, (math.random(8,18)/10))
|
| 872 | - | if knockback > 0 then |
| 872 | + | local HUM = IT("Humanoid")
|
| 873 | - | vp.Parent = hit.Parent.Torso |
| 873 | + | HUM.MaxHealth = 0 |
| 874 | HUM.Health = 0 | |
| 875 | - | game:GetService("Debris"):AddItem(vp, .5)
|
| 875 | + | HUM.Name = "CorpseHumanoid" |
| 876 | - | elseif Type == "Up" then |
| 876 | + | HUM.PlatformStand = true |
| 877 | - | local bodyVelocity = Create("BodyVelocity"){
|
| 877 | + | HUM.Parent = CLONE |
| 878 | - | velocity = Vector3.new(0, 20, 0), |
| 878 | + | KILLINSTINCT = KILLINSTINCT + 20 |
| 879 | - | P = 5000, |
| 879 | + | TORS2.CFrame = CFRAME |
| 880 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
| 880 | + | |
| 881 | - | Parent = hit, |
| 881 | + | for i = 1, 450 do |
| 882 | - | } |
| 882 | + | wait() |
| 883 | - | game:GetService("Debris"):AddItem(bodyVelocity, .5)
|
| 883 | + | SprayBlood(DummyHead.CFrame*CF(0,-0.25,0).p,DummyHead.CFrame*CF(0,-0.7,0).p,5) |
| 884 | - | elseif Type == "DarkUp" then |
| 884 | + | SprayBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,TORS2.CFrame*CF(0,TORS2.Size.Y,0).p,10) |
| 885 | --PuddleOfBlood(DummyHead.CFrame*CF(0,-0.25,0).p,4,CLONE,3) | |
| 886 | - | for i = 0, 1, 0.1 do |
| 886 | + | --PuddleOfBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,8,CLONE,6) |
| 887 | - | swait() |
| 887 | + | |
| 888 | - | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
|
| 888 | + | CLONE:Remove() |
| 889 | end)) | |
| 890 | end | |
| 891 | - | local bodyVelocity = Create("BodyVelocity"){
|
| 891 | + | |
| 892 | - | velocity = Vector3.new(0, 20, 0), |
| 892 | + | |
| 893 | - | P = 5000, |
| 893 | + | |
| 894 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
| 894 | + | --//=================================\\ |
| 895 | - | Parent = hit, |
| 895 | + | --|| ATTACK FUNCTIONS AND STUFF |
| 896 | - | } |
| 896 | + | --\\=================================// |
| 897 | - | game:GetService("Debris"):AddItem(bodyVelocity, 1)
|
| 897 | + | |
| 898 | - | elseif Type == "Snare" then |
| 898 | + | function Swing() |
| 899 | - | local bp = Create("BodyPosition"){
|
| 899 | + | ATTACK = true |
| 900 | - | P = 2000, |
| 900 | + | Rooted = false |
| 901 | - | D = 100, |
| 901 | + | for i=0, 1, 0.1 / Animation_Speed do |
| 902 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 902 | + | Swait() |
| 903 | - | position = hit.Parent.Torso.Position, |
| 903 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.7 / Animation_Speed) |
| 904 | - | Parent = hit.Parent.Torso, |
| 904 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.7 / Animation_Speed) |
| 905 | - | } |
| 905 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
| 906 | - | game:GetService("Debris"):AddItem(bp, 1)
|
| 906 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
| 907 | - | elseif Type == "Freeze" then |
| 907 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 908 | - | local BodPos = Create("BodyPosition"){
|
| 908 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 909 | - | P = 50000, |
| 909 | + | HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(180)), 0.5 / Animation_Speed) |
| 910 | - | D = 1000, |
| 910 | + | |
| 911 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 911 | + | Trail.Enabled = true |
| 912 | - | position = hit.Parent.Torso.Position, |
| 912 | + | HandlePart.CanCollide = true |
| 913 | - | Parent = hit.Parent.Torso, |
| 913 | + | CreateSound("151414336", HandlePart, 1, (math.random(8,12)/10))
|
| 914 | - | } |
| 914 | + | local HIT = HandlePart.Touched:Connect(function(hit) |
| 915 | - | local BodGy = Create("BodyGyro") {
|
| 915 | + | Kill(hit.Parent) |
| 916 | - | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , |
| 916 | + | |
| 917 | - | P = 20e+003, |
| 917 | + | for i=0, 0.8, 0.1 / Animation_Speed do |
| 918 | - | Parent = hit.Parent.Torso, |
| 918 | + | Swait() |
| 919 | - | cframe = hit.Parent.Torso.CFrame, |
| 919 | + | if Speed == 25 and TORSOVELOCITY > 0.3 then |
| 920 | - | } |
| 920 | + | RootPart.CFrame = RootPart.CFrame * CF(0,0,-1) |
| 921 | - | hit.Parent.Torso.Anchored = true |
| 921 | + | |
| 922 | - | coroutine.resume(coroutine.create(function(Part) |
| 922 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.7 / Animation_Speed) |
| 923 | - | swait(1.5) |
| 923 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.7 / Animation_Speed) |
| 924 | - | Part.Anchored = false |
| 924 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.7) * ANGLES(RAD(15), RAD(0), RAD(90)) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
| 925 | - | end), hit.Parent.Torso) |
| 925 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
| 926 | - | game:GetService("Debris"):AddItem(BodPos, 3)
|
| 926 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 927 | - | game:GetService("Debris"):AddItem(BodGy, 3)
|
| 927 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 928 | HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(25), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 929 | - | local debounce = Create("BoolValue"){
|
| 929 | + | |
| 930 | - | Name = "DebounceHit", |
| 930 | + | Trail.Enabled = false |
| 931 | - | Parent = hit.Parent, |
| 931 | + | HandlePart.CanCollide = false |
| 932 | - | Value = true, |
| 932 | + | HIT:disconnect() |
| 933 | - | } |
| 933 | + | ATTACK = false |
| 934 | - | game:GetService("Debris"):AddItem(debounce, Delay)
|
| 934 | + | Rooted = false |
| 935 | - | c = Create("ObjectValue"){
|
| 935 | + | |
| 936 | - | Name = "creator", |
| 936 | + | |
| 937 | - | Value = Player, |
| 937 | + | function Laugh() |
| 938 | - | Parent = h, |
| 938 | + | ATTACK = true |
| 939 | - | } |
| 939 | + | Rooted = true |
| 940 | - | game:GetService("Debris"):AddItem(c, .5)
|
| 940 | + | CreateSound("1074233689", Torso, 6, 1)
|
| 941 | for i=0, 3.5, 0.1 / Animation_Speed do | |
| 942 | Swait() | |
| 943 | - | ------------------------------------------------------- |
| 943 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 944 | - | --End Damage Function-- |
| 944 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 945 | - | ------------------------------------------------------- |
| 945 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.35 * COS(SINE / 2), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
| 946 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 947 | - | ------------------------------------------------------- |
| 947 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 948 | - | --Start Damage Function Customization-- |
| 948 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 949 | - | ------------------------------------------------------- |
| 949 | + | HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 950 | - | function ShowDamage(Pos, Text, Time, Color) |
| 950 | + | |
| 951 | - | local Rate = (1 / 30) |
| 951 | + | ATTACK = false |
| 952 | - | local Pos = (Pos or Vector3.new(0, 0, 0)) |
| 952 | + | Rooted = false |
| 953 | - | local Text = (Text or "") |
| 953 | + | |
| 954 | - | local Time = (Time or 2) |
| 954 | + | |
| 955 | - | local Color = (Color or Color3.new(1, 0, 1)) |
| 955 | + | --//=================================\\ |
| 956 | - | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
| 956 | + | --|| ASSIGN THINGS TO iEYS || |
| 957 | - | EffectPart.Anchored = true |
| 957 | + | --\\=================================// |
| 958 | - | local BillboardGui = Create("BillboardGui"){
|
| 958 | + | |
| 959 | - | Size = UDim2.new(3, 0, 3, 0), |
| 959 | + | function MouseDown(Mouse) |
| 960 | - | Adornee = EffectPart, |
| 960 | + | if ATTACK == false then |
| 961 | - | Parent = EffectPart, |
| 961 | + | Swing() |
| 962 | - | } |
| 962 | + | |
| 963 | - | local TextLabel = Create("TextLabel"){
|
| 963 | + | |
| 964 | - | BackgroundTransparency = 1, |
| 964 | + | |
| 965 | - | Size = UDim2.new(1, 0, 1, 0), |
| 965 | + | function MouseUp(Mouse) |
| 966 | - | Text = Text, |
| 966 | + | HOLD = false |
| 967 | - | Font = "Bodoni", |
| 967 | + | |
| 968 | - | TextColor3 = Color, |
| 968 | + | |
| 969 | - | TextScaled = true, |
| 969 | + | function KeyDown(Key) |
| 970 | - | TextStrokeColor3 = Color3.fromRGB(0,0,0), |
| 970 | + | KEYHOLD = true |
| 971 | - | Parent = BillboardGui, |
| 971 | + | if Key == "b" and ATTACK == false then |
| 972 | - | } |
| 972 | + | if Speed == 10 then |
| 973 | - | game.Debris:AddItem(EffectPart, (Time)) |
| 973 | + | Speed = 30 |
| 974 | - | EffectPart.Parent = game:GetService("Workspace")
|
| 974 | + | elseif Speed == 25 then |
| 975 | - | delay(0, function() |
| 975 | + | Speed = 10 |
| 976 | - | local Frames = (Time / Rate) |
| 976 | + | |
| 977 | - | for Frame = 1, Frames do |
| 977 | + | |
| 978 | - | wait(Rate) |
| 978 | + | |
| 979 | - | local Percent = (Frame / Frames) |
| 979 | + | if Key == "t" and ATTACK == false then |
| 980 | - | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
| 980 | + | Laugh() |
| 981 | - | TextLabel.TextTransparency = Percent |
| 981 | + | |
| 982 | end | |
| 983 | - | if EffectPart and EffectPart.Parent then |
| 983 | + | |
| 984 | - | EffectPart:Destroy() |
| 984 | + | function KeyUp(Key) |
| 985 | KEYHOLD = false | |
| 986 | end | |
| 987 | ||
| 988 | - | ------------------------------------------------------- |
| 988 | + | Mouse.Button1Down:connect(function(NEWKEY) |
| 989 | - | --End Damage Function Customization-- |
| 989 | + | MouseDown(NEWKEY) |
| 990 | - | ------------------------------------------------------- |
| 990 | + | |
| 991 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 992 | - | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) |
| 992 | + | MouseUp(NEWKEY) |
| 993 | - | for _, c in pairs(workspace:children()) do |
| 993 | + | |
| 994 | - | local hum = c:findFirstChild("Humanoid")
|
| 994 | + | Mouse.KeyDown:connect(function(NEWKEY) |
| 995 | - | if hum ~= nil then |
| 995 | + | KeyDown(NEWKEY) |
| 996 | - | local head = c:findFirstChild("Head")
|
| 996 | + | |
| 997 | - | if head ~= nil then |
| 997 | + | Mouse.KeyUp:connect(function(NEWKEY) |
| 998 | - | local targ = head.Position - Part.Position |
| 998 | + | KeyUp(NEWKEY) |
| 999 | - | local mag = targ.magnitude |
| 999 | + | |
| 1000 | - | if magni >= mag and c.Name ~= plr.Name then |
| 1000 | + | |
| 1001 | - | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) |
| 1001 | + | --//=================================\\ |
| 1002 | - | end |
| 1002 | + | --\\=================================// |
| 1003 | - | end |
| 1003 | + | |
| 1004 | ||
| 1005 | - | end |
| 1005 | + | function unanchor() |
| 1006 | if UNANCHOR == true then | |
| 1007 | g = Character:GetChildren() | |
| 1008 | for i = 1, #g do | |
| 1009 | - | CFuncs = {
|
| 1009 | + | if g[i].ClassName == "Part" then |
| 1010 | - | Part = {
|
| 1010 | + | g[i].Anchored = false |
| 1011 | - | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 1011 | + | |
| 1012 | - | local Part = Create("Part")({
|
| 1012 | + | |
| 1013 | - | Parent = Parent, |
| 1013 | + | |
| 1014 | - | Reflectance = Reflectance, |
| 1014 | + | |
| 1015 | - | Transparency = Transparency, |
| 1015 | + | |
| 1016 | - | CanCollide = false, |
| 1016 | + | |
| 1017 | - | Locked = true, |
| 1017 | + | --//=================================\\ |
| 1018 | - | BrickColor = BrickColor.new(tostring(BColor)), |
| 1018 | + | --|| WRAP THE WHOLE SCRIPT UP |
| 1019 | - | Name = Name, |
| 1019 | + | --\\=================================// |
| 1020 | - | Size = Size, |
| 1020 | + | |
| 1021 | - | Material = Material |
| 1021 | + | Humanoid.Changed:connect(function(Jump) |
| 1022 | - | }) |
| 1022 | + | if Jump == "Jump" and (Disable_Jump == true) then |
| 1023 | - | RemoveOutlines(Part) |
| 1023 | + | Humanoid.Jump = false |
| 1024 | - | return Part |
| 1024 | + | |
| 1025 | end) | |
| 1026 | - | }, |
| 1026 | + | |
| 1027 | - | Mesh = {
|
| 1027 | + | Speed = 10 |
| 1028 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 1028 | + | |
| 1029 | - | local Msh = Create(Mesh)({
|
| 1029 | + | local naeeym2 = Instance.new("BillboardGui",Character)
|
| 1030 | - | Parent = Part, |
| 1030 | + | |
| 1031 | - | Offset = OffSet, |
| 1031 | + | |
| 1032 | - | Scale = Scale |
| 1032 | + | naeeym2.StudsOffset = Vector3.new(0,1,0) |
| 1033 | - | }) |
| 1033 | + | naeeym2.Adornee = Character.Head |
| 1034 | - | if Mesh == "SpecialMesh" then |
| 1034 | + | |
| 1035 | - | Msh.MeshType = MeshType |
| 1035 | + | naeeym2.PlayerToHideFrom = Player |
| 1036 | - | Msh.MeshId = MeshId |
| 1036 | + | |
| 1037 | tecks2.BackgroundTransparency = 1 | |
| 1038 | - | return Msh |
| 1038 | + | |
| 1039 | tecks2.BorderSizePixel = 0 | |
| 1040 | - | }, |
| 1040 | + | tecks2.Text = game.Players.LocalPlayer.Character.Name.." Ugandan Noob" |
| 1041 | - | Mesh = {
|
| 1041 | + | tecks2.Font = "Cartoon" |
| 1042 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 1042 | + | |
| 1043 | - | local Msh = Create(Mesh)({
|
| 1043 | + | |
| 1044 | - | Parent = Part, |
| 1044 | + | tecks2.TextColor3 = Color3.new(300,88,99) |
| 1045 | - | Offset = OffSet, |
| 1045 | + | tecks2.TextStrokeColor3 = Color3.new(300,88,99) |
| 1046 | - | Scale = Scale |
| 1046 | + | |
| 1047 | - | }) |
| 1047 | + | |
| 1048 | - | if Mesh == "SpecialMesh" then |
| 1048 | + | |
| 1049 | - | Msh.MeshType = MeshType |
| 1049 | + | |
| 1050 | - | Msh.MeshId = MeshId |
| 1050 | + | ANIMATE.Parent = nil |
| 1051 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
| 1052 | - | return Msh |
| 1052 | + | IDLEANIMATION:Play() |
| 1053 | SINE = SINE + CHANGE | |
| 1054 | - | }, |
| 1054 | + | TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude |
| 1055 | - | Weld = {
|
| 1055 | + | local TORSOVERTICALVELOCITY = RootPart.Velocity.y |
| 1056 | - | Create = function(Parent, Part0, Part1, C0, C1) |
| 1056 | + | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) |
| 1057 | - | local Weld = Create("Weld")({
|
| 1057 | + | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) |
| 1058 | - | Parent = Parent, |
| 1058 | + | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) |
| 1059 | - | Part0 = Part0, |
| 1059 | + | if ANIM == "Walk" and TORSOVELOCITY > 1 then |
| 1060 | - | Part1 = Part1, |
| 1060 | + | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
| 1061 | - | C0 = C0, |
| 1061 | + | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
| 1062 | - | C1 = C1 |
| 1062 | + | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
| 1063 | - | }) |
| 1063 | + | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
| 1064 | - | return Weld |
| 1064 | + | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then |
| 1065 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1066 | - | }, |
| 1066 | + | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1067 | - | Sound = {
|
| 1067 | + | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1068 | - | Create = function(id, par, vol, pit) |
| 1068 | + | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1069 | end | |
| 1070 | - | local S = Create("Sound")({
|
| 1070 | + | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then |
| 1071 | - | Volume = vol, |
| 1071 | + | ANIM = "Jump" |
| 1072 | - | Pitch = pit or 1, |
| 1072 | + | if ATTACK == false then |
| 1073 | - | SoundId = id, |
| 1073 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1074 | - | Parent = par or workspace |
| 1074 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1075 | - | }) |
| 1075 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) |
| 1076 | - | wait() |
| 1076 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
| 1077 | - | S:play() |
| 1077 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) |
| 1078 | - | game:GetService("Debris"):AddItem(S, 6)
|
| 1078 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) |
| 1079 | HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-165), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1080 | end | |
| 1081 | - | }, |
| 1081 | + | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then |
| 1082 | - | ParticleEmitter = {
|
| 1082 | + | ANIM = "Fall" |
| 1083 | - | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
| 1083 | + | if ATTACK == false then |
| 1084 | - | local fp = Create("ParticleEmitter")({
|
| 1084 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1085 | - | Parent = Parent, |
| 1085 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1086 | - | Color = ColorSequence.new(Color1, Color2), |
| 1086 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) |
| 1087 | - | LightEmission = LightEmission, |
| 1087 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
| 1088 | - | Size = Size, |
| 1088 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) |
| 1089 | - | Texture = Texture, |
| 1089 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) |
| 1090 | - | Transparency = Transparency, |
| 1090 | + | HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-85), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1091 | - | ZOffset = ZOffset, |
| 1091 | + | |
| 1092 | - | Acceleration = Accel, |
| 1092 | + | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then |
| 1093 | - | Drag = Drag, |
| 1093 | + | ANIM = "Idle" |
| 1094 | - | LockedToPart = LockedToPart, |
| 1094 | + | if ATTACK == false then |
| 1095 | - | VelocityInheritance = VelocityInheritance, |
| 1095 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1096 | - | EmissionDirection = EmissionDirection, |
| 1096 | + | if VALUE1 == false then |
| 1097 | - | Enabled = Enabled, |
| 1097 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1098 | - | Lifetime = LifeTime, |
| 1098 | + | |
| 1099 | - | Rate = Rate, |
| 1099 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
| 1100 | - | Rotation = Rotation, |
| 1100 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
| 1101 | - | RotSpeed = RotSpeed, |
| 1101 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1102 | - | Speed = Speed, |
| 1102 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1103 | - | VelocitySpread = VelocitySpread |
| 1103 | + | HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1104 | - | }) |
| 1104 | + | if VALUE1 == false and MRANDOM(1,200) == 1 then |
| 1105 | - | return fp |
| 1105 | + | coroutine.resume(coroutine.create(function() |
| 1106 | VALUE1 = true | |
| 1107 | - | } |
| 1107 | + | for i = 1, 25 do |
| 1108 | - | } |
| 1108 | + | Swait() |
| 1109 | - | function RemoveOutlines(part) |
| 1109 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD((15+MRANDOM(-15,15)/15)), RAD(0)), 3 / Animation_Speed) |
| 1110 | - | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
| 1110 | + | |
| 1111 | VALUE1 = false | |
| 1112 | - | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 1112 | + | end)) |
| 1113 | - | local Part = Create("Part")({
|
| 1113 | + | |
| 1114 | - | formFactor = FormFactor, |
| 1114 | + | |
| 1115 | - | Parent = Parent, |
| 1115 | + | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then |
| 1116 | - | Reflectance = Reflectance, |
| 1116 | + | ANIM = "Walk" |
| 1117 | - | Transparency = Transparency, |
| 1117 | + | WALK = WALK + 1 / Animation_Speed |
| 1118 | - | CanCollide = false, |
| 1118 | + | if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then |
| 1119 | - | Locked = true, |
| 1119 | + | WALK = 0 |
| 1120 | - | BrickColor = BrickColor.new(tostring(BColor)), |
| 1120 | + | if WALKINGANIM == true then |
| 1121 | - | Name = Name, |
| 1121 | + | WALKINGANIM = false |
| 1122 | - | Size = Size, |
| 1122 | + | elseif WALKINGANIM == false then |
| 1123 | - | Material = Material |
| 1123 | + | WALKINGANIM = true |
| 1124 | - | }) |
| 1124 | + | |
| 1125 | - | RemoveOutlines(Part) |
| 1125 | + | |
| 1126 | - | return Part |
| 1126 | + | --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
| 1127 | --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 1128 | - | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 1128 | + | if ATTACK == false then |
| 1129 | - | local Msh = Create(Mesh)({
|
| 1129 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1130 | - | Parent = Part, |
| 1130 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(25), RAD(0)), 0.15 / Animation_Speed) |
| 1131 | - | Offset = OffSet, |
| 1131 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 - 0.15 * COS(SINE / (WALKSPEEDVALUE / 2)), 0) * ANGLES(RAD(-20), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
| 1132 | - | Scale = Scale |
| 1132 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) |
| 1133 | - | }) |
| 1133 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) |
| 1134 | - | if Mesh == "SpecialMesh" then |
| 1134 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) |
| 1135 | - | Msh.MeshType = MeshType |
| 1135 | + | HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.75 + 0.3 * COS(SINE / (WALKSPEEDVALUE/2)), 0) * ANGLES(RAD(-145), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1136 | - | Msh.MeshId = MeshId |
| 1136 | + | |
| 1137 | end | |
| 1138 | - | return Msh |
| 1138 | + | unanchor() |
| 1139 | Humanoid.MaxHealth = "inf" | |
| 1140 | - | function CreateWeld(Parent, Part0, Part1, C0, C1) |
| 1140 | + | Humanoid.Health = "inf" |
| 1141 | - | local Weld = Create("Weld")({
|
| 1141 | + | if Rooted == false then |
| 1142 | - | Parent = Parent, |
| 1142 | + | Disable_Jump = false |
| 1143 | - | Part0 = Part0, |
| 1143 | + | Humanoid.WalkSpeed = Speed |
| 1144 | - | Part1 = Part1, |
| 1144 | + | elseif Rooted == true then |
| 1145 | - | C0 = C0, |
| 1145 | + | Disable_Jump = true |
| 1146 | - | C1 = C1 |
| 1146 | + | Humanoid.WalkSpeed = 0 |
| 1147 | - | }) |
| 1147 | + | |
| 1148 | - | return Weld |
| 1148 | + | if KILLINSTINCT > 0 then |
| 1149 | PuddleOfBlood(HandlePart.CFrame*CF(0,1,0).p,3,HandlePart,2) | |
| 1150 | KILLINSTINCT = KILLINSTINCT - 0.1 | |
| 1151 | end | |
| 1152 | - | ------------------------------------------------------- |
| 1152 | + | if Head:FindFirstChild("face") then
|
| 1153 | - | --Start Effect Function-- |
| 1153 | + | Head.face.Texture = "http://www.roblox.com/asset/?id=1243374078" |
| 1154 | - | ------------------------------------------------------- |
| 1154 | + | |
| 1155 | - | EffectModel = Instance.new("Model", char)
|
| 1155 | + | Trail.Color = ColorSequence.new(C3(1,1-KILLINSTINCT/70,1-KILLINSTINCT/70)) |
| 1156 | - | Effects = {
|
| 1156 | + | local MATHS = {"0","1"}
|
| 1157 | - | Block = {
|
| 1157 | + | Humanoid.Name = MATHS[MRANDOM(1,#MATHS)].."P"..MATHS[MRANDOM(1,#MATHS)].."S"..MATHS[MRANDOM(1,#MATHS)].."Y"..MATHS[MRANDOM(1,#MATHS)].."C"..MATHS[MRANDOM(1,#MATHS)].."H"..MATHS[MRANDOM(1,#MATHS)].."O"..MATHS[MRANDOM(1,#MATHS)] |
| 1158 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
| 1158 | + | Humanoid.PlatformStand = false |
| 1159 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1159 | + | script.Name = Humanoid.Name |
| 1160 | - | prt.Anchored = true |
| 1160 | + | if math.random(1,70-Speed) == 1 then |
| 1161 | - | prt.CFrame = cframe |
| 1161 | + | tecks2.Text = "Heh..." |
| 1162 | - | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1162 | + | elseif math.random(1,70-Speed) == 2 then |
| 1163 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 1163 | + | tecks2.Text = "I'm the pinker!" |
| 1164 | - | if Type == 1 or Type == nil then |
| 1164 | + | elseif math.random(1,70-Speed) == 3 then |
| 1165 | - | table.insert(Effects, {
|
| 1165 | + | tecks2.Text = "YOU ARE WORTHLESS!" |
| 1166 | - | prt, |
| 1166 | + | |
| 1167 | - | "Block1", |
| 1167 | + | if KILLINSTINCT > 0 then |
| 1168 | - | delay, |
| 1168 | + | if KILLINSTINCT < 1 then |
| 1169 | - | x3, |
| 1169 | + | if MRANDOM(1,math.ceil(100-KILLINSTINCT)) == 1 then |
| 1170 | - | y3, |
| 1170 | + | tecks2.Text = "Rekt m8" |
| 1171 | - | z3, |
| 1171 | + | else |
| 1172 | - | msh |
| 1172 | + | tecks2.Text = "MUHAHAHA!" |
| 1173 | - | }) |
| 1173 | + | |
| 1174 | - | elseif Type == 2 then |
| 1174 | + | elseif KILLINSTINCT >= 100 then |
| 1175 | - | table.insert(Effects, {
|
| 1175 | + | if MRANDOM(1,5) == 1 then |
| 1176 | - | prt, |
| 1176 | + | tecks2.Text = "GAMEKILLERTOY DA NUB!" |
| 1177 | - | "Block2", |
| 1177 | + | |
| 1178 | - | delay, |
| 1178 | + | else |
| 1179 | - | x3, |
| 1179 | + | tecks2.Text = "MUHAHAHA!" |
| 1180 | - | y3, |
| 1180 | + | |
| 1181 | - | z3, |
| 1181 | + | |
| 1182 | - | msh |
| 1182 | + | tecks2.Text = "MUHAHAHA!" |
| 1183 | - | }) |
| 1183 | + | |
| 1184 | - | else |
| 1184 | + | |
| 1185 | - | table.insert(Effects, {
|
| 1185 | + | DECAL.Transparency = 1-(KILLINSTINCT/25) |
| 1186 | - | prt, |
| 1186 | + | Swait() |
| 1187 | - | "Block3", |
| 1187 | + | if Head:FindFirstChildOfClass("Sound") then
|
| 1188 | - | delay, |
| 1188 | + | Head:FindFirstChildOfClass("Sound"):remove()
|
| 1189 | - | x3, |
| 1189 | + | |
| 1190 | - | y3, |
| 1190 | + | if KILLINSTINCT > 1 then |
| 1191 | - | z3, |
| 1191 | + | KILLINSTINCT = 1 |
| 1192 | - | msh |
| 1192 | + | |
| 1193 | - | }) |
| 1193 | + | sick.Parent = Character |
| 1194 | - | end |
| 1194 | + | Sky.Parent = game.Lighting |
| 1195 | game.Lighting.ClockTime = 100 | |
| 1196 | - | }, |
| 1196 | + | script.Parent = PlayerGui |
| 1197 | - | Sphere = {
|
| 1197 | + | |
| 1198 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1198 | + | |
| 1199 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1199 | + | --//=================================\\ |
| 1200 | - | prt.Anchored = true |
| 1200 | + | --\\=================================// |
| 1201 | - | prt.CFrame = cframe |
| 1201 | + | |
| 1202 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1202 | + | |
| 1203 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 1203 | + | |
| 1204 | - | table.insert(Effects, {
|
| 1204 | + | |
| 1205 | - | prt, |
| 1205 | + | |
| 1206 | - | "Cylinder", |
| 1206 | + | --//====================================================\\-- |
| 1207 | - | delay, |
| 1207 | + | --|| END OF SCRIPT |
| 1208 | - | x3, |
| 1208 | + | --\\====================================================//-- |