SHOW:
|
|
- or go back to the newest paste.
| 1 | - | do |
| 1 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
| 2 | - | local filteredMessages = { ['___'] = '___' };
|
| 2 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
|
| 3 | - | local onPropertyChanged = function (obj) |
| 3 | + | local Player,game,owner = owner,game |
| 4 | - | if (obj:isDescendantOf (workspace)) then |
| 4 | + | local RealPlayer = Player |
| 5 | - | local objText = obj.Text; |
| 5 | + | do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
|
| 6 | - | |
| 6 | + | |
| 7 | - | if (objText ~= '___' and objText:find '(%S)') then |
| 7 | + | |
| 8 | - | if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then |
| 8 | + | print("edited by 3677272ALT")
|
| 9 | - | obj.Text = filteredMessages [objText]; |
| 9 | + | wait(0.016666666666666666) |
| 10 | - | elseif (not filteredMessages [objText]) then |
| 10 | + | plr = game.Players.LocalPlayer |
| 11 | - | obj.Text = '___'; |
| 11 | + | |
| 12 | - | |
| 12 | + | sound = Instance.new("Sound", game.Workspace)
|
| 13 | - | local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer); |
| 13 | + | sound.SoundId = "https://www.roblox.com/asset/?id=840567549" |
| 14 | - | |
| 14 | + | |
| 15 | - | filteredMessages [objText] = filtered; |
| 15 | + | |
| 16 | - | filteredMessages [filtered] = filtered; |
| 16 | + | |
| 17 | - | |
| 17 | + | |
| 18 | - | obj.Text = filtered; |
| 18 | + | |
| 19 | - | end; |
| 19 | + | |
| 20 | - | end; |
| 20 | + | |
| 21 | - | end; |
| 21 | + | sound:Play() |
| 22 | - | end; |
| 22 | + | local function spawnpart() |
| 23 | - | |
| 23 | + | sphere = Instance.new("Part")
|
| 24 | - | local newInstance = Instance.new; |
| 24 | + | --game.Debris:AddItem(sphere,3) |
| 25 | - | Instance = {
|
| 25 | + | local sm = Instance.new("SpecialMesh", sphere)
|
| 26 | - | new = function (class, parent) |
| 26 | + | sm.MeshType = "Sphere" |
| 27 | - | local obj = newInstance (class, parent); |
| 27 | + | sphere.Transparency = 0.5 |
| 28 | - | |
| 28 | + | sphere.Anchored = true |
| 29 | - | if (pcall (function()return obj.Text;end)) then |
| 29 | + | sphere.CanCollide = false |
| 30 | - | obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
|
| 30 | + | sphere.Material = "SmoothPlastic" |
| 31 | - | obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
|
| 31 | + | sphere.BrickColor = BrickColor.new("Lapis")
|
| 32 | - | end; |
| 32 | + | |
| 33 | - | |
| 33 | + | |
| 34 | - | return obj; |
| 34 | + | |
| 35 | - | end; |
| 35 | + | |
| 36 | - | }; |
| 36 | + | |
| 37 | weld.Part1 = lol | |
| 38 | - | local filteredMessages = { ['___'] = '___' };
|
| 38 | + | |
| 39 | - | local onPropertyChanged = function (obj) |
| 39 | + | |
| 40 | - | if (obj:isDescendantOf (workspace)) then |
| 40 | + | |
| 41 | - | local objText = obj.Text; |
| 41 | + | wait(1.4) |
| 42 | - | |
| 42 | + | spawnpart() |
| 43 | - | if (objText ~= '___' and objText:find '(%S)') then |
| 43 | + | |
| 44 | - | if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then |
| 44 | + | |
| 45 | - | obj.Text = filteredMessages [objText]; |
| 45 | + | |
| 46 | - | elseif (not filteredMessages [objText]) then |
| 46 | + | |
| 47 | - | obj.Text = '___'; |
| 47 | + | |
| 48 | - | |
| 48 | + | |
| 49 | - | local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer); |
| 49 | + | |
| 50 | - | |
| 50 | + | |
| 51 | - | filteredMessages [objText] = filtered; |
| 51 | + | |
| 52 | - | filteredMessages [filtered] = filtered; |
| 52 | + | |
| 53 | - | |
| 53 | + | |
| 54 | - | obj.Text = filtered; |
| 54 | + | |
| 55 | - | end; |
| 55 | + | |
| 56 | - | end; |
| 56 | + | |
| 57 | - | end; |
| 57 | + | |
| 58 | - | end; |
| 58 | + | |
| 59 | - | |
| 59 | + | |
| 60 | - | local newInstance = Instance.new; |
| 60 | + | |
| 61 | - | Instance = {
|
| 61 | + | |
| 62 | - | new = function (class, parent) |
| 62 | + | |
| 63 | - | local obj = newInstance (class, parent); |
| 63 | + | |
| 64 | - | |
| 64 | + | |
| 65 | - | if (pcall (function()return obj.Text;end)) then |
| 65 | + | |
| 66 | - | obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
|
| 66 | + | |
| 67 | - | obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
|
| 67 | + | |
| 68 | - | end; |
| 68 | + | |
| 69 | - | |
| 69 | + | |
| 70 | - | return obj; |
| 70 | + | weld(sphere) |
| 71 | - | end; |
| 71 | + | cce = Instance.new("ColorCorrectionEffect", game.Lighting)
|
| 72 | - | }; |
| 72 | + | cce.Saturation = -2 |
| 73 | - | end; |
| 73 | + | |
| 74 | sphere.Parent = game.Workspace | |
| 75 | for i = 1,10 do | |
| 76 | - | plr = game.Players.LocalPlayer |
| 76 | + | sphere.Size = sphere.Size + Vector3.new(50,50,50) |
| 77 | - | char = game.Players.LocalPlayer.Character |
| 77 | + | |
| 78 | - | wait(0.016666666666666666) |
| 78 | + | |
| 79 | --wait(5) | |
| 80 | ||
| 81 | - | local Head = char.Head |
| 81 | + | |
| 82 | - | local Players=game:service'Players' |
| 82 | + | |
| 83 | - | local Player=Players.LocalPlayer |
| 83 | + | |
| 84 | - | local Mouse=Player:GetMouse'' |
| 84 | + | |
| 85 | ||
| 86 | - | char.Humanoid.MaxHealth = math.huge |
| 86 | + | |
| 87 | - | char.Humanoid.Health = math.huge |
| 87 | + | |
| 88 | if key == "h" then | |
| 89 | canworld = true | |
| 90 | for i, v in pairs(game.Players:GetChildren()) do | |
| 91 | - | Par1=Instance.new('ParticleEmitter',char['Torso'])
|
| 91 | + | |
| 92 | - | Par1.LightEmission=100 |
| 92 | + | |
| 93 | - | Par1.LightInfluence=5 |
| 93 | + | |
| 94 | - | Par1.LockedToPart=true |
| 94 | + | |
| 95 | - | Par1.Texture='rbxassetid://74675986' |
| 95 | + | |
| 96 | if RA then | |
| 97 | - | Par1.Transparency=NumberSequence.new(0.9) |
| 97 | + | |
| 98 | - | Par1.Lifetime=NumberRange.new(0.3) |
| 98 | + | |
| 99 | - | Par1.Rate=500 |
| 99 | + | |
| 100 | if LA then | |
| 101 | - | Par1.Enabled = false |
| 101 | + | |
| 102 | end | |
| 103 | RL = v.Character:FindFirstChild("Right Leg")
| |
| 104 | if RL then | |
| 105 | RL.Anchored = false | |
| 106 | end | |
| 107 | LL = v.Character:FindFirstChild("Left Leg")
| |
| 108 | if LL then | |
| 109 | - | base = Instance.new("ScreenGui",plr.PlayerGui)
|
| 109 | + | |
| 110 | - | bbg = Instance.new("BillboardGui",plr.Character.Head)
|
| 110 | + | |
| 111 | - | bbg.Size = UDim2.new(0,200,0,50) |
| 111 | + | |
| 112 | - | bbg.StudsOffset = Vector3.new(0,3,0) |
| 112 | + | cce.Saturation = 0 |
| 113 | - | bbgTl = Instance.new("TextLabel",bbg)
|
| 113 | + | sphere:Destroy() |
| 114 | - | bbgTl.BackgroundTransparency = 1 |
| 114 | + | |
| 115 | - | bbgTl.Size = UDim2.new(10,0,1,0) |
| 115 | + | |
| 116 | - | bbgTl.Position = UDim2.new(-4.5,0,0,0) |
| 116 | + | |
| 117 | - | bbgTl.Font = "Fantasy" |
| 117 | + | |
| 118 | - | bbgTl.Text = " " |
| 118 | + | |
| 119 | - | bbgTl.TextSize = 25 |
| 119 | + | |
| 120 | - | bbgTl.TextStrokeColor3 = Color3.new(100,0,100) |
| 120 | + | |
| 121 | - | bbgTl.TextColor3 = Color3.new(0,0,100) |
| 121 | + | |
| 122 | - | bbgTl.TextStrokeTransparency = 0 |
| 122 | + | AdvancingFortress.Parent = Character |
| 123 | - | bbgTl.TextWrapped = true |
| 123 | + | |
| 124 | - | plr.Chatted:connect(function(msg) |
| 124 | + | |
| 125 | - | bbgTl.Text = msg |
| 125 | + | |
| 126 | - | wait(1) |
| 126 | + | |
| 127 | - | TextFade() |
| 127 | + | |
| 128 | if v:IsA("BasePart") then
| |
| 129 | v.Transparency = 1 | |
| 130 | end | |
| 131 | - | function TextFade() |
| 131 | + | |
| 132 | local Humanoid = AdvancingFortress.Humanoid | |
| 133 | - | bbgTl.TextTransparency = 0.1 |
| 133 | + | |
| 134 | - | bbgTl.TextStrokeTransparency = 0.1 |
| 134 | + | |
| 135 | - | wait(0.1) |
| 135 | + | |
| 136 | - | bbgTl.TextTransparency = 0.2 |
| 136 | + | |
| 137 | - | bbgTl.TextStrokeTransparency = 0.2 |
| 137 | + | |
| 138 | - | wait(0.1) |
| 138 | + | |
| 139 | - | bbgTl.TextTransparency = 0.3 |
| 139 | + | |
| 140 | - | bbgTl.TextStrokeTransparency = 0.3 |
| 140 | + | |
| 141 | - | wait(0.1) |
| 141 | + | |
| 142 | - | bbgTl.TextTransparency = 0.4 |
| 142 | + | |
| 143 | - | bbgTl.TextStrokeTransparency = 0.4 |
| 143 | + | |
| 144 | - | wait(0.1) |
| 144 | + | |
| 145 | - | bbgTl.TextTransparency = 0.5 |
| 145 | + | |
| 146 | - | bbgTl.TextStrokeTransparency = 0.5 |
| 146 | + | |
| 147 | - | wait(0.1) |
| 147 | + | |
| 148 | - | bbgTl.TextTransparency = 0.6 |
| 148 | + | |
| 149 | - | bbgTl.TextStrokeTransparency = 0.6 |
| 149 | + | |
| 150 | - | wait(0.1) |
| 150 | + | |
| 151 | - | bbgTl.TextTransparency = 0.7 |
| 151 | + | |
| 152 | - | bbgTl.TextStrokeTransparency = 0.7 |
| 152 | + | |
| 153 | - | wait(0.1) |
| 153 | + | |
| 154 | - | bbgTl.TextTransparency = 0.8 |
| 154 | + | |
| 155 | - | bbgTl.TextStrokeTransparency = 0.8 |
| 155 | + | |
| 156 | - | wait(0.1) |
| 156 | + | Head.face:remove() |
| 157 | - | bbgTl.TextTransparency = 0.9 |
| 157 | + | |
| 158 | - | bbgTl.TextStrokeTransparency = 0.9 |
| 158 | + | |
| 159 | - | wait(0.1) |
| 159 | + | |
| 160 | - | bbgTl.Text = " " |
| 160 | + | |
| 161 | - | wait(0.00000000000000001) |
| 161 | + | |
| 162 | - | bbgTl.TextTransparency = 0 |
| 162 | + | |
| 163 | - | bbgTl.TextStrokeTransparency = 0 |
| 163 | + | |
| 164 | Parent = part0, | |
| 165 | Part0 = part0, | |
| 166 | - | local Orin = "rbxassetid://1156642909" |
| 166 | + | |
| 167 | - | Head.face.Texture = Orin |
| 167 | + | |
| 168 | - | spawn(function() |
| 168 | + | |
| 169 | - | while wait() do |
| 169 | + | |
| 170 | - | char["Body Colors"].HeadColor = BrickColor.new("Light brick yellow")
|
| 170 | + | |
| 171 | - | char["Body Colors"].TorsoColor = BrickColor.new("Light brick yellow")
|
| 171 | + | |
| 172 | - | char["Body Colors"].LeftArmColor = BrickColor.new("Light brick yellow")
|
| 172 | + | |
| 173 | - | char["Body Colors"].RightArmColor = BrickColor.new("Light brick yellow")
|
| 173 | + | |
| 174 | - | char["Body Colors"].LeftLegColor = BrickColor.new("Light brick yellow")
|
| 174 | + | |
| 175 | - | char["Body Colors"].RightLegColor = BrickColor.new("Light brick yellow")
|
| 175 | + | |
| 176 | NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 177 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 178 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 179 | - | char.Shirt:Remove() |
| 179 | + | |
| 180 | - | char.Pants:Remove() |
| 180 | + | |
| 181 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 182 | - | shirt = Instance.new("Shirt", char)
|
| 182 | + | |
| 183 | - | shirt.Name = "Shirt" |
| 183 | + | |
| 184 | - | pants = Instance.new("Pants", char)
|
| 184 | + | |
| 185 | - | pants.Name = "Pants" |
| 185 | + | |
| 186 | - | char.Shirt.ShirtTemplate = "rbxassetid://1091712911" |
| 186 | + | |
| 187 | - | char.Pants.PantsTemplate = "rbxassetid://1448269749" |
| 187 | + | |
| 188 | - | for i, v in pairs(char:GetChildren()) do |
| 188 | + | |
| 189 | - | if v.ClassName == "Accessory" then |
| 189 | + | |
| 190 | function PlayAnimationFromTable(table, speed, bool) | |
| 191 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 192 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 193 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 194 | - | Hat3 = Instance.new("Model")
|
| 194 | + | |
| 195 | - | Hat3.Parent = char |
| 195 | + | |
| 196 | - | Hat3.Name = "Hat3" |
| 196 | + | |
| 197 | - | rh = Instance.new("Part")
|
| 197 | + | |
| 198 | - | rh.Parent = Hat3 |
| 198 | + | |
| 199 | - | rh.BrickColor = BrickColor.new("Really black")
|
| 199 | + | |
| 200 | - | rh.Locked = true |
| 200 | + | |
| 201 | - | rh.CanCollide = false |
| 201 | + | |
| 202 | - | mesh = Instance.new("SpecialMesh")
|
| 202 | + | |
| 203 | - | rh.formFactor = "Symmetric" |
| 203 | + | |
| 204 | - | mesh.MeshType = "FileMesh" |
| 204 | + | |
| 205 | - | mesh.MeshId = "rbxassetid://1476257758" |
| 205 | + | |
| 206 | - | mesh.TextureId = "rbxassetid://871411385" |
| 206 | + | |
| 207 | - | mesh.Parent = rh |
| 207 | + | |
| 208 | - | local weld = Instance.new("Weld")
|
| 208 | + | |
| 209 | - | weld.Parent = rh |
| 209 | + | |
| 210 | - | weld.Part0 = rh |
| 210 | + | |
| 211 | - | weld.Part1 = char.Head |
| 211 | + | |
| 212 | - | weld.C0 = CFrame.new(-0.05, -0.2, 0.1)*CFrame.Angles(0, 0, 0) |
| 212 | + | |
| 213 | - | mesh.Scale = Vector3.new(1.05,1, 0.8) |
| 213 | + | |
| 214 | - | Hat3.Part.Transparency = 0 |
| 214 | + | |
| 215 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 216 | - | Hat = Instance.new("Model")
|
| 216 | + | |
| 217 | - | Hat.Parent = char |
| 217 | + | |
| 218 | - | Hat.Name = "Hat" |
| 218 | + | |
| 219 | - | rh = Instance.new("Part")
|
| 219 | + | |
| 220 | - | rh.Parent = Hat |
| 220 | + | |
| 221 | - | rh.BrickColor = BrickColor.new("Really black")
|
| 221 | + | |
| 222 | - | rh.Locked = true |
| 222 | + | |
| 223 | - | rh.CanCollide = false |
| 223 | + | |
| 224 | - | mesh = Instance.new("SpecialMesh")
|
| 224 | + | |
| 225 | - | rh.formFactor = "Symmetric" |
| 225 | + | |
| 226 | - | mesh.MeshType = "FileMesh" |
| 226 | + | |
| 227 | - | mesh.MeshId = "rbxassetid://874044556" |
| 227 | + | |
| 228 | - | mesh.TextureId = "rbxassetid://875114591" |
| 228 | + | |
| 229 | - | mesh.Parent = rh |
| 229 | + | |
| 230 | - | local weld = Instance.new("Weld")
|
| 230 | + | |
| 231 | - | weld.Parent = rh |
| 231 | + | |
| 232 | - | weld.Part0 = rh |
| 232 | + | |
| 233 | - | weld.Part1 =char.Head |
| 233 | + | |
| 234 | - | weld.C0 = CFrame.new(0, -0.8, -0.5)*CFrame.Angles(0, 0, 0) |
| 234 | + | |
| 235 | - | mesh.Scale = Vector3.new(0.04,0.038, 0.04) |
| 235 | + | |
| 236 | ArtificialHB.Event:wait() | |
| 237 | - | muscle = Instance.new("Model")
|
| 237 | + | |
| 238 | - | muscle.Parent = char |
| 238 | + | |
| 239 | - | muscle.Name = "muscle" |
| 239 | + | |
| 240 | - | rh = Instance.new("Part")
|
| 240 | + | |
| 241 | - | rh.Parent = muscle |
| 241 | + | |
| 242 | - | rh.BrickColor = BrickColor.new("Alder")
|
| 242 | + | |
| 243 | - | rh.Locked = true |
| 243 | + | |
| 244 | - | rh.CanCollide = false |
| 244 | + | |
| 245 | - | mesh = Instance.new("SpecialMesh")
|
| 245 | + | |
| 246 | - | rh.formFactor = "Symmetric" |
| 246 | + | |
| 247 | - | mesh.MeshType = "FileMesh" |
| 247 | + | |
| 248 | - | mesh.MeshId = "rbxassetid://958074736" |
| 248 | + | |
| 249 | - | mesh.Parent = rh |
| 249 | + | |
| 250 | - | local weld = Instance.new("Weld")
|
| 250 | + | |
| 251 | - | weld.Parent = rh |
| 251 | + | |
| 252 | - | weld.Part0 = rh |
| 252 | + | |
| 253 | - | weld.Part1 =char.Torso |
| 253 | + | |
| 254 | - | weld.C0 = CFrame.new(0, 0.1, 0.5)*CFrame.Angles(12.4, 0, 0) |
| 254 | + | |
| 255 | - | mesh.Scale = Vector3.new(0.009,0.01,0.01) |
| 255 | + | |
| 256 | Name = Name, | |
| 257 | Size = Size, | |
| 258 | Material = Material | |
| 259 | }) | |
| 260 | - | scarf = Instance.new("Model")
|
| 260 | + | |
| 261 | - | scarf.Parent = char |
| 261 | + | |
| 262 | - | scarf.Name = "scarf" |
| 262 | + | |
| 263 | - | rh = Instance.new("Part")
|
| 263 | + | |
| 264 | - | rh.Parent = scarf |
| 264 | + | |
| 265 | - | rh.BrickColor = BrickColor.new("White")
|
| 265 | + | |
| 266 | - | rh.Locked = true |
| 266 | + | |
| 267 | - | rh.CanCollide = false |
| 267 | + | |
| 268 | - | mesh = Instance.new("SpecialMesh")
|
| 268 | + | |
| 269 | - | rh.formFactor = "Symmetric" |
| 269 | + | |
| 270 | - | mesh.MeshType = "FileMesh" |
| 270 | + | |
| 271 | - | mesh.MeshId = "rbxassetid://873798502" |
| 271 | + | |
| 272 | Msh.MeshType = MeshType | |
| 273 | - | mesh.Parent = rh |
| 273 | + | |
| 274 | - | local weld = Instance.new("Weld")
|
| 274 | + | |
| 275 | - | weld.Parent = rh |
| 275 | + | |
| 276 | - | weld.Part0 = rh |
| 276 | + | |
| 277 | - | weld.Part1 =char.Torso |
| 277 | + | |
| 278 | - | weld.C0 = CFrame.new(0, -1., 0)*CFrame.Angles(0, 0, 0) |
| 278 | + | |
| 279 | - | mesh.Scale = Vector3.new(0.0155,0.0155,0.0155) |
| 279 | + | |
| 280 | local Weld = Create("Weld")({
| |
| 281 | - | rs = Instance.new("Model")
|
| 281 | + | |
| 282 | - | rs.Parent = char |
| 282 | + | |
| 283 | - | rs.Name = "rs" |
| 283 | + | |
| 284 | - | rh = Instance.new("Part")
|
| 284 | + | |
| 285 | - | rh.Parent = rs |
| 285 | + | |
| 286 | - | rh.BrickColor = BrickColor.new("Bright yellow")
|
| 286 | + | |
| 287 | - | rh.Locked = true |
| 287 | + | |
| 288 | - | rh.CanCollide = false |
| 288 | + | |
| 289 | - | mesh = Instance.new("SpecialMesh")
|
| 289 | + | |
| 290 | - | rh.formFactor = "Symmetric" |
| 290 | + | |
| 291 | - | mesh.MeshType = "FileMesh" |
| 291 | + | |
| 292 | - | mesh.MeshId = "rbxassetid://874040321" |
| 292 | + | |
| 293 | - | mesh.TextureId = "rbxassetid://875114591" |
| 293 | + | |
| 294 | - | mesh.Parent = rh |
| 294 | + | |
| 295 | - | local weld = Instance.new("Weld")
|
| 295 | + | |
| 296 | - | weld.Parent = rh |
| 296 | + | |
| 297 | - | weld.Part0 = rh |
| 297 | + | |
| 298 | - | weld.Part1 =char["Right Arm"] |
| 298 | + | |
| 299 | - | weld.C0 = CFrame.new(0, -1, 0)*CFrame.Angles(0, 0, 0) |
| 299 | + | |
| 300 | - | mesh.Scale = Vector3.new(0.012,0.012,0.012) |
| 300 | + | |
| 301 | end | |
| 302 | - | ls = Instance.new("Model")
|
| 302 | + | |
| 303 | - | ls.Parent = char |
| 303 | + | |
| 304 | - | ls.Name = "ls" |
| 304 | + | |
| 305 | - | rh = Instance.new("Part")
|
| 305 | + | |
| 306 | - | rh.Parent = ls |
| 306 | + | |
| 307 | - | rh.BrickColor = BrickColor.new("Bright yellow")
|
| 307 | + | |
| 308 | - | rh.Locked = true |
| 308 | + | |
| 309 | - | rh.CanCollide = false |
| 309 | + | |
| 310 | - | mesh = Instance.new("SpecialMesh")
|
| 310 | + | |
| 311 | - | rh.formFactor = "Symmetric" |
| 311 | + | |
| 312 | - | mesh.MeshType = "FileMesh" |
| 312 | + | |
| 313 | - | mesh.MeshId = "rbxassetid://874041559" |
| 313 | + | |
| 314 | - | mesh.TextureId = "rbxassetid://875114591" |
| 314 | + | |
| 315 | - | mesh.Parent = rh |
| 315 | + | |
| 316 | - | local weld = Instance.new("Weld")
|
| 316 | + | |
| 317 | - | weld.Parent = rh |
| 317 | + | |
| 318 | - | weld.Part0 = rh |
| 318 | + | |
| 319 | - | weld.Part1 =char["Left Arm"] |
| 319 | + | |
| 320 | - | weld.C0 = CFrame.new(0, -1, 0)*CFrame.Angles(0, 0, 0) |
| 320 | + | |
| 321 | - | mesh.Scale = Vector3.new(0.012,0.012,0.012) |
| 321 | + | |
| 322 | Size = UDim2.new(1, 0, 1, 0), | |
| 323 | - | cloth = Instance.new("Model")
|
| 323 | + | |
| 324 | - | cloth.Parent = char |
| 324 | + | |
| 325 | - | cloth.Name = "cloth" |
| 325 | + | |
| 326 | - | rh = Instance.new("Part")
|
| 326 | + | |
| 327 | - | rh.Parent = cloth |
| 327 | + | |
| 328 | - | rh.BrickColor = BrickColor.new("Quill grey")
|
| 328 | + | |
| 329 | - | rh.Locked = true |
| 329 | + | |
| 330 | - | rh.CanCollide = false |
| 330 | + | |
| 331 | - | mesh = Instance.new("SpecialMesh")
|
| 331 | + | |
| 332 | - | rh.formFactor = "Symmetric" |
| 332 | + | |
| 333 | - | mesh.MeshType = "FileMesh" |
| 333 | + | |
| 334 | - | mesh.MeshId = "rbxassetid://874045262" |
| 334 | + | |
| 335 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 336 | - | mesh.Parent = rh |
| 336 | + | |
| 337 | - | local weld = Instance.new("Weld")
|
| 337 | + | |
| 338 | - | weld.Parent = rh |
| 338 | + | |
| 339 | - | weld.Part0 = rh |
| 339 | + | |
| 340 | - | weld.Part1 =char.Torso |
| 340 | + | |
| 341 | - | weld.C0 = CFrame.new(0, 1.6, 0.2)*CFrame.Angles(-0.5, 0, 0) |
| 341 | + | |
| 342 | - | mesh.Scale = Vector3.new(0.0065,0.008,0.008) |
| 342 | + | |
| 343 | ZOffset = ZOffset, | |
| 344 | - | ear1 = Instance.new("Model")
|
| 344 | + | |
| 345 | - | ear1.Parent = char |
| 345 | + | |
| 346 | - | ear1.Name = "ear1" |
| 346 | + | |
| 347 | - | rh = Instance.new("Part")
|
| 347 | + | |
| 348 | - | rh.Parent = ear1 |
| 348 | + | |
| 349 | - | rh.BrickColor = BrickColor.new("Pastel Blue")
|
| 349 | + | |
| 350 | - | rh.Locked = true |
| 350 | + | |
| 351 | - | rh.CanCollide = false |
| 351 | + | |
| 352 | - | mesh = Instance.new("SpecialMesh")
|
| 352 | + | |
| 353 | - | rh.formFactor = "Symmetric" |
| 353 | + | |
| 354 | - | mesh.MeshType = "FileMesh" |
| 354 | + | |
| 355 | - | mesh.MeshId = "rbxassetid://431119824" |
| 355 | + | |
| 356 | - | mesh.Parent = rh |
| 356 | + | |
| 357 | - | local weld = Instance.new("Weld")
|
| 357 | + | |
| 358 | - | weld.Parent = rh |
| 358 | + | |
| 359 | - | weld.Part0 = rh |
| 359 | + | |
| 360 | - | weld.Part1 =char.Head |
| 360 | + | |
| 361 | - | weld.C0 = CFrame.new(0, -0.2, 0.65)*CFrame.Angles(0, 64, 0) |
| 361 | + | |
| 362 | - | mesh.Scale = Vector3.new(0.025,0.025, 0.025) |
| 362 | + | |
| 363 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 364 | - | ear2 = Instance.new("Model")
|
| 364 | + | |
| 365 | - | ear2.Parent = char |
| 365 | + | |
| 366 | - | ear2.Name = "ear2" |
| 366 | + | |
| 367 | - | rh = Instance.new("Part")
|
| 367 | + | |
| 368 | - | rh.Parent = ear2 |
| 368 | + | |
| 369 | - | rh.BrickColor = BrickColor.new("Pastel Blue")
|
| 369 | + | |
| 370 | - | rh.Locked = true |
| 370 | + | |
| 371 | - | rh.CanCollide = false |
| 371 | + | |
| 372 | - | mesh = Instance.new("SpecialMesh")
|
| 372 | + | |
| 373 | - | rh.formFactor = "Symmetric" |
| 373 | + | |
| 374 | - | mesh.MeshType = "FileMesh" |
| 374 | + | |
| 375 | - | mesh.MeshId = "rbxassetid://431119824" |
| 375 | + | |
| 376 | - | mesh.Parent = rh |
| 376 | + | |
| 377 | - | local weld = Instance.new("Weld")
|
| 377 | + | |
| 378 | - | weld.Parent = rh |
| 378 | + | |
| 379 | - | weld.Part0 = rh |
| 379 | + | |
| 380 | - | weld.Part1 =char.Head |
| 380 | + | |
| 381 | - | weld.C0 = CFrame.new(0, -0.2, 0.65)*CFrame.Angles(0, -64, 0) |
| 381 | + | |
| 382 | - | mesh.Scale = Vector3.new(0.025,0.025, 0.025) |
| 382 | + | |
| 383 | end | |
| 384 | - | belt = Instance.new("Model")
|
| 384 | + | |
| 385 | - | belt.Parent = char |
| 385 | + | |
| 386 | - | belt.Name = "belt" |
| 386 | + | |
| 387 | - | rh = Instance.new("Part")
|
| 387 | + | |
| 388 | - | rh.Parent = belt |
| 388 | + | |
| 389 | - | rh.BrickColor = BrickColor.new("Tr. Yellow")
|
| 389 | + | |
| 390 | - | rh.Locked = true |
| 390 | + | |
| 391 | - | rh.CanCollide = false |
| 391 | + | |
| 392 | - | mesh = Instance.new("SpecialMesh")
|
| 392 | + | |
| 393 | - | rh.formFactor = "Symmetric" |
| 393 | + | |
| 394 | - | mesh.MeshType = "FileMesh" |
| 394 | + | |
| 395 | - | mesh.MeshId = "rbxassetid://965627950" |
| 395 | + | |
| 396 | - | mesh.Parent = rh |
| 396 | + | |
| 397 | - | local weld = Instance.new("Weld")
|
| 397 | + | |
| 398 | - | weld.Parent = rh |
| 398 | + | |
| 399 | - | weld.Part0 = rh |
| 399 | + | |
| 400 | - | weld.Part1 =char.Torso |
| 400 | + | |
| 401 | - | weld.C0 = CFrame.new(0, 1, 0)*CFrame.Angles(0, -4.7, 0) |
| 401 | + | |
| 402 | - | mesh.Scale = Vector3.new(0.65, 0.1, 0.65) |
| 402 | + | |
| 403 | Parent = h | |
| 404 | - | belt2 = Instance.new("Model")
|
| 404 | + | |
| 405 | - | belt2.Parent = char |
| 405 | + | |
| 406 | - | belt2.Name = "belt2" |
| 406 | + | |
| 407 | - | rh = Instance.new("Part")
|
| 407 | + | |
| 408 | - | rh.Parent = belt2 |
| 408 | + | |
| 409 | - | rh.BrickColor = BrickColor.new("Tr. Yellow")
|
| 409 | + | |
| 410 | - | rh.Locked = true |
| 410 | + | |
| 411 | - | rh.CanCollide = false |
| 411 | + | |
| 412 | - | mesh = Instance.new("SpecialMesh")
|
| 412 | + | |
| 413 | - | rh.formFactor = "Symmetric" |
| 413 | + | |
| 414 | - | mesh.MeshType = "FileMesh" |
| 414 | + | |
| 415 | - | mesh.MeshId = "rbxassetid://475668276" |
| 415 | + | if TimeStop == false then |
| 416 | - | mesh.Parent = rh |
| 416 | + | |
| 417 | - | local weld = Instance.new("Weld")
|
| 417 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Royal purple").Color)
|
| 418 | - | weld.Parent = rh |
| 418 | + | elseif TimeStop == true then |
| 419 | - | weld.Part0 = rh |
| 419 | + | |
| 420 | - | weld.Part1 =char.Torso |
| 420 | + | |
| 421 | - | weld.C0 = CFrame.new(-1.05, -1, 0)*CFrame.Angles(0, 0, 1.5) |
| 421 | + | until TimeStop == false |
| 422 | - | mesh.Scale = Vector3.new(0.0025, 0.0025, 0.0035) |
| 422 | + | h.Health = h.Health - Damage / 2 |
| 423 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Royal purple").Color)
| |
| 424 | - | belt3 = Instance.new("Model")
|
| 424 | + | |
| 425 | - | belt3.Parent = char |
| 425 | + | |
| 426 | - | belt3.Name = "belt3" |
| 426 | + | |
| 427 | - | rh = Instance.new("Part")
|
| 427 | + | |
| 428 | - | rh.Parent = belt3 |
| 428 | + | |
| 429 | - | rh.BrickColor = BrickColor.new("Tr. Yellow")
|
| 429 | + | |
| 430 | - | rh.Locked = true |
| 430 | + | |
| 431 | - | rh.CanCollide = false |
| 431 | + | |
| 432 | - | mesh = Instance.new("SpecialMesh")
|
| 432 | + | |
| 433 | - | rh.formFactor = "Symmetric" |
| 433 | + | |
| 434 | - | mesh.MeshType = "FileMesh" |
| 434 | + | |
| 435 | - | mesh.MeshId = "rbxassetid://475668276" |
| 435 | + | |
| 436 | - | mesh.Parent = rh |
| 436 | + | |
| 437 | - | local weld = Instance.new("Weld")
|
| 437 | + | |
| 438 | - | weld.Parent = rh |
| 438 | + | |
| 439 | - | weld.Part0 = rh |
| 439 | + | |
| 440 | - | weld.Part1 =char.Torso |
| 440 | + | |
| 441 | - | weld.C0 = CFrame.new(1.05, -1, 0)*CFrame.Angles(0, 0, -1.5) |
| 441 | + | |
| 442 | - | mesh.Scale = Vector3.new(0.0025, 0.0025, 0.0035) |
| 442 | + | |
| 443 | Parent = hit | |
| 444 | - | cloth2 = Instance.new("Model")
|
| 444 | + | |
| 445 | - | cloth2.Parent = char |
| 445 | + | |
| 446 | - | cloth2.Name = "cloth2" |
| 446 | + | |
| 447 | - | rh = Instance.new("Part")
|
| 447 | + | |
| 448 | - | rh.Parent = cloth2 |
| 448 | + | |
| 449 | - | rh.BrickColor = BrickColor.new("Quill grey")
|
| 449 | + | |
| 450 | - | rh.Locked = true |
| 450 | + | |
| 451 | - | rh.CanCollide = false |
| 451 | + | |
| 452 | - | mesh = Instance.new("SpecialMesh")
|
| 452 | + | |
| 453 | - | rh.formFactor = "Symmetric" |
| 453 | + | |
| 454 | - | mesh.MeshType = "FileMesh" |
| 454 | + | |
| 455 | - | mesh.MeshId = "rbxassetid://874045262" |
| 455 | + | |
| 456 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 457 | - | mesh.Parent = rh |
| 457 | + | |
| 458 | - | local weld = Instance.new("Weld")
|
| 458 | + | |
| 459 | - | weld.Parent = rh |
| 459 | + | |
| 460 | - | weld.Part0 = rh |
| 460 | + | |
| 461 | - | weld.Part1 =char.Torso |
| 461 | + | |
| 462 | - | weld.C0 = CFrame.new(0, 1.6, -0.2)*CFrame.Angles(0.2, 0, 0) |
| 462 | + | |
| 463 | - | mesh.Scale = Vector3.new(0.0065,0.008,0.008) |
| 463 | + | |
| 464 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 465 | - | gr = Instance.new("Model")
|
| 465 | + | |
| 466 | - | gr.Parent = char |
| 466 | + | |
| 467 | - | gr.Name = "gr" |
| 467 | + | |
| 468 | - | rh = Instance.new("Part")
|
| 468 | + | |
| 469 | - | rh.Parent = gr |
| 469 | + | |
| 470 | - | rh.BrickColor = BrickColor.new("Daisy orange")
|
| 470 | + | |
| 471 | - | rh.Locked = true |
| 471 | + | |
| 472 | - | rh.CanCollide = false |
| 472 | + | |
| 473 | - | mesh = Instance.new("SpecialMesh")
|
| 473 | + | |
| 474 | - | rh.formFactor = "Symmetric" |
| 474 | + | |
| 475 | - | mesh.MeshType = "FileMesh" |
| 475 | + | |
| 476 | - | mesh.MeshId = "rbxassetid://1476756293" |
| 476 | + | |
| 477 | - | mesh.Parent = rh |
| 477 | + | |
| 478 | - | local weld = Instance.new("Weld")
|
| 478 | + | |
| 479 | - | weld.Parent = rh |
| 479 | + | |
| 480 | - | weld.Part0 = rh |
| 480 | + | |
| 481 | - | weld.Part1 =char["Right Arm"] |
| 481 | + | |
| 482 | - | weld.C0 = CFrame.new(-0.6, 0.8, 0)*CFrame.Angles(0, 0, 0) |
| 482 | + | |
| 483 | - | mesh.Scale = Vector3.new(0.03,0.03,0.03) |
| 483 | + | |
| 484 | position = hit.Parent.Torso.Position, | |
| 485 | - | gl = Instance.new("Model")
|
| 485 | + | |
| 486 | - | gl.Parent = char |
| 486 | + | |
| 487 | - | gl.Name = "gl" |
| 487 | + | |
| 488 | - | rh = Instance.new("Part")
|
| 488 | + | |
| 489 | - | rh.Parent = gl |
| 489 | + | |
| 490 | - | rh.BrickColor = BrickColor.new("Daisy orange")
|
| 490 | + | |
| 491 | - | rh.Locked = true |
| 491 | + | |
| 492 | - | rh.CanCollide = false |
| 492 | + | |
| 493 | - | mesh = Instance.new("SpecialMesh")
|
| 493 | + | |
| 494 | - | rh.formFactor = "Symmetric" |
| 494 | + | |
| 495 | - | mesh.MeshType = "FileMesh" |
| 495 | + | |
| 496 | - | mesh.MeshId = "rbxassetid://1476756293" |
| 496 | + | |
| 497 | - | mesh.Parent = rh |
| 497 | + | |
| 498 | - | local weld = Instance.new("Weld")
|
| 498 | + | |
| 499 | - | weld.Parent = rh |
| 499 | + | |
| 500 | - | weld.Part0 = rh |
| 500 | + | |
| 501 | - | weld.Part1 =char["Left Arm"] |
| 501 | + | |
| 502 | - | weld.C0 = CFrame.new(0.6, 0.8, 0)*CFrame.Angles(0, 0, 0) |
| 502 | + | |
| 503 | - | mesh.Scale = Vector3.new(0.03,0.03,0.03) |
| 503 | + | |
| 504 | swait(1.5) | |
| 505 | - | ap1 = Instance.new("Model")
|
| 505 | + | |
| 506 | - | ap1.Parent = char |
| 506 | + | |
| 507 | - | ap1.Name = "ap1" |
| 507 | + | |
| 508 | - | rh = Instance.new("Part")
|
| 508 | + | |
| 509 | - | rh.Parent = ap1 |
| 509 | + | |
| 510 | - | rh.BrickColor = BrickColor.new("White")
|
| 510 | + | |
| 511 | - | rh.Locked = true |
| 511 | + | |
| 512 | - | rh.CanCollide = false |
| 512 | + | |
| 513 | - | mesh = Instance.new("SpecialMesh")
|
| 513 | + | |
| 514 | - | rh.formFactor = "Symmetric" |
| 514 | + | |
| 515 | - | mesh.MeshType = "FileMesh" |
| 515 | + | |
| 516 | - | mesh.MeshId = "rbxassetid://965627950" |
| 516 | + | |
| 517 | - | mesh.Parent = rh |
| 517 | + | |
| 518 | - | local weld = Instance.new("Weld")
|
| 518 | + | |
| 519 | - | weld.Parent = rh |
| 519 | + | |
| 520 | - | weld.Part0 = rh |
| 520 | + | |
| 521 | - | weld.Part1 =char["Right Arm"] |
| 521 | + | |
| 522 | - | weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 3.1, 0) |
| 522 | + | |
| 523 | - | mesh.Scale = Vector3.new(0.65, 0.25, 0.35) |
| 523 | + | |
| 524 | function ShowDamage(Pos, Text, Time, Color) | |
| 525 | - | ap2 = Instance.new("Model")
|
| 525 | + | |
| 526 | - | ap2.Parent = char |
| 526 | + | |
| 527 | - | ap2.Name = "ap2" |
| 527 | + | |
| 528 | - | rh = Instance.new("Part")
|
| 528 | + | |
| 529 | - | rh.Parent = ap2 |
| 529 | + | |
| 530 | - | rh.BrickColor = BrickColor.new("White")
|
| 530 | + | |
| 531 | - | rh.Locked = true |
| 531 | + | |
| 532 | - | rh.CanCollide = false |
| 532 | + | |
| 533 | - | mesh = Instance.new("SpecialMesh")
|
| 533 | + | |
| 534 | - | rh.formFactor = "Symmetric" |
| 534 | + | |
| 535 | - | mesh.MeshType = "FileMesh" |
| 535 | + | |
| 536 | - | mesh.MeshId = "rbxassetid://965627950" |
| 536 | + | |
| 537 | - | mesh.Parent = rh |
| 537 | + | |
| 538 | - | local weld = Instance.new("Weld")
|
| 538 | + | |
| 539 | - | weld.Parent = rh |
| 539 | + | |
| 540 | - | weld.Part0 = rh |
| 540 | + | |
| 541 | - | weld.Part1 =char["Left Arm"] |
| 541 | + | |
| 542 | - | weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 0, 0) |
| 542 | + | |
| 543 | - | mesh.Scale = Vector3.new(0.65, 0.25, 0.35) |
| 543 | + | |
| 544 | Parent = BillboardGui | |
| 545 | - | circ1 = Instance.new("Model")
|
| 545 | + | |
| 546 | - | circ1.Parent = char |
| 546 | + | |
| 547 | - | circ1.Name = "circ1" |
| 547 | + | |
| 548 | - | rh = Instance.new("Part")
|
| 548 | + | |
| 549 | - | rh.Parent = circ1 |
| 549 | + | |
| 550 | - | rh.BrickColor = BrickColor.new("Tr. Yellow")
|
| 550 | + | |
| 551 | - | rh.Locked = true |
| 551 | + | |
| 552 | - | rh.CanCollide = false |
| 552 | + | |
| 553 | - | mesh = Instance.new("SpecialMesh")
|
| 553 | + | |
| 554 | - | rh.formFactor = "Symmetric" |
| 554 | + | |
| 555 | - | mesh.MeshType = "FileMesh" |
| 555 | + | |
| 556 | - | mesh.MeshId = "rbxassetid://475668276" |
| 556 | + | |
| 557 | - | mesh.Parent = rh |
| 557 | + | |
| 558 | - | local weld = Instance.new("Weld")
|
| 558 | + | |
| 559 | - | weld.Parent = rh |
| 559 | + | |
| 560 | - | weld.Part0 = rh |
| 560 | + | |
| 561 | - | weld.Part1 =char["Right Arm"] |
| 561 | + | |
| 562 | - | weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(0, 0, 1.5) |
| 562 | + | |
| 563 | - | mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025) |
| 563 | + | |
| 564 | local hum = c:findFirstChild("Humanoid")
| |
| 565 | - | circ2 = Instance.new("Model")
|
| 565 | + | |
| 566 | - | circ2.Parent = char |
| 566 | + | |
| 567 | - | circ2.Name = "circ2" |
| 567 | + | |
| 568 | - | rh = Instance.new("Part")
|
| 568 | + | |
| 569 | - | rh.Parent = circ2 |
| 569 | + | |
| 570 | - | rh.BrickColor = BrickColor.new("Tr. Yellow")
|
| 570 | + | |
| 571 | - | rh.Locked = true |
| 571 | + | |
| 572 | - | rh.CanCollide = false |
| 572 | + | |
| 573 | - | mesh = Instance.new("SpecialMesh")
|
| 573 | + | |
| 574 | - | rh.formFactor = "Symmetric" |
| 574 | + | Effects.Block.Create(BrickColor.new("Royal purple"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1)
|
| 575 | - | mesh.MeshType = "FileMesh" |
| 575 | + | |
| 576 | - | mesh.MeshId = "rbxassetid://475668276" |
| 576 | + | |
| 577 | - | mesh.Parent = rh |
| 577 | + | |
| 578 | - | local weld = Instance.new("Weld")
|
| 578 | + | Effects.Break.Create(BrickColor.new("Royal purple"), head.CFrame, 1, 1, 1)
|
| 579 | - | weld.Parent = rh |
| 579 | + | |
| 580 | - | weld.Part0 = rh |
| 580 | + | |
| 581 | - | weld.Part1 =char["Left Arm"] |
| 581 | + | |
| 582 | - | weld.C0 = CFrame.new(-0.35, -0.6, 0)*CFrame.Angles(0, 0, -1.5) |
| 582 | + | Effects.Block.Create(BrickColor.new("Royal purple"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1)
|
| 583 | - | mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025) |
| 583 | + | |
| 584 | Effects.Break.Create(BrickColor.new("Royal purple"), head.CFrame, 0.4, 0.4, 0.4)
| |
| 585 | end | |
| 586 | end | |
| 587 | - | ap3 = Instance.new("Model")
|
| 587 | + | |
| 588 | - | ap3.Parent = char |
| 588 | + | |
| 589 | - | ap3.Name = "ap3" |
| 589 | + | |
| 590 | - | rh = Instance.new("Part")
|
| 590 | + | |
| 591 | - | rh.Parent = ap3 |
| 591 | + | |
| 592 | - | rh.BrickColor = BrickColor.new("White")
|
| 592 | + | HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999)) |
| 593 | - | rh.Locked = true |
| 593 | + | |
| 594 | - | rh.CanCollide = false |
| 594 | + | Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "cool yellow", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003)) |
| 595 | - | mesh = Instance.new("SpecialMesh")
|
| 595 | + | PartWeld = CFuncs.Weld.Create(m, HHandle, Eye1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0381011963, -0.0574798584, 0.471725464, -2.89082527E-6, 0.173647985, -0.984807968, -6.2584877E-7, 0.984808922, 0.173648104, 1.00000012, 1.02902288E-6, -2.77161598E-6)) |
| 596 | - | rh.formFactor = "Symmetric" |
| 596 | + | CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 597 | - | mesh.MeshType = "FileMesh" |
| 597 | + | Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Cool yellow", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003)) |
| 598 | - | mesh.MeshId = "rbxassetid://965627950" |
| 598 | + | PartWeld = CFuncs.Weld.Create(m, HHandle, Eye2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0115432739, -0.0487277508, 0.482452393, -0.981060266, -0.173648134, -0.0858327746, -0.172987267, 0.984808922, -0.0151339322, 0.0871568322, 3.96735317E-7, -0.996194839)) |
| 599 | - | mesh.Parent = rh |
| 599 | + | CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 600 | - | local weld = Instance.new("Weld")
|
| 600 | + | |
| 601 | - | weld.Parent = rh |
| 601 | + | |
| 602 | - | weld.Part0 = rh |
| 602 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(1.80000019, 0.300000012, 1.80000007)) |
| 603 | - | weld.Part1 =char["Right Leg"] |
| 603 | + | PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.10351563E-5, -1.04342794, -0.404396057, 1, -8.19564079E-8, 5.96046519E-8, -1.01078633E-7, 0.939694166, -0.342019171, 1.52638329E-8, 0.34201926, 0.939693213)) |
| 604 | - | weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, -4.7, 0) |
| 604 | + | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 605 | - | mesh.Scale = Vector3.new(0.65, 0.25, 0.35) |
| 605 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.200000003, 1.10000002, 0.300000012)) |
| 606 | PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.34057617E-5, -0.943422318, -1.35441589, 1, -8.19564079E-8, 5.96046519E-8, -1.01078633E-7, 0.939694166, -0.342019171, 1.52638329E-8, 0.34201926, 0.939693213)) | |
| 607 | - | ap4 = Instance.new("Model")
|
| 607 | + | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 608 | - | ap4.Parent = char |
| 608 | + | AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003)) |
| 609 | - | ap4.Name = "ap4" |
| 609 | + | |
| 610 | - | rh = Instance.new("Part")
|
| 610 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998)) |
| 611 | - | rh.Parent = ap4 |
| 611 | + | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550004005, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) |
| 612 | - | rh.BrickColor = BrickColor.new("White")
|
| 612 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003)) |
| 613 | - | rh.Locked = true |
| 613 | + | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150001526, 0.200003624, -0.359994888, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) |
| 614 | - | rh.CanCollide = false |
| 614 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003)) |
| 615 | - | mesh = Instance.new("SpecialMesh")
|
| 615 | + | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.20000267, 0.359992981, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) |
| 616 | - | rh.formFactor = "Symmetric" |
| 616 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005)) |
| 617 | - | mesh.MeshType = "FileMesh" |
| 617 | + | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209899902, -0.809997559, 5.7220459E-6, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024)) |
| 618 | - | mesh.MeshId = "rbxassetid://965627950" |
| 618 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998)) |
| 619 | - | mesh.Parent = rh |
| 619 | + | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.300003052, 0.650004387, 1.71661377E-5, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) |
| 620 | - | local weld = Instance.new("Weld")
|
| 620 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998)) |
| 621 | - | weld.Parent = rh |
| 621 | + | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.650003433, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) |
| 622 | - | weld.Part0 = rh |
| 622 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041)) |
| 623 | - | weld.Part1 =char["Left Leg"] |
| 623 | + | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, -0.049996376, -3.81469727E-6, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) |
| 624 | - | weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, -4.7, 0) |
| 624 | + | HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003)) |
| 625 | - | mesh.Scale = Vector3.new(0.65, 0.25, 0.35) |
| 625 | + | |
| 626 | AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003)) | |
| 627 | - | circ3 = Instance.new("Model")
|
| 627 | + | |
| 628 | - | circ3.Parent = char |
| 628 | + | HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003)) |
| 629 | - | circ3.Name = "circ3" |
| 629 | + | |
| 630 | - | rh = Instance.new("Part")
|
| 630 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003)) |
| 631 | - | rh.Parent = circ3 |
| 631 | + | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, -0.360012054, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 632 | - | rh.BrickColor = BrickColor.new("Tr. Yellow")
|
| 632 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041)) |
| 633 | - | rh.Locked = true |
| 633 | + | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.0499982834, -9.53674316E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 634 | - | rh.CanCollide = false |
| 634 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003)) |
| 635 | - | mesh = Instance.new("SpecialMesh")
|
| 635 | + | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, 0.359992981, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 636 | - | rh.formFactor = "Symmetric" |
| 636 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005)) |
| 637 | - | mesh.MeshType = "FileMesh" |
| 637 | + | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21005249, -0.81000042, 2.28881836E-5, -1, -8.19564079E-8, -5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, -5.96046519E-8, -1.41561088E-7, -1.00000024)) |
| 638 | - | mesh.MeshId = "rbxassetid://475668276" |
| 638 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998)) |
| 639 | - | mesh.Parent = rh |
| 639 | + | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550003052, -5.7220459E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 640 | - | local weld = Instance.new("Weld")
|
| 640 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998)) |
| 641 | - | weld.Parent = rh |
| 641 | + | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299995422, 0.650003433, -3.81469727E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 642 | - | weld.Part0 = rh |
| 642 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998)) |
| 643 | - | weld.Part1 =char["Right Leg"] |
| 643 | + | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.65000248, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 644 | - | weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(1.5, 0, 1.5) |
| 644 | + | LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006)) |
| 645 | - | mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025) |
| 645 | + | |
| 646 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003)) | |
| 647 | - | circ4 = Instance.new("Model")
|
| 647 | + | PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 648 | - | circ4.Parent = char |
| 648 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006)) |
| 649 | - | circ4.Name = "circ4" |
| 649 | + | PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600002289, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 650 | - | rh = Instance.new("Part")
|
| 650 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006)) |
| 651 | - | rh.Parent = circ4 |
| 651 | + | PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454998016, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 652 | - | rh.BrickColor = BrickColor.new("Tr. Yellow")
|
| 652 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003)) |
| 653 | - | rh.Locked = true |
| 653 | + | PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 654 | - | rh.CanCollide = false |
| 654 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012)) |
| 655 | - | mesh = Instance.new("SpecialMesh")
|
| 655 | + | PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499725342, 0.0149993896, 0.00500297546, 2.28095047E-7, 1.00000775, 2.99581131E-7, -1.00000417, 5.63755016E-8, -4.06898749E-7, -2.98379774E-7, 2.07959161E-8, 1.0000037)) |
| 656 | - | rh.formFactor = "Symmetric" |
| 656 | + | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 657 | - | mesh.MeshType = "FileMesh" |
| 657 | + | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 658 | - | mesh.MeshId = "rbxassetid://475668276" |
| 658 | + | WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.604999542, -0.504998207, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8)) |
| 659 | - | mesh.Parent = rh |
| 659 | + | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 660 | - | local weld = Instance.new("Weld")
|
| 660 | + | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 661 | - | weld.Parent = rh |
| 661 | + | WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.60499382, -0.495001793, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8)) |
| 662 | - | weld.Part0 = rh |
| 662 | + | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 663 | - | weld.Part1 =char["Left Leg"] |
| 663 | + | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 664 | - | weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(1.5, 0, 1.5) |
| 664 | + | WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.495001793, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8)) |
| 665 | - | mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025) |
| 665 | + | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 666 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 667 | - | boot1 = Instance.new("Model")
|
| 667 | + | WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.504998207, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8)) |
| 668 | - | boot1.Parent = char |
| 668 | + | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 669 | - | boot1.Name = "boot1" |
| 669 | + | LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006)) |
| 670 | - | rh = Instance.new("Part")
|
| 670 | + | |
| 671 | - | rh.Parent = boot1 |
| 671 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006)) |
| 672 | - | rh.BrickColor = BrickColor.new("White")
|
| 672 | + | PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600001335, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 673 | - | rh.Locked = true |
| 673 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012)) |
| 674 | - | rh.CanCollide = false |
| 674 | + | PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 675 | - | mesh = Instance.new("SpecialMesh")
|
| 675 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006)) |
| 676 | - | rh.formFactor = "Symmetric" |
| 676 | + | PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454999924, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 677 | - | mesh.MeshType = "FileMesh" |
| 677 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012)) |
| 678 | - | mesh.MeshId = "rbxassetid://1154325543" |
| 678 | + | PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499534607, 0.0149993896, 0.00500297546, 2.28095047E-7, 1.00000775, 2.99581131E-7, -1.00000417, 5.63755016E-8, -4.06898749E-7, -2.98379774E-7, 2.07959161E-8, 1.0000037)) |
| 679 | - | mesh.Parent = rh |
| 679 | + | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 680 | - | local weld = Instance.new("Weld")
|
| 680 | + | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012)) |
| 681 | - | weld.Parent = rh |
| 681 | + | PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) |
| 682 | - | weld.Part0 = rh |
| 682 | + | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003)) |
| 683 | - | weld.Part1 =char["Right Leg"] |
| 683 | + | WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.505000114, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8)) |
| 684 | - | weld.C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0) |
| 684 | + | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 685 | - | mesh.Scale = Vector3.new(0.2, 0.23, 0.2) |
| 685 | + | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003)) |
| 686 | WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.505000114, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8)) | |
| 687 | - | boot2 = Instance.new("Model")
|
| 687 | + | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 688 | - | boot2.Parent = char |
| 688 | + | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003)) |
| 689 | - | boot2.Name = "boot2" |
| 689 | + | WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.494999886, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8)) |
| 690 | - | rh = Instance.new("Part")
|
| 690 | + | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 691 | - | rh.Parent = boot2 |
| 691 | + | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003)) |
| 692 | - | rh.BrickColor = BrickColor.new("White")
|
| 692 | + | WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.494999886, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8)) |
| 693 | - | rh.Locked = true |
| 693 | + | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 694 | - | rh.CanCollide = false |
| 694 | + | Shield = CFuncs.Part.Create(m, "Neon", 0, 0.5, "Royal purple", "Part", Vector3.new(9.1, 8.5, 0.2)) |
| 695 | - | mesh = Instance.new("SpecialMesh")
|
| 695 | + | CFuncs.Mesh.Create("SpecialMesh", Shield, "FileMesh", "rbxassetid://708292865", Vector3.new(0, 0, 0), Vector3.new(0.04, 0.04, 0.04))
|
| 696 | - | rh.formFactor = "Symmetric" |
| 696 | + | |
| 697 | - | mesh.MeshType = "FileMesh" |
| 697 | + | |
| 698 | - | mesh.MeshId = "rbxassetid://1154325543" |
| 698 | + | |
| 699 | - | mesh.Parent = rh |
| 699 | + | |
| 700 | - | local weld = Instance.new("Weld")
|
| 700 | + | |
| 701 | - | weld.Parent = rh |
| 701 | + | |
| 702 | - | weld.Part0 = rh |
| 702 | + | |
| 703 | - | weld.Part1 =char["Left Leg"] |
| 703 | + | |
| 704 | - | weld.C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0) |
| 704 | + | |
| 705 | - | mesh.Scale = Vector3.new(0.2, 0.23, 0.2) |
| 705 | + | |
| 706 | if Type == 1 or Type == nil then | |
| 707 | - | glo1 = Instance.new("Model")
|
| 707 | + | |
| 708 | - | glo1.Parent = char |
| 708 | + | |
| 709 | - | glo1.Name = "glo1" |
| 709 | + | |
| 710 | - | rh = Instance.new("Part")
|
| 710 | + | |
| 711 | - | rh.Parent = glo1 |
| 711 | + | |
| 712 | - | rh.BrickColor = BrickColor.new("White")
|
| 712 | + | |
| 713 | - | rh.Locked = true |
| 713 | + | |
| 714 | - | rh.CanCollide = false |
| 714 | + | |
| 715 | - | mesh = Instance.new("SpecialMesh")
|
| 715 | + | |
| 716 | - | rh.formFactor = "Symmetric" |
| 716 | + | |
| 717 | - | mesh.MeshType = "FileMesh" |
| 717 | + | |
| 718 | - | mesh.MeshId = "rbxassetid://688763512" |
| 718 | + | |
| 719 | - | mesh.Parent = rh |
| 719 | + | |
| 720 | - | local weld = Instance.new("Weld")
|
| 720 | + | |
| 721 | - | weld.Parent = rh |
| 721 | + | |
| 722 | - | weld.Part0 = rh |
| 722 | + | |
| 723 | - | weld.Part1 =char["Right Arm"] |
| 723 | + | |
| 724 | - | weld.C0 = CFrame.new(-0.3, 0.6, 0)*CFrame.Angles(0, 0, 0) |
| 724 | + | |
| 725 | - | mesh.Scale = Vector3.new(0.3, 0.55, 0.55) |
| 725 | + | |
| 726 | end | |
| 727 | - | glo1B = Instance.new("Model")
|
| 727 | + | |
| 728 | - | glo1B.Parent = char |
| 728 | + | |
| 729 | - | glo1B.Name = "glo1B" |
| 729 | + | |
| 730 | - | rh = Instance.new("Part")
|
| 730 | + | |
| 731 | - | rh.Parent = glo1B |
| 731 | + | |
| 732 | - | rh.BrickColor = BrickColor.new("White")
|
| 732 | + | |
| 733 | - | rh.Locked = true |
| 733 | + | |
| 734 | - | rh.CanCollide = false |
| 734 | + | |
| 735 | - | mesh = Instance.new("SpecialMesh")
|
| 735 | + | |
| 736 | - | rh.formFactor = "Symmetric" |
| 736 | + | |
| 737 | - | mesh.MeshType = "FileMesh" |
| 737 | + | |
| 738 | - | mesh.MeshId = "rbxassetid://688763512" |
| 738 | + | |
| 739 | - | mesh.Parent = rh |
| 739 | + | |
| 740 | - | local weld = Instance.new("Weld")
|
| 740 | + | |
| 741 | - | weld.Parent = rh |
| 741 | + | |
| 742 | - | weld.Part0 = rh |
| 742 | + | |
| 743 | - | weld.Part1 =char["Right Arm"] |
| 743 | + | |
| 744 | - | weld.C0 = CFrame.new(0.25, 0.38, 0)*CFrame.Angles(0, 0, 0) |
| 744 | + | |
| 745 | - | mesh.Scale = Vector3.new(0.3, 0.325, 0.55) |
| 745 | + | |
| 746 | Head = {
| |
| 747 | - | glo2 = Instance.new("Model")
|
| 747 | + | |
| 748 | - | glo2.Parent = char |
| 748 | + | |
| 749 | - | glo2.Name = "glo2" |
| 749 | + | |
| 750 | - | rh = Instance.new("Part")
|
| 750 | + | |
| 751 | - | rh.Parent = glo2 |
| 751 | + | |
| 752 | - | rh.BrickColor = BrickColor.new("White")
|
| 752 | + | |
| 753 | - | rh.Locked = true |
| 753 | + | |
| 754 | - | rh.CanCollide = false |
| 754 | + | |
| 755 | - | mesh = Instance.new("SpecialMesh")
|
| 755 | + | |
| 756 | - | rh.formFactor = "Symmetric" |
| 756 | + | |
| 757 | - | mesh.MeshType = "FileMesh" |
| 757 | + | |
| 758 | - | mesh.MeshId = "rbxassetid://688763512" |
| 758 | + | |
| 759 | - | mesh.Parent = rh |
| 759 | + | |
| 760 | - | local weld = Instance.new("Weld")
|
| 760 | + | |
| 761 | - | weld.Parent = rh |
| 761 | + | |
| 762 | - | weld.Part0 = rh |
| 762 | + | |
| 763 | - | weld.Part1 =char["Left Arm"] |
| 763 | + | |
| 764 | - | weld.C0 = CFrame.new(0.3, 0.6, 0)*CFrame.Angles(0, 0, 0) |
| 764 | + | |
| 765 | - | mesh.Scale = Vector3.new(0.3, 0.55, 0.55) |
| 765 | + | |
| 766 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 767 | - | glo2B = Instance.new("Model")
|
| 767 | + | |
| 768 | - | glo2B.Parent = char |
| 768 | + | |
| 769 | - | glo2B.Name = "glo2B" |
| 769 | + | |
| 770 | - | rh = Instance.new("Part")
|
| 770 | + | |
| 771 | - | rh.Parent = glo2B |
| 771 | + | |
| 772 | - | rh.BrickColor = BrickColor.new("White")
|
| 772 | + | |
| 773 | - | rh.Locked = true |
| 773 | + | |
| 774 | - | rh.CanCollide = false |
| 774 | + | |
| 775 | - | mesh = Instance.new("SpecialMesh")
|
| 775 | + | |
| 776 | - | rh.formFactor = "Symmetric" |
| 776 | + | |
| 777 | - | mesh.MeshType = "FileMesh" |
| 777 | + | |
| 778 | - | mesh.MeshId = "rbxassetid://688763512" |
| 778 | + | |
| 779 | - | mesh.Parent = rh |
| 779 | + | |
| 780 | - | local weld = Instance.new("Weld")
|
| 780 | + | |
| 781 | - | weld.Parent = rh |
| 781 | + | |
| 782 | - | weld.Part0 = rh |
| 782 | + | |
| 783 | - | weld.Part1 =char["Left Arm"] |
| 783 | + | |
| 784 | - | weld.C0 = CFrame.new(-0.25, 0.38, 0)*CFrame.Angles(0, 0, 0) |
| 784 | + | |
| 785 | - | mesh.Scale = Vector3.new(0.3, 0.325, 0.55) |
| 785 | + | |
| 786 | prt.CFrame = cframe | |
| 787 | - | ap5 = Instance.new("Model")
|
| 787 | + | |
| 788 | - | ap5.Parent = char |
| 788 | + | |
| 789 | - | ap5.Name = "ap5" |
| 789 | + | |
| 790 | - | rh = Instance.new("Part")
|
| 790 | + | |
| 791 | - | rh.Parent = ap5 |
| 791 | + | |
| 792 | - | rh.BrickColor = BrickColor.new("Fire Yellow")
|
| 792 | + | |
| 793 | - | rh.Locked = true |
| 793 | + | |
| 794 | - | rh.CanCollide = false |
| 794 | + | |
| 795 | - | mesh = Instance.new("SpecialMesh")
|
| 795 | + | |
| 796 | - | rh.formFactor = "Symmetric" |
| 796 | + | |
| 797 | - | mesh.MeshType = "FileMesh" |
| 797 | + | |
| 798 | - | mesh.MeshId = "rbxassetid://619487063" |
| 798 | + | |
| 799 | - | mesh.Parent = rh |
| 799 | + | |
| 800 | - | local weld = Instance.new("Weld")
|
| 800 | + | |
| 801 | - | weld.Parent = rh |
| 801 | + | |
| 802 | - | weld.Part0 = rh |
| 802 | + | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Royal purple"), "Part", Vector3.new(1, 1, 1))
|
| 803 | - | weld.Part1 =char["Right Arm"] |
| 803 | + | |
| 804 | - | weld.C0 = CFrame.new(-0.05, 0.3, 0)*CFrame.Angles(0, 0, 0) |
| 804 | + | |
| 805 | - | mesh.Scale = Vector3.new(0.006, 0.002, 0.01) |
| 805 | + | |
| 806 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 807 | - | ap6 = Instance.new("Model")
|
| 807 | + | |
| 808 | - | ap6.Parent = char |
| 808 | + | |
| 809 | - | ap6.Name = "ap6" |
| 809 | + | |
| 810 | - | rh = Instance.new("Part")
|
| 810 | + | |
| 811 | - | rh.Parent = ap6 |
| 811 | + | |
| 812 | - | rh.BrickColor = BrickColor.new("Fire Yellow")
|
| 812 | + | |
| 813 | - | rh.Locked = true |
| 813 | + | |
| 814 | - | rh.CanCollide = false |
| 814 | + | |
| 815 | - | mesh = Instance.new("SpecialMesh")
|
| 815 | + | |
| 816 | - | rh.formFactor = "Symmetric" |
| 816 | + | |
| 817 | - | mesh.MeshType = "FileMesh" |
| 817 | + | |
| 818 | - | mesh.MeshId = "rbxassetid://619487063" |
| 818 | + | |
| 819 | - | mesh.Parent = rh |
| 819 | + | |
| 820 | - | local weld = Instance.new("Weld")
|
| 820 | + | |
| 821 | - | weld.Parent = rh |
| 821 | + | |
| 822 | - | weld.Part0 = rh |
| 822 | + | |
| 823 | - | weld.Part1 =char["Left Arm"] |
| 823 | + | |
| 824 | - | weld.C0 = CFrame.new(0.05, 0.3, 0)*CFrame.Angles(0, 0, 0) |
| 824 | + | |
| 825 | - | mesh.Scale = Vector3.new(0.006, 0.002, 0.01) |
| 825 | + | |
| 826 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 827 | prt.Anchored = true | |
| 828 | prt.CFrame = cframe | |
| 829 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 830 | - | if key == "k" then |
| 830 | + | |
| 831 | - | yyd = CFuncs.Sound.Create("921051148")
|
| 831 | + | |
| 832 | - | yyd.TimePosition = 0.5 |
| 832 | + | |
| 833 | - | yyd.Volume = 7 |
| 833 | + | |
| 834 | delay, | |
| 835 | x3, | |
| 836 | - | bbgTl.Text = "Gimme a break." |
| 836 | + | |
| 837 | - | wait(1) |
| 837 | + | |
| 838 | - | TextFade() |
| 838 | + | |
| 839 | }) | |
| 840 | end | |
| 841 | }, | |
| 842 | Wave = {
| |
| 843 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 844 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 845 | prt.Anchored = true | |
| 846 | - | if key == "n" then |
| 846 | + | |
| 847 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 848 | - | teme = CFuncs.Sound.Create("499396245")
|
| 848 | + | |
| 849 | - | teme.Volume = 7 |
| 849 | + | |
| 850 | - | bbgTl.Text = "You..!" |
| 850 | + | |
| 851 | - | wait(1) |
| 851 | + | |
| 852 | - | TextFade() |
| 852 | + | |
| 853 | x3, | |
| 854 | y3, | |
| 855 | z3, | |
| 856 | msh | |
| 857 | }) | |
| 858 | end | |
| 859 | }, | |
| 860 | - | if key == "l" then |
| 860 | + | |
| 861 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 862 | - | kono = CFuncs.Sound.Create("645811027")
|
| 862 | + | |
| 863 | - | kono.Volume = 7 |
| 863 | + | |
| 864 | - | bbgTl.Text = "T-This power..!" |
| 864 | + | |
| 865 | - | wait(1.5) |
| 865 | + | |
| 866 | - | TextFade() |
| 866 | + | |
| 867 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 868 | table.insert(Effects, {
| |
| 869 | prt, | |
| 870 | "Shatter", | |
| 871 | num, | |
| 872 | prt.CFrame, | |
| 873 | math.random() - math.random(), | |
| 874 | - | if key == "j" then |
| 874 | + | |
| 875 | math.random(50, 100) / 100 | |
| 876 | - | kk = CFuncs.Sound.Create("1212328051")
|
| 876 | + | |
| 877 | - | kk.Volume = 7 |
| 877 | + | |
| 878 | - | bbgTl.Text = "You really p#ssed me off." |
| 878 | + | |
| 879 | - | wait(2) |
| 879 | + | |
| 880 | - | TextFade() |
| 880 | + | |
| 881 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 882 | prt.Anchored = true | |
| 883 | prt.CFrame = cframe | |
| 884 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 885 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 886 | table.insert(Effects, {
| |
| 887 | - | if key == "," and canworld == true then |
| 887 | + | |
| 888 | "Fire", | |
| 889 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN:Pause() |
| 889 | + | |
| 890 | - | st1 = CFuncs.Sound.Create("873240542")
|
| 890 | + | |
| 891 | - | st1.Volume = 7 |
| 891 | + | |
| 892 | - | bbgTl.Text = "You truly are the lowest scum in history.." |
| 892 | + | |
| 893 | - | wait(2.5) |
| 893 | + | |
| 894 | - | TextFade() |
| 894 | + | |
| 895 | - | wait(0.75) |
| 895 | + | |
| 896 | - | st2 = CFuncs.Sound.Create("873240410")
|
| 896 | + | |
| 897 | - | st2.Volume = 7 |
| 897 | + | |
| 898 | - | bbgTl.Text = "The debt you owe.." |
| 898 | + | |
| 899 | - | wait(0.5) |
| 899 | + | |
| 900 | - | TextFade() |
| 900 | + | |
| 901 | - | wait(0.5) |
| 901 | + | |
| 902 | - | st3 = CFuncs.Sound.Create("1207959412")
|
| 902 | + | |
| 903 | - | st3.Volume = 7 |
| 903 | + | |
| 904 | - | bbgTl.Text = "can't be paid with money!" |
| 904 | + | |
| 905 | - | --OBLIGITORY ORA |
| 905 | + | |
| 906 | - | wait(2.4) |
| 906 | + | |
| 907 | - | |
| 907 | + | |
| 908 | - | TextFade() |
| 908 | + | |
| 909 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN:Resume() |
| 909 | + | |
| 910 | Texture = "rbxassetid://26356434", | |
| 911 | Face = "Bottom" | |
| 912 | }) | |
| 913 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 914 | table.insert(Effects, {
| |
| 915 | prt, | |
| 916 | - | if key == "p" then |
| 916 | + | |
| 917 | 1, | |
| 918 | - | jk = CFuncs.Sound.Create("1212328340")
|
| 918 | + | |
| 919 | - | bbgTl.Text = "I will personally kick your [OOPS KID FRIENDLY SORRY]!" |
| 919 | + | |
| 920 | - | wait(4) |
| 920 | + | |
| 921 | - | TextFade() |
| 921 | + | |
| 922 | - | |
| 922 | + | |
| 923 | }, | |
| 924 | Lightning = {
| |
| 925 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 926 | local magz = (p0 - p1).magnitude | |
| 927 | local curpos = p0 | |
| 928 | local trz = {
| |
| 929 | - | if key == "h" and cooldown == false then |
| 929 | + | |
| 930 | ofs | |
| 931 | - | cooldown = true |
| 931 | + | |
| 932 | - | judge = CFuncs.Sound.Create("1300588094")
|
| 932 | + | |
| 933 | - | judge.Volume = 10 |
| 933 | + | |
| 934 | - | bbgTl.Text = "I shall be the judge!" |
| 934 | + | |
| 935 | - | wait(0.5) |
| 935 | + | |
| 936 | li.Material = "Neon" | |
| 937 | - | TextFade() |
| 937 | + | |
| 938 | - | judge:Destroy() |
| 938 | + | |
| 939 | - | cooldown = false |
| 939 | + | |
| 940 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 941 | table.insert(Effects, {
| |
| 942 | li, | |
| 943 | "Disappear", | |
| 944 | last | |
| 945 | }) | |
| 946 | - | if key == "r" and cooldown == false then |
| 946 | + | |
| 947 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 948 | - | cooldown = true |
| 948 | + | |
| 949 | - | standjudge = CFuncs.Sound.Create("1300588094")
|
| 949 | + | |
| 950 | - | standjudge.Volume = 10 |
| 950 | + | |
| 951 | - | standjudge.TimePosition = 8.9 |
| 951 | + | |
| 952 | - | bbgTl.Text = "Your judge.. will be my Stand!" |
| 952 | + | |
| 953 | - | wait(3) |
| 953 | + | |
| 954 | }) | |
| 955 | - | TextFade() |
| 955 | + | |
| 956 | end | |
| 957 | - | cooldown = false |
| 957 | + | |
| 958 | }, | |
| 959 | EffectTemplate = {}
| |
| 960 | } | |
| 961 | local Invisible = true | |
| 962 | function Reappear() | |
| 963 | for _, i in pairs(AdvancingFortress:children()) do | |
| 964 | - | if key == ";" then |
| 964 | + | |
| 965 | coroutine.resume(coroutine.create(function(Part) | |
| 966 | - | wagh = CFuncs.Sound.Create("998999809")
|
| 966 | + | |
| 967 | - | wagh.Volume = 10 |
| 967 | + | |
| 968 | Part.Transparency = -i | |
| 969 | - | bbgTl.Text = "*inaudible*" |
| 969 | + | |
| 970 | - | wait(2) |
| 970 | + | |
| 971 | - | TextFade() |
| 971 | + | |
| 972 | end | |
| 973 | end | |
| 974 | for _, i in pairs(m:children()) do | |
| 975 | if i:IsA("BasePart") then
| |
| 976 | coroutine.resume(coroutine.create(function(Part) | |
| 977 | for i = 0, 1, 0.3 do | |
| 978 | - | if key == "." then |
| 978 | + | |
| 979 | - | yaro = CFuncs.Sound.Create("869850439")
|
| 979 | + | |
| 980 | - | yaro.Volume = 5 |
| 980 | + | |
| 981 | - | bbgTl.Text = "You b#$+@rd!" |
| 981 | + | |
| 982 | - | wait(1.4) |
| 982 | + | |
| 983 | - | TextFade() |
| 983 | + | |
| 984 | end | |
| 985 | end | |
| 986 | function ReappearArmorOnly() | |
| 987 | for _, i in pairs(m:children()) do | |
| 988 | if i:IsA("BasePart") then
| |
| 989 | coroutine.resume(coroutine.create(function(Part) | |
| 990 | for i = 0, 1, 0.3 do | |
| 991 | swait() | |
| 992 | Part.Transparency = i | |
| 993 | end | |
| 994 | Part.Transparency = 0 | |
| 995 | - | local ScreenGui = Instance.new("ScreenGui", plr.PlayerGui)
|
| 995 | + | |
| 996 | - | local ImageLabel = Instance.new("ImageLabel")
|
| 996 | + | |
| 997 | - | ImageLabel.Parent = ScreenGui |
| 997 | + | |
| 998 | - | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) |
| 998 | + | |
| 999 | - | ImageLabel.BackgroundTransparency = 1 |
| 999 | + | |
| 1000 | - | ImageLabel.Position = UDim2.new(0, 0, 0, 0) |
| 1000 | + | |
| 1001 | - | ImageLabel.Size = UDim2.new(0, 300, 0, 200) |
| 1001 | + | |
| 1002 | - | ImageLabel.Image = "rbxassetid://1562289224" |
| 1002 | + | |
| 1003 | - | for i = 1,10 do |
| 1003 | + | |
| 1004 | - | ImageLabel.Position = ImageLabel.Position - UDim2.new(0,25,0,15) + UDim2.new(0,math.random(-20,20),0,math.random(-20,20)) |
| 1004 | + | |
| 1005 | - | ImageLabel.Size = ImageLabel.Size + UDim2.new(0,100,0,100) |
| 1005 | + | |
| 1006 | - | wait() |
| 1006 | + | |
| 1007 | - | end |
| 1007 | + | |
| 1008 | - | ScreenGui:remove() |
| 1008 | + | |
| 1009 | - | sptw = CFuncs.Sound.Create("1515909034")
|
| 1009 | + | |
| 1010 | - | sptw.Volume = 8 |
| 1010 | + | |
| 1011 | - | sptw.TimePosition = 0.05 |
| 1011 | + | |
| 1012 | - | bbgTl.Text = "Star Platinum: The World!" |
| 1012 | + | |
| 1013 | - | wait(1.5) |
| 1013 | + | |
| 1014 | - | lasers = CFuncs.Sound.Create("926382097")
|
| 1014 | + | |
| 1015 | - | lasers.Volume = 5 |
| 1015 | + | |
| 1016 | Part.Transparency = i | |
| 1017 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN:Pause() |
| 1017 | + | |
| 1018 | Part.Transparency = 1 | |
| 1019 | - | wait(1.5) |
| 1019 | + | |
| 1020 | end | |
| 1021 | end | |
| 1022 | end | |
| 1023 | function DisappearArmorOnly() | |
| 1024 | for _, i in pairs(m:children()) do | |
| 1025 | if i:IsA("BasePart") then
| |
| 1026 | coroutine.resume(coroutine.create(function(Part) | |
| 1027 | for i = 0, 1, 0.3 do | |
| 1028 | swait() | |
| 1029 | Part.Transparency = i | |
| 1030 | end | |
| 1031 | Part.Transparency = 1 | |
| 1032 | - | h = v.Character:FindFirstChild("Head")
|
| 1032 | + | |
| 1033 | - | if h then |
| 1033 | + | |
| 1034 | - | h.Anchored = true |
| 1034 | + | |
| 1035 | - | plr.Character:FindFirstChild("Head").Anchored = false
|
| 1035 | + | |
| 1036 | function CamShake(time, freq) | |
| 1037 | coroutine.resume(coroutine.create(function() | |
| 1038 | local cam = game:GetService("Workspace").CurrentCamera
| |
| 1039 | local time = 10 | |
| 1040 | local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0) | |
| 1041 | if math.random(1, 2) == 1 then | |
| 1042 | seed = Vector3.new(-seed.x, seed.y, 0) | |
| 1043 | end | |
| 1044 | if math.random(1, 2) == 1 then | |
| 1045 | seed = Vector3.new(seed.x, -seed.y, 0) | |
| 1046 | end | |
| 1047 | cam.CoordinateFrame = CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(seed.x * time, seed.y * time, 0) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude) | |
| 1048 | for i = 1, time do | |
| 1049 | cam.CoordinateFrame = CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(-seed.x, -seed.y, 0) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude) | |
| 1050 | wait() | |
| 1051 | end | |
| 1052 | end)) | |
| 1053 | end | |
| 1054 | local ora = false | |
| 1055 | function ORA() | |
| 1056 | attack = true | |
| 1057 | local S = CFuncs.Sound.Create("161823027", Torso, 1, 1)
| |
| 1058 | S.Looped = true | |
| 1059 | if ora == true then | |
| 1060 | while ora == true do | |
| 1061 | CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
| |
| 1062 | MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1) | |
| 1063 | for i = 0, 1, 0.8 do | |
| 1064 | - | |
| 1064 | + | |
| 1065 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5) | |
| 1066 | PlayAnimationFromTable({
| |
| 1067 | - | game.Lighting.TimeOfDay="00:00:00" |
| 1067 | + | |
| 1068 | - | game.Lighting.OutdoorAmbient=Color3.new(50,0,350) |
| 1068 | + | |
| 1069 | - | wait(0.1) |
| 1069 | + | |
| 1070 | - | game.Lighting.OutdoorAmbient=Color3.new(0,114,235) |
| 1070 | + | |
| 1071 | - | wait(0.1) |
| 1071 | + | |
| 1072 | - | game.Lighting.OutdoorAmbient=Color3.new(0,0,235) |
| 1072 | + | |
| 1073 | - | wait(0.1) |
| 1073 | + | |
| 1074 | - | game.Lighting.OutdoorAmbient=Color3.new(0,114,0) |
| 1074 | + | |
| 1075 | - | wait(0.1) |
| 1075 | + | |
| 1076 | - | game.Lighting.OutdoorAmbient=Color3.new(255, 255, 355) |
| 1076 | + | MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "260430117", 1) |
| 1077 | - | tiock = CFuncs.Sound.Create("627730102")
|
| 1077 | + | |
| 1078 | - | tiock.Looped = true |
| 1078 | + | |
| 1079 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5) | |
| 1080 | PlayAnimationFromTable({
| |
| 1081 | CFrame.new(1.1920929E-6, -0.0170394331, -0.52941519, 0.70710516, -2.21270369E-7, -0.707108498, 0.18301405, 0.965925574, 0.183012888, 0.683014154, -0.258820117, 0.683010995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1082 | CFrame.new(-1.22189522E-6, 1.49999356, 1.04308128E-6, 0.707110465, 0.122788236, 0.696360528, -1.4748274E-6, 0.98480773, -0.173648238, -0.707103193, 0.122787461, 0.696368098) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1083 | CFrame.new(1.44562268, 0.333473027, -0.475224167, 0.907739162, 0.217196256, 0.358959734, 0.40125221, -0.199453548, -0.893991232, -0.122576535, 0.955528319, -0.268199235) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1084 | CFrame.new(-1.884794, 0.881342709, -0.770847201, 0.0912726, 0.688403964, -0.719562054, -0.91795665, -0.221949756, -0.328776807, -0.386037856, 0.690535009, 0.611666858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1085 | CFrame.new(0.789779902, -1.8586235, 0.161380947, 0.965926766, -0.258817255, -8.10623169E-6, 0.243211254, 0.907672405, 0.342022836, -0.0885141194, -0.330371499, 0.939691722) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1086 | - | bbgTl.Text = " " |
| 1086 | + | |
| 1087 | - | wait(5) |
| 1087 | + | |
| 1088 | end | |
| 1089 | CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
| |
| 1090 | MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1) | |
| 1091 | - | tiock:Stop() |
| 1091 | + | |
| 1092 | - | tokiu = CFuncs.Sound.Create("923033530")
|
| 1092 | + | |
| 1093 | - | tokiu.Volume = 5 |
| 1093 | + | |
| 1094 | - | bbgTl.Text = "..Time resumes once again." |
| 1094 | + | |
| 1095 | - | wait(1.5) |
| 1095 | + | |
| 1096 | - | brmpbrmp = CFuncs.Sound.Create("757514877")
|
| 1096 | + | |
| 1097 | - | brmpbrmp.Volume = 5 |
| 1097 | + | |
| 1098 | CFrame.new(-1.21960759, 0.420275182, -0.728423595, -0.57802856, -0.255150676, 0.775100708, 0.665436089, -0.697164714, 0.266751111, 0.472311139, 0.669969678, 0.572767615) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1099 | - | h = v.Character:FindFirstChild("Head")
|
| 1099 | + | |
| 1100 | - | if h then |
| 1100 | + | |
| 1101 | - | h.Anchored = false |
| 1101 | + | |
| 1102 | end | |
| 1103 | CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
| |
| 1104 | MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "260430117", 1) | |
| 1105 | for i = 0, 1, 0.8 do | |
| 1106 | swait() | |
| 1107 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5) | |
| 1108 | PlayAnimationFromTable({
| |
| 1109 | CFrame.new(0.299998224, -0.0468490347, -0.211314023, 0.642786682, -2.87348001E-7, -0.766045272, 0.323744863, 0.906307757, 0.271653205, 0.694272637, -0.42261824, 0.582562685) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1110 | CFrame.new(2.71201134E-6, 1.4999969, 8.94069672E-7, 0.642777503, 0.133020476, 0.754416466, 4.31999706E-6, 0.984809279, -0.173647597, -0.766052961, 0.111620098, 0.633012772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1111 | CFrame.new(1.27057993, 0.327670783, -0.599993467, 0.638493001, 0.280156553, -0.716825664, -0.769049883, 0.196164608, -0.608343422, -0.0298155248, 0.939697862, 0.340704083) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1112 | CFrame.new(-1.86040878, 1.02262986, -0.452570885, 0.386218816, 0.717701018, -0.579433978, -0.403004408, -0.433759809, -0.805879354, -0.829712272, 0.544763446, 0.121709965) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1113 | CFrame.new(0.779964924, -1.75316048, -0.0263362825, 0.826099217, -0.36394459, 0.43023771, 0.181541473, 0.894650102, 0.40822047, -0.533481896, -0.259124577, 0.805140793) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1114 | CFrame.new(-0.724003315, -1.47219872, -0.266945302, 0.766038954, -0.166370958, 0.620890498, 4.09781933E-6, 0.965925932, 0.258819997, -0.642794192, -0.198263675, 0.739937425) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1115 | }, 0.8, false) | |
| 1116 | end | |
| 1117 | CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
| |
| 1118 | MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1) | |
| 1119 | end | |
| 1120 | end | |
| 1121 | S:Stop() | |
| 1122 | local S2 = CFuncs.Sound.Create("402454350", Torso, 1.5, 1)
| |
| 1123 | Instance.new("DistortionSoundEffect", S2).Level = 0.8
| |
| 1124 | for i = 0, 1, 0.13 do | |
| 1125 | - | game.Lighting.OutdoorAmbient=Color3.new(0,114,0) |
| 1125 | + | |
| 1126 | - | wait(0.1) |
| 1126 | + | |
| 1127 | - | game.Lighting.OutdoorAmbient=Color3.new(50,0,350) |
| 1127 | + | |
| 1128 | - | wait(0.1) |
| 1128 | + | |
| 1129 | - | game.Lighting.OutdoorAmbient=Color3.new(0,114,235) |
| 1129 | + | |
| 1130 | - | wait(0.1) |
| 1130 | + | |
| 1131 | - | game.Lighting.OutdoorAmbient=Color3.new(0,0,235) |
| 1131 | + | |
| 1132 | CFrame.new(0.903839946, -1.70734286, 0.373858094, 0.863655448, -0.430708885, 0.261895239, 0.187955216, 0.757234871, 0.625514567, -0.46773085, -0.491004646, 0.734943748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1133 | - | game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255) |
| 1133 | + | |
| 1134 | - | game.Lighting.TimeOfDay="15:00:00" |
| 1134 | + | |
| 1135 | end | |
| 1136 | - | canworld = true |
| 1136 | + | |
| 1137 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN:Resume() |
| 1137 | + | MagnitudeDamage(HitboxR, 7, 10, 15, 50, "Normal", "610359590", 1) |
| 1138 | for i = 0, 1, 0.1 do | |
| 1139 | - | bbgTl.Text = " " |
| 1139 | + | |
| 1140 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3) | |
| 1141 | PlayAnimationFromTable({
| |
| 1142 | CFrame.new(-0.338160992, -0.0772590488, -0.484170675, 0.307024002, -0.153706044, 0.939207554, -0.403236002, 0.872901201, 0.274671286, -0.86205399, -0.463052958, 0.206021816) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1143 | CFrame.new(-0.0502282679, 1.50051379, -0.0864891857, 0.502356887, -0.246090144, -0.828901231, -0.00520065427, 0.957766473, -0.287500501, 0.864644766, 0.148738697, 0.479860842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1144 | - | function clerp(a,b,c,d) |
| 1144 | + | |
| 1145 | - | for i = 0,d,.01 do |
| 1145 | + | |
| 1146 | - | a.CFrame = CFrame.new(b:lerp(c,i)) |
| 1146 | + | |
| 1147 | CFrame.new(-0.676943898, -1.44413579, 0.206094518, 0.884253025, 0.0570309162, -0.463512957, 0.209485695, 0.838620007, 0.502824426, 0.417387724, -0.541723251, 0.729605079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1148 | }, 0.6, false) | |
| 1149 | end | |
| 1150 | - | function slerp(a2,b2,c2,d2) |
| 1150 | + | |
| 1151 | - | for i2 = 0,d2,.01 do |
| 1151 | + | |
| 1152 | - | a2.CFrame = CFrame.new(b2:lerp(c2,i2)) |
| 1152 | + | |
| 1153 | attack = true | |
| 1154 | STDamage = true | |
| 1155 | local S2 = CFuncs.Sound.Create("402454350", Torso, 1, 1)
| |
| 1156 | - | part = nil |
| 1156 | + | Instance.new("DistortionSoundEffect", S2).Level = 0.8
|
| 1157 | - | cooldown = false |
| 1157 | + | |
| 1158 | - | Mouse.KeyDown:connect(function(key) |
| 1158 | + | |
| 1159 | - | if key == "e" and part == nil and cooldown == false and canworld == true then |
| 1159 | + | Effects.Block.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
|
| 1160 | - | |
| 1160 | + | Effects.Break.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 0.5, 0.5, 0.5)
|
| 1161 | - | game.Lighting.OutdoorAmbient=Color3.new(0,14,135) |
| 1161 | + | |
| 1162 | - | game.Lighting.TimeOfDay="00:00:00" |
| 1162 | + | |
| 1163 | - | wait(0.000004) |
| 1163 | + | |
| 1164 | - | game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255) |
| 1164 | + | |
| 1165 | - | game.Lighting.TimeOfDay="15:00:00" |
| 1165 | + | |
| 1166 | - | plr.Character.Torso.CFrame = CFrame.new(Vector3.new(Mouse.hit.p.X,Mouse.hit.p.Y+1.5,Mouse.hit.p.Z),plr.Character.Torso.CFrame.p) |
| 1166 | + | |
| 1167 | - | bam = CFuncs.Sound.Create("872436640")
|
| 1167 | + | |
| 1168 | - | bam.Volume = 10 |
| 1168 | + | |
| 1169 | - | cooldown = true |
| 1169 | + | |
| 1170 | - | wait(1.1) |
| 1170 | + | |
| 1171 | - | bam:Destroy() |
| 1171 | + | MagnitudeDamage(HitboxR, 10, 50, 80, 100, "Normal", "610359515", 1) |
| 1172 | - | cooldown = false |
| 1172 | + | Effects.Wave.Create(BrickColor.new("Royal purple"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
|
| 1173 | CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
| |
| 1174 | CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
| |
| 1175 | for i = 0, 1, 0.08 do | |
| 1176 | - | ) |
| 1176 | + | |
| 1177 | Effects.Block.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
| |
| 1178 | Effects.Break.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 0.5, 0.5, 0.5)
| |
| 1179 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3) | |
| 1180 | PlayAnimationFromTable({
| |
| 1181 | CFrame.new(-3.57627869E-7, -0.116980031, -2.22140098, 0.342020035, -6.11579551E-8, 0.939692736, -0.604023039, 0.766044259, 0.219846413, -0.71984607, -0.642787933, 0.262002468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1182 | CFrame.new(-1.13248825E-6, 1.49999046, 8.94069672E-7, 0.422608167, -0.383014679, -0.82140249, -1.36196613E-5, 0.906310022, -0.422613323, 0.906312764, 0.17861104, 0.383008778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1183 | - | AdvancingFortress.Parent = char |
| 1183 | + | |
| 1184 | CFrame.new(-1.70565486, 0.469353855, 0.162862837, 0.82686162, 0.55728358, 0.0757693052, -0.414878726, 0.513436973, 0.751176, 0.379712611, -0.652546048, 0.655748963) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1185 | CFrame.new(0.757160306, -1.48393714, -0.193787217, 0.601814985, 0.305624545, -0.737842917, -2.98023224E-8, 0.923879623, 0.382683486, 0.798635662, -0.230304718, 0.556004763) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1186 | CFrame.new(-0.908789515, -1.60188651, -0.0663503706, 0.696367741, 0.548584938, -0.462741733, -0.173660636, 0.7544052, 0.633021533, 0.696362019, -0.360454619, 0.620610356) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1187 | }, 0.6, false) | |
| 1188 | - | local FOrin = "rbxassetid://1561375999" |
| 1188 | + | |
| 1189 | - | AdvancingFortress.Head.face.Texture = FOrin |
| 1189 | + | |
| 1190 | attack = false | |
| 1191 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN = Instance.new("Sound", hum)
|
| 1191 | + | |
| 1192 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN.SoundId = "rbxassetid://907949539" |
| 1192 | + | |
| 1193 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN.Volume = 7 |
| 1193 | + | |
| 1194 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN.Looped = true |
| 1194 | + | |
| 1195 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN:Play() |
| 1195 | + | local S2 = CFuncs.Sound.Create("402454350", Torso, 1, 1)
|
| 1196 | - | muted = false |
| 1196 | + | Instance.new("DistortionSoundEffect", S2).Level = 0.8
|
| 1197 | for i = 0, 1, 0.1 do | |
| 1198 | swait() | |
| 1199 | Effects.Block.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
| |
| 1200 | - | if key == "t" and muted == false then |
| 1200 | + | Effects.Break.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 0.5, 0.5, 0.5)
|
| 1201 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.5) | |
| 1202 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN.Volume = 0 |
| 1202 | + | |
| 1203 | - | muted = true |
| 1203 | + | |
| 1204 | CFrame.new(-0.0102166235, 1.52751005, -0.239579424, 0.456926107, -0.171424359, 0.872835577, -0.167732254, 0.94705075, 0.273807496, -0.87355268, -0.271512181, 0.403976858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1205 | CFrame.new(0.944673777, 0.474064022, -0.539126158, 0.229199454, 0.762564063, 0.604949772, 0.809601307, 0.195682317, -0.553402781, -0.540382624, 0.616607308, -0.572522938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1206 | CFrame.new(-1.61232829, 0.309644789, -0.24482432, 0.455398798, 0.536860108, -0.710207343, -0.887026072, 0.205374956, -0.413530886, -0.076149486, 0.818293095, 0.569735885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1207 | CFrame.new(1.08113468, -1.48232126, 0.656104684, 0.81421864, -0.517612338, 0.262917578, 0.175395042, 0.651024699, 0.738514543, -0.553430021, -0.555197835, 0.620862961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1208 | - | pl.Shirt:Remove() |
| 1208 | + | |
| 1209 | - | pl.Pants:Remove() |
| 1209 | + | |
| 1210 | end | |
| 1211 | - | FShirt = Instance.new("Shirt", pl)
|
| 1211 | + | Effects.Wave.Create(BrickColor.new("Royal purple"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
|
| 1212 | - | FShirt.Name = "FShirt" |
| 1212 | + | Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 140 |
| 1213 | - | FPants = Instance.new("Pants", pl)
|
| 1213 | + | |
| 1214 | - | FPants.Name = "FPants" |
| 1214 | + | |
| 1215 | - | pl.FShirt.ShirtTemplate = "rbxassetid://572240895" |
| 1215 | + | |
| 1216 | - | pl.FPants.PantsTemplate = "rbxassetid://572240895" |
| 1216 | + | |
| 1217 | MagnitudeDamage(HitboxR, 5, 50, 80, 100, "Normal", "610359515", 1) | |
| 1218 | Effects.Block.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
| |
| 1219 | Effects.Break.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 0.5, 0.5, 0.5)
| |
| 1220 | - | Character["Advancing Fortress"].Hat3:Destroy() |
| 1220 | + | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 1) |
| 1221 | PlayAnimationFromTable({
| |
| 1222 | - | Character["Advancing Fortress"].Hat.Part.Transparency = 1 |
| 1222 | + | |
| 1223 | - | Character["Advancing Fortress"].scarf.Part.Transparency = 1 |
| 1223 | + | |
| 1224 | CFrame.new(1.72490048, 1.25688744, -0.021425128, -0.678134382, -0.731868863, 0.0670941696, 0.667953849, -0.575675249, 0.47163111, -0.306547582, 0.364645123, 0.879239857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1225 | - | Character["Advancing Fortress"].boot1.Part.Transparency = 1 |
| 1225 | + | |
| 1226 | - | Character["Advancing Fortress"].boot2.Part.Transparency = 1 |
| 1226 | + | |
| 1227 | - | Character["Advancing Fortress"].glo1.Part.Transparency = 1 |
| 1227 | + | |
| 1228 | - | Character["Advancing Fortress"].glo2.Part.Transparency = 1 |
| 1228 | + | |
| 1229 | - | Character["Advancing Fortress"].rs.Part.Transparency = 1 |
| 1229 | + | |
| 1230 | - | Character["Advancing Fortress"].ls.Part.Transparency = 1 |
| 1230 | + | |
| 1231 | - | Character["Advancing Fortress"].cloth.Part.Transparency = 1 |
| 1231 | + | |
| 1232 | - | Character["Advancing Fortress"].ear1.Part.Transparency = 1 |
| 1232 | + | |
| 1233 | - | Character["Advancing Fortress"].ear2.Part.Transparency = 1 |
| 1233 | + | |
| 1234 | - | Character["Advancing Fortress"].belt.Part.Transparency = 1 |
| 1234 | + | |
| 1235 | - | Character["Advancing Fortress"].belt2.Part.Transparency = 1 |
| 1235 | + | |
| 1236 | - | Character["Advancing Fortress"].belt3.Part.Transparency = 1 |
| 1236 | + | |
| 1237 | - | Character["Advancing Fortress"].cloth2.Part.Transparency = 1 |
| 1237 | + | |
| 1238 | - | Character["Advancing Fortress"].gr.Part.Transparency = 1 |
| 1238 | + | |
| 1239 | - | Character["Advancing Fortress"].gl.Part.Transparency = 1 |
| 1239 | + | |
| 1240 | - | Character["Advancing Fortress"].ap1.Part.Transparency = 1 |
| 1240 | + | |
| 1241 | - | Character["Advancing Fortress"].ap2.Part.Transparency = 1 |
| 1241 | + | |
| 1242 | - | Character["Advancing Fortress"].ap3.Part.Transparency = 1 |
| 1242 | + | |
| 1243 | - | Character["Advancing Fortress"].ap4.Part.Transparency = 1 |
| 1243 | + | |
| 1244 | - | Character["Advancing Fortress"].glo1B.Part.Transparency = 1 |
| 1244 | + | |
| 1245 | - | Character["Advancing Fortress"].glo2B.Part.Transparency = 1 |
| 1245 | + | |
| 1246 | - | Character["Advancing Fortress"].ap5.Part.Transparency = 1 |
| 1246 | + | |
| 1247 | - | Character["Advancing Fortress"].ap6.Part.Transparency = 1 |
| 1247 | + | |
| 1248 | - | Character["Advancing Fortress"].circ1.Part.Transparency = 1 |
| 1248 | + | |
| 1249 | - | Character["Advancing Fortress"].circ2.Part.Transparency = 1 |
| 1249 | + | |
| 1250 | - | Character["Advancing Fortress"].circ3.Part.Transparency = 1 |
| 1250 | + | |
| 1251 | - | Character["Advancing Fortress"].circ4.Part.Transparency = 1 |
| 1251 | + | |
| 1252 | - | Character["Advancing Fortress"].muscle.Part.Transparency = 1 |
| 1252 | + | |
| 1253 | - | AdvancingFortress.Head.face.Transparency = 1 |
| 1253 | + | local asd = weld5(RightArm, ht:FindFirstChild("Torso"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
|
| 1254 | asd.Parent = RightArm | |
| 1255 | asd.Name = "asd" | |
| 1256 | - | Character.Hat:Destroy() |
| 1256 | + | |
| 1257 | - | Character.boot1:Destroy() |
| 1257 | + | |
| 1258 | - | Character.boot2:Destroy() |
| 1258 | + | |
| 1259 | - | Character.glo1:Destroy() |
| 1259 | + | |
| 1260 | - | Character.glo2:Destroy() |
| 1260 | + | |
| 1261 | - | Character.scarf:Destroy() |
| 1261 | + | |
| 1262 | - | Character.cloth:Destroy() |
| 1262 | + | |
| 1263 | - | Character.rs:Destroy() |
| 1263 | + | |
| 1264 | - | Character.ls:Destroy() |
| 1264 | + | |
| 1265 | - | Character.ear1:Destroy() |
| 1265 | + | |
| 1266 | - | Character.ear2:Destroy() |
| 1266 | + | |
| 1267 | - | Character.belt:Destroy() |
| 1267 | + | |
| 1268 | - | Character.belt2:Destroy() |
| 1268 | + | |
| 1269 | - | Character.belt3:Destroy() |
| 1269 | + | CFrame.new(-1.08022243E-4, -0.233785003, -0.0873367637, 0.499999821, -1.78813863E-7, -0.866025507, 0.150383934, 0.984807789, 0.0868239477, 0.852868676, -0.173648283, 0.492403716) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), |
| 1270 | - | Character.cloth2:Destroy() |
| 1270 | + | |
| 1271 | - | Character.ap1:Destroy() |
| 1271 | + | |
| 1272 | - | Character.ap2:Destroy() |
| 1272 | + | |
| 1273 | - | Character.ap3:Destroy() |
| 1273 | + | |
| 1274 | - | Character.ap4:Destroy() |
| 1274 | + | |
| 1275 | - | Character.muscle:Destroy() |
| 1275 | + | |
| 1276 | - | Character.circ1:Destroy() |
| 1276 | + | |
| 1277 | - | Character.circ2:Destroy() |
| 1277 | + | |
| 1278 | - | Character.circ3:Destroy() |
| 1278 | + | |
| 1279 | - | Character.circ4:Destroy() |
| 1279 | + | |
| 1280 | - | Character.gr:Destroy() |
| 1280 | + | |
| 1281 | - | Character.gl:Destroy() |
| 1281 | + | |
| 1282 | - | Character.ap5:Destroy() |
| 1282 | + | |
| 1283 | - | Character.ap6:Destroy() |
| 1283 | + | |
| 1284 | - | Character.glo1B:Destroy() |
| 1284 | + | |
| 1285 | - | Character.glo2B:Destroy() |
| 1285 | + | |
| 1286 | CFrame.new(-0.991570175, -1.5009346, -0.1830419, 0.415304065, 0.586875141, -0.695054054, -0.166150108, 0.800146103, 0.576333642, 0.894380629, -0.123870395, 0.429813296) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1287 | }, 0.3, false) | |
| 1288 | end | |
| 1289 | if Grab == true then | |
| 1290 | for i = 1, 5 do | |
| 1291 | for i = 0, 1, 0.35 do | |
| 1292 | swait() | |
| 1293 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3) | |
| 1294 | PlayAnimationFromTable({
| |
| 1295 | CFrame.new(-0.0701122433, -0.336599797, -0.467321932, 0.694850504, -0.140219957, -0.70535183, 0.704946458, 0.326802045, 0.629484713, 0.142244101, -0.934633017, 0.325926095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1296 | CFrame.new(-3.05473804E-6, 1.49998987, 8.94069672E-7, 0.707109332, 0.122785509, 0.696362555, 1.49011612E-6, 0.984807491, -0.173649877, -0.707104206, 0.122789055, 0.696367502) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1297 | CFrame.new(1.23286271, 0.549701929, -0.640782475, 0.740093768, 0.612683415, 0.277277708, 0.0735714883, 0.336068332, -0.938959956, -0.668469429, 0.715318501, 0.203645304) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1298 | CFrame.new(-1.63418663, 0.202915072, -0.0286649466, 0.865367413, 0.490698665, 0.101754986, -0.445756227, 0.846484005, -0.291146517, -0.228999093, 0.206590697, 0.951251805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1299 | CFrame.new(0.702593744, -1.71321297, 0.369734973, 0.965928972, -0.148447216, 0.212003857, 1.10641122E-6, 0.819153726, 0.573574424, -0.258809477, -0.554031372, 0.791244447) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1300 | CFrame.new(-0.577289343, -1.34221494, -0.247686923, 0.766049445, -0.219846189, 0.604016602, 1.58697367E-6, 0.939692199, 0.342021465, -0.642781496, -0.262004316, 0.719851196) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1301 | }, 0.4, false) | |
| 1302 | end | |
| 1303 | for i = 0, 1, 0.3 do | |
| 1304 | swait() | |
| 1305 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3) | |
| 1306 | PlayAnimationFromTable({
| |
| 1307 | CFrame.new(-0.170705646, -0.774955988, -0.472947001, 0.827218175, 0.130671635, 0.546475112, -0.561879098, 0.194839522, 0.803946257, -0.00142200035, -0.972091854, 0.234596446) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1308 | CFrame.new(-1.76951289E-7, 1.49999058, 2.2649765E-6, 0.80180192, -0.161171481, -0.575445414, 0.176131338, 0.983905077, -0.0301590711, 0.571044207, -0.0771723837, 0.817283988) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1309 | CFrame.new(1.59014189, 0.537312388, -0.263691217, 0.798337102, -0.524361372, 0.296147287, 0.455999702, 0.205153137, -0.866011977, 0.393347621, 0.826412499, 0.402889967) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1310 | CFrame.new(-1.41546631, 0.414666086, 0.337005794, 0.716736436, 0.581529975, 0.384852976, -0.56681174, 0.807305396, -0.164264664, -0.406218559, -0.100404784, 0.908243656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1311 | CFrame.new(0.793360233, -1.59947133, 0.0620805621, 0.876221955, -0.148448378, -0.458477885, 0.368687749, 0.81915307, 0.439383447, 0.310339272, -0.55403173, 0.772486985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1312 | CFrame.new(-0.535338402, -1.81867206, 0.817932665, 0.829598367, 0.11430642, -0.546535134, 0.32139504, 0.702652454, 0.634810925, 0.456587166, -0.702291727, 0.546181798) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1313 | }, 0.7, false) | |
| 1314 | end | |
| 1315 | local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character) | |
| 1316 | if hit ~= nil then | |
| 1317 | MagnitudeDamage(HitboxR, 5, 10, 30, 0, "Normal", "610359515", 1.3) | |
| 1318 | Effects.Block.Create(BrickColor.new("Royal purple"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1)
| |
| 1319 | Effects.Wave.Create(BrickColor.new("Royal purple"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09)
| |
| 1320 | Effects.Sphere.Create(BrickColor.new("Royal purple"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09)
| |
| 1321 | end | |
| 1322 | end | |
| 1323 | end | |
| 1324 | for i, v in pairs(RightArm:GetChildren()) do | |
| 1325 | if v.Name == "asd" and v:IsA("Weld") then
| |
| 1326 | v:Remove() | |
| 1327 | end | |
| 1328 | end | |
| 1329 | Grab = false | |
| 1330 | con1:disconnect() | |
| 1331 | attack = false | |
| 1332 | end | |
| 1333 | local IsWearingArmor = false | |
| 1334 | function Armor(Mode) | |
| 1335 | attack = true | |
| 1336 | if IsWearingArmor == false and Mode == "On" then | |
| 1337 | IsWearingArmor = true | |
| 1338 | Disappear() | |
| 1339 | swait(10) | |
| 1340 | ReappearArmorOnly() | |
| 1341 | Character.Humanoid.MaxHealth = 500 | |
| 1342 | Character.Humanoid.Health = 500 | |
| 1343 | HHandleWeld.Part0 = Character.Head | |
| 1344 | THandleWeld.Part0 = Character.Torso | |
| 1345 | AHandleRWeld.Part0 = Character["Right Arm"] | |
| 1346 | AHandleLWeld.Part0 = Character["Left Arm"] | |
| 1347 | LHandleRWeld.Part0 = Character["Right Leg"] | |
| 1348 | LHandleLWeld.Part0 = Character["Left Leg"] | |
| 1349 | for i, v in pairs(AdvancingFortress:GetChildren()) do | |
| 1350 | if v:IsA("BasePart") then
| |
| 1351 | v.Transparency = 1 | |
| 1352 | end | |
| 1353 | end | |
| 1354 | for i, v in pairs(Character:GetChildren()) do | |
| 1355 | if v:IsA("Accessory") then
| |
| 1356 | v.Handle.Transparency = 1 | |
| 1357 | end | |
| 1358 | end | |
| 1359 | elseif IsWearingArmor == true and Mode == "Off" then | |
| 1360 | IsWearingArmor = false | |
| 1361 | DisappearArmorOnly() | |
| 1362 | for i, v in pairs(Character:GetChildren()) do | |
| 1363 | if v:IsA("Accessory") then
| |
| 1364 | v.Handle.Transparency = 0 | |
| 1365 | end | |
| 1366 | end | |
| 1367 | swait(10) | |
| 1368 | Reappear() | |
| 1369 | Character.Humanoid.MaxHealth = 100 | |
| 1370 | Character.Humanoid.Health = 100 | |
| 1371 | HHandleWeld.Part0 = Head | |
| 1372 | THandleWeld.Part0 = Torso | |
| 1373 | AHandleRWeld.Part0 = RightArm | |
| 1374 | AHandleLWeld.Part0 = LeftArm | |
| 1375 | LHandleRWeld.Part0 = RightLeg | |
| 1376 | LHandleLWeld.Part0 = LeftLeg | |
| 1377 | for i, v in pairs(AdvancingFortress:GetChildren()) do | |
| 1378 | if v:IsA("BasePart") then
| |
| 1379 | v.Transparency = 0 | |
| 1380 | end | |
| 1381 | end | |
| 1382 | end | |
| 1383 | attack = false | |
| 1384 | end | |
| 1385 | local ShieldMode = false | |
| 1386 | local ShieldCharge = false | |
| 1387 | function HoloHexShield() | |
| 1388 | attack = true | |
| 1389 | Shield.Parent = m | |
| 1390 | Shield.CanCollide = true | |
| 1391 | if ShieldMode == true then | |
| 1392 | while ShieldMode == true do | |
| 1393 | swait() | |
| 1394 | Effects.Elec.Create(Shield.CFrame, 6, 6, 6) | |
| 1395 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
| 1396 | PlayAnimationFromTable({
| |
| 1397 | CFrame.new(-1.35600567E-6, -0.00759640103, -0.0868249983, 0.499999046, -1.78813579E-7, -0.866026044, 0.150384009, 0.984807789, 0.0868238211, 0.852869093, -0.173648283, 0.492402941) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1398 | CFrame.new(1.49011612E-7, 1.4999963, -2.08616257E-7, 0.499999046, 0.0754797831, 0.862731695, -1.78813579E-7, 0.996196151, -0.0871563852, -0.866026044, 0.0435779616, 0.498097092) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1399 | CFrame.new(1.50238657, 0.320674658, 0.252193451, 0.855209947, -0.376432747, -0.356249839, 0.469514668, 0.853786647, 0.224954769, 0.219480619, -0.35964793, 0.906907678) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1400 | CFrame.new(-0.944740474, 0.689363539, -0.718644142, 0.836517215, -0.545084715, 0.0558781698, -0.258834839, -0.482974619, -0.836504936, 0.482953727, 0.685287297, -0.545103252) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1401 | CFrame.new(0.61525929, -1.85127568, 0.120779425, 0.928754449, -0.162676111, 0.333104134, 0.0394990072, 0.93689239, 0.347407103, -0.368597984, -0.309496939, 0.876555264) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1402 | CFrame.new(-0.849455297, -1.60697818, -0.270956695, 0.696359396, -0.136922374, 0.704511464, -0.122786656, 0.944430828, 0.30491665, -0.707112312, -0.298836082, 0.640850842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1403 | }, 0.3, false) | |
| 1404 | end | |
| 1405 | end | |
| 1406 | Shield.CanCollide = false | |
| 1407 | CFuncs.Sound.Create("200632211", HitboxR, 1, 0.8)
| |
| 1408 | CFuncs.Sound.Create("200632875", HitboxR, 1, 0.9)
| |
| 1409 | Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 160 | |
| 1410 | Effects.Wave.Create(BrickColor.new("Royal purple"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
| |
| 1411 | for i = 0, 1, 0.05 do | |
| 1412 | swait() | |
| 1413 | MagnitudeDamage(Shield, 5, 10, 15, 20, "Normal", "610359515", 1.3) | |
| 1414 | Effects.Elec.Create(Shield.CFrame, 6, 6, 6) | |
| 1415 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -3), 1) | |
| 1416 | PlayAnimationFromTable({
| |
| 1417 | CFrame.new(8.64267349E-7, -0.183445007, -0.748600185, 0.499999046, -1.19209105E-7, -0.866026044, 0.496732056, 0.819152176, 0.28678751, 0.709407032, -0.573576331, 0.409575343) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1418 | CFrame.new(-7.15255737E-7, 1.50001967, -6.2584877E-7, 0.499999046, 0.36600244, 0.784893453, -1.19209105E-7, 0.90631634, -0.42262283, -0.866026044, 0.211310923, 0.453157306) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1419 | CFrame.new(1.76569033, 0.610707581, 0.171269983, 0.658267856, -0.680293143, -0.322312057, 0.725086272, 0.457917482, 0.514355659, -0.202320263, -0.572288036, 0.794703186) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1420 | CFrame.new(-1.07552779, 1.01543474, -0.975205183, 0.645357251, -0.653341353, -0.39580214, -0.64124006, -0.181770697, -0.745500326, 0.4151209, 0.734918237, -0.536255598) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1421 | CFrame.new(0.630614281, -1.76328135, 0.440194428, 0.866077662, -0.24334389, 0.436684549, -0.0614839792, 0.815044224, 0.57612747, -0.496114343, -0.525820255, 0.69092983) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1422 | CFrame.new(-0.857700765, -1.25810766, -0.239681423, 0.499215126, -0.257185757, 0.827429712, -0.238765404, 0.877132356, 0.416689515, -0.832931936, -0.405579239, 0.376470625) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1423 | }, 0.5, false) | |
| 1424 | end | |
| 1425 | Shield.Parent = nil | |
| 1426 | attack = false | |
| 1427 | end | |
| 1428 | Mouse.Button1Down:connect(function() | |
| 1429 | if attack == false and attacktype == 1 then | |
| 1430 | attacktype = 2 | |
| 1431 | attackone() | |
| 1432 | elseif attack == false and attacktype == 2 then | |
| 1433 | attacktype = 1 | |
| 1434 | attacktwo() | |
| 1435 | end | |
| 1436 | end) | |
| 1437 | game.Lighting.Outlines = false | |
| 1438 | function attackone() | |
| 1439 | attack = true | |
| 1440 | for i = 0, 1, 0.12 do | |
| 1441 | swait() | |
| 1442 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
| 1443 | PlayAnimationFromTable({
| |
| 1444 | CFrame.new(1.51857734E-4, -0.310488015, -0.087417841, 0.707106054, 5.26835073E-8, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1445 | CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1446 | CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1447 | CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1448 | CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973E-6, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1449 | CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632E-7, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1450 | }, 0.3, false) | |
| 1451 | end | |
| 1452 | MagnitudeDamage(HitboxR, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1) | |
| 1453 | CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
| |
| 1454 | RootPart.Velocity = RootPart.CFrame.lookVector * 40 | |
| 1455 | for i = 0, 1, 0.11 do | |
| 1456 | swait() | |
| 1457 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
| 1458 | PlayAnimationFromTable({
| |
| 1459 | CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1460 | CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1461 | CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1462 | CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1463 | CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1464 | CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1465 | }, 0.45, false) | |
| 1466 | end | |
| 1467 | attack = false | |
| 1468 | end | |
| 1469 | function attacktwo() | |
| 1470 | attack = true | |
| 1471 | for i = 0, 1, 0.12 do | |
| 1472 | swait() | |
| 1473 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
| 1474 | PlayAnimationFromTable({
| |
| 1475 | CFrame.new(-0.0382043272, -0.447743475, -0.209081307, 0.653245032, -0.0733856931, 0.753581822, -0.271655023, 0.906307638, 0.323743671, -0.706735075, -0.416198224, 0.572105408) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1476 | CFrame.new(-2.74181366E-6, 1.49999321, -3.4570694E-6, 0.707105815, -0.183012873, -0.683013678, -8.7171793E-7, 0.965925694, -0.258819759, 0.707107782, 0.183013588, 0.683011472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1477 | CFrame.new(1.65075588, 0.743636727, -0.356577665, 0.542998552, -0.115416825, 0.831764221, 0.839699984, 0.0834951103, -0.536593378, -0.00751632452, 0.989801884, 0.142253295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1478 | CFrame.new(-1.08620656, -0.00580590963, -0.864283919, 0.656464815, -0.698875248, 0.283949524, 0.478162557, 0.0943745971, -0.873186052, 0.583450615, 0.708990037, 0.396129608) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1479 | CFrame.new(0.856426239, -1.40340364, -0.356423855, 0.707105279, -0.122788861, -0.696365654, 9.42498446E-7, 0.98480767, -0.173648372, 0.707108438, 0.122787014, 0.696362913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1480 | CFrame.new(-0.695387185, -1.90375674, -0.304245114, 0.92541647, 0.246137589, -0.288133472, -0.173648298, 0.951251149, 0.254887551, 0.336824656, -0.185843274, 0.923044682) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1481 | }, 0.34, false) | |
| 1482 | end | |
| 1483 | MagnitudeDamage(HitboxL, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1.1) | |
| 1484 | CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
| |
| 1485 | RootPart.Velocity = RootPart.CFrame.lookVector * 40 | |
| 1486 | for i = 0, 1, 0.12 do | |
| 1487 | swait() | |
| 1488 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
| 1489 | PlayAnimationFromTable({
| |
| 1490 | CFrame.new(-0.479634404, -0.393727064, -0.220339894, 0.248309121, 0.219825819, -0.94340837, 0.019257009, 0.972597659, 0.231695861, 0.968489468, -0.0756994039, 0.237271711) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1491 | CFrame.new(-4.01586294E-6, 1.4999907, -1.59628689E-6, 0.237956509, -0.0991817266, 0.966198623, 0.22414881, 0.973527908, 0.0447304621, -0.945057809, 0.205928385, 0.253888786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1492 | CFrame.new(1.08192515, 0.657660127, -1.1749661, 0.228772208, 0.493058115, 0.839379132, 0.874719322, 0.27430138, -0.399530977, -0.427234828, 0.825622678, -0.368534833) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1493 | CFrame.new(-1.23054802, 1.29996836, -0.754827142, 0.94838953, -0.316170156, 0.0243683457, -0.269034386, -0.84291333, -0.465958893, 0.167862713, 0.43535465, -0.88447094) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1494 | CFrame.new(0.839919031, -1.81287205, 0.0102108568, 0.808574855, -0.267538428, 0.524051666, 0.171010748, 0.95905602, 0.22575888, -0.562994003, -0.0929245204, 0.821220458) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1495 | CFrame.new(-0.846072078, -1.7213496, -0.247524291, 0.693717241, 0.0689389557, 0.716940701, -0.0478171073, 0.997620881, -0.0496601462, -0.718658566, 1.68083934E-4, 0.695363283) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1496 | }, 0.45, false) | |
| 1497 | end | |
| 1498 | attack = false | |
| 1499 | end | |
| 1500 | function findNearestTorso(pos) | |
| 1501 | local list = game.Workspace:children() | |
| 1502 | local torso | |
| 1503 | local dist = 1000 | |
| 1504 | local temp, human, temp2 | |
| 1505 | for x = 1, #list do | |
| 1506 | temp2 = list[x] | |
| 1507 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
| 1508 | temp = temp2:findFirstChild("Torso")
| |
| 1509 | human = temp2:findFirstChild("Humanoid")
| |
| 1510 | if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then | |
| 1511 | local dohit = true | |
| 1512 | if dohit == true then | |
| 1513 | torso = temp | |
| 1514 | dist = (temp.Position - pos).magnitude | |
| 1515 | end | |
| 1516 | end | |
| 1517 | end | |
| 1518 | end | |
| 1519 | return torso, dist | |
| 1520 | end | |
| 1521 | function TrueAim(aim) | |
| 1522 | local target, distance = findNearestTorso(Mouse.Hit.p) | |
| 1523 | local tehcf = HitboxR.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0).lookVector | |
| 1524 | if aim ~= nil then | |
| 1525 | tehcf = aim | |
| 1526 | end | |
| 1527 | table.insert(Effects, {
| |
| 1528 | tehcf, | |
| 1529 | "Shoot", | |
| 1530 | 30, | |
| 1531 | HitboxR.Position, | |
| 1532 | 10, | |
| 1533 | 15, | |
| 1534 | 0, | |
| 1535 | 3, | |
| 1536 | HitboxR, | |
| 1537 | target | |
| 1538 | }) | |
| 1539 | end | |
| 1540 | function FireProjectiles() | |
| 1541 | attack = true | |
| 1542 | Humanoid.WalkSpeed = 20 | |
| 1543 | CFuncs.Sound.Create("300915902", HitboxR, 1, 0.8)
| |
| 1544 | for i = 0, 1, 0.1 do | |
| 1545 | swait() | |
| 1546 | Effects.Elec.Create(HitboxR.CFrame, 2, 2, 2) | |
| 1547 | PlayAnimationFromTable({
| |
| 1548 | CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1549 | CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1550 | CFrame.new(0.874554753, 1.14087927, -1.06730831, -0.166365892, 0.198266983, 0.965925813, 0.797995508, -0.548363924, 0.250000268, 0.579245627, 0.812396049, -0.0669871047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1551 | CFrame.new(-0.257126778, 1.24225974, -0.962940335, 0.692363203, -0.593008757, -0.411064416, -0.708803177, -0.665577948, -0.233675212, -0.135024026, 0.453151852, -0.88114804) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1552 | CFrame.new(0.604643881, -1.9909004, 0.0280392915, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1553 | CFrame.new(-0.604644895, -1.99090064, 0.0280393362, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1554 | }, 0.3, false) | |
| 1555 | end | |
| 1556 | for i = 0, 1, 0.1 do | |
| 1557 | swait() | |
| 1558 | Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3) | |
| 1559 | Effects.Block.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
| |
| 1560 | Effects.Sphere2.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
| |
| 1561 | PlayAnimationFromTable({
| |
| 1562 | CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1563 | CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1564 | CFrame.new(0.661153734, 0.568759024, -0.827975571, -0.166752055, 0.025078943, 0.985679924, 0.98324734, -0.0704026297, 0.168131784, 0.0736110285, 0.99720335, -0.012919019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1565 | CFrame.new(-0.390097797, 0.861622274, -0.554995477, 0.351840883, -0.837056041, -0.418981194, -0.935129642, -0.294365793, -0.197183579, 0.0417199843, 0.461178988, -0.886325777) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1566 | CFrame.new(0.604644954, -1.9909004, 0.0280390829, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1567 | CFrame.new(-0.604644775, -1.99090064, 0.0280380547, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1568 | }, 0.2, false) | |
| 1569 | end | |
| 1570 | for i = 1, 10 do | |
| 1571 | for i = 0, 1, 0.3 do | |
| 1572 | swait() | |
| 1573 | Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3) | |
| 1574 | Effects.Sphere2.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
| |
| 1575 | PlayAnimationFromTable({
| |
| 1576 | CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1577 | CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1578 | CFrame.new(0.661153734, 0.568759024, -0.827975571, -0.166752055, 0.025078943, 0.985679924, 0.98324734, -0.0704026297, 0.168131784, 0.0736110285, 0.99720335, -0.012919019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1579 | CFrame.new(-0.390097797, 0.861622274, -0.554995477, 0.351840883, -0.837056041, -0.418981194, -0.935129642, -0.294365793, -0.197183579, 0.0417199843, 0.461178988, -0.886325777) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1580 | CFrame.new(0.604644954, -1.9909004, 0.0280390829, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1581 | - | if canworld == true then |
| 1581 | + | CFrame.new(-0.604644775, -1.99090064, 0.0280380547, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) |
| 1582 | }, 0.3, false) | |
| 1583 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Light blue").Color)
|
| 1583 | + | |
| 1584 | - | elseif canworld == false then |
| 1584 | + | CFuncs.Sound.Create("300916105", HitboxR, 1, 1.2)
|
| 1585 | CFuncs.Sound.Create("300916014", HitboxR, 1, 1)
| |
| 1586 | Effects.Sphere2.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 1, 1, 1, 2, 2, 2, 0.07)
| |
| 1587 | - | until canworld == true |
| 1587 | + | local MouseLook = CFrame.new((HitboxR.Position + Mouse.Hit.p) / 2, Mouse.Hit.p) |
| 1588 | TrueAim(MouseLook.lookVector) | |
| 1589 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Light blue").Color)
|
| 1589 | + | for i = 0, 1, 0.3 do |
| 1590 | swait() | |
| 1591 | Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3) | |
| 1592 | Effects.Sphere2.Create(BrickColor.new("Royal purple"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
| |
| 1593 | PlayAnimationFromTable({
| |
| 1594 | CFrame.new(1.90734863E-6, -0.25291419, 0.238341585, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1595 | CFrame.new(0, 1.49999189, -1.1920929E-6, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1596 | CFrame.new(0.689965963, 0.767623663, -0.856841147, -0.544456005, 0.160545677, 0.823281765, 0.798456132, -0.201499581, 0.567332089, 0.256973624, 0.966241658, -0.0184810348) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1597 | CFrame.new(-0.392649293, 0.920519292, -0.977094412, 0.403439909, -0.887421727, -0.222977459, -0.91384387, -0.378501445, -0.147058249, 0.0461054072, 0.263095737, -0.963667512) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1598 | CFrame.new(0.598512471, -1.89166105, 0.0173719227, 0.962250233, -0.061308533, -0.265171409, 0.0871564373, 0.992403805, 0.0868248865, 0.257834017, -0.106658652, 0.960284173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1599 | CFrame.new(-0.598512232, -1.89166129, 0.0173728764, 0.962250233, 0.061308533, 0.265171409, -0.0871564373, 0.992403805, 0.0868248865, -0.257834017, -0.106658652, 0.960284173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1600 | }, 0.3, false) | |
| 1601 | end | |
| 1602 | end | |
| 1603 | Humanoid.WalkSpeed = 20 | |
| 1604 | attack = false | |
| 1605 | end | |
| 1606 | Mouse.KeyDown:connect(function(k) | |
| 1607 | k = k:lower() | |
| 1608 | if attack == false and ora == false and k == "z" and IsWearingArmor == false and Invisible == false then | |
| 1609 | ora = true | |
| 1610 | ORA() | |
| 1611 | elseif attack == false and k == "x" and IsWearingArmor == false and Invisible == false then | |
| 1612 | GRABEMBOIGRABEM() | |
| 1613 | elseif attack == false and k == "q" and IsWearingArmor == false and Invisible == false then | |
| 1614 | FireProjectiles() | |
| 1615 | elseif attack == false and k == "f" and Invisible == false and IsWearingArmor == false then | |
| 1616 | Invisible = true | |
| 1617 | Effects.Sphere.Create(BrickColor.new("Royal purple"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
| |
| 1618 | Effects.Block.Create(BrickColor.new("Royal purple"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
| |
| 1619 | Disappear() | |
| 1620 | elseif attack == false and k == "f" and Invisible == true and IsWearingArmor == false then | |
| 1621 | Invisible = false | |
| 1622 | CFuncs.Sound.Create("463010917", Torso, 1, 1)
| |
| 1623 | Effects.Sphere.Create(BrickColor.new("Royal purple"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08)
| |
| 1624 | for i = 1, 2 do | |
| 1625 | Effects.Block.Create(BrickColor.new("Royal purple"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
| |
| 1626 | end | |
| 1627 | for i = 1, 20 do | |
| 1628 | Effects.Break.Create(BrickColor.new("Royal purple"), Torso.CFrame, 1, 1, 1)
| |
| 1629 | end | |
| 1630 | Reappear() | |
| 1631 | elseif attack == false and ShieldMode == false and k == "c" and IsWearingArmor == false and Invisible == false then | |
| 1632 | ShieldMode = true | |
| 1633 | HoloHexShield() | |
| 1634 | elseif attack == false and k == "v" and IsWearingArmor == false and Invisible == false then | |
| 1635 | CastleCrusherFist() | |
| 1636 | end | |
| 1637 | if k == "[" and IsWearingArmor == false and Invisible == false then | |
| 1638 | Armor("On")
| |
| 1639 | end | |
| 1640 | if k == "]" and IsWearingArmor == true and Invisible == false then | |
| 1641 | Armor("Off")
| |
| 1642 | end | |
| 1643 | end) | |
| 1644 | Mouse.KeyUp:connect(function(k) | |
| 1645 | k = k:lower() | |
| 1646 | if attack == true and ora == true and k == "z" and IsWearingArmor == false then | |
| 1647 | ora = false | |
| 1648 | elseif attack == true and ShieldMode == true and k == "c" and IsWearingArmor == false then | |
| 1649 | ShieldMode = false | |
| 1650 | end | |
| 1651 | end) | |
| 1652 | coroutine.resume(coroutine.create(function(Part, Part2) | |
| 1653 | while Part.Parent ~= nil do | |
| 1654 | swait(math.random(100, 150)) | |
| 1655 | for i = 0, 1, 0.2 do | |
| 1656 | wait() | |
| 1657 | Eye1.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1) | |
| 1658 | Eye2.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1) | |
| 1659 | end | |
| 1660 | for i = 0, 1, 0.2 do | |
| 1661 | swait() | |
| 1662 | Eye1.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1) | |
| 1663 | Eye2.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1) | |
| 1664 | end | |
| 1665 | end | |
| 1666 | end), Eye1, Eye2) | |
| 1667 | while true do | |
| 1668 | swait() | |
| 1669 | for i, v in pairs(Character:children()) do | |
| 1670 | if v:IsA("Part") and IsWearingArmor == true then
| |
| 1671 | v.Anchored = false | |
| 1672 | end | |
| 1673 | end | |
| 1674 | for i, v in pairs(AdvancingFortress:GetChildren()) do | |
| 1675 | if v:IsA("Part") then
| |
| 1676 | v.Material = "SmoothPlastic" | |
| 1677 | v.CanCollide = false | |
| 1678 | elseif v:IsA("Humanoid") then
| |
| 1679 | v:remove() | |
| 1680 | elseif v:IsA("Accessory") then
| |
| 1681 | v:remove() | |
| 1682 | elseif v:IsA("Shirt") then
| |
| 1683 | v:remove() | |
| 1684 | elseif v:IsA("Pants") then
| |
| 1685 | v:remove() | |
| 1686 | elseif v:IsA("Script") or v:IsA("LocalScript") then
| |
| 1687 | v:remove() | |
| 1688 | elseif v:IsA("BodyColors") then
| |
| 1689 | v:remove() | |
| 1690 | end | |
| 1691 | end | |
| 1692 | HHandle.Transparency = 1 | |
| 1693 | THandle.Transparency = 1 | |
| 1694 | AHandleR.Transparency = 1 | |
| 1695 | AHandleL.Transparency = 1 | |
| 1696 | LHandleR.Transparency = 1 | |
| 1697 | LHandleL.Transparency = 1 | |
| 1698 | RootPart.Transparency = 1 | |
| 1699 | HitboxR.Transparency = 1 | |
| 1700 | HitboxL.Transparency = 1 | |
| 1701 | Head.BrickColor = BrickColor.new("Royal purple")
| |
| 1702 | Torso.BrickColor = BrickColor.new("Cyan")
| |
| 1703 | RightArm.BrickColor = BrickColor.new("Royal purple")
| |
| 1704 | LeftArm.BrickColor = BrickColor.new("Royal purple")
| |
| 1705 | RightLeg.BrickColor = BrickColor.new("Royal purple")
| |
| 1706 | LeftLeg.BrickColor = BrickColor.new("Royal purple")
| |
| 1707 | RootPart.Anchored = true | |
| 1708 | Torsovelocity = (Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1709 | velocity = Character.HumanoidRootPart.Velocity.y | |
| 1710 | sine = sine + change | |
| 1711 | Shield.Anchored = true | |
| 1712 | Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1) | |
| 1713 | local hit, pos = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 1714 | if Character.HumanoidRootPart.Velocity.y > 1 and hit == nil then | |
| 1715 | Anim = "Jump" | |
| 1716 | if attack == false then | |
| 1717 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5) | |
| 1718 | PlayAnimationFromTable({
| |
| 1719 | CFrame.new(0, 0.00872418843, 0.0292903651, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1720 | CFrame.new(0, 1.49999177, -1.49011612E-7, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1721 | CFrame.new(1.64140427, 0.273908556, 0.192029893, 0.946035206, -0.31541416, 0.0743736848, 0.284469575, 0.91821146, 0.275617331, -0.155224368, -0.239586651, 0.958386064) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1722 | CFrame.new(-1.59350562, 0.239538491, 0.192243189, 0.935008764, 0.347148597, -0.0724328309, -0.312019885, 0.902400434, 0.297181845, 0.168529674, -0.255267143, 0.952069581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1723 | CFrame.new(0.602718651, -1.95556056, 0.410092652, 0.978475571, 0.0150757888, -0.205834776, 0.0853612274, 0.878464639, 0.470120817, 0.187906027, -0.477568805, 0.85826844) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1724 | CFrame.new(-0.41903314, -1.41877925, -0.229210436, 0.962251842, -0.0299757104, 0.270510197, -0.084186092, 0.912393093, 0.400567293, -0.258819073, -0.408219665, 0.875425339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1725 | }, 0.3, false) | |
| 1726 | end | |
| 1727 | elseif Character.HumanoidRootPart.Velocity.y < -1 and hit == nil then | |
| 1728 | Anim = "Fall" | |
| 1729 | if attack == false then | |
| 1730 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5) | |
| 1731 | PlayAnimationFromTable({
| |
| 1732 | CFrame.new(0, -0.0366669223, -0.0478199311, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1733 | CFrame.new(0, 1.58110774, -0.115850762, 1, 0, 0, 0, 0.98480767, 0.173647821, 0, -0.173647821, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1734 | CFrame.new(1.72150326, 0.610064566, 0.0891361833, 0.724097908, -0.685675204, 0.0743751749, 0.645872176, 0.711960018, 0.275611937, -0.241932437, -0.151533186, 0.958387375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1735 | CFrame.new(-1.69228244, 0.568353653, 0.082095027, 0.759895504, 0.646005511, -0.0724337399, -0.601845145, 0.741260946, 0.297183931, 0.24567467, -0.182231784, 0.952074111) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1736 | CFrame.new(0.60271728, -1.95556188, 0.410093039, 0.978470623, -0.00292155147, -0.206365243, 0.0853614658, 0.916095972, 0.391767859, 0.187905625, -0.400949359, 0.896622121) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1737 | CFrame.new(-0.453899324, -1.81726217, -0.229221463, 0.962255239, -0.00628663599, 0.272094905, -0.0841865242, 0.943832874, 0.319526881, -0.258820891, -0.33037129, 0.90767473) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1738 | }, 0.3, false) | |
| 1739 | end | |
| 1740 | - | Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1)
|
| 1740 | + | |
| 1741 | Anim = "Idle" | |
| 1742 | if attack == false then | |
| 1743 | change = 1 | |
| 1744 | - | Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1)
|
| 1744 | + | |
| 1745 | PlayAnimationFromTable({
| |
| 1746 | - | |
| 1746 | + | CFrame.new(0, -0.00190299738, -0.0435779989, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), |
| 1747 | CFrame.new(0, 1.49999213, 3.27825546E-7, 1, 0, 0, 0, 0.99619478, 0.0871553123, 0, -0.0871553123, 0.99619478) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1748 | CFrame.new(1.64141297, 0.173907071, -0.107973814, 0.946035922, -0.270955235, 0.177766502, 0.284470022, 0.957103431, -0.055051513, -0.155224428, 0.102649838, 0.982532144) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1749 | - | Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1)
|
| 1749 | + | |
| 1750 | CFrame.new(0.602711678, -1.89952374, -0.0967197716, 0.978471398, -0.0562333167, -0.198576227, 0.0853610933, 0.986278713, 0.141314447, 0.187904745, -0.155223012, 0.969844699) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1751 | - | Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 0.4, 0.4, 0.4)
|
| 1751 | + | |
| 1752 | }, 0.3, false) | |
| 1753 | end | |
| 1754 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 1755 | Anim = "Walk" | |
| 1756 | if attack == false then | |
| 1757 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5) | |
| 1758 | PlayAnimationFromTable({
| |
| 1759 | CFrame.new(0, -0.0234659836, -0.171147972, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1760 | CFrame.new(0, 1.49999166, 1.1920929E-7, 1, 0, 0, 0, 0.98480773, -0.173648983, 0, 0.173648953, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1761 | CFrame.new(1.60905385, 0.122740321, 0.227665678, 0.946036339, -0.320693314, 0.0465966538, 0.284468234, 0.89069742, 0.354595304, -0.155219615, -0.322205007, 0.93385905) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1762 | CFrame.new(-1.55878484, 0.127169654, 0.148623466, 0.93500936, 0.339513272, -0.102411598, -0.312018752, 0.924868107, 0.217401206, 0.168527737, -0.171317667, 0.970695019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1763 | CFrame.new(0.585851789, -1.60362172, -0.143285036, 0.978476226, 0.0150748575, -0.205834031, 0.0853618756, 0.878461003, 0.470117748, 0.187905103, -0.477570593, 0.858265638) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1764 | - | HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999)) |
| 1764 | + | |
| 1765 | }, 0.3, false) | |
| 1766 | - | ---- |
| 1766 | + | |
| 1767 | end | |
| 1768 | if 0 < #Effects then | |
| 1769 | - | ---- |
| 1769 | + | |
| 1770 | - | AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003)) |
| 1770 | + | |
| 1771 | local Thing = Effects[e] | |
| 1772 | if Thing ~= nil then | |
| 1773 | - | |
| 1773 | + | |
| 1774 | local Mode = Thing[2] | |
| 1775 | - | HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003)) |
| 1775 | + | |
| 1776 | local IncX = Thing[4] | |
| 1777 | - | ---- |
| 1777 | + | |
| 1778 | - | AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003)) |
| 1778 | + | |
| 1779 | if Thing[2] == "Shoot" then | |
| 1780 | local Look = Thing[1] | |
| 1781 | - | HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003)) |
| 1781 | + | |
| 1782 | if Thing[8] == 3 then | |
| 1783 | move = 10 | |
| 1784 | - | |
| 1784 | + | |
| 1785 | - | ---- |
| 1785 | + | |
| 1786 | - | LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006)) |
| 1786 | + | |
| 1787 | da = pos | |
| 1788 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
| 1789 | - | |
| 1789 | + | |
| 1790 | - | ---- |
| 1790 | + | |
| 1791 | - | LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006)) |
| 1791 | + | |
| 1792 | end | |
| 1793 | local mag = (Thing[4] - pos).magnitude | |
| 1794 | - | |
| 1794 | + | |
| 1795 | - | ---- |
| 1795 | + | |
| 1796 | - | Shield = CFuncs.Part.Create(m, "Neon", 0, 1, "Really black", "Part", Vector3.new(9.1, 8.5, 0.2)) |
| 1796 | + | |
| 1797 | end | |
| 1798 | Thing[4] = Thing[4] + Look * move | |
| 1799 | Thing[3] = Thing[3] - 1 | |
| 1800 | if 2 < Thing[5] then | |
| 1801 | Thing[5] = Thing[5] - 0.3 | |
| 1802 | Thing[6] = Thing[6] - 0.3 | |
| 1803 | end | |
| 1804 | if hit ~= nil then | |
| 1805 | Thing[3] = 0 | |
| 1806 | if Thing[8] == 1 or Thing[8] == 3 then | |
| 1807 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1808 | elseif Thing[8] == 2 then | |
| 1809 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1810 | if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
| |
| 1811 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Royal purple"), "Reference", Vector3.new())
| |
| 1812 | ref.Anchored = true | |
| 1813 | ref.CFrame = CFrame.new(pos) | |
| 1814 | CFuncs.Sound.Create("161006093", ref, 1, 1.2)
| |
| 1815 | game:GetService("Debris"):AddItem(ref, 0.2)
| |
| 1816 | Effects.Block.Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
| 1817 | Effects.Ring.Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
| |
| 1818 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
| 1819 | end | |
| 1820 | end | |
| 1821 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Royal purple"), "Reference", Vector3.new())
| |
| 1822 | ref.Anchored = true | |
| 1823 | ref.CFrame = CFrame.new(pos) | |
| 1824 | Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
| 1825 | game:GetService("Debris"):AddItem(ref, 1)
| |
| 1826 | end | |
| 1827 | if Thing[3] <= 0 then | |
| 1828 | table.remove(Effects, e) | |
| 1829 | end | |
| 1830 | end | |
| 1831 | if Thing[2] == "FireWave" then | |
| 1832 | if Thing[3] <= Thing[4] then | |
| 1833 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
| 1834 | Thing[3] = Thing[3] + 1 | |
| 1835 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
| 1836 | else | |
| 1837 | Part.Parent = nil | |
| 1838 | table.remove(Effects, e) | |
| 1839 | end | |
| 1840 | end | |
| 1841 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
| 1842 | if Thing[1].Transparency <= 1 then | |
| 1843 | if Thing[2] == "Block1" then | |
| 1844 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1845 | Mesh = Thing[7] | |
| 1846 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1847 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1848 | elseif Thing[2] == "Block2" then | |
| 1849 | Thing[1].CFrame = Thing[1].CFrame | |
| 1850 | Mesh = Thing[7] | |
| 1851 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1852 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1853 | elseif Thing[2] == "Fire" then | |
| 1854 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
| 1855 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1856 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1857 | elseif Thing[2] == "Cylinder" then | |
| 1858 | Mesh = Thing[7] | |
| 1859 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1860 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1861 | elseif Thing[2] == "Blood" then | |
| 1862 | Mesh = Thing[7] | |
| 1863 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
| 1864 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1865 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1866 | elseif Thing[2] == "Elec" then | |
| 1867 | Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1868 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1869 | elseif Thing[2] == "Disappear" then | |
| 1870 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1871 | elseif Thing[2] == "Shatter" then | |
| 1872 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1873 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1874 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1875 | Thing[6] = Thing[6] + Thing[5] | |
| 1876 | end | |
| 1877 | else | |
| 1878 | Part.Parent = nil | |
| 1879 | table.remove(Effects, e) | |
| 1880 | end | |
| 1881 | end | |
| 1882 | end | |
| 1883 | end | |
| 1884 | end | |
| 1885 | end | |
| 1886 | end |