SHOW:
|
|
- or go back to the newest paste.
| 1 | ||
| 2 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 4 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 5 | local RealPlayer = Player | |
| 6 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 7 | --dasdasdasdreqw3e412312rasdf-- | |
| 8 | --71023gggggs236021305023asdgh89aGYASDG-- | |
| 9 | --9a1231231235asfdzxvct9wqeutgqwerignjasdig-- | |
| 10 | ||
| 11 | --[[Credits to Ace_Alteriano for his Template]]-- | |
| 12 | --[[By When_kun]]-- | |
| 13 | --[[The model took time to make but it was worth it.]]-- | |
| 14 | --[[x is cringey]]-- | |
| 15 | wait(1 / 60) | |
| 16 | Effects = { }
| |
| 17 | local Player = game.Players.localPlayer | |
| 18 | local Character = Player.Character | |
| 19 | local Humanoid = Character.Humanoid | |
| 20 | local Mouse = Player:GetMouse() | |
| 21 | local mouse, Mouse = Player:GetMouse(), Player:GetMouse() | |
| 22 | local LeftArm = Character["Left Arm"] | |
| 23 | local RightArm = Character["Right Arm"] | |
| 24 | local LeftLeg = Character["Left Leg"] | |
| 25 | local RightLeg = Character["Right Leg"] | |
| 26 | local Head = Character.Head | |
| 27 | local Torso = Character.Torso | |
| 28 | local Camera = game.Workspace.CurrentCamera | |
| 29 | local RootPart = Character.HumanoidRootPart | |
| 30 | local RootJoint = RootPart.RootJoint | |
| 31 | local attack = false | |
| 32 | local Anim = 'Idle' | |
| 33 | local attacktype = 1 | |
| 34 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 35 | local velocity = RootPart.Velocity.y | |
| 36 | local sine = 0 | |
| 37 | local change = 1 | |
| 38 | local Create = LoadLibrary("RbxUtility").Create
| |
| 39 | ||
| 40 | renderstepped = game:GetService('RunService').RenderStepped
| |
| 41 | userinput = game:GetService('UserInputService')
| |
| 42 | mainmodel = Instance.new('Model',Character)
| |
| 43 | mainchord = 5 | |
| 44 | ||
| 45 | local m = Create("Model"){
| |
| 46 | Parent = Character, | |
| 47 | Name = "WeaponModel", | |
| 48 | } | |
| 49 | ||
| 50 | Humanoid.Animator.Parent = nil | |
| 51 | Character.Animate.Parent = nil | |
| 52 | ||
| 53 | children = mainmodel:GetChildren() | |
| 54 | my = 0 | |
| 55 | function rot() | |
| 56 | for i,v in pairs(children) do | |
| 57 | -- v.Size = Vector3.new(mainchord/5,mainchord/5,mainchord/5) | |
| 58 | v.CFrame = v.CFrame*CFrame.Angles(math.rad(1),math.rad(1),math.rad(2)) | |
| 59 | end | |
| 60 | end | |
| 61 | function rotA() | |
| 62 | while renderstepped:wait() do | |
| 63 | spawn(rot) | |
| 64 | my = my + 1.5 | |
| 65 | if my > 360 then | |
| 66 | my = 0 | |
| 67 | end | |
| 68 | end | |
| 69 | end | |
| 70 | spawn(rotA) | |
| 71 | ||
| 72 | function lerp(dist,inc) | |
| 73 | for i = 0,10 do | |
| 74 | renderstepped:wait() | |
| 75 | for x,v in pairs(children) do | |
| 76 | --lookvector | |
| 77 | --( centerPoint.Y + distance * Math.Sin( angle ) ) | |
| 78 | --diff rot is 90 | |
| 79 | v.Size = v.Size + Vector3.new(.1/(dist/math.abs(dist)),.1/(dist/math.abs(dist)),.1/(dist/math.abs(dist))) | |
| 80 | v.Transparency = v.Transparency - .1/(dist/math.abs(dist)) | |
| 81 | v.CFrame = CFrame.new(v.Position)*CFrame.Angles(0,math.rad(90*x+my),0)*CFrame.new(dist/10,0,0) | |
| 82 | end | |
| 83 | end | |
| 84 | end | |
| 85 | ||
| 86 | local newMotor = function(part0, part1, c0, c1) | |
| 87 | local w = Create('Motor'){
| |
| 88 | Parent = part0, | |
| 89 | Part0 = part0, | |
| 90 | Part1 = part1, | |
| 91 | C0 = c0, | |
| 92 | C1 = c1, | |
| 93 | } | |
| 94 | return w | |
| 95 | end | |
| 96 | ||
| 97 | function clerp(a, b, t) | |
| 98 | return a:lerp(b, t) | |
| 99 | end | |
| 100 | ||
| 101 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 102 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 103 | ||
| 104 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 105 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 106 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 107 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 108 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 109 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 110 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 111 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 112 | ||
| 113 | local rarmc1 = RW.C1 | |
| 114 | local larmc1 = LW.C1 | |
| 115 | local rlegc1 = RH.C1 | |
| 116 | local llegc1 = LH.C1 | |
| 117 | ||
| 118 | local resetc1 = false | |
| 119 | ||
| 120 | function PlayAnimationFromTable(table, speed, bool) | |
| 121 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 122 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 123 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 124 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 125 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 126 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 127 | if bool == true then | |
| 128 | if resetc1 == false then | |
| 129 | resetc1 = true | |
| 130 | RootJoint.C1 = RootJoint.C1 | |
| 131 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 132 | RW.C1 = rarmc1 | |
| 133 | LW.C1 = larmc1 | |
| 134 | RH.C1 = rlegc1 | |
| 135 | LH.C1 = llegc1 | |
| 136 | end | |
| 137 | end | |
| 138 | end | |
| 139 | ||
| 140 | local co1 = 15 | |
| 141 | local co2 = 8 | |
| 142 | local co3 = 20 | |
| 143 | local co5 = 30 | |
| 144 | local co4 = 32 | |
| 145 | local cooldown1 = 5 | |
| 146 | local cooldown2 = 7 | |
| 147 | local cooldown3 = 3 | |
| 148 | local cooldown4 = 2 | |
| 149 | local cooldown5 = 0 | |
| 150 | local skillcolorscheme = BrickColor.new("White").Color
| |
| 151 | local scrn = Instance.new("ScreenGui", Player.PlayerGui)
| |
| 152 | makeframe = function(par, trans, pos, size, color) | |
| 153 | ||
| 154 | local frame = Instance.new("Frame", par)
| |
| 155 | frame.BackgroundTransparency = trans | |
| 156 | frame.BorderSizePixel = 0 | |
| 157 | frame.Position = pos | |
| 158 | frame.Size = size | |
| 159 | frame.BackgroundColor3 = color | |
| 160 | return frame | |
| 161 | end | |
| 162 | ||
| 163 | makelabel = function(par, text) | |
| 164 | ||
| 165 | local label = Instance.new("TextLabel", par)
| |
| 166 | label.BackgroundTransparency = 1 | |
| 167 | label.Size = UDim2.new(1, 0, 1, 0) | |
| 168 | label.Position = UDim2.new(0, 0, 0, 0) | |
| 169 | label.TextColor3 = Color3.new(255, 250, 190) | |
| 170 | label.TextStrokeTransparency = 0 | |
| 171 | label.FontSize = Enum.FontSize.Size32 | |
| 172 | label.Font = Enum.Font.SourceSansLight | |
| 173 | label.BorderSizePixel = 0 | |
| 174 | label.TextScaled = true | |
| 175 | label.Text = text | |
| 176 | end | |
| 177 | ||
| 178 | framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 179 | framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 180 | framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 181 | framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 182 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 183 | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 184 | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 185 | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 186 | text1 = Instance.new("TextLabel", framesk1)
| |
| 187 | text1.BackgroundTransparency = 1 | |
| 188 | text1.Size = UDim2.new(1, 0, 1, 0) | |
| 189 | text1.Position = UDim2.new(0, 0, 0, 0) | |
| 190 | text1.TextColor3 = Color3.new(255, 250, 190) | |
| 191 | text1.TextStrokeTransparency = 0 | |
| 192 | text1.FontSize = Enum.FontSize.Size18 | |
| 193 | text1.Font = Enum.Font.SourceSansLight | |
| 194 | text1.BorderSizePixel = 0 | |
| 195 | text1.TextScaled = true | |
| 196 | text1.Text = "[Z]\n Persona Reference ok" | |
| 197 | text2 = Instance.new("TextLabel", framesk2)
| |
| 198 | text2.BackgroundTransparency = 1 | |
| 199 | text2.Size = UDim2.new(1, 0, 1, 0) | |
| 200 | text2.Position = UDim2.new(0, 0, 0, 0) | |
| 201 | text2.TextColor3 = Color3.new(255, 250, 190) | |
| 202 | text2.TextStrokeTransparency = 0 | |
| 203 | text2.FontSize = Enum.FontSize.Size18 | |
| 204 | text2.Font = Enum.Font.SourceSansLight | |
| 205 | text2.BorderSizePixel = 0 | |
| 206 | text2.TextScaled = true | |
| 207 | text2.Text = "[X]\n DAB ON EM HATERS" | |
| 208 | text3 = Instance.new("TextLabel", framesk3)
| |
| 209 | text3.BackgroundTransparency = 1 | |
| 210 | text3.Size = UDim2.new(1, 0, 1, 0) | |
| 211 | text3.Position = UDim2.new(0, 0, 0, 0) | |
| 212 | text3.TextColor3 = Color3.new(255, 250, 190) | |
| 213 | text3.TextStrokeTransparency = 0 | |
| 214 | text3.FontSize = Enum.FontSize.Size18 | |
| 215 | text3.Font = Enum.Font.SourceSansLight | |
| 216 | text3.BorderSizePixel = 0 | |
| 217 | text3.TextScaled = false | |
| 218 | text3.Text = "[C]\n Slide" | |
| 219 | text4 = Instance.new("TextLabel", framesk4)
| |
| 220 | text4.BackgroundTransparency = 1 | |
| 221 | text4.Size = UDim2.new(1, 0, 1, 0) | |
| 222 | text4.Position = UDim2.new(0, 0, 0, 0) | |
| 223 | text4.TextColor3 = Color3.new(255, 250, 190) | |
| 224 | text4.TextStrokeTransparency = 0 | |
| 225 | text4.FontSize = Enum.FontSize.Size18 | |
| 226 | text4.Font = Enum.Font.SourceSansLight | |
| 227 | text4.BorderSizePixel = 0 | |
| 228 | text4.TextScaled = true | |
| 229 | text4.Text = "[V]\n slap" | |
| 230 | ||
| 231 | ArtificialHB = Create("BindableEvent", script){
| |
| 232 | Parent = script, | |
| 233 | Name = "Heartbeat", | |
| 234 | } | |
| 235 | ||
| 236 | script:WaitForChild("Heartbeat")
| |
| 237 | ||
| 238 | frame = 1 / 30 | |
| 239 | tf = 0 | |
| 240 | allowframeloss = false | |
| 241 | tossremainder = false | |
| 242 | lastframe = tick() | |
| 243 | script.Heartbeat:Fire() | |
| 244 | ||
| 245 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 246 | tf = tf + s | |
| 247 | if tf >= frame then | |
| 248 | if allowframeloss then | |
| 249 | script.Heartbeat:Fire() | |
| 250 | lastframe = tick() | |
| 251 | else | |
| 252 | for i = 1, math.floor(tf / frame) do | |
| 253 | script.Heartbeat:Fire() | |
| 254 | end | |
| 255 | lastframe = tick() | |
| 256 | end | |
| 257 | if tossremainder then | |
| 258 | tf = 0 | |
| 259 | else | |
| 260 | tf = tf - frame * math.floor(tf / frame) | |
| 261 | end | |
| 262 | end | |
| 263 | end) | |
| 264 | ||
| 265 | function swait(num) | |
| 266 | if num == 0 or num == nil then | |
| 267 | ArtificialHB.Event:wait() | |
| 268 | else | |
| 269 | for i = 0, num do | |
| 270 | ArtificialHB.Event:wait() | |
| 271 | end | |
| 272 | end | |
| 273 | end | |
| 274 | ||
| 275 | function RemoveOutlines(part) | |
| 276 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 277 | end | |
| 278 | ||
| 279 | CFuncs = {
| |
| 280 | Part = {
| |
| 281 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 282 | local Part = Create("Part"){
| |
| 283 | Parent = Parent, | |
| 284 | Reflectance = Reflectance, | |
| 285 | Transparency = Transparency, | |
| 286 | CanCollide = false, | |
| 287 | Locked = true, | |
| 288 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 289 | Name = Name, | |
| 290 | Size = Size, | |
| 291 | Material = Material, | |
| 292 | } | |
| 293 | RemoveOutlines(Part) | |
| 294 | return Part | |
| 295 | end; | |
| 296 | }; | |
| 297 | ||
| 298 | Mesh = {
| |
| 299 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 300 | local Msh = Create(Mesh){
| |
| 301 | Parent = Part, | |
| 302 | Offset = OffSet, | |
| 303 | Scale = Scale, | |
| 304 | } | |
| 305 | if Mesh == "SpecialMesh" then | |
| 306 | Msh.MeshType = MeshType | |
| 307 | Msh.MeshId = MeshId | |
| 308 | end | |
| 309 | return Msh | |
| 310 | end; | |
| 311 | }; | |
| 312 | ||
| 313 | Weld = {
| |
| 314 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 315 | local Weld = Create("Weld"){
| |
| 316 | Parent = Parent, | |
| 317 | Part0 = Part0, | |
| 318 | Part1 = Part1, | |
| 319 | C0 = C0, | |
| 320 | C1 = C1, | |
| 321 | } | |
| 322 | return Weld | |
| 323 | end; | |
| 324 | }; | |
| 325 | ||
| 326 | Sound = {
| |
| 327 | Create = function(id, par, vol, pit) | |
| 328 | coroutine.resume(coroutine.create(function() | |
| 329 | local Sound = Create("Sound"){
| |
| 330 | Volume = vol, | |
| 331 | Pitch = pit or 1, | |
| 332 | SoundId = "rbxassetid://" .. id, | |
| 333 | Parent = par or workspace, | |
| 334 | } | |
| 335 | Sound:play() | |
| 336 | game:GetService("Debris"):AddItem(Sound, 10)
| |
| 337 | end)) | |
| 338 | end; | |
| 339 | }; | |
| 340 | ||
| 341 | Decal = {
| |
| 342 | Create = function(Color, Texture, Transparency, Name, Parent) | |
| 343 | local Decal = Create("Decal"){
| |
| 344 | Color3 = Color, | |
| 345 | Texture = "rbxassetid://" .. Texture, | |
| 346 | Transparency = Transparency, | |
| 347 | Name = Name, | |
| 348 | Parent = Parent, | |
| 349 | } | |
| 350 | return Decal | |
| 351 | end; | |
| 352 | }; | |
| 353 | ||
| 354 | BillboardGui = {
| |
| 355 | Create = function(Parent, Image, Position, Size) | |
| 356 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
| |
| 357 | BillPar.CFrame = CFrame.new(Position) | |
| 358 | local Bill = Create("BillboardGui"){
| |
| 359 | Parent = BillPar, | |
| 360 | Adornee = BillPar, | |
| 361 | Size = UDim2.new(1, 0, 1, 0), | |
| 362 | SizeOffset = Vector2.new(Size, Size), | |
| 363 | } | |
| 364 | local d = Create("ImageLabel", Bill){
| |
| 365 | Parent = Bill, | |
| 366 | BackgroundTransparency = 1, | |
| 367 | Size = UDim2.new(1, 0, 1, 0), | |
| 368 | Image = "rbxassetid://" .. Image, | |
| 369 | } | |
| 370 | return BillPar | |
| 371 | end | |
| 372 | }; | |
| 373 | ||
| 374 | ParticleEmitter = {
| |
| 375 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 376 | local Particle = Create("ParticleEmitter"){
| |
| 377 | Parent = Parent, | |
| 378 | Color = ColorSequence.new(Color1, Color2), | |
| 379 | LightEmission = LightEmission, | |
| 380 | Size = Size, | |
| 381 | Texture = Texture, | |
| 382 | Transparency = Transparency, | |
| 383 | ZOffset = ZOffset, | |
| 384 | Acceleration = Accel, | |
| 385 | Drag = Drag, | |
| 386 | LockedToPart = LockedToPart, | |
| 387 | VelocityInheritance = VelocityInheritance, | |
| 388 | EmissionDirection = EmissionDirection, | |
| 389 | Enabled = Enabled, | |
| 390 | Lifetime = LifeTime, | |
| 391 | Rate = Rate, | |
| 392 | Rotation = Rotation, | |
| 393 | RotSpeed = RotSpeed, | |
| 394 | Speed = Speed, | |
| 395 | VelocitySpread = VelocitySpread, | |
| 396 | } | |
| 397 | return Particle | |
| 398 | end; | |
| 399 | }; | |
| 400 | ||
| 401 | CreateTemplate = {
| |
| 402 | ||
| 403 | }; | |
| 404 | } | |
| 405 | ||
| 406 | function rayCast(Position, Direction, Range, Ignore) | |
| 407 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 408 | end | |
| 409 | ||
| 410 | function FindNearestTorso(pos) | |
| 411 | local list = (game.Workspace:children()) | |
| 412 | local torso = nil | |
| 413 | local dist = 1000 | |
| 414 | local temp, human, temp2 = nil, nil, nil | |
| 415 | for x = 1, #list do | |
| 416 | temp2 = list[x] | |
| 417 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
| 418 | temp = temp2:findFirstChild("Torso")
| |
| 419 | human = temp2:findFirstChild("Humanoid")
| |
| 420 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
| 421 | local dohit = true | |
| 422 | if dohit == true then | |
| 423 | torso = temp | |
| 424 | dist = (temp.Position - pos).magnitude | |
| 425 | end | |
| 426 | end | |
| 427 | end | |
| 428 | end | |
| 429 | return torso, dist | |
| 430 | end | |
| 431 | ||
| 432 | --[[ | |
| 433 | Thanks for using Build-To-Lua by jarredbcv. | |
| 434 | ]]-- | |
| 435 | ||
| 436 | New = function(Object, Parent, Name, Data) | |
| 437 | local Object = Instance.new(Object) | |
| 438 | for Index, Value in pairs(Data or {}) do
| |
| 439 | Object[Index] = Value | |
| 440 | end | |
| 441 | Object.Parent = Parent | |
| 442 | Object.Name = Name | |
| 443 | return Object | |
| 444 | end | |
| 445 | ||
| 446 | Revolver = New("Model",Character,"Revolver",{})
| |
| 447 | Handle = New("Part",Revolver,"Handle",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147318),CFrame = CFrame.new(-38.3728828, 3.70457292, 25.9037609, -0.0267938077, 0.00274490844, -0.999638677, -0.778030157, -0.62793833, 0.0191296302, -0.627656579, 0.778258383, 0.0189604424),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 448 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-38.362484, 3.83855653, 26.3172855, 0.999638855, -0.0240355674, -0.0121608162, -0.0191355199, -0.951385379, 0.307414979, -0.0189584699, -0.307070196, -0.951497018),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 449 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.523787498, 0.823096395),})
| |
| 450 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637246, -0.019135505, -0.0189584643, -0.0240355078, -0.951383531, -0.307070255, -0.012160819, 0.307414532, -0.951497853),C1 = CFrame.new(-0.3640728, 0.237724304, 7.62939453e-06, -0.0267937686, -0.778028965, -0.627657056, 0.00274492614, -0.627937436, 0.778259039, -0.999637365, 0.0191296153, 0.0189604387),})
| |
| 451 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201684, 0.523788631),CFrame = CFrame.new(-38.358242, 3.88810968, 26.5481853, 0.999638915, 0.0191061404, 0.0189892221, -0.0191405267, 0.99981761, 0.00163295248, -0.0189545136, -0.00199547224, 0.999817371),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 452 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.54766655, 0.386320114, 0.00109481812, -0.0267937686, -0.778028965, -0.627657056, 0.00274492614, -0.627937436, 0.778259039, -0.999637365, 0.0191296153, 0.0189604387),})
| |
| 453 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.318014473, 0.0500000007),CFrame = CFrame.new(-38.35009, 4.07556772, 26.7909775, 0.999639273, 0.0191061497, 0.0189892203, -0.0191405285, 0.999818027, 0.00163298217, -0.0189545136, -0.00199544244, 0.999817133),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 454 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.748272181),})
| |
| 455 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.846122742, 0.457586288, 0.00113296509, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
| |
| 456 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3649025, 3.73728037, 26.2916756, 0.999639153, 0.0123028848, 0.0239647776, -0.0191405062, 0.950381041, 0.31050685, -0.0189554915, -0.310851365, 0.950268209),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 457 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637187, -0.0191404838, -0.0189554859, 0.012302829, 0.950378895, -0.310851872, 0.0239647459, 0.310505927, 0.950269282),C1 = CFrame.new(-0.269138336, 0.281381607, 3.81469727e-06, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
| |
| 458 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.112240277, 0.467668325),CFrame = CFrame.new(-38.3500748, 4.29035711, 26.5754204, 0.999639273, 0.0191061497, 0.0189892203, -0.0191405285, 0.999818027, 0.00163298217, -0.0189545136, -0.00199544244, 0.999817133),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 459 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.877939224, 0.154953003, 0.00114059448, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
| |
| 460 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3610039, 3.80826855, 26.4241943, 0.999639332, 0.00149332604, 0.0268912073, -0.0191375222, 0.741928697, 0.670209289, -0.0189504661, -0.670477986, 0.741685748),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 461 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191374999, -0.0189504586, 0.00149328914, 0.741927147, -0.67047888, 0.0268911533, 0.67020756, 0.741686463),C1 = CFrame.new(-0.407649994, 0.339950562, -2.28881836e-05, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
| |
| 462 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3620377, 3.78318405, 26.3964386, 0.999639332, 0.00149332604, 0.0268912073, -0.0191375222, 0.741928697, 0.670209289, -0.0189504661, -0.670477986, 0.741685748),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 463 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191374999, -0.0189504586, 0.00149328914, 0.741927147, -0.67047888, 0.0268911533, 0.67020756, 0.741686463),C1 = CFrame.new(-0.370685577, 0.334098816, 3.81469727e-06, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
| |
| 464 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.0945501924, 0.0696684495, 0.179147348),CFrame = CFrame.new(-38.3761673, 3.52345395, 25.9137459, -0.0267938264, 0.00274489797, -0.999639273, -0.778030872, -0.627938807, 0.0191296358, -0.62765646, 0.778258145, 0.0189604443),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 465 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0267937686, -0.778028965, -0.627657056, 0.00274492614, -0.627937436, 0.778259039, -0.999637365, 0.0191296153, 0.0189604387),C1 = CFrame.new(0.134737015, 0.121492386, 7.62939453e-06, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
| |
| 466 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.393857986, 0.312856048, 0.179147348),CFrame = CFrame.new(-38.3805237, 3.48336768, 25.7251568, -0.0267938264, 0.00274489797, -0.999639273, -0.778030872, -0.627938807, 0.0191296358, -0.62765646, 0.778258145, 0.0189604443),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 467 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0267937686, -0.778028965, -0.627657056, 0.00274492614, -0.627937436, 0.778259039, -0.999637365, 0.0191296153, 0.0189604387),C1 = CFrame.new(0.284410477, -0.000118255615, 1.90734863e-05, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
| |
| 468 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.390549749, 0.324007213, 0.305300444),CFrame = CFrame.new(-38.3595772, 4.07825518, 26.5373688, -0.0189993083, 0.0190935526, 0.999639571, -0.00162295077, 0.999818623, -0.0191277508, -0.999817073, -0.00198539486, -0.0189648122),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 469 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.688779831, 0.258499146, 0.005859375, -0.026793791, -0.77802968, -0.627656937, 0.00274491566, -0.627937913, 0.778258801, -0.999637961, 0.0191296227, 0.0189604424),})
| |
| 470 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147348),CFrame = CFrame.new(-38.368103, 3.84367514, 26.0160179, -0.0267938599, 0.00274484348, -0.999639988, -0.778030753, -0.62793988, 0.0191296656, -0.627656996, 0.77825743, 0.0189604368),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 471 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0267937854, -0.778028429, -0.627657712, 0.00274487957, -0.627938151, 0.778258562, -0.999637365, 0.0191296414, 0.0189604294),C1 = CFrame.new(-0.178812027, 3.05175781e-05, 1.14440918e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 472 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.2891121, 4.1708045, 26.704916, -0.0189993102, 0.0190935601, 0.999639928, -0.00162292086, 0.999818861, -0.0191277526, -0.999816775, -0.0019854845, -0.0189648084),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 473 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.867835999, 0.330972672, -0.0596313477, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 474 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.4236259, 3.98625422, 26.7077866, -0.0189993102, 0.0190935601, 0.999639928, -0.00162292086, 0.999818861, -0.0191277526, -0.999816775, -0.0019854845, -0.0189648084),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 475 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.722448349, 0.448722839, 0.0713577271, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 476 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.4592514, 4.08050108, 26.7083035, -0.0189993102, 0.0190935601, 0.999639928, -0.00162292086, 0.999818861, -0.0191277526, -0.999816775, -0.0019854845, -0.0189648084),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 477 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.795145035, 0.389846802, 0.108783722, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 478 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.4200134, 4.17331219, 26.7074127, -0.0189993102, 0.0190935601, 0.999639928, -0.00162292086, 0.999818861, -0.0191277526, -0.999816775, -0.0019854845, -0.0189648084),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 479 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.867847443, 0.330982208, 0.0713195801, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 480 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.130947024, 0.130947366),CFrame = CFrame.new(-38.3551369, 4.17849255, 26.2829323, 0.0443816409, 0.0274274386, -0.998640835, -0.305555671, 0.952094495, 0.0125694564, 0.951138258, 0.304580629, 0.0506358296),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 481 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0443815626, -0.305554956, 0.95113951, 0.0274273418, 0.952091634, 0.304580897, -0.998638272, 0.012569447, 0.0506358668),C1 = CFrame.new(-0.607187271, -0.00244903564, -0.00148391724, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 482 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.0935342535, 0.0500000007, 0.130947366),CFrame = CFrame.new(-38.3680191, 4.2568469, 26.0246201, 0.0517081767, 0.00700577348, -0.998640478, 0.108116172, 0.994061887, 0.0125716822, 0.992791355, -0.108618066, 0.0506433994),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 483 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.748267233, 1),})
| |
| 484 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.051708065, 0.108115688, 0.992792606, 0.00700571574, 0.994058967, -0.108618438, -0.998637855, 0.0125716729, 0.0506434292),C1 = CFrame.new(-0.505672455, -0.252719879, 0.00799560547, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 485 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.0935342535, 0.0500000007, 0.130947366),CFrame = CFrame.new(-38.365242, 4.2511735, 26.0803947, 0.0491153523, 0.0176038202, -0.998640776, -0.100927047, 0.994817436, 0.0125725428, 0.993679285, 0.100171953, 0.0506372154),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 486 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.748267233, 1),})
| |
| 487 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0491152555, -0.100926913, 0.993680656, 0.0176037438, 0.994814515, 0.100171924, -0.998638153, 0.0125725307, 0.0506372526),C1 = CFrame.new(-0.536340714, -0.205741882, 0.00616836548, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 488 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.130947158),CFrame = CFrame.new(-38.3627815, 4.09111834, 26.1063156, 0.999639869, 0.0170166213, 0.0208822936, -0.0191405229, 0.994171083, 0.106131464, -0.0189544987, -0.106491901, 0.994131565),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 489 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191404987, -0.0189544931, 0.0170165412, 0.994168162, -0.106492177, 0.0208822638, 0.106130987, 0.994132876),C1 = CFrame.new(-0.42814827, -0.0850582123, 0.00113677979, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 490 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.130947158),CFrame = CFrame.new(-38.3591576, 4.14161539, 26.2474594, 0.999639928, 0.00149333652, 0.0268912259, -0.0191375241, 0.741929173, 0.670209706, -0.0189504642, -0.670477867, 0.741685629),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 491 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191374999, -0.0189504586, 0.00149328914, 0.741927147, -0.67047888, 0.0268911533, 0.67020756, 0.741686463),C1 = CFrame.new(-0.556123734, -0.0069103241, 0.00115585327, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 492 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3568039, 4.20870543, 26.3017883, 0.999639928, -0.00957353693, 0.0251729488, -0.0191365071, 0.405198783, 0.914031863, -0.0189504921, -0.914177597, 0.404867083),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 493 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019136481, -0.0189504847, -0.00957354996, 0.40519774, -0.914178908, 0.0251728632, 0.914029002, 0.40486744),C1 = CFrame.new(-0.642484665, -0.00675010681, 0.0011177063, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 494 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3635483, 3.75471187, 26.3450241, 0.99963975, 0.0123029007, 0.0239647925, -0.019140508, 0.950381637, 0.310507029, -0.0189554933, -0.310851365, 0.95026803),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 495 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637187, -0.0191404838, -0.0189554859, 0.012302829, 0.950378895, -0.310851872, 0.0239647459, 0.310505927, 0.950269282),C1 = CFrame.new(-0.316221237, 0.311958313, -3.81469727e-06, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 496 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.359478, 3.85654569, 26.4577274, 0.999639928, -0.00957353693, 0.0251729488, -0.0191365071, 0.405198783, 0.914031863, -0.0189504921, -0.914177597, 0.404867083),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 497 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019136481, -0.0189504847, -0.00957354996, 0.40519774, -0.914178908, 0.0251728632, 0.914029002, 0.40486744),C1 = CFrame.new(-0.466299057, 0.335737228, 1.14440918e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 498 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3615456, 3.79572582, 26.4103088, 0.999639928, 0.00149333652, 0.0268912259, -0.0191375241, 0.741929173, 0.670209706, -0.0189504642, -0.670477867, 0.741685629),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 499 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191374999, -0.0189504586, 0.00149328914, 0.741927147, -0.67047888, 0.0268911533, 0.67020756, 0.741686463),C1 = CFrame.new(-0.389162064, 0.337018967, 1.52587891e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 500 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.130947158),CFrame = CFrame.new(-38.3547707, 4.29184151, 26.3247204, 0.999639928, -0.0179588627, 0.0200701095, -0.0191365071, 0.0507248156, 0.998532534, -0.0189504921, -0.998549879, 0.0503627956),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 501 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019136481, -0.0189504847, -0.0179588459, 0.0507248193, -0.99855119, 0.0200700238, 0.998529553, 0.0503627472),C1 = CFrame.new(-0.721614838, -0.0411014557, 0.0011100769, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 502 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.360939, 4.10686398, 26.1891041, 0.99963975, 0.0123029007, 0.0239647925, -0.019140508, 0.950381637, 0.310507029, -0.0189554933, -0.310851365, 0.95026803),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 503 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637187, -0.0191404838, -0.0189554859, 0.012302829, 0.950378895, -0.310851872, 0.0239647459, 0.310505927, 0.950269282),C1 = CFrame.new(-0.49241066, -0.0305099487, 0.00116729736, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 504 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147348),CFrame = CFrame.new(-38.3670616, 3.78774142, 26.1283646, -0.0190952383, 0.0189964436, -0.999639988, -0.999818921, 0.00162947504, 0.0191295464, 0.0019919856, 0.999816895, 0.0189618152),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 505 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0190951545, -0.999815941, 0.00199208409, 0.0189964212, 0.00162928551, 0.999818146, -0.999637365, 0.0191295221, 0.0189618096),C1 = CFrame.new(-0.20583725, 0.122591019, 3.05175781e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 506 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147348),CFrame = CFrame.new(-38.3809319, 3.43171239, 25.7549477, -0.0190952383, 0.0189964436, -0.999639988, -0.999818921, 0.00162947504, 0.0191295464, 0.0019919856, 0.999816895, 0.0189618152),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 507 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0190951545, -0.999815941, 0.00199208409, 0.0189964212, 0.00162928551, 0.999818146, -0.999637365, 0.0191295221, 0.0189618096),C1 = CFrame.new(0.305912018, 0.0555019379, 3.81469727e-06, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 508 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147348),CFrame = CFrame.new(-38.3741188, 3.63771868, 25.904192, -0.0190952383, 0.0189964436, -0.999639988, -0.999818921, 0.00162947504, 0.0191295464, 0.0019919856, 0.999816895, 0.0189618152),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 509 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0190951545, -0.999815941, 0.00199208409, 0.0189964212, 0.00162928551, 0.999818146, -0.999637365, 0.0191295221, 0.0189618096),C1 = CFrame.new(0.051776886, 0.0423126221, -3.43322754e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 510 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.275442541, 0.179147348),CFrame = CFrame.new(-38.3673401, 3.93712115, 25.9597282, -0.018991746, -0.0190976169, -0.999639869, -0.00159495184, -0.999818861, 0.0191312619, -0.999817133, 0.00195741793, 0.0189577676),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 511 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189917199, -0.00159476697, -0.999818385, -0.0190975331, -0.999815822, 0.00195753202, -0.999637306, 0.0191312376, 0.018957762),C1 = CFrame.new(-0.216205597, -0.102453232, -3.05175781e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 512 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.130947024, 0.130947366),CFrame = CFrame.new(-38.3258743, 4.31370211, 27.823822, 0.999639869, 0.0123032499, 0.0239638593, -0.0191405416, 0.950381875, 0.310506582, -0.018954508, -0.310850888, 0.950268328),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 513 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191405173, -0.0189545024, 0.0123031754, 0.950379074, -0.310851455, 0.0239638127, 0.310505509, 0.950269461),C1 = CFrame.new(-1.68031883, 1.11194038, 0.00106430054, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 514 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.0500000007, 0.130947366),CFrame = CFrame.new(-38.3609924, 4.22642231, 26.1701736, 0.0443816409, 0.0274274386, -0.998640835, -0.305555671, 0.952094495, 0.0125694564, 0.951138258, 0.304580629, 0.0506358296),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 515 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.748267233, 1),})
| |
| 516 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0443815626, -0.305554956, 0.95113951, 0.0274273418, 0.952091634, 0.304580897, -0.998638272, 0.012569447, 0.0506358668),C1 = CFrame.new(-0.573547363, -0.120317459, 0.00314712524, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 517 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.224480718, 1.08499062),CFrame = CFrame.new(-38.3363838, 4.23546743, 27.3518353, 0.999637306, 0.0191060845, 0.0189892054, -0.019140508, 0.999815702, 0.00163278729, -0.0189545061, -0.00199565664, 0.999818206),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 518 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.32292366, 0.793710709, 0.00112533569, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
| |
| 519 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.130947024, 0.130947366),CFrame = CFrame.new(-38.3523636, 4.34570503, 26.3805065, -0.00542384386, 0.0113785323, -0.999923527, -0.304601461, 0.952401936, 0.0124899168, 0.95246321, 0.304643661, -0.00169967301),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 520 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00542378426, -0.304600567, 0.952464759, 0.0113784745, 0.952398598, 0.304644048, -0.999920666, 0.0124899149, -0.00169971026),C1 = CFrame.new(-0.798601151, -0.03150177, 0.000793457031, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 521 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201051, 0.093533583),CFrame = CFrame.new(-38.3584099, 4.13089132, 26.2951355, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 522 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.577724457, 0.0369300842, 0.0011100769, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 523 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0935335755, 0.0500000007),CFrame = CFrame.new(-38.3564758, 4.20576382, 26.3230495, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 524 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.748267591),})
| |
| 525 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.653549194, 0.0116443634, 0.00113677979, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 526 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.243187517, 0.243187711),CFrame = CFrame.new(-38.3637924, 3.98103428, 26.1644993, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 527 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.378992081, 0.0293464661, 0.00114440918, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 528 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.2534904, 4.07655191, 26.7043953, -0.0189993102, 0.0190935712, 0.999640286, -0.00162292074, 0.999819279, -0.0191277582, -0.999816477, -0.0019854249, -0.0189648084),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 529 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.795133591, 0.389850616, -0.0970535278, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 530 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.2926674, 3.98374462, 26.705307, -0.0189993102, 0.0190935712, 0.999640286, -0.00162292074, 0.999819279, -0.0191277582, -0.999816477, -0.0019854249, -0.0189648084),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 531 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.722448349, 0.448728561, -0.0596466064, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 532 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.0748268217, 0.130947158),CFrame = CFrame.new(-38.3472214, 4.17853594, 26.8375359, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 533 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.955533981, 0.429170609, 0.0011177063, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 534 | Part = New("Part",Revolver,"Part",{Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.558910429, 0.0621129386, 0.0500000007),CFrame = CFrame.new(-38.3611488, 4.07811308, 26.4538155, -0.0189993102, 0.0190935712, 0.999640286, -0.00162292074, 0.999819279, -0.0191277582, -0.999816477, -0.0019854249, -0.0189648084),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 535 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.868122339),MeshType = Enum.MeshType.Cylinder,})
| |
| 536 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.636184692, 0.193557739, 0.00584411621, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 537 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-38.3621101, 3.82861376, 26.3480301, 0.999640226, -0.0218390953, -0.0157698654, -0.0191375352, -0.987764359, 0.154798254, -0.0189574938, -0.154439881, -0.987818539),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 538 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.523787498, 0.823096395),})
| |
| 539 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191375054, -0.0189574864, -0.0218389966, -0.987760961, -0.154439867, -0.0157698598, 0.154797867, -0.987820148),C1 = CFrame.new(-0.375644684, 0.267896652, 2.67028809e-05, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 540 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-38.3626404, 3.85922289, 26.2887363, 0.999640226, -0.0266199727, -0.00413384894, -0.0191405304, -0.809829473, 0.586359143, -0.0189565029, -0.586064339, -0.810040593),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 541 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.523787498, 0.823096395),})
| |
| 542 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637246, -0.0191404987, -0.0189564954, -0.0266198851, -0.809826612, -0.586065173, -0.00413388759, 0.586357296, -0.810042024),C1 = CFrame.new(-0.362228394, 0.202528, 1.90734863e-05, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 543 | Wedge = New("WedgePart",Revolver,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.187067494, 0.0500000007, 0.168360502),CFrame = CFrame.new(-38.3605042, 4.09345627, 25.9539185, 0.999640286, 0.0191050563, 0.0189823508, -0.0191395301, 0.9998191, 0.00164000038, -0.0189475045, -0.00200233795, 0.999816775),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 544 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.748268664, 1),MeshType = Enum.MeshType.Wedge,})
| |
| 545 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191395003, -0.018947497, 0.0191049613, 0.999815702, -0.0020025298, 0.0189823266, 0.00163980573, 0.999818385),C1 = CFrame.new(-0.334375381, -0.205123901, -0.00398254395, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 546 | Shootpart = New("Part",Revolver,"Shootpart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.18706724, 0.29930833),CFrame = CFrame.new(-38.3281364, 4.23616076, 27.7820606, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 547 | mot = New("Motor",Shootpart,"mot",{Part0 = Shootpart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.59371758, 1.12812424, 0.00105285645, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 548 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361187, 0.0500000007, 0.0561201721),CFrame = CFrame.new(-38.3278847, 4.13346672, 27.9038849, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 549 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.37413469, 1),})
| |
| 550 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.59029007, 1.28742218, 0.00114440918, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 551 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361187, 0.0500000007, 0.0561201721),CFrame = CFrame.new(-38.323967, 4.33924246, 27.9034653, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 552 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.37413469, 1),})
| |
| 553 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.75023079, 1.15789223, 0.00115966797, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 554 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.0500000007, 0.224480838, 0.0561201721),CFrame = CFrame.new(-38.4007149, 4.23778868, 27.9050961, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 555 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.374134958, 1, 1),})
| |
| 556 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.67026329, 1.22265625, 0.075969696, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 557 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.0500000007, 0.224480838, 0.0561201721),CFrame = CFrame.new(-38.2510986, 4.23492861, 27.9022503, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 558 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.37413469, 1, 1),})
| |
| 559 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.67026138, 1.22264862, -0.0737037659, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
| |
| 560 | ||
| 561 | moter = New("Motor",Handle,"mot",{Part0 =RightArm, Part1 = Handle,})
| |
| 562 | ||
| 563 | Partasd = Shootpart | |
| 564 | ||
| 565 | game.ContentProvider:Preload("rbxassetid://642849721")
| |
| 566 | game.ContentProvider:Preload("rbxassetid://931130559")
| |
| 567 | ||
| 568 | local hello = Instance.new("Sound")
| |
| 569 | hello.SoundId = "rbxassetid://1160144798" | |
| 570 | hello.PlaybackSpeed = 1 | |
| 571 | hello.Volume = 5.5 | |
| 572 | hello.Parent = Head | |
| 573 | hello.Looped = true | |
| 574 | hello:Play() | |
| 575 | ||
| 576 | local BladeHitSounds = {
| |
| 577 | "199149137", | |
| 578 | "199149186", | |
| 579 | "199149221", | |
| 580 | "199149235", | |
| 581 | "199149269", | |
| 582 | "199149297" | |
| 583 | } | |
| 584 | ||
| 585 | local FistHitSounds = {
| |
| 586 | "199149137", | |
| 587 | "199149186", | |
| 588 | "199149221", | |
| 589 | "199149235", | |
| 590 | "199149269", | |
| 591 | "199149297" | |
| 592 | } | |
| 593 | ||
| 594 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 595 | if hit.Parent == nil then | |
| 596 | return | |
| 597 | end | |
| 598 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 599 | for _, v in pairs(hit.Parent:children()) do | |
| 600 | if v:IsA("Humanoid") then
| |
| 601 | h = v | |
| 602 | end | |
| 603 | end | |
| 604 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 605 | warn'No R15 allowed' | |
| 606 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 607 | end | |
| 608 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 609 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 610 | if hit.Parent.DebounceHit.Value == true then | |
| 611 | return | |
| 612 | end | |
| 613 | end | |
| 614 | local c = Create("ObjectValue"){
| |
| 615 | Name = "creator", | |
| 616 | Value = game:service("Players").LocalPlayer,
| |
| 617 | Parent = h, | |
| 618 | } | |
| 619 | game:GetService("Debris"):AddItem(c, .5)
| |
| 620 | if HitSound ~= nil and HitPitch ~= nil then | |
| 621 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 622 | end | |
| 623 | local Damage = math.random(minim, maxim) | |
| 624 | local blocked = false | |
| 625 | local block = hit.Parent:findFirstChild("Block")
| |
| 626 | if block ~= nil then | |
| 627 | if block.className == "IntValue" then | |
| 628 | if block.Value > 0 then | |
| 629 | blocked = true | |
| 630 | block.Value = block.Value - 1 | |
| 631 | print(block.Value) | |
| 632 | end | |
| 633 | end | |
| 634 | end | |
| 635 | if blocked == false then | |
| 636 | h.Health = h.Health - Damage | |
| 637 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 638 | else | |
| 639 | h.Health = h.Health - (Damage / 2) | |
| 640 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 641 | end | |
| 642 | if Type == "Knockdown" then | |
| 643 | local hum = hit.Parent.Humanoid | |
| 644 | hum.PlatformStand = true | |
| 645 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 646 | swait(1) | |
| 647 | HHumanoid.PlatformStand = false | |
| 648 | end), hum) | |
| 649 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 650 | local bodvol = Create("BodyVelocity"){
| |
| 651 | velocity = angle * knockback, | |
| 652 | P = 5000, | |
| 653 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 654 | Parent = hit, | |
| 655 | } | |
| 656 | local rl = Create("BodyAngularVelocity"){
| |
| 657 | P = 3000, | |
| 658 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 659 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 660 | Parent = hit, | |
| 661 | } | |
| 662 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 663 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 664 | elseif Type == "Normal" then | |
| 665 | local vp = Create("BodyVelocity"){
| |
| 666 | P = 500, | |
| 667 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 668 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 669 | } | |
| 670 | if knockback > 0 then | |
| 671 | vp.Parent = hit.Parent.Torso | |
| 672 | end | |
| 673 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 674 | elseif Type == "Up" then | |
| 675 | local bodyVelocity = Create("BodyVelocity"){
| |
| 676 | velocity = Vector3.new(0, 20, 0), | |
| 677 | P = 5000, | |
| 678 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 679 | Parent = hit, | |
| 680 | } | |
| 681 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 682 | elseif Type == "DarkUp" then | |
| 683 | coroutine.resume(coroutine.create(function() | |
| 684 | for i = 0, 1, 0.1 do | |
| 685 | swait() | |
| 686 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 687 | end | |
| 688 | end)) | |
| 689 | local bodyVelocity = Create("BodyVelocity"){
| |
| 690 | velocity = Vector3.new(0, 20, 0), | |
| 691 | P = 5000, | |
| 692 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 693 | Parent = hit, | |
| 694 | } | |
| 695 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 696 | elseif Type == "Snare" then | |
| 697 | local bp = Create("BodyPosition"){
| |
| 698 | P = 2000, | |
| 699 | D = 100, | |
| 700 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 701 | position = hit.Parent.Torso.Position, | |
| 702 | Parent = hit.Parent.Torso, | |
| 703 | } | |
| 704 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 705 | elseif Type == "Freeze" then | |
| 706 | local BodPos = Create("BodyPosition"){
| |
| 707 | P = 50000, | |
| 708 | D = 1000, | |
| 709 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 710 | position = hit.Parent.Torso.Position, | |
| 711 | Parent = hit.Parent.Torso, | |
| 712 | } | |
| 713 | local BodGy = Create("BodyGyro") {
| |
| 714 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 715 | P = 20e+003, | |
| 716 | Parent = hit.Parent.Torso, | |
| 717 | cframe = hit.Parent.Torso.CFrame, | |
| 718 | } | |
| 719 | hit.Parent.Torso.Anchored = true | |
| 720 | coroutine.resume(coroutine.create(function(Part) | |
| 721 | swait(1.5) | |
| 722 | Part.Anchored = false | |
| 723 | end), hit.Parent.Torso) | |
| 724 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 725 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 726 | end | |
| 727 | local debounce = Create("BoolValue"){
| |
| 728 | Name = "DebounceHit", | |
| 729 | Parent = hit.Parent, | |
| 730 | Value = true, | |
| 731 | } | |
| 732 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 733 | c = Create("ObjectValue"){
| |
| 734 | Name = "creator", | |
| 735 | Value = Player, | |
| 736 | Parent = h, | |
| 737 | } | |
| 738 | game:GetService("Debris"):AddItem(c, .5)
| |
| 739 | end | |
| 740 | end | |
| 741 | ||
| 742 | function ShowDamage(Pos, Text, Time, Color) | |
| 743 | local Rate = (1 / 30) | |
| 744 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 745 | local Text = (Text or "") | |
| 746 | local Time = (Time or 2) | |
| 747 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 748 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 749 | EffectPart.Anchored = true | |
| 750 | local BillboardGui = Create("BillboardGui"){
| |
| 751 | Size = UDim2.new(3, 0, 3, 0), | |
| 752 | Adornee = EffectPart, | |
| 753 | Parent = EffectPart, | |
| 754 | } | |
| 755 | local TextLabel = Create("TextLabel"){
| |
| 756 | BackgroundTransparency = 1, | |
| 757 | Size = UDim2.new(1, 0, 1, 0), | |
| 758 | Text = Text, | |
| 759 | Font = "SciFi", | |
| 760 | TextColor3 = Color, | |
| 761 | TextScaled = true, | |
| 762 | Parent = BillboardGui, | |
| 763 | } | |
| 764 | game.Debris:AddItem(EffectPart, (Time)) | |
| 765 | EffectPart.Parent = game:GetService("Workspace")
| |
| 766 | delay(0, function() | |
| 767 | local Frames = (Time / Rate) | |
| 768 | for Frame = 1, Frames do | |
| 769 | wait(Rate) | |
| 770 | local Percent = (Frame / Frames) | |
| 771 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 772 | TextLabel.TextTransparency = Percent | |
| 773 | end | |
| 774 | if EffectPart and EffectPart.Parent then | |
| 775 | EffectPart:Destroy() | |
| 776 | end | |
| 777 | end) | |
| 778 | end | |
| 779 | ||
| 780 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 781 | for _, c in pairs(workspace:children()) do | |
| 782 | local hum = c:findFirstChild("Humanoid")
| |
| 783 | if hum ~= nil then | |
| 784 | local head = c:findFirstChild("Torso")
| |
| 785 | if head ~= nil then | |
| 786 | local targ = head.Position - Part.Position | |
| 787 | local mag = targ.magnitude | |
| 788 | if mag <= Magnitude and c.Name ~= Player.Name then | |
| 789 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 790 | end | |
| 791 | end | |
| 792 | end | |
| 793 | end | |
| 794 | end | |
| 795 | ||
| 796 | EffectModel = Create("Model"){
| |
| 797 | Parent = Character, | |
| 798 | Name = "Effects", | |
| 799 | } | |
| 800 | ||
| 801 | Effects = {
| |
| 802 | ||
| 803 | Block = {
| |
| 804 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part) | |
| 805 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 806 | prt.Anchored = true | |
| 807 | prt.CFrame = cframe | |
| 808 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 809 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 810 | if Type == 1 or Type == nil then | |
| 811 | table.insert(Effects, {
| |
| 812 | prt, | |
| 813 | "Block1", | |
| 814 | delay, | |
| 815 | x3, | |
| 816 | y3, | |
| 817 | z3, | |
| 818 | msh | |
| 819 | }) | |
| 820 | elseif Type == 2 then | |
| 821 | table.insert(Effects, {
| |
| 822 | prt, | |
| 823 | "Block2", | |
| 824 | delay, | |
| 825 | x3, | |
| 826 | y3, | |
| 827 | z3, | |
| 828 | msh | |
| 829 | }) | |
| 830 | elseif Type == 3 then | |
| 831 | table.insert(Effects, {
| |
| 832 | prt, | |
| 833 | "Block3", | |
| 834 | delay, | |
| 835 | x3, | |
| 836 | y3, | |
| 837 | z3, | |
| 838 | msh, | |
| 839 | Part | |
| 840 | }) | |
| 841 | elseif Type == 4 then | |
| 842 | table.insert(Effects, {
| |
| 843 | prt, | |
| 844 | "Block2Fire", | |
| 845 | delay, | |
| 846 | x3, | |
| 847 | y3, | |
| 848 | z3, | |
| 849 | msh | |
| 850 | }) | |
| 851 | end | |
| 852 | end | |
| 853 | ||
| 854 | }, | |
| 855 | ||
| 856 | Cylinder = {
| |
| 857 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 858 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 859 | prt.Anchored = true | |
| 860 | prt.CFrame = cframe | |
| 861 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 862 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 863 | table.insert(Effects, {
| |
| 864 | prt, | |
| 865 | "Cylinder", | |
| 866 | delay, | |
| 867 | x3, | |
| 868 | y3, | |
| 869 | z3, | |
| 870 | msh | |
| 871 | }) | |
| 872 | end | |
| 873 | ||
| 874 | }, | |
| 875 | ||
| 876 | Sphere = {
| |
| 877 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent) | |
| 878 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 879 | prt.Anchored = true | |
| 880 | prt.CFrame = cframe | |
| 881 | if parent == nil then | |
| 882 | prt.Parent = workspace | |
| 883 | else | |
| 884 | prt.Parent = parent | |
| 885 | end | |
| 886 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 887 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 888 | table.insert(Effects, {
| |
| 889 | prt, | |
| 890 | "Cylinder", | |
| 891 | delay, | |
| 892 | x3, | |
| 893 | y3, | |
| 894 | z3, | |
| 895 | msh | |
| 896 | }) | |
| 897 | end | |
| 898 | }, | |
| 899 | ||
| 900 | Blood = {
| |
| 901 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 902 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 903 | prt.Anchored = true | |
| 904 | prt.CFrame = cframe | |
| 905 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 906 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 907 | table.insert(Effects, {
| |
| 908 | prt, | |
| 909 | "Blood", | |
| 910 | delay, | |
| 911 | x3, | |
| 912 | y3, | |
| 913 | z3, | |
| 914 | msh | |
| 915 | }) | |
| 916 | end | |
| 917 | }, | |
| 918 | ||
| 919 | Head = {
| |
| 920 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 921 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 922 | prt.Anchored = true | |
| 923 | prt.CFrame = cframe | |
| 924 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 925 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 926 | table.insert(Effects, {
| |
| 927 | prt, | |
| 928 | "Cylinder", | |
| 929 | delay, | |
| 930 | x3, | |
| 931 | y3, | |
| 932 | z3, | |
| 933 | msh | |
| 934 | }) | |
| 935 | end | |
| 936 | }, | |
| 937 | ||
| 938 | Fire = {
| |
| 939 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 940 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 941 | prt.Anchored = true | |
| 942 | prt.CFrame = cframe | |
| 943 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 944 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 945 | table.insert(Effects, {
| |
| 946 | prt, | |
| 947 | "Fire", | |
| 948 | delay, | |
| 949 | 1, | |
| 950 | 1, | |
| 951 | 1, | |
| 952 | msh | |
| 953 | }) | |
| 954 | end; | |
| 955 | }; | |
| 956 | ||
| 957 | Ring = {
| |
| 958 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, par) | |
| 959 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 960 | prt.Anchored = true | |
| 961 | if par ~= nil then | |
| 962 | prt.Parent = par | |
| 963 | end | |
| 964 | prt.CFrame = cframe * CFrame.new(x3, y3, z3) | |
| 965 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 966 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 967 | table.insert(Effects, {
| |
| 968 | prt, | |
| 969 | "Cylinder", | |
| 970 | delay, | |
| 971 | x3, | |
| 972 | y3, | |
| 973 | z3, | |
| 974 | msh | |
| 975 | }) | |
| 976 | end | |
| 977 | }, | |
| 978 | ||
| 979 | Blast = {
| |
| 980 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part) | |
| 981 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 982 | prt.Anchored = true | |
| 983 | prt.CFrame = cframe | |
| 984 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 985 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 986 | table.insert(Effects, {
| |
| 987 | prt, | |
| 988 | "Block4", | |
| 989 | delay, | |
| 990 | x3, | |
| 991 | y3, | |
| 992 | z3, | |
| 993 | msh, | |
| 994 | Part | |
| 995 | }) | |
| 996 | end | |
| 997 | }, | |
| 998 | ||
| 999 | Wave = {
| |
| 1000 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1001 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1002 | prt.Anchored = true | |
| 1003 | prt.CFrame = cframe | |
| 1004 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1005 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1006 | table.insert(Effects, {
| |
| 1007 | prt, | |
| 1008 | "Cylinder", | |
| 1009 | delay, | |
| 1010 | x3, | |
| 1011 | y3, | |
| 1012 | z3, | |
| 1013 | msh | |
| 1014 | }) | |
| 1015 | end | |
| 1016 | }, | |
| 1017 | ||
| 1018 | Elec = {
| |
| 1019 | Create = function(cff, x, y, z) | |
| 1020 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Medium blue"), "Part", Vector3.new(1, 1, 1))
| |
| 1021 | prt.Anchored = true | |
| 1022 | prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100) | |
| 1023 | prt.CFrame = CFrame.new(prt.Position) | |
| 1024 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1025 | local xval = math.random() / 9 | |
| 1026 | local yval = math.random() / 9 | |
| 1027 | local zval = math.random() / 9 | |
| 1028 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 1029 | local eul1 = math.random(-50, 50) | |
| 1030 | local eul2 = math.random(-50, 50) | |
| 1031 | local eul3 = math.random(-50, 50) | |
| 1032 | local euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3) | |
| 1033 | local euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3) | |
| 1034 | Effects[#Effects + 1] = {
| |
| 1035 | prt, | |
| 1036 | "Elec", | |
| 1037 | .05, | |
| 1038 | x, | |
| 1039 | y, | |
| 1040 | z, | |
| 1041 | xval, | |
| 1042 | yval, | |
| 1043 | zval, | |
| 1044 | msh, | |
| 1045 | euld, | |
| 1046 | euld2 | |
| 1047 | } | |
| 1048 | end | |
| 1049 | }, | |
| 1050 | ||
| 1051 | Break = {
| |
| 1052 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1053 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1054 | prt.Anchored = true | |
| 1055 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1056 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1057 | local num = math.random(10, 50) / 1000 | |
| 1058 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1059 | table.insert(Effects, {
| |
| 1060 | prt, | |
| 1061 | "Shatter", | |
| 1062 | num, | |
| 1063 | prt.CFrame, | |
| 1064 | math.random() - math.random(), | |
| 1065 | 0, | |
| 1066 | math.random(50, 100) / 100 | |
| 1067 | }) | |
| 1068 | end; | |
| 1069 | }; | |
| 1070 | ||
| 1071 | Ice = {
| |
| 1072 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 1073 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1074 | prt.Anchored = true | |
| 1075 | prt.CFrame = cframe | |
| 1076 | msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1077 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1078 | for i = 1, 5 do | |
| 1079 | Effects.Break.Create(BrickColor.new("White"), Torso.CFrame, 10, 1, 2.6)
| |
| 1080 | end | |
| 1081 | for i = 1, 15 do | |
| 1082 | local freezepart = CFuncs.Part.Create(EffectModel, "Neon", 1, 1, BrickColor.new("Bright blue"), "Ice Part", Vector3.new(math.random(1, 2) + math.random(), math.random(1, 2) + math.random(), math.random(1, 2) + math.random()))
| |
| 1083 | freezepart.Anchored = true | |
| 1084 | freezepart.CanCollide = true | |
| 1085 | freezepart.CFrame = cframe * CFrame.new(math.random(-300, 300) / 100, 4, math.random(-300, 300) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1086 | game:GetService("Debris"):AddItem(freezepart, 10)
| |
| 1087 | end | |
| 1088 | table.insert(Effects, {
| |
| 1089 | prt, | |
| 1090 | "Ice", | |
| 1091 | delay, | |
| 1092 | msh, | |
| 1093 | 1, | |
| 1094 | .2 | |
| 1095 | }) | |
| 1096 | end | |
| 1097 | }, | |
| 1098 | ||
| 1099 | Lightning = {
| |
| 1100 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 1101 | local magz = (p0 - p1).magnitude | |
| 1102 | local curpos = p0 | |
| 1103 | local trz = {
| |
| 1104 | -ofs, | |
| 1105 | ofs | |
| 1106 | } | |
| 1107 | for i = 1, tym do | |
| 1108 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
| 1109 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 1110 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 1111 | li.Material = "Neon" | |
| 1112 | if tym == i then | |
| 1113 | local magz2 = (curpos - p1).magnitude | |
| 1114 | li.Size = Vector3.new(th, th, magz2) | |
| 1115 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 1116 | table.insert(Effects, {
| |
| 1117 | li, | |
| 1118 | "Disappear", | |
| 1119 | last | |
| 1120 | }) | |
| 1121 | else | |
| 1122 | do | |
| 1123 | do | |
| 1124 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 1125 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 1126 | game.Debris:AddItem(li, 10) | |
| 1127 | table.insert(Effects, {
| |
| 1128 | li, | |
| 1129 | "Disappear", | |
| 1130 | last | |
| 1131 | }) | |
| 1132 | end | |
| 1133 | end | |
| 1134 | end | |
| 1135 | end | |
| 1136 | end | |
| 1137 | }; | |
| 1138 | ||
| 1139 | EffectTemplate = {
| |
| 1140 | ||
| 1141 | }; | |
| 1142 | ||
| 1143 | } | |
| 1144 | ||
| 1145 | function Shoot7(Part) | |
| 1146 | sp = Part.Position | |
| 1147 | dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0) | |
| 1148 | local hit, pos = rayCast(sp, dirr.lookVector, 1000, Character) | |
| 1149 | local las = Instance.new("Part", Character)
| |
| 1150 | las.Anchored = true | |
| 1151 | las.Locked = true | |
| 1152 | las.CanCollide = false | |
| 1153 | las.TopSurface = 0 | |
| 1154 | las.BottomSurface = 0 | |
| 1155 | las.BrickColor = BrickColor.new("White")
| |
| 1156 | las.Size = Vector3.new(10, 1, 10) | |
| 1157 | las.CFrame = CFrame.new((Part.Position + pos) / 2, pos) * CFrame.Angles(math.rad(90), 0, 0) | |
| 1158 | local msh = Instance.new("SpecialMesh", las)
| |
| 1159 | mag = (Part.Position - pos).magnitude | |
| 1160 | msh.Scale = Vector3.new(0.001, mag, 0.001) | |
| 1161 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1162 | for i = 0, 0.8, 0.1 do | |
| 1163 | swait() | |
| 1164 | Part.Transparency = Part.Transparency + 0.1 | |
| 1165 | Mesh.Scale = Mesh.Scale + Vector3.new(1, 0.02, 1) | |
| 1166 | end | |
| 1167 | Part.Parent = nil | |
| 1168 | end), las, msh) | |
| 1169 | if pos ~= nil then | |
| 1170 | local las2 = Instance.new("Part", Character)
| |
| 1171 | las2.Anchored = true | |
| 1172 | las2.Locked = true | |
| 1173 | las2.CanCollide = false | |
| 1174 | las2.TopSurface = 0 | |
| 1175 | las2.BottomSurface = 0 | |
| 1176 | las2.Transparency = 1 | |
| 1177 | las2.BrickColor = BrickColor.new("White")
| |
| 1178 | las2.Size = Vector3.new(1, 1, 1) | |
| 1179 | las2.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(90), 0, 0) | |
| 1180 | local msh = Instance.new("SpecialMesh", las2)
| |
| 1181 | msh.MeshType = "Sphere" | |
| 1182 | mag = (Part.Position - pos).magnitude | |
| 1183 | msh.Scale = Vector3.new(0.1, 0.1, 0.1) | |
| 1184 | Effects.Ring.Create(BrickColor.new("White"), las2.CFrame * CFrame.Angles(math.random(-4,4),math.random(-4,4),math.random(-4,4)), 25, 25, 2, 15, 15, 7, 0.07)
| |
| 1185 | Effects.Sphere.Create(BrickColor.new("White"), las2.CFrame, 12, 12, 12, 80, 80, 80, 0.07)
| |
| 1186 | MagnitudeDamage(las2, 40, 20, 20, 1, "Snare", "0", 1) | |
| 1187 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=228343252", las2, 1.2, 0.7)
| |
| 1188 | ||
| 1189 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1190 | for i = 0, 0.8, 0.1 do | |
| 1191 | swait() | |
| 1192 | Part.Transparency = Part.Transparency + 1 | |
| 1193 | Mesh.Scale = Mesh.Scale + Vector3.new(0, 0, 0) | |
| 1194 | end | |
| 1195 | Part.Parent = nil | |
| 1196 | end), las2, msh) | |
| 1197 | end | |
| 1198 | if hit ~= nil and pos ~= nil then | |
| 1199 | if hit.Parent.className == "Accessory" then | |
| 1200 | hit:BreakJoints() | |
| 1201 | hit.Velocity = Vector3.new(math.random(-5, 5), 20, math.random(-5, 5)) | |
| 1202 | end | |
| 1203 | ||
| 1204 | end | |
| 1205 | end | |
| 1206 | ||
| 1207 | ||
| 1208 | function attackone() | |
| 1209 | attack = true | |
| 1210 | for i = 0, 1, 0.1 do | |
| 1211 | swait() | |
| 1212 | PlayAnimationFromTable({
| |
| 1213 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1214 | CFrame.new(-6.76445716e-13, 1.49998641, 0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1215 | CFrame.new(1.50379586, 0.437886596, -0.654326677, 0.999822855, -0.0187563021, -0.00347148441, -0.00348084164, -0.000465080549, -0.999995351, 0.0187545996, 0.99982357, -0.000530224817) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1216 | CFrame.new(-1.51647484, 0.0492154807, 0.182783186, 0.998442948, 0.0524127446, -0.0190898348, -0.0487618595, 0.98629868, 0.15760535, 0.0270887911, -0.156429097, 0.987318754) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1217 | CFrame.new(0.557841063, -2.01711893, -0.0416967012, 0.99935025, -0.03617635, -0.000444640638, 0.0361750089, 0.999344468, -0.00256539602, 0.000537161017, 0.00254765828, 0.999996126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1218 | CFrame.new(-0.55255121, -1.99732482, 2.08271498e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1219 | }, .3, false) | |
| 1220 | moter.C0 = clerp(moter.C0, CFrame.new(-0.0731695592, -0.672584653, -0.223004475, 0.0412685275, -0.0151544847, 0.999039233, 0.627405107, -0.777776599, -0.0377153233, 0.777599573, 0.62835741, -0.0225896034) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1221 | end | |
| 1222 | shootmain(Mouse, Shootpart,1, 1) | |
| 1223 | for i = 0, 1, 0.1 do | |
| 1224 | swait() | |
| 1225 | RootPart.Velocity = RootPart.CFrame.lookVector * -10 | |
| 1226 | PlayAnimationFromTable({
| |
| 1227 | CFrame.new(0, -0, 0, 0.994521797, 0.00547062745, -0.104386218, 3.04088061e-08, 0.998630583, 0.0523360781, 0.104529567, -0.0520493761, 0.993159771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1228 | CFrame.new(-0.0156579614, 1.49789202, -0.0706776828, 0.994521797, -0.00547064235, 0.104386516, 0.00547062745, 0.99998796, 0.000286314636, -0.104386218, 0.000286318362, 0.994539678) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1229 | CFrame.new(1.43615687, 0.554609299, -0.6940853, 0.996182859, 0.0835634172, -0.0252404269, -0.00274252123, -0.259045154, -0.96586144, -0.0872491002, 0.962243617, -0.257827133) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1230 | CFrame.new(-1.49062657, -0.0179859884, 0.350454509, 0.995804667, 0.0313175321, 0.0859754384, -0.0446428284, 0.986471772, 0.157739788, -0.0798722282, -0.160916194, 0.983731329) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1231 | CFrame.new(0.550415456, -2.00912833, -0.205209821, 0.993926883, -0.030214902, 0.10581328, 0.0415640511, 0.993417323, -0.106751151, -0.101891175, 0.110500939, 0.988639593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1232 | CFrame.new(-0.54952234, -1.99758744, -0.0468520671, 0.994521797, 9.35956507e-07, 0.104529269, 0.0054697087, 0.998627245, -0.0520490929, -0.104386307, 0.0523356982, 0.993156433) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1233 | }, .3, false) | |
| 1234 | moter.C0 = clerp(moter.C0, CFrame.new(-0.0731737167, -0.672586501, -0.223005846, 0.0412693992, -0.0151543571, 0.999034524, 0.627405703, -0.777777851, -0.0377158932, 0.777599216, 0.628356814, -0.022590477) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1235 | end | |
| 1236 | attack = false | |
| 1237 | end | |
| 1238 | ||
| 1239 | function skill1() | |
| 1240 | attack = true | |
| 1241 | Humanoid.WalkSpeed = 0 | |
| 1242 | for i = 0, 1, 0.1 do | |
| 1243 | swait() | |
| 1244 | PlayAnimationFromTable({
| |
| 1245 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1246 | CFrame.new(-6.76445716e-13, 1.49998641, 0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1247 | CFrame.new(1.92435527, 0.919791996, 0.0265611447, -0.0116076013, -0.891222477, 0.453427076, 0.0151377954, -0.453558594, -0.891102493, 0.999818981, -0.00347974291, 0.0187559333) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1248 | CFrame.new(-1.57055521, 0.100203805, 0.122959681, 0.994331479, 0.104597613, -0.0190892573, -0.100316271, 0.982395411, 0.15760392, 0.035238184, -0.154795647, 0.987318873) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1249 | CFrame.new(0.557826519, -2.01724768, 0.00830234401, 0.99935025, -0.03617635, -0.000444640638, 0.0361750089, 0.999344468, -0.00256539602, 0.000537161017, 0.00254765828, 0.999996126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1250 | CFrame.new(-0.55255121, -1.99732482, 2.08271498e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1251 | }, .3, false) | |
| 1252 | moter.C0 = clerp(moter.C0, CFrame.new(0.0230328515, -0.787980795, -0.0187070873, -0.0398879573, -0.0184677243, -0.999042511, -0.257566422, 0.966233969, -0.00757749146, 0.965449393, 0.257022798, -0.0432975888) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1253 | end | |
| 1254 | badabing = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "White", "Reference", Vector3.new()) | |
| 1255 | badabing.Anchored=true | |
| 1256 | badabing.CFrame = RootPart.CFrame * CFrame.new(0, 150, 0) | |
| 1257 | randomizer = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "White", "groundref", Vector3.new()) | |
| 1258 | randomizer.Anchored=true | |
| 1259 | randomizer.CFrame = RootPart.CFrame * CFrame.new(0, -1, 0) | |
| 1260 | ||
| 1261 | CFuncs.Sound.Create("rbxassetid://231917975", Torso, 3, 1)
| |
| 1262 | for i = 1, 100 do | |
| 1263 | swait(.0001) | |
| 1264 | randomizer.CFrame = RootPart.CFrame * CFrame.new(math.random(-0, 0), -1.3, math.random(-0, 0)) | |
| 1265 | Effects.Sphere.Create(BrickColor.new('White'), randomizer.CFrame, 50, 50, 50, 1, 1, 1, .1)
| |
| 1266 | end | |
| 1267 | CFuncs.Sound.Create("rbxassetid://231917833", Torso, 4, 1)
| |
| 1268 | for i = 0, 1, 0.1 do | |
| 1269 | swait() | |
| 1270 | hail(badabing, badabing, 10, 1.5) | |
| 1271 | Effects.Break.Create(BrickColor.new("Light blue"), Shootpart.CFrame * CFrame.new(0, 0, 0))
| |
| 1272 | hail(badabing, badabing, 10, 1.5) | |
| 1273 | hail(badabing, badabing, 10, 1.5) | |
| 1274 | hail(badabing, badabing, 10, 1.5) | |
| 1275 | hail(badabing, badabing, 10, 1.5) | |
| 1276 | PlayAnimationFromTable({
| |
| 1277 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1278 | CFrame.new(-0.0572109967, 1.54154742, 1.16861089e-12, 0.987688065, -0.156435952, -1.17458057e-11, 0.156436101, 0.987689018, -1.23634436e-12, 1.2693846e-11, -7.67386155e-13, 1.00000095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1279 | CFrame.new(1.86167085, 0.750771523, 0.028392395, -0.0116075892, -0.809319139, 0.587254465, 0.0151378037, -0.587369561, -0.809178472, 0.999818981, -0.000502867741, 0.0190692581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1280 | CFrame.new(-1.57055497, 0.100203834, 0.122953884, 0.994331479, 0.104597613, -0.0190892573, -0.100316271, 0.982395411, 0.15760392, 0.035238184, -0.154795647, 0.987318873) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1281 | CFrame.new(0.55781889, -2.01724815, 0.00830043294, 0.99935025, -0.03617635, -0.000444640638, 0.0361750089, 0.999344468, -0.00256539602, 0.000537161017, 0.00254765828, 0.999996126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1282 | CFrame.new(-0.55255121, -1.99732471, 2.0827148e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1283 | }, .3, false) | |
| 1284 | moter.C0 = clerp(moter.C0, CFrame.new(0.0240847785, -1.15937495, 0.0576619059, -0.0439543091, -0.000644756015, -0.999034703, 0.310074389, 0.950606227, -0.0142557155, 0.949696422, -0.310399175, -0.0415832885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1285 | end | |
| 1286 | badabing:Remove() | |
| 1287 | randomizer:Remove() | |
| 1288 | Humanoid.WalkSpeed = 16 | |
| 1289 | attack = false | |
| 1290 | end | |
| 1291 | ||
| 1292 | Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1293 | ||
| 1294 | local prt = CFuncs.Part.Create(EffectModel, "Plastic", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1295 | prt.Anchored = true | |
| 1296 | prt.CFrame = cframe | |
| 1297 | prt.Material = "Plastic" | |
| 1298 | prt.BrickColor = BrickColor.new("Cool yellow")
| |
| 1299 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1300 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1301 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1302 | ||
| 1303 | for i = 0, 1, delay do | |
| 1304 | swait() | |
| 1305 | Part.Transparency = i | |
| 1306 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 1307 | end | |
| 1308 | Part.Parent = nil | |
| 1309 | end | |
| 1310 | ), prt, msh) | |
| 1311 | end | |
| 1312 | ||
| 1313 | hail = function(mouse, partt, SpreadAmount, multiply) | |
| 1314 | ||
| 1315 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 1316 | local MainPos = badabing.Position | |
| 1317 | local MainPos2 = randomizer.Position + SpreadVectors | |
| 1318 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 1319 | local speed = 9001 | |
| 1320 | local num = 70 | |
| 1321 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=341336307", partt, 1, 1)
| |
| 1322 | coroutine.resume(coroutine.create(function() | |
| 1323 | ||
| 1324 | repeat | |
| 1325 | swait() | |
| 1326 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 1327 | local mag = (MainPos - pos).magnitude | |
| 1328 | Laser(BrickColor.new("Cool yellow"), 0.35, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, 0.15)
| |
| 1329 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 1330 | num = num - 1 | |
| 1331 | MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0) | |
| 1332 | if hit ~= nil then | |
| 1333 | num = 0 | |
| 1334 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Cool yellow", "Effect", Vector3.new()) | |
| 1335 | refpart.Anchored = true | |
| 1336 | refpart.CFrame = CFrame.new(pos) | |
| 1337 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 1338 | end | |
| 1339 | do | |
| 1340 | if num <= 0 then | |
| 1341 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
| 1342 | refpart.Anchored = true | |
| 1343 | refpart.CFrame = CFrame.new(pos) | |
| 1344 | Effects.Block.Create(BrickColor.new('Cool yellow'), refpart.CFrame, 10, 10, 10, 5, 5, 5, .1)
| |
| 1345 | if hit ~= nil then | |
| 1346 | MagnitudeDamage(refpart, 5, 5 * multiply, 15 * multiply, 0, "Normal", "231917784", 1) | |
| 1347 | end | |
| 1348 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 1349 | end | |
| 1350 | end | |
| 1351 | until num <= 0 | |
| 1352 | end | |
| 1353 | )) | |
| 1354 | end | |
| 1355 | ||
| 1356 | function skill2() | |
| 1357 | attack = true | |
| 1358 | Humanoid.Health = Humanoid.Health + 100 | |
| 1359 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=165487479", Head, 1, 1)
| |
| 1360 | for i = 0, 1.05, 0.1 do | |
| 1361 | swait() | |
| 1362 | PlayAnimationFromTable({
| |
| 1363 | CFrame.new(0.00284654042, -0.0491668843, 0.00863608345, 0.838672996, -0.0569300465, -0.541652262, 0.140960127, 0.983324528, 0.114905387, 0.526078105, -0.172719359, 0.832712352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1364 | CFrame.new(0.0145828724, 1.48915434, -0.128683239, 0.838672996, -0.168303922, 0.517978549, -0.0569300465, 0.918754935, 0.390702903, -0.541652262, -0.357160389, 0.760953188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1365 | CFrame.new(1.55723238, 0.65414232, 0.029801771, -0.213925928, -0.975853086, -0.0441304147, 0.148771867, 0.0121005028, -0.988797545, 0.965461969, -0.218095422, 0.142589137) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1366 | CFrame.new(-0.057764601, 0.722776413, -0.949312329, 0.16808024, -0.98407197, -0.058079645, 0.0720412284, 0.0710230991, -0.994879901, 0.983141303, 0.163027585, 0.0828276128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1367 | CFrame.new(0.414857537, -1.9400022, -0.61491102, 0.997200131, 0.0709253401, -0.0237311423, -0.0736553296, 0.986384571, -0.147044465, 0.0129787624, 0.148380652, 0.988845468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1368 | CFrame.new(-0.808947563, -1.86046076, 0.288144022, -0.0925388932, 0.276828229, 0.956453383, -0.236146197, 0.927068114, -0.291170657, -0.967301607, -0.252807379, -0.0204179883) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1369 | }, .3, false) | |
| 1370 | moter.C0 = clerp(moter.C0, CFrame.new(-0.0806410164, -0.697505772, -0.186267465, -0.119340986, -0.0858065486, 0.989145815, 0.611814439, -0.790986776, 0.00519710779, 0.781952024, 0.605788291, 0.14689292) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1371 | end | |
| 1372 | attack = false | |
| 1373 | end | |
| 1374 | ||
| 1375 | Shoota = function(orgpos) | |
| 1376 | ||
| 1377 | local MouseLook = CFrame.new((orgpos + Mouse.Hit.p) / 2, Mouse.Hit.p) | |
| 1378 | Effects.Block.Create(BrickColor.new("Cool yellow"), CFrame.new(orgpos), 30, 30, 30, 6, 6, 6, 0.09)
| |
| 1379 | Effects.Block.Create(BrickColor.new("Cool yellow"), CFrame.new(orgpos), 32, 32, 32, 7, 7, 7, 0.09)
| |
| 1380 | table.insert(Effects, {MouseLook.lookVector, "Shoot2", 50, orgpos, 5, 7, 0, 1, 1})
| |
| 1381 | end | |
| 1382 | ||
| 1383 | shootmain = function(Mouse, partt, SpreadAmount, multiply) | |
| 1384 | ||
| 1385 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 1386 | local MainPos = partt.Position | |
| 1387 | local MainPos2 = Mouse.Hit.p + SpreadVectors | |
| 1388 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 1389 | local speed = 666 | |
| 1390 | local num = 20 | |
| 1391 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=846233576", Shootpart, 1, 1)
| |
| 1392 | coroutine.resume(coroutine.create(function() | |
| 1393 | ||
| 1394 | repeat | |
| 1395 | swait() | |
| 1396 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 1397 | local mag = (MainPos - pos).magnitude | |
| 1398 | Laser(BrickColor.new("Cool yellow"), 0.35, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, 0.15)
| |
| 1399 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 1400 | num = num - 1 | |
| 1401 | MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0) | |
| 1402 | if hit ~= nil then | |
| 1403 | num = 0 | |
| 1404 | local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
| 1405 | refpart.Anchored = true | |
| 1406 | refpart.CFrame = CFrame.new(pos) | |
| 1407 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 1408 | end | |
| 1409 | do | |
| 1410 | if num <= 0 then | |
| 1411 | local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
| 1412 | refpart.Anchored = true | |
| 1413 | refpart.CFrame = CFrame.new(pos) | |
| 1414 | Effects.Block.Create(BrickColor.new('Cool yellow'), refpart.CFrame, 10, 10, 10, 5, 5, 5, .1)
| |
| 1415 | if hit ~= nil then | |
| 1416 | MagnitudeDamage(refpart, 5, 5 * multiply, 15 * multiply, 0, "Normal", "231917784", 1) | |
| 1417 | end | |
| 1418 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 1419 | end | |
| 1420 | end | |
| 1421 | until num <= 0 | |
| 1422 | end | |
| 1423 | )) | |
| 1424 | end | |
| 1425 | ||
| 1426 | function skill3() | |
| 1427 | attack = true | |
| 1428 | local con = RightLeg.Touched:connect(function(hit) | |
| 1429 | Damage(RightLeg, hit, 5, 9, math.random(1, 5), "Normal", RootPart, 3, "rbxassetid://165586617", 1) | |
| 1430 | end) | |
| 1431 | Humanoid.WalkSpeed = 0 | |
| 1432 | for i = 0, 5, 0.1 do | |
| 1433 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=330640599", Torso, 1, 1)
| |
| 1434 | swait() | |
| 1435 | RootPart.Velocity = RootPart.CFrame.lookVector * 53 | |
| 1436 | PlayAnimationFromTable({
| |
| 1437 | CFrame.new(1.71332783e-12, -2.26551628, 0.615328074, 1, 1.85033898e-11, -1.27442328e-12, -4.60431693e-12, 0.156436995, -0.987688959, -1.71667125e-11, 0.987688959, 0.156436995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1438 | CFrame.new(0, 1.50546706, -0.390476882, 1, 0, -0, 0, 0.777146339, 0.629320085, -0, -0.629320085, 0.777146339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1439 | CFrame.new(1.77975953, 0.93702805, 0.253049374, -0.326832205, -0.705536187, 0.628808498, -0.241977498, -0.580698967, -0.777326286, 0.91358, -0.406212986, 0.019066669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1440 | CFrame.new(-1.7600888, 1.28007531, 0.206534833, -0.0799038038, 0.386386573, -0.918869376, 0.19666867, -0.897585988, -0.394539028, -0.977208793, -0.212237969, -0.00426960364) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1441 | CFrame.new(0.557647705, -2.01188278, -0.0414109826, 0.999345243, -0.0360278934, 0.00333665079, 0.0361780189, 0.993599296, -0.107014418, 0.000540209468, 0.107065089, 0.994251966) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1442 | CFrame.new(-0.55255127, -1.53768849, -0.106071234, 1, 0, -0, 0, 0.777147412, 0.629318774, -0, -0.629318774, 0.777147412) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1443 | }, .3, false) | |
| 1444 | moter.C0 = clerp(moter.C0, CFrame.new(-0.317896128, -0.787691295, -0.0618839338, 0.509285808, -0.4087767, 0.757320583, -0.240071535, -0.912541389, -0.331116319, 0.826435924, -0.0131779611, -0.562879264) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1445 | end | |
| 1446 | Humanoid.WalkSpeed = 16 | |
| 1447 | attack = false | |
| 1448 | con:disconnect() | |
| 1449 | end | |
| 1450 | ||
| 1451 | function cringe() | |
| 1452 | attack = true | |
| 1453 | for i = 0, .99, 0.1 do | |
| 1454 | swait() | |
| 1455 | PlayAnimationFromTable({
| |
| 1456 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1457 | CFrame.new(-3.08454037e-06, 1.42273104, -0.237763405, 0.933578968, -7.29779856e-07, -0.358372718, 0.110745594, 0.95105648, 0.288496614, 0.340831995, -0.309022427, 0.887886167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1458 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1459 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1460 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1461 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1462 | }, .3, false) | |
| 1463 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1464 | end | |
| 1465 | for i = 0, .99, 0.1 do | |
| 1466 | swait() | |
| 1467 | PlayAnimationFromTable({
| |
| 1468 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1469 | CFrame.new(-1.75088644e-06, 1.42272985, -0.237760231, 0.987695217, 5.65201958e-07, 0.156433403, -0.0483417809, 0.951056182, 0.305218697, -0.148776859, -0.309021235, 0.939353645) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1470 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1471 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1472 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1473 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1474 | }, .3, false) | |
| 1475 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1476 | end | |
| 1477 | for i = 0, .99, 0.1 do | |
| 1478 | swait() | |
| 1479 | PlayAnimationFromTable({
| |
| 1480 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1481 | CFrame.new(-3.08454037e-06, 1.42273104, -0.237763405, 0.933578968, -7.29779856e-07, -0.358372718, 0.110745594, 0.95105648, 0.288496614, 0.340831995, -0.309022427, 0.887886167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1482 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1483 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1484 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1485 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1486 | }, .3, false) | |
| 1487 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1488 | end | |
| 1489 | for i = 0, .99, 0.1 do | |
| 1490 | swait() | |
| 1491 | PlayAnimationFromTable({
| |
| 1492 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1493 | CFrame.new(-1.75088644e-06, 1.42272985, -0.237760231, 0.987695217, 5.65201958e-07, 0.156433403, -0.0483417809, 0.951056182, 0.305218697, -0.148776859, -0.309021235, 0.939353645) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1494 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1495 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1496 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1497 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1498 | }, .3, false) | |
| 1499 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1500 | end | |
| 1501 | for i = 0, .99, 0.1 do | |
| 1502 | swait() | |
| 1503 | PlayAnimationFromTable({
| |
| 1504 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1505 | CFrame.new(-3.08454037e-06, 1.42273104, -0.237763405, 0.933578968, -7.29779856e-07, -0.358372718, 0.110745594, 0.95105648, 0.288496614, 0.340831995, -0.309022427, 0.887886167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1506 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1507 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1508 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1509 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1510 | }, .3, false) | |
| 1511 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1512 | end | |
| 1513 | for i = 0, .99, 0.1 do | |
| 1514 | swait() | |
| 1515 | PlayAnimationFromTable({
| |
| 1516 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1517 | CFrame.new(-1.75088644e-06, 1.42272985, -0.237760231, 0.987695217, 5.65201958e-07, 0.156433403, -0.0483417809, 0.951056182, 0.305218697, -0.148776859, -0.309021235, 0.939353645) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1518 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1519 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1520 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1521 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1522 | }, .3, false) | |
| 1523 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1524 | end | |
| 1525 | for i = 0, .99, 0.1 do | |
| 1526 | swait() | |
| 1527 | PlayAnimationFromTable({
| |
| 1528 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1529 | CFrame.new(-3.08454037e-06, 1.42273104, -0.237763405, 0.933578968, -7.29779856e-07, -0.358372718, 0.110745594, 0.95105648, 0.288496614, 0.340831995, -0.309022427, 0.887886167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1530 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1531 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1532 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1533 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1534 | }, .3, false) | |
| 1535 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1536 | end | |
| 1537 | for i = 0, .99, 0.1 do | |
| 1538 | swait() | |
| 1539 | PlayAnimationFromTable({
| |
| 1540 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1541 | CFrame.new(-1.75088644e-06, 1.42272985, -0.237760231, 0.987695217, 5.65201958e-07, 0.156433403, -0.0483417809, 0.951056182, 0.305218697, -0.148776859, -0.309021235, 0.939353645) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1542 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1543 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1544 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1545 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1546 | }, .3, false) | |
| 1547 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1548 | end | |
| 1549 | attack = false | |
| 1550 | end | |
| 1551 | ||
| 1552 | function skill4() | |
| 1553 | attack = true | |
| 1554 | Humanoid.WalkSpeed = 0 | |
| 1555 | local con = Shootpart.Touched:connect(function(hit) | |
| 1556 | Damage(Shootpart, hit, 1000, 1000, math.random(1, 5), "Normal", RootPart, 3, "rbxassetid://146163534", 1) | |
| 1557 | end) | |
| 1558 | for i = 0, 1, 0.1 do | |
| 1559 | swait() | |
| 1560 | PlayAnimationFromTable({
| |
| 1561 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1562 | CFrame.new(-6.76445716e-13, 1.49998641, 0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1563 | CFrame.new(1.63378763, 0.784575403, 0.626388669, -0.638396323, -0.621981561, 0.453420788, -0.310008496, -0.331417471, -0.891100585, 0.704519272, -0.709439039, 0.0187563747) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1564 | CFrame.new(-1.45747352, -0.000428291678, -0.0169889182, 0.999841452, -0.00383195048, 0.0174011104, 0.00369932642, 0.999964893, 0.00764765125, -0.0174298119, -0.00758206472, 0.999820352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1565 | CFrame.new(0.557813585, -2.01724243, 0.00830213353, 0.997999072, -0.0361758024, 0.0518574007, 0.0362592675, 0.999343157, -0.000668675581, -0.0517991446, 0.00254764897, 0.998655319) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1566 | CFrame.new(-0.502551973, -1.99732482, 2.09503046e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1567 | }, .3, false) | |
| 1568 | moter.C0 = clerp(moter.C0, CFrame.new(-0.307827055, -0.945138454, -0.233602539, 0.111289024, 0.272969961, 0.955566287, 0.843120337, -0.53494525, 0.0546218455, 0.526086509, 0.799577296, -0.289679378) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1569 | end | |
| 1570 | for i = 0, 1, 0.1 do | |
| 1571 | swait() | |
| 1572 | PlayAnimationFromTable({
| |
| 1573 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1574 | CFrame.new(-6.76446041e-13, 1.49998713, 0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1575 | CFrame.new(0.784057915, 0.530719638, -1.11145675, 0.760513663, 0.639931142, 0.11003381, 0.025037935, 0.140432268, -0.989774764, -0.64884001, 0.755491972, 0.0907780901) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1576 | CFrame.new(-1.45747733, -0.000428082305, -0.0169907622, 0.999841452, -0.00383195048, 0.0174011104, 0.00369932642, 0.999964893, 0.00764765125, -0.0174298119, -0.00758206472, 0.999820352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1577 | CFrame.new(0.5578174, -2.01724195, 0.00830193795, 0.997999072, -0.0361758024, 0.0518574007, 0.0362592675, 0.999343157, -0.000668675581, -0.0517991446, 0.00254764897, 0.998655319) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1578 | CFrame.new(-0.502548158, -1.99732447, 2.09503099e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1579 | }, .3, false) | |
| 1580 | moter.C0 = clerp(moter.C0, CFrame.new(-0.289447755, -1.04616499, -0.37953198, 0.171506032, -0.162732333, 0.971654594, 0.507644057, -0.830653429, -0.228722811, 0.844327986, 0.532482445, -0.059851855) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1581 | end | |
| 1582 | Humanoid.WalkSpeed = 16 | |
| 1583 | con:Disconnect() | |
| 1584 | attack = false | |
| 1585 | end | |
| 1586 | ||
| 1587 | function cringe2() | |
| 1588 | attack = true | |
| 1589 | Humanoid.WalkSpeed = 0 | |
| 1590 | for i = 0, 3, 0.1 do | |
| 1591 | swait() | |
| 1592 | PlayAnimationFromTable({
| |
| 1593 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1594 | CFrame.new(-0.0140685402, 1.52261281, 0.0118884463, 0.998629749, -0.0161746982, -0.0497796386, 0.0161741246, 0.999870241, -0.000414520735, 0.0497798659, -0.000391189416, 0.998761475) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1595 | CFrame.new(1.87475526, 0.930106044, -0.0220574737, -0.350332558, -0.935963094, 0.0352388807, 0.936572134, -0.349651694, 0.0241183322, -0.0102524795, 0.0414531939, 0.999087989) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1596 | CFrame.new(-1.55593383, 0.0922081023, -0.166624919, 0.994520426, 0.100986823, -0.0270543899, -0.100987062, 0.994891644, 0.00137344981, 0.0270547755, 0.00136621902, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1597 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1598 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1599 | }, .3, false) | |
| 1600 | moter.C0 = clerp(moter.C0, CFrame.new(0.115644276, -1.00993621, 0.116102532, -0.942083418, -0.335367292, -0.00362925045, -0.333913654, 0.938904047, -0.0834463611, 0.03139247, -0.0774012506, -0.996505558) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1601 | end | |
| 1602 | Humanoid.Health = 0.001 | |
| 1603 | Effects.Block.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame * CFrame.new(0, 0, 0), 4, 4, 4, 2, 2, 2, .07)
| |
| 1604 | Effects.Break.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame, 5, .7, .7)
| |
| 1605 | Effects.Break.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame, 5, .7, .7)
| |
| 1606 | Effects.Break.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame, 5, .7, .7)
| |
| 1607 | Effects.Break.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame, 5, .7, .7)
| |
| 1608 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=846233576", Shootpart, 1, 1)
| |
| 1609 | for i = 0, 1, 0.1 do | |
| 1610 | swait() | |
| 1611 | PlayAnimationFromTable({
| |
| 1612 | CFrame.new(0, -0, 0, 0.99862957, -0.0523361303, 1.81777857e-12, 0.0523361266, 0.998633385, 4.26325641e-14, 1.81721305e-12, -5.68434189e-14, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1613 | CFrame.new(-0.0428714976, 1.54762077, 0.00642733369, 0.973466635, -0.223384321, -0.0497329459, 0.223770037, 0.974642634, 0.00219128886, 0.0479824543, -0.0132617969, 0.998763025) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1614 | CFrame.new(1.94307065, 0.6823892, -0.0195657909, -0.148052812, -0.988307476, 0.0364530459, 0.988842845, -0.147312805, 0.0222407151, -0.0166106671, 0.0393391177, 0.999090731) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1615 | CFrame.new(-1.54897189, 0.173511803, -0.166624963, 0.978514552, 0.204409495, -0.0269454382, -0.204409882, 0.978884399, 0.00278747012, 0.0269462466, 0.00278033293, 0.999635935) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1616 | CFrame.new(0.549670219, -1.92560482, 0.00926275551, 0.999340713, -0.0362381749, 0.00300741219, 0.036044348, 0.998117626, 0.0496915914, -0.00480249058, -0.0495504066, 0.998762131) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1617 | CFrame.new(-0.603785574, -1.96849489, 0.0500004999, 0.998629808, 0.052336134, 1.08793152e-09, -0.0523362458, 0.998635411, -5.58679858e-09, 2.46404186e-09, -1.1108952e-08, 1.00000572) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1618 | }, .3, false) | |
| 1619 | moter.C0 = clerp(moter.C0, CFrame.new(0.232984588, -0.884218752, 0.106375366, -0.972069085, -0.234514013, 0.00946775824, -0.234478518, 0.968574286, -0.0829868019, 0.0102912504, -0.0828888416, -0.99650526) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1620 | end | |
| 1621 | Humanoid.WalkSpeed = 16 | |
| 1622 | attack = false | |
| 1623 | end | |
| 1624 | ||
| 1625 | Mouse.Button1Down:connect(function() | |
| 1626 | if attack == false then | |
| 1627 | attackone() | |
| 1628 | end | |
| 1629 | end) | |
| 1630 | ||
| 1631 | Mouse.KeyDown:connect(function(k) | |
| 1632 | k = k:lower() | |
| 1633 | if attack == false and k == 'z' then | |
| 1634 | skill1() | |
| 1635 | elseif attack == false and k == 'x' then | |
| 1636 | skill2() | |
| 1637 | elseif attack == false and k == 'c' and Anim == 'Walk' then | |
| 1638 | skill3() | |
| 1639 | elseif attack == false and k == 'v' then | |
| 1640 | skill4() | |
| 1641 | elseif attack == false and k == 'q' then | |
| 1642 | cringe() | |
| 1643 | elseif attack == false and k == 'e' then | |
| 1644 | cringe2() | |
| 1645 | end | |
| 1646 | end) | |
| 1647 | ||
| 1648 | while true do | |
| 1649 | swait() | |
| 1650 | for i, v in pairs(Character:GetChildren()) do | |
| 1651 | if v:IsA("Part") then
| |
| 1652 | v.Material = "SmoothPlastic" | |
| 1653 | elseif v:IsA("Accessory") then
| |
| 1654 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1655 | end | |
| 1656 | end | |
| 1657 | for i, v in pairs(Character:GetChildren()) do | |
| 1658 | if v:IsA'Model' then | |
| 1659 | for _, c in pairs(v:GetChildren()) do | |
| 1660 | if c:IsA'BasePart' then | |
| 1661 | c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 1662 | end | |
| 1663 | end | |
| 1664 | end | |
| 1665 | end | |
| 1666 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1667 | velocity = RootPart.Velocity.y | |
| 1668 | sine = sine + change | |
| 1669 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 1670 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 1671 | Anim = "Jump" | |
| 1672 | if attack == false then | |
| 1673 | PlayAnimationFromTable({
| |
| 1674 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 0.999996185, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1675 | CFrame.new(0, 1.49129772, -0.0492396951, 1, 0, 0, 0, 0.766038835, -0.64278394, 0, 0.642785192, 0.766040325) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1676 | CFrame.new(1.46843624, 0.180933714, 0.0372858047, 0.951248944, -0.254887462, -0.173648328, 0.258818775, 0.965923786, -1.14036114e-09, 0.16773127, -0.044943653, 0.984805882) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1677 | CFrame.new(-1.63477135, 0.28501603, 0.158970028, 0.961526453, 0.242340595, 0.129411325, -0.266435593, 0.93742609, 0.224140555, -0.0669952482, -0.249995694, 0.96592623) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1678 | CFrame.new(0.54962939, -1.9957037, 0.00430911779, 0.99257493, -0.0290100258, -0.118124813, 0.0858313814, 0.855161488, 0.511204004, 0.0861857831, -0.517548025, 0.851303339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1679 | CFrame.new(-0.599646151, -1.99157369, -9.50545073e-05, 0.996449828, 0.0841852501, 0.000950440764, -0.0841850936, 0.996192873, 0.0225575492, 0.000952169299, -0.0225575212, 0.99974525) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1680 | }, .3, false) | |
| 1681 | ||
| 1682 | end | |
| 1683 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 1684 | Anim = "Fall" | |
| 1685 | if attack == false then | |
| 1686 | PlayAnimationFromTable({
| |
| 1687 | CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1688 | CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1689 | CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1690 | CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1691 | CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1692 | CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1693 | }, .3, false) | |
| 1694 | end | |
| 1695 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 1696 | Anim = "Idle" | |
| 1697 | if attack == false then | |
| 1698 | change = 1 | |
| 1699 | for i = 0, .3, 0.1 do | |
| 1700 | swait() | |
| 1701 | PlayAnimationFromTable({
| |
| 1702 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1703 | CFrame.new(-6.76443873e-13, 1.49998617, 1.90735227e-06, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1704 | CFrame.new(1.48908567, -0.0124374451, 0.0453222468, 0.999818146, 0.00347117707, -0.0187555403, -0.00348036597, 0.999994814, -0.000455890113, 0.0187539104, 0.000521083595, 0.999825656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1705 | CFrame.new(-1.51361406, 0.0255744811, 0.0346868746, 0.998444676, 0.0487802438, -0.0270542186, -0.0487612896, 0.998809218, 0.00137296692, 0.0270890035, -5.16980544e-05, 0.999633908) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1706 | CFrame.new(0.558128655, -2.00257516, -0.0328065082, 0.996082902, -0.0884258077, 0.000402636797, 0.0882963017, 0.994850576, 0.049780827, -0.00480247475, -0.04955028, 0.998760939) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1707 | CFrame.new(-0.549934328, -1.99739313, 2.08343547e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1708 | }, .3, false) | |
| 1709 | moter.C0 = clerp(moter.C0, CFrame.new(-0.00357525377, -0.669875801, -0.33632654, 0.0129701542, 0.04199332, 0.99903512, 0.668174207, -0.743665218, 0.0225844048, 0.7438941, 0.667235076, -0.0377042405) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1710 | end | |
| 1711 | end | |
| 1712 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 1713 | Anim = "Walk" | |
| 1714 | if attack == false then | |
| 1715 | PlayAnimationFromTable({
| |
| 1716 | CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.996187985, 0.0871556774, 0, -0.0871556699, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1717 | CFrame.new(0, 1.49999499, 1.11760201e-08, 1, 0, 0, 0, 0.999998331, -7.45067918e-09, 0, 7.45069251e-09, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1718 | CFrame.new(1.51048923, 0.0486144125, 0.213053972, 0.150388524, 0.08681795, 0.984807611, -0.423753828, 0.905649245, -0.015128728, -0.893205106, -0.415041506, 0.172988981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1719 | CFrame.new(-1.46577644, 0.0133882836, 0.266453117, 0.978753924, 0.0149079002, 0.204495385, -0.0694269463, 0.96253264, 0.26212123, -0.192926094, -0.270750105, 0.943119466) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1720 | CFrame.new(0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .3 * math.cos((sine) / 2), 0 + 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 - 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)), | |
| 1721 | CFrame.new(-0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .3 * math.cos((sine) / 2), 0 - 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 + 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)), | |
| 1722 | }, .3, false) | |
| 1723 | moter.C0 = clerp(moter.C0, CFrame.new(-0.00357525377, -0.669875801, -0.33632654, 0.0129701542, 0.04199332, 0.99903512, 0.668174207, -0.743665218, 0.0225844048, 0.7438941, 0.667235076, -0.0377042405) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1724 | end | |
| 1725 | end | |
| 1726 | if #Effects > 0 then | |
| 1727 | for e = 1, #Effects do | |
| 1728 | if Effects[e] ~= nil then | |
| 1729 | local Thing = Effects[e] | |
| 1730 | if Thing ~= nil then | |
| 1731 | Part = Thing[1] | |
| 1732 | Mode = Thing[2] | |
| 1733 | Delay = Thing[3] | |
| 1734 | IncX = Thing[4] | |
| 1735 | IncY = Thing[5] | |
| 1736 | IncZ = Thing[6] | |
| 1737 | if Thing[2] == "Shoot" then | |
| 1738 | Look = Thing[1] | |
| 1739 | hit, pos = rayCast(Thing[4], Look, 5, Character) | |
| 1740 | mag = (Thing[4] - pos).magnitude | |
| 1741 | Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(-1.57, 0, 0) | |
| 1742 | Thing[4] = Thing[4] + (Look * 5) | |
| 1743 | Thing[3] = Thing[3] - 1 | |
| 1744 | if hit ~= nil then | |
| 1745 | print(hit.Parent) | |
| 1746 | Thing[3] = 0 | |
| 1747 | --Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500) | |
| 1748 | --MagniDamage(Thing[9], 5, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500) | |
| 1749 | end | |
| 1750 | if Thing[3] <= 0 then | |
| 1751 | if hit == nil then | |
| 1752 | Effects.Sphere.Create(BrickColor.new("Crimson"), Thing[9].CFrame, 1, 1, 1, 2, 2, 2, .1)
| |
| 1753 | CFuncs.Sound.Create("285370517", Thing[9], 1, 1)
| |
| 1754 | else | |
| 1755 | Effects.Wave.Create(BrickColor.new("Crimson"), Thing[9].CFrame * CFrame.fromEulerAnglesXYZ(3.2, 0, 0), .2, .2, .2, .6, .8, .6, .1)
| |
| 1756 | CFuncs.Sound.Create("285370517", Thing[9], .6, 1)
| |
| 1757 | CFuncs.Sound.Create("285370545", Thing[9], 1, 1)
| |
| 1758 | end | |
| 1759 | for i = 1, math.random(2, 4) do | |
| 1760 | Effects.Break.Create(BrickColor.new("Crimson"), Thing[9].CFrame, math.random(20, 40) / 100, math.random(100, 600) / 100, math.random(20, 40) / 100)
| |
| 1761 | end | |
| 1762 | Thing[9].Transparency = 1 | |
| 1763 | game:GetService("Debris"):AddItem(Thing[9], 1)
| |
| 1764 | table.remove(Effects, e) | |
| 1765 | end | |
| 1766 | end | |
| 1767 | if Thing[2] ~= "Shoot" then | |
| 1768 | if Thing[1].Transparency <= 1 then | |
| 1769 | if Thing[2] == "Block1" then | |
| 1770 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1771 | Mesh = Thing[7] | |
| 1772 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1773 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1774 | elseif Thing[2] == "Block2" then | |
| 1775 | Thing[1].CFrame = Thing[1].CFrame | |
| 1776 | Mesh = Thing[7] | |
| 1777 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1778 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1779 | elseif Thing[2] == "Block3" then | |
| 1780 | Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1781 | Mesh = Thing[7] | |
| 1782 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1783 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1784 | elseif Thing[2] == "Block4" then | |
| 1785 | Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0) | |
| 1786 | Mesh = Thing[7] | |
| 1787 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1788 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1789 | elseif Thing[2] == "Block2Fire" then | |
| 1790 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1791 | Mesh = Thing[7] | |
| 1792 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1793 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1794 | if Thing[1].Transparency >= .3 then | |
| 1795 | Thing[1].BrickColor = BrickColor.new("Bright red")
| |
| 1796 | else | |
| 1797 | Thing[1].BrickColor = BrickColor.new("Bright yellow")
| |
| 1798 | end | |
| 1799 | elseif Thing[2] == "Ice" then | |
| 1800 | if Thing[6] <= Thing[5] then | |
| 1801 | Thing[6] = Thing[6] + .3 | |
| 1802 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 1, 0) | |
| 1803 | else | |
| 1804 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1805 | end | |
| 1806 | elseif Thing[2] == "Shatter" then | |
| 1807 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1808 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1809 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1810 | Thing[6] = Thing[6] + Thing[5] | |
| 1811 | elseif Thing[2] == "Fire" then | |
| 1812 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
| 1813 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1814 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1815 | elseif Thing[2] == "Cylinder" then | |
| 1816 | Mesh = Thing[7] | |
| 1817 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1818 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1819 | elseif Thing[2] == "Cylinder2" then | |
| 1820 | Mesh = Thing[7] | |
| 1821 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1822 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, Thing[8], 0) | |
| 1823 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1824 | elseif Thing[2] == "Blood" then | |
| 1825 | Mesh = Thing[7] | |
| 1826 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0) | |
| 1827 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1828 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1829 | elseif Thing[2] == "Elec" then | |
| 1830 | Mesh = Thing[7] | |
| 1831 | - | Part.Parent = nil |
| 1831 | + | |
| 1832 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1833 | elseif Thing[2] == "Disappear" then | |
| 1834 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1835 | end | |
| 1836 | else | |
| 1837 | ||
| 1838 | Part.Parent = nil | |
| 1839 | table.remove(Effects, e) | |
| 1840 | end | |
| 1841 | end | |
| 1842 | end | |
| 1843 | end | |
| 1844 | end | |
| 1845 | end | |
| 1846 | end |