SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 3 | - | local Player = game.Players.LocalPlayer |
| 3 | + | do |
| 4 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 5 | script.Parent = Player.Character | |
| 6 | ||
| 7 | --RemoteEvent for communicating | |
| 8 | local Event = Instance.new("RemoteEvent")
| |
| 9 | Event.Name = "UserInput_Event" | |
| 10 | ||
| 11 | --Fake event to make stuff like Mouse.KeyDown work | |
| 12 | local function fakeEvent() | |
| 13 | - | local mouse = Player:GetMouse() |
| 13 | + | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
|
| 14 | t.connect = t.Connect | |
| 15 | return t | |
| 16 | end | |
| 17 | ||
| 18 | --Creating fake input objects with fake variables | |
| 19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 23 | end} | |
| 24 | --Merged 2 functions into one by checking amount of arguments | |
| 25 | CAS.UnbindAction = CAS.BindAction | |
| 26 | ||
| 27 | --This function will trigger the events that have been :Connect()'ed | |
| 28 | local function te(self,ev,...) | |
| 29 | local t = m[ev] | |
| 30 | if t and t._fakeEvent and t.Function then | |
| 31 | t.Function(...) | |
| 32 | end | |
| 33 | end | |
| 34 | m.TrigEvent = te | |
| 35 | UIS.TrigEvent = te | |
| 36 | ||
| 37 | Event.OnServerEvent:Connect(function(plr,io) | |
| 38 | if plr~=Player then return end | |
| 39 | if io.isMouse then | |
| 40 | m.Target = io.Target | |
| 41 | m.Hit = io.Hit | |
| 42 | else | |
| 43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 46 | end | |
| 47 | for _,t in pairs(CAS.Actions) do | |
| 48 | for _,k in pairs(t.Keys) do | |
| 49 | if k==io.KeyCode then | |
| 50 | t.Function(t.Name,io.UserInputState,io) | |
| 51 | end | |
| 52 | end | |
| 53 | end | |
| 54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 56 | end | |
| 57 | end) | |
| 58 | Event.Parent = NLS([==[ | |
| 59 | local Player = game:GetService("Players").LocalPlayer
| |
| 60 | local Event = script:WaitForChild("UserInput_Event")
| |
| 61 | ||
| 62 | local UIS = game:GetService("UserInputService")
| |
| 63 | local input = function(io,a) | |
| 64 | if a then return end | |
| 65 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 67 | end | |
| 68 | UIS.InputBegan:Connect(input) | |
| 69 | UIS.InputEnded:Connect(input) | |
| 70 | ||
| 71 | local Mouse = Player:GetMouse() | |
| 72 | local h,t | |
| 73 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 74 | --If player is not moving their mouse, client won't fire events | |
| 75 | while wait(1/30) do | |
| 76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 77 | h,t=Mouse.Hit,Mouse.Target | |
| 78 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 79 | end | |
| 80 | end]==],Player.Character) | |
| 81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 82 | end | |
| 83 | ||
| 84 | wait(0.016666666666667) | |
| 85 | script.Name = "Chaos" | |
| 86 | local Player = Owner | |
| 87 | repeat | |
| 88 | wait() | |
| 89 | until Player | |
| 90 | local Character = Player.Character | |
| 91 | repeat | |
| 92 | wait() | |
| 93 | until Character | |
| 94 | local Effects = {}
| |
| 95 | local Humanoid = Character.Humanoid | |
| 96 | local m = Instance.new("Model", Character)
| |
| 97 | m.Name = "WeaponModel" | |
| 98 | local LeftArm = Character["Left Arm"] | |
| 99 | local RightArm = Character["Right Arm"] | |
| 100 | local LeftLeg = Character["Left Leg"] | |
| 101 | local RightLeg = Character["Right Leg"] | |
| 102 | local Head = Character.Head | |
| 103 | local Torso = Character.Torso | |
| 104 | local cam = game.Workspace.CurrentCamera | |
| 105 | local RootPart = Character.HumanoidRootPart | |
| 106 | local RootJoint = RootPart.RootJoint | |
| 107 | local equipped = false | |
| 108 | local attack = false | |
| 109 | local Anim = "Idle" | |
| 110 | local idle = 0 | |
| 111 | local attacktype = 1 | |
| 112 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 113 | local velocity = RootPart.Velocity.y | |
| 114 | local sine = 0 | |
| 115 | local change = 1 | |
| 116 | local grabbed = false | |
| 117 | local cn = CFrame.new | |
| 118 | local mr = math.rad | |
| 119 | local angles = CFrame.Angles | |
| 120 | local ud = UDim2.new | |
| 121 | local c3 = Color3.new | |
| 122 | Humanoid.Animator.Parent = nil | |
| 123 | Character.Animate.Parent = nil | |
| 124 | local newFakeMotor = function(part0, part1, c0, c1) | |
| 125 | local w = Instance.new("Motor", part0)
| |
| 126 | w.Part0 = part0 | |
| 127 | w.Part1 = part1 | |
| 128 | w.C0 = c0 | |
| 129 | w.C1 = c1 | |
| 130 | return w | |
| 131 | end | |
| 132 | function clerp(a, b, t) | |
| 133 | return a:lerp(b, t) | |
| 134 | end | |
| 135 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 136 | NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 137 | local RW = newFakeMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 138 | local LW = newFakeMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 139 | local RH = newFakeMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 140 | local LH = newFakeMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 141 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 142 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 143 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 144 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 145 | local rarmc1 = RW.C1 | |
| 146 | local larmc1 = LW.C1 | |
| 147 | local rlegc1 = RH.C1 | |
| 148 | local llegc1 = LH.C1 | |
| 149 | local resetc1 = false | |
| 150 | function PlayAnimationFromTable(table, speed, bool) | |
| 151 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 152 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 153 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 154 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 155 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 156 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 157 | if bool == true and resetc1 == false then | |
| 158 | resetc1 = true | |
| 159 | RootJoint.C1 = RootJoint.C1 | |
| 160 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 161 | RW.C1 = rarmc1 | |
| 162 | LW.C1 = larmc1 | |
| 163 | RH.C1 = rlegc1 | |
| 164 | LH.C1 = llegc1 | |
| 165 | end | |
| 166 | end | |
| 167 | ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
| |
| 168 | ArtificialHB.Name = "Heartbeat" | |
| 169 | Player.PlayerGui:WaitForChild("Heartbeat")
| |
| 170 | frame = 0.033333333333333 | |
| 171 | tf = 0 | |
| 172 | allowframeloss = false | |
| 173 | tossremainder = false | |
| 174 | lastframe = tick() | |
| 175 | Player.PlayerGui.Heartbeat:Fire() | |
| 176 | local gg = false | |
| 177 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 178 | if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
| |
| 179 | gg = true | |
| 180 | end | |
| 181 | if gg == true then | |
| 182 | return | |
| 183 | end | |
| 184 | tf = tf + s | |
| 185 | if frame <= tf then | |
| 186 | if allowframeloss then | |
| 187 | Player.PlayerGui.Heartbeat:Fire() | |
| 188 | lastframe = tick() | |
| 189 | else | |
| 190 | for i = 1, math.floor(tf / frame) do | |
| 191 | Player.PlayerGui.Heartbeat:Fire() | |
| 192 | end | |
| 193 | lastframe = tick() | |
| 194 | end | |
| 195 | if tossremainder then | |
| 196 | tf = 0 | |
| 197 | else | |
| 198 | tf = tf - frame * math.floor(tf / frame) | |
| 199 | end | |
| 200 | end | |
| 201 | end) | |
| 202 | function swait(num) | |
| 203 | if num == 0 or num == nil then | |
| 204 | ArtificialHB.Event:wait() | |
| 205 | else | |
| 206 | for i = 0, num do | |
| 207 | ArtificialHB.Event:wait() | |
| 208 | end | |
| 209 | end | |
| 210 | end | |
| 211 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 212 | local Create = RbxUtility.Create | |
| 213 | function RemoveOutlines(part) | |
| 214 | part.TopSurface = 10 | |
| 215 | end | |
| 216 | local co1 = 200 | |
| 217 | local co2 = 20 | |
| 218 | local co3 = 60 | |
| 219 | local co4 = 40 | |
| 220 | local cooldown1 = 200 | |
| 221 | local cooldown2 = 0 | |
| 222 | local cooldown3 = 0 | |
| 223 | local cooldown4 = 0 | |
| 224 | local skillcolorscheme = BrickColor.new("Bright yellow").Color
| |
| 225 | local scrn = Instance.new("ScreenGui", Player.PlayerGui)
| |
| 226 | function makeframe(par, trans, pos, size, color) | |
| 227 | local frame = Instance.new("Frame", par)
| |
| 228 | frame.BackgroundTransparency = trans | |
| 229 | frame.BorderSizePixel = 0 | |
| 230 | frame.Position = pos | |
| 231 | frame.Size = size | |
| 232 | frame.BackgroundColor3 = color | |
| 233 | return frame | |
| 234 | end | |
| 235 | function makelabel(par, text) | |
| 236 | local label = Instance.new("TextLabel", par)
| |
| 237 | label.BackgroundTransparency = 1 | |
| 238 | label.Size = UDim2.new(1, 0, 1, 0) | |
| 239 | label.Position = UDim2.new(0, 0, 0, 0) | |
| 240 | label.TextColor3 = Color3.new(255, 255, 255) | |
| 241 | label.TextStrokeTransparency = 0 | |
| 242 | label.FontSize = Enum.FontSize.Size32 | |
| 243 | label.Font = Enum.Font.SourceSansLight | |
| 244 | label.BorderSizePixel = 0 | |
| 245 | label.TextScaled = true | |
| 246 | label.Text = text | |
| 247 | end | |
| 248 | framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 249 | framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 250 | framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 251 | framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 252 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 253 | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 254 | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 255 | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 256 | text1 = Instance.new("TextLabel", framesk1)
| |
| 257 | text1.BackgroundTransparency = 1 | |
| 258 | text1.Size = UDim2.new(1, 0, 1, 0) | |
| 259 | text1.Position = UDim2.new(0, 0, 0, 0) | |
| 260 | text1.TextColor3 = Color3.new(255, 255, 255) | |
| 261 | text1.TextStrokeTransparency = 0 | |
| 262 | text1.FontSize = Enum.FontSize.Size18 | |
| 263 | text1.Font = Enum.Font.SourceSansLight | |
| 264 | text1.BorderSizePixel = 0 | |
| 265 | text1.TextScaled = true | |
| 266 | text1.Text = [[ | |
| 267 | [Z] | |
| 268 | N/A]] | |
| 269 | text2 = Instance.new("TextLabel", framesk2)
| |
| 270 | text2.BackgroundTransparency = 1 | |
| 271 | text2.Size = UDim2.new(1, 0, 1, 0) | |
| 272 | text2.Position = UDim2.new(0, 0, 0, 0) | |
| 273 | text2.TextColor3 = Color3.new(255, 255, 255) | |
| 274 | text2.TextStrokeTransparency = 0 | |
| 275 | text2.FontSize = Enum.FontSize.Size18 | |
| 276 | text2.Font = Enum.Font.SourceSansLight | |
| 277 | text2.BorderSizePixel = 0 | |
| 278 | text2.TextScaled = true | |
| 279 | text2.Text = [[ | |
| 280 | [X] | |
| 281 | Reload]] | |
| 282 | text3 = Instance.new("TextLabel", framesk3)
| |
| 283 | text3.BackgroundTransparency = 1 | |
| 284 | text3.Size = UDim2.new(1, 0, 1, 0) | |
| 285 | text3.Position = UDim2.new(0, 0, 0, 0) | |
| 286 | text3.TextColor3 = Color3.new(255, 255, 255) | |
| 287 | text3.TextStrokeTransparency = 0 | |
| 288 | text3.FontSize = Enum.FontSize.Size18 | |
| 289 | text3.Font = Enum.Font.SourceSansLight | |
| 290 | text3.BorderSizePixel = 0 | |
| 291 | text3.TextScaled = false | |
| 292 | text3.Text = [[ | |
| 293 | [C] | |
| 294 | Nuclear strike]] | |
| 295 | text4 = Instance.new("TextLabel", framesk4)
| |
| 296 | text4.BackgroundTransparency = 1 | |
| 297 | text4.Size = UDim2.new(1, 0, 1, 0) | |
| 298 | text4.Position = UDim2.new(0, 0, 0, 0) | |
| 299 | text4.TextColor3 = Color3.new(255, 255, 255) | |
| 300 | text4.TextStrokeTransparency = 0 | |
| 301 | text4.FontSize = Enum.FontSize.Size18 | |
| 302 | text4.Font = Enum.Font.SourceSansLight | |
| 303 | text4.BorderSizePixel = 0 | |
| 304 | text4.TextScaled = true | |
| 305 | text4.Text = [[ | |
| 306 | [V] | |
| 307 | Nuclear rain]] | |
| 308 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 309 | local Part = Create("Part")({
| |
| 310 | Parent = Parent, | |
| 311 | Reflectance = Reflectance, | |
| 312 | Transparency = Transparency, | |
| 313 | CanCollide = false, | |
| 314 | Locked = true, | |
| 315 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 316 | Name = Name, | |
| 317 | Size = Size, | |
| 318 | Material = Material | |
| 319 | }) | |
| 320 | RemoveOutlines(Part) | |
| 321 | return Part | |
| 322 | end | |
| 323 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 324 | local Msh = Create(Mesh)({
| |
| 325 | Parent = Part, | |
| 326 | Offset = OffSet, | |
| 327 | Scale = Scale | |
| 328 | }) | |
| 329 | if Mesh == "SpecialMesh" then | |
| 330 | Msh.MeshType = MeshType | |
| 331 | Msh.MeshId = MeshId | |
| 332 | end | |
| 333 | return Msh | |
| 334 | end | |
| 335 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 336 | local Weld = Create("Weld")({
| |
| 337 | Parent = Parent, | |
| 338 | Part0 = Part0, | |
| 339 | Part1 = Part1, | |
| 340 | C0 = C0, | |
| 341 | C1 = C1 | |
| 342 | }) | |
| 343 | return Weld | |
| 344 | end | |
| 345 | CFuncs = {
| |
| 346 | Part = {
| |
| 347 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 348 | local Part = Create("Part")({
| |
| 349 | Parent = Parent, | |
| 350 | Reflectance = Reflectance, | |
| 351 | Transparency = Transparency, | |
| 352 | CanCollide = false, | |
| 353 | Locked = true, | |
| 354 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 355 | Name = Name, | |
| 356 | Size = Size, | |
| 357 | Material = Material | |
| 358 | }) | |
| 359 | RemoveOutlines(Part) | |
| 360 | return Part | |
| 361 | end | |
| 362 | }, | |
| 363 | Mesh = {
| |
| 364 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 365 | local Msh = Create(Mesh)({
| |
| 366 | Parent = Part, | |
| 367 | Offset = OffSet, | |
| 368 | Scale = Scale | |
| 369 | }) | |
| 370 | if Mesh == "SpecialMesh" then | |
| 371 | Msh.MeshType = MeshType | |
| 372 | Msh.MeshId = MeshId | |
| 373 | end | |
| 374 | return Msh | |
| 375 | end | |
| 376 | }, | |
| 377 | Mesh = {
| |
| 378 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 379 | local Msh = Create(Mesh)({
| |
| 380 | Parent = Part, | |
| 381 | Offset = OffSet, | |
| 382 | Scale = Scale | |
| 383 | }) | |
| 384 | if Mesh == "SpecialMesh" then | |
| 385 | Msh.MeshType = MeshType | |
| 386 | Msh.MeshId = MeshId | |
| 387 | end | |
| 388 | return Msh | |
| 389 | end | |
| 390 | }, | |
| 391 | Weld = {
| |
| 392 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 393 | local Weld = Create("Weld")({
| |
| 394 | Parent = Parent, | |
| 395 | Part0 = Part0, | |
| 396 | Part1 = Part1, | |
| 397 | C0 = C0, | |
| 398 | C1 = C1 | |
| 399 | }) | |
| 400 | return Weld | |
| 401 | end | |
| 402 | }, | |
| 403 | Sound = {
| |
| 404 | Create = function(id, par, vol, pit) | |
| 405 | coroutine.resume(coroutine.create(function() | |
| 406 | local S = Create("Sound")({
| |
| 407 | Volume = vol, | |
| 408 | Pitch = pit or 1, | |
| 409 | SoundId = id, | |
| 410 | Parent = par or workspace | |
| 411 | }) | |
| 412 | wait() | |
| 413 | S:play() | |
| 414 | game:GetService("Debris"):AddItem(S, 6)
| |
| 415 | end)) | |
| 416 | end | |
| 417 | }, | |
| 418 | ParticleEmitter = {
| |
| 419 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 420 | local fp = Create("ParticleEmitter")({
| |
| 421 | Parent = Parent, | |
| 422 | Color = ColorSequence.new(Color1, Color2), | |
| 423 | LightEmission = LightEmission, | |
| 424 | Size = Size, | |
| 425 | Texture = Texture, | |
| 426 | Transparency = Transparency, | |
| 427 | ZOffset = ZOffset, | |
| 428 | Acceleration = Accel, | |
| 429 | Drag = Drag, | |
| 430 | LockedToPart = LockedToPart, | |
| 431 | VelocityInheritance = VelocityInheritance, | |
| 432 | EmissionDirection = EmissionDirection, | |
| 433 | Enabled = Enabled, | |
| 434 | Lifetime = LifeTime, | |
| 435 | Rate = Rate, | |
| 436 | Rotation = Rotation, | |
| 437 | RotSpeed = RotSpeed, | |
| 438 | Speed = Speed, | |
| 439 | VelocitySpread = VelocitySpread | |
| 440 | }) | |
| 441 | return fp | |
| 442 | end | |
| 443 | } | |
| 444 | } | |
| 445 | Handle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Handle", Vector3.new(0.200000003, 0.920000136, 0.200000003)) | |
| 446 | HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.262939453, -0.121995926, -0.965805054, 0.969704211, 0.236531034, 0.0610490143, -0.0425508283, -0.0825409442, 0.995678902, 0.240548, -0.968111455, -0.069975704)) | |
| 447 | CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 448 | FakeHandle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "FakeHandle", Vector3.new(0.200000003, 0.920000136, 0.200000003)) | |
| 449 | FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000024, 0, 0, 0, 1, 1.86264515E-9, 0, 1.86264515E-9, 0.99999994)) | |
| 450 | CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 451 | Barrel = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Barrel", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 452 | BarrelWeld = CreateWeld(m, FakeHandle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.955901146, 7.17863464, -0.312942505, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548)) | |
| 453 | CreateMesh("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 454 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 455 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.53586674, 0.307937622, -6.66361237, -0.241776183, -0.307871968, 0.920195222, -0.969704211, 0.0425508283, -0.240548, 0.0349029154, -0.950475931, -0.308832437)) | |
| 456 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 5))
| |
| 457 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.820000112, 0.200000003)) | |
| 458 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93361282, 0.0704040527, -0.0807228088, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 459 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 460 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(3.48000002, 0.200000003, 0.649999976)) | |
| 461 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.0436306, 1.1287384, -1.56370544, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 462 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003)) | |
| 463 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.68361092, 0.385857582, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548)) | |
| 464 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(4.18000031, 0.200000003, 0.649999976)) | |
| 465 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.49362373, 0.585878372, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548)) | |
| 466 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.649999976)) | |
| 467 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.55361938, 0.104698181, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646)) | |
| 468 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(3.08000016, 0.200000003, 0.649999976)) | |
| 469 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.743627548, -1.73353577, -1.36719513, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119)) | |
| 470 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(7.28000021, 0.200000003, 0.649999976)) | |
| 471 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94361877, 2.01470947, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646)) | |
| 472 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(4.18000078, 0.200000003, 0.649999976)) | |
| 473 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.49362373, -0.78125, -1.56369781, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 474 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(7.38000011, 0.200000003, 0.649999976)) | |
| 475 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.89362717, 0.176452637, -1.36717987, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119)) | |
| 476 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976)) | |
| 477 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94362259, -2.38845825, -0.648468018, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485)) | |
| 478 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.400000006, 0.200000003, 0.649999976)) | |
| 479 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.60362244, -0.478485107, -0.648483276, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485)) | |
| 480 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.5, 0.649999976)) | |
| 481 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.28361702, -1.58352661, -1.36719131, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119)) | |
| 482 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976)) | |
| 483 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50361824, -0.928466797, -0.648468018, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485)) | |
| 484 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.400000036, 0.400000006)) | |
| 485 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.68361282, 0.485881805, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548)) | |
| 486 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976)) | |
| 487 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94361496, 2.49586678, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548)) | |
| 488 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.30000007, 0.649999976)) | |
| 489 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50362206, 1.13585138, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548)) | |
| 490 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006)) | |
| 491 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.09585381, 2.38361931, 0.507064819, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548)) | |
| 492 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 493 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(1.64999998, 1.59000015, 1.67000008)) | |
| 494 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.09585953, 1.62366486, 0.507064819, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548)) | |
| 495 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 496 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.699999988, 0.649999976)) | |
| 497 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696378708, 1.76469421, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646)) | |
| 498 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007)) | |
| 499 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52587891E-5, -0.459983826, -0.365005493, 1.00000024, 0, 0, 0, 1, 1.86264515E-9, 0, 1.86264515E-9, 0.99999994)) | |
| 500 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.20000005, 0.649999976)) | |
| 501 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50361252, 0.604698181, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646)) | |
| 502 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006)) | |
| 503 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.09585667, 0.873628616, 0.507064819, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548)) | |
| 504 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 505 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.920000136, 0.200000003)) | |
| 506 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000024, 0, 0, 0, 1, 1.86264515E-9, 0, 1.86264515E-9, 0.99999994)) | |
| 507 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 508 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976)) | |
| 509 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696378708, -2.03845215, -0.648483276, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485)) | |
| 510 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.550000012)) | |
| 511 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05175781E-5, 0.460012436, -0.175018311, 1.00000024, 0, 0, 0, 1, 1.86264515E-9, 0, 1.86264515E-9, 0.99999994)) | |
| 512 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976)) | |
| 513 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50362206, -0.273544312, -1.36717987, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119)) | |
| 514 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.5, 1.14999998)) | |
| 515 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.28361511, -0.53125, -1.31373596, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 516 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007)) | |
| 517 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93360138, -0.389587402, -0.345714569, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 518 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 2.0999999, 0.649999976)) | |
| 519 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696380615, 0.168762207, -1.56370544, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 520 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.5, 0.649999976)) | |
| 521 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696382523, 2.34584999, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548)) | |
| 522 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003)) | |
| 523 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.78364944, -0.914924622, -1.49900818, 0.0349029228, -0.950475931, -0.308832467, 0.224812746, -0.29363355, 0.929106355, -0.973776877, -0.101857953, 0.203430369)) | |
| 524 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(3.18000031, 1.68000007, 0.200000003)) | |
| 525 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.793626785, -0.0424346924, -0.642055511, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 526 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(2.98000097, 0.200000003, 1.14999998)) | |
| 527 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.893630981, -0.78125, -1.31369781, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 528 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003)) | |
| 529 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.78365326, -1.31258392, -1.40377808, 0.0349029228, -0.950475931, -0.308832467, -0.0348796546, -0.309991032, 0.950099528, -0.998781979, -0.0223892741, -0.0439718515)) | |
| 530 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976)) | |
| 531 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696380615, -1.3835144, -1.36720276, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119)) | |
| 532 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.850000024)) | |
| 533 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93361282, 0.530380249, -0.305717468, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 534 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976)) | |
| 535 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696374893, -0.173538208, -1.36718369, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119)) | |
| 536 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.69999993, 1.14999998)) | |
| 537 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696380615, -0.0312194824, -1.31369019, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 538 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.780000925, 0.230000004, 0.309999943)) | |
| 539 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.39359856, -0.79624939, -1.01370239, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 540 | Motor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Bright yellow", "Motor", Vector3.new(1.60000002, 5.46000004, 1.48000002)) | |
| 541 | MotorWeld = CreateWeld(m, FakeHandle, Motor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.48586464, 4.39365387, -0.312942505, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548)) | |
| 542 | CreateMesh("CylinderMesh", Motor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 543 | FakeMotor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Bright yellow", "Part", Vector3.new(1.60000002, 5.46000004, 1.48000002)) | |
| 544 | FakeMotorWeld = CreateWeld(m, Motor, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1)) | |
| 545 | CreateMesh("CylinderMesh", FakeMotor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 546 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 547 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, 0.899982452, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7)) | |
| 548 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 549 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.700000048, 0.200000003, 0.750000119)) | |
| 550 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 2.73001862, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1)) | |
| 551 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 552 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(1.60000002, 0.210000008, 1.35000002)) | |
| 553 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.86102295E-6, 2.63498688, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1)) | |
| 554 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 555 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 556 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529963493, 2.78498077, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1)) | |
| 557 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 558 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) | |
| 559 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529956818, 2.77998734, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1)) | |
| 560 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 561 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 562 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, -0.700012207, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7)) | |
| 563 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 564 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 565 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678840637, -1.50000381, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7)) | |
| 566 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 567 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) | |
| 568 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530006409, 2.77998352, 1.52587891E-5, 0.866025567, -1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, -8.94069601E-8, 0.499999851, 2.98023224E-8, 0.866025507)) | |
| 569 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 570 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 571 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530014038, 2.78498077, 0, 0.500000656, 2.83122063E-7, -0.86602509, -8.34465027E-7, 1, -1.67762096E-7, 0.86602509, 8.04662704E-7, 0.500000656)) | |
| 572 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 573 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) | |
| 574 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77997589, 7.62939453E-6, 0.500000656, 2.83122063E-7, -0.86602509, -8.34465027E-7, 1, -1.67762096E-7, 0.86602509, 8.04662704E-7, 0.500000656)) | |
| 575 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 576 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) | |
| 577 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.77997589, 3.81469727E-6, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0)) | |
| 578 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 579 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) | |
| 580 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530014038, 2.77998161, 0, 0.500000656, 2.83122063E-7, -0.86602509, -8.34465027E-7, 1, -1.67762096E-7, 0.86602509, 8.04662704E-7, 0.500000656)) | |
| 581 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 582 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.350000113)) | |
| 583 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.86102295E-6, 2.79998398, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1)) | |
| 584 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 585 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) | |
| 586 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529997826, 2.77997971, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1)) | |
| 587 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 588 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 589 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530006409, 2.78498077, 1.52587891E-5, 0.866025567, -1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, -8.94069601E-8, 0.499999851, 2.98023224E-8, 0.866025507)) | |
| 590 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 591 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 592 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498268, 1.52587891E-5, 0.866025567, -1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, -8.94069601E-8, 0.499999851, 2.98023224E-8, 0.866025507)) | |
| 593 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 594 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 595 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529998779, 2.78499222, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1)) | |
| 596 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 597 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) | |
| 598 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77997398, 1.52587891E-5, 0.866025567, -1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, -8.94069601E-8, 0.499999851, 2.98023224E-8, 0.866025507)) | |
| 599 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 600 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 601 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.7849865, 4.76837158E-6, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0)) | |
| 602 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 603 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 604 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.7849865, 4.76837158E-6, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0)) | |
| 605 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 606 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 607 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498459, 1.52587891E-5, 0.500000656, 2.83122063E-7, -0.86602509, -8.34465027E-7, 1, -1.67762096E-7, 0.86602509, 8.04662704E-7, 0.500000656)) | |
| 608 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 609 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 610 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, -1.69995308, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7)) | |
| 611 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 612 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 613 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673271179, -0.0999927521, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7)) | |
| 614 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 615 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 616 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, -0.09998703, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7)) | |
| 617 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 618 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) | |
| 619 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.77997589, 0, -0.500000656, -2.83122063E-7, -0.86602509, -8.34465027E-7, 1, 1.67762096E-7, 0.86602509, 8.04662704E-7, -0.500000656)) | |
| 620 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 621 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 622 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.78498459, 0, -0.500000656, -2.83122063E-7, -0.86602509, -8.34465027E-7, 1, 1.67762096E-7, 0.86602509, 8.04662704E-7, -0.500000656)) | |
| 623 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 624 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 625 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673271179, -0.899978638, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7)) | |
| 626 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 627 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 628 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673248291, -1.50000191, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7)) | |
| 629 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 630 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 631 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, -0.899982452, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7)) | |
| 632 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 633 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 634 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673248291, 1.69995499, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7)) | |
| 635 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 636 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 637 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498077, 7.62939453E-6, -0.500000656, -2.83122063E-7, -0.86602509, -8.34465027E-7, 1, 1.67762096E-7, 0.86602509, 8.04662704E-7, -0.500000656)) | |
| 638 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 639 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 640 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529975891, 2.78497887, -1.52587891E-5, -0.866025567, 1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, 8.94069601E-8, 0.499999851, 2.98023224E-8, -0.866025507)) | |
| 641 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 642 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) | |
| 643 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77997589, 3.81469727E-6, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0)) | |
| 644 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 645 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 646 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673240662, 0.0999755859, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7)) | |
| 647 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 648 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) | |
| 649 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529975891, 2.77997971, -1.52587891E-5, -0.866025567, 1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, 8.94069601E-8, 0.499999851, 2.98023224E-8, -0.866025507)) | |
| 650 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 651 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 652 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498077, 1.52587891E-5, -0.866025567, 1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, 8.94069601E-8, 0.499999851, 2.98023224E-8, -0.866025507)) | |
| 653 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 654 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) | |
| 655 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77998161, 7.62939453E-6, -0.500000656, -2.83122063E-7, -0.86602509, -8.34465027E-7, 1, 1.67762096E-7, 0.86602509, 8.04662704E-7, -0.500000656)) | |
| 656 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 657 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 658 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, 0.0999679565, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7)) | |
| 659 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 660 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 661 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, 1.69995308, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7)) | |
| 662 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 663 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 664 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, 1.50002289, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7)) | |
| 665 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 666 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) | |
| 667 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77998352, 1.52587891E-5, -0.866025567, 1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, 8.94069601E-8, 0.499999851, 2.98023224E-8, -0.866025507)) | |
| 668 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 669 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 670 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673271179, 1.50001907, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7)) | |
| 671 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 672 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 673 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673240662, 0.899978638, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7)) | |
| 674 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 675 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 676 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, 0.700012207, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7)) | |
| 677 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 678 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 679 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673278809, -1.69995499, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7)) | |
| 680 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 681 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 682 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673278809, 0.7000103, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7)) | |
| 683 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 684 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 685 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673248291, -0.7000103, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7)) | |
| 686 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 687 | ban = Instance.new("Part", m)
| |
| 688 | ban.Size = Vector3.new(2, 0.2, 2) | |
| 689 | ban.Transparency = 1 | |
| 690 | ban.CanCollide = false | |
| 691 | w0t = Instance.new("Weld", ban)
| |
| 692 | w0t.Part0 = ban | |
| 693 | w0t.Part1 = Motor | |
| 694 | w0t.C0 = CFrame.new(0, -5.1, 0) | |
| 695 | hak = Instance.new("Decal", ban)
| |
| 696 | hak.Texture = "http://www.roblox.com/asset?id=26533945" | |
| 697 | hak.Face = "Top" | |
| 698 | coroutine.resume(coroutine.create(function() | |
| 699 | thing = 0 | |
| 700 | while wait() do | |
| 701 | thing = thing + 0.25 | |
| 702 | w0t.C0 = CFrame.new(0, -5.1, 0) * CFrame.Angles(0, thing / 8, 0) | |
| 703 | end | |
| 704 | end)) | |
| 705 | function rayCast(Position, Direction, Range, Ignore) | |
| 706 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 707 | end | |
| 708 | local function GetNearest(obj, distance) | |
| 709 | local last, lastx = distance + 1, nil | |
| 710 | for i, v in pairs(workspace:GetChildren()) do | |
| 711 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
| |
| 712 | local t = v.Torso | |
| 713 | local dist = (t.Position - obj.Position).magnitude | |
| 714 | if distance >= dist and last > dist then | |
| 715 | last = dist | |
| 716 | lastx = v | |
| 717 | end | |
| 718 | end | |
| 719 | end | |
| 720 | return lastx | |
| 721 | end | |
| 722 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 723 | if hit.Parent == nil then | |
| 724 | return | |
| 725 | end | |
| 726 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 727 | for _, v in pairs(hit.Parent:children()) do | |
| 728 | if v:IsA("Humanoid") then
| |
| 729 | h = v | |
| 730 | end | |
| 731 | end | |
| 732 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 733 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 734 | return | |
| 735 | end | |
| 736 | local c = Create("ObjectValue")({
| |
| 737 | Name = "creator", | |
| 738 | Value = game:service("Players").LocalPlayer,
| |
| 739 | Parent = h | |
| 740 | }) | |
| 741 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 742 | if HitSound ~= nil and HitPitch ~= nil then | |
| 743 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 744 | end | |
| 745 | local Damage = math.random(minim, maxim) | |
| 746 | local blocked = false | |
| 747 | local block = hit.Parent:findFirstChild("Block")
| |
| 748 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 749 | blocked = true | |
| 750 | block.Value = block.Value - 1 | |
| 751 | print(block.Value) | |
| 752 | end | |
| 753 | if blocked == false then | |
| 754 | h.Health = h.Health - Damage | |
| 755 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 756 | else | |
| 757 | h.Health = h.Health - Damage / 2 | |
| 758 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 759 | end | |
| 760 | if Type == "Knockdown" then | |
| 761 | local hum = hit.Parent.Humanoid | |
| 762 | hum.PlatformStand = true | |
| 763 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 764 | swait(1) | |
| 765 | HHumanoid.PlatformStand = false | |
| 766 | end), hum) | |
| 767 | local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit | |
| 768 | local bodvol = Create("BodyVelocity")({
| |
| 769 | velocity = angle * knockback, | |
| 770 | P = 5000, | |
| 771 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 772 | Parent = hit | |
| 773 | }) | |
| 774 | local rl = Create("BodyAngularVelocity")({
| |
| 775 | P = 3000, | |
| 776 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 777 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 778 | Parent = hit | |
| 779 | }) | |
| 780 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 781 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 782 | elseif Type == "Normal" then | |
| 783 | local vp = Create("BodyVelocity")({
| |
| 784 | P = 500, | |
| 785 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 786 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 787 | }) | |
| 788 | if knockback > 0 then | |
| 789 | vp.Parent = hit.Parent.Torso | |
| 790 | end | |
| 791 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 792 | elseif Type == "Up" then | |
| 793 | local bodyVelocity = Create("BodyVelocity")({
| |
| 794 | velocity = Vector3.new(0, 20, 0), | |
| 795 | P = 5000, | |
| 796 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 797 | Parent = hit | |
| 798 | }) | |
| 799 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 800 | elseif Type == "DarkUp" then | |
| 801 | coroutine.resume(coroutine.create(function() | |
| 802 | for i = 0, 1, 0.1 do | |
| 803 | swait() | |
| 804 | BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
| |
| 805 | end | |
| 806 | end)) | |
| 807 | local bodyVelocity = Create("BodyVelocity")({
| |
| 808 | velocity = Vector3.new(0, 20, 0), | |
| 809 | P = 5000, | |
| 810 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 811 | Parent = hit | |
| 812 | }) | |
| 813 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 814 | elseif Type == "Snare" then | |
| 815 | local bp = Create("BodyPosition")({
| |
| 816 | P = 2000, | |
| 817 | D = 100, | |
| 818 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 819 | position = hit.Parent.Torso.Position, | |
| 820 | Parent = hit.Parent.Torso | |
| 821 | }) | |
| 822 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 823 | elseif Type == "Curse" then | |
| 824 | CreateSound("http://roblox.com/asset/?id=283389706", Torso, 1, 1)
| |
| 825 | for i = 0, 1, 0.025 do | |
| 826 | swait(30) | |
| 827 | SphereEffect(BrickColor.new("Bright violet"), hit.Parent.Torso.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
| |
| 828 | hit.Parent.Humanoid:TakeDamage(1) | |
| 829 | end | |
| 830 | elseif Type == "Freeze" then | |
| 831 | local BodPos = Create("BodyPosition")({
| |
| 832 | P = 50000, | |
| 833 | D = 1000, | |
| 834 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 835 | position = hit.Parent.Torso.Position, | |
| 836 | Parent = hit.Parent.Torso | |
| 837 | }) | |
| 838 | local BodGy = Create("BodyGyro")({
| |
| 839 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
| 840 | P = 20000, | |
| 841 | Parent = hit.Parent.Torso, | |
| 842 | cframe = hit.Parent.Torso.CFrame | |
| 843 | }) | |
| 844 | hit.Parent.Torso.Anchored = true | |
| 845 | coroutine.resume(coroutine.create(function(Part) | |
| 846 | swait(1.5) | |
| 847 | Part.Anchored = false | |
| 848 | end), hit.Parent.Torso) | |
| 849 | game:GetService("Debris"):AddItem(BodPos, 6)
| |
| 850 | game:GetService("Debris"):AddItem(BodGy, 6)
| |
| 851 | end | |
| 852 | local debounce = Create("BoolValue")({
| |
| 853 | Name = "DebounceHit", | |
| 854 | Parent = hit.Parent, | |
| 855 | Value = true | |
| 856 | }) | |
| 857 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 858 | c = Instance.new("ObjectValue")
| |
| 859 | c.Name = "creator" | |
| 860 | c.Value = Player | |
| 861 | c.Parent = h | |
| 862 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 863 | end | |
| 864 | end | |
| 865 | function ShowDamage(Pos, Text, Time, Color) | |
| 866 | local Rate = 0.033333333333333 | |
| 867 | if not Pos then | |
| 868 | local Pos = Vector3.new(0, 0, 0) | |
| 869 | end | |
| 870 | local Text = Text or "" | |
| 871 | local Time = Time or 2 | |
| 872 | if not Color then | |
| 873 | local Color = Color3.new(1, 0, 1) | |
| 874 | end | |
| 875 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 876 | EffectPart.Anchored = true | |
| 877 | local BillboardGui = Create("BillboardGui")({
| |
| 878 | Size = UDim2.new(3, 0, 3, 0), | |
| 879 | Adornee = EffectPart, | |
| 880 | Parent = EffectPart | |
| 881 | }) | |
| 882 | local TextLabel = Create("TextLabel")({
| |
| 883 | BackgroundTransparency = 1, | |
| 884 | Size = UDim2.new(1, 0, 1, 0), | |
| 885 | Text = Text, | |
| 886 | TextColor3 = Color, | |
| 887 | TextScaled = true, | |
| 888 | Font = Enum.Font.ArialBold, | |
| 889 | Parent = BillboardGui | |
| 890 | }) | |
| 891 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 892 | EffectPart.Parent = game:GetService("Workspace")
| |
| 893 | delay(0, function() | |
| 894 | local Frames = Time / Rate | |
| 895 | for Frame = 1, Frames do | |
| 896 | wait(Rate) | |
| 897 | local Percent = Frame / Frames | |
| 898 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 899 | TextLabel.TextTransparency = Percent | |
| 900 | end | |
| 901 | if EffectPart and EffectPart.Parent then | |
| 902 | EffectPart:Destroy() | |
| 903 | end | |
| 904 | end) | |
| 905 | end | |
| 906 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 907 | for _, c in pairs(workspace:children()) do | |
| 908 | local hum = c:findFirstChild("Humanoid")
| |
| 909 | if hum ~= nil then | |
| 910 | local head = c:findFirstChild("Torso")
| |
| 911 | if head ~= nil then | |
| 912 | local targ = head.Position - Part.Position | |
| 913 | local mag = targ.magnitude | |
| 914 | if magni >= mag and c.Name ~= Player.Name then | |
| 915 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=160432334", 1) | |
| 916 | end | |
| 917 | end | |
| 918 | end | |
| 919 | end | |
| 920 | end | |
| 921 | EffectModel = Instance.new("Model", Character)
| |
| 922 | EffectModel.Name = "Effects" | |
| 923 | Effects = {
| |
| 924 | Block = {
| |
| 925 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 926 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 927 | prt.Anchored = true | |
| 928 | prt.CFrame = cframe | |
| 929 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 930 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 931 | if Type == 1 or Type == nil then | |
| 932 | table.insert(Effects, {
| |
| 933 | prt, | |
| 934 | "Block1", | |
| 935 | delay, | |
| 936 | x3, | |
| 937 | y3, | |
| 938 | z3, | |
| 939 | msh | |
| 940 | }) | |
| 941 | elseif Type == 2 then | |
| 942 | table.insert(Effects, {
| |
| 943 | prt, | |
| 944 | "Block2", | |
| 945 | delay, | |
| 946 | x3, | |
| 947 | y3, | |
| 948 | z3, | |
| 949 | msh | |
| 950 | }) | |
| 951 | end | |
| 952 | end | |
| 953 | }, | |
| 954 | Cylinder = {
| |
| 955 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 956 | local prt = CFuncs.Part.Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
| 957 | prt.Anchored = true | |
| 958 | prt.CFrame = cframe | |
| 959 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 960 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 961 | Effects[#Effects + 1] = {
| |
| 962 | prt, | |
| 963 | "Cylinder", | |
| 964 | delay, | |
| 965 | x3, | |
| 966 | y3, | |
| 967 | z3 | |
| 968 | } | |
| 969 | end | |
| 970 | }, | |
| 971 | Sphere = {
| |
| 972 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 973 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 974 | prt.Anchored = true | |
| 975 | prt.CFrame = cframe | |
| 976 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 977 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 978 | table.insert(Effects, {
| |
| 979 | prt, | |
| 980 | "Cylinder", | |
| 981 | delay, | |
| 982 | x3, | |
| 983 | y3, | |
| 984 | z3, | |
| 985 | msh | |
| 986 | }) | |
| 987 | end | |
| 988 | }, | |
| 989 | Ring = {
| |
| 990 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 991 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 992 | prt.Anchored = true | |
| 993 | prt.CFrame = cframe | |
| 994 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 995 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 996 | table.insert(Effects, {
| |
| 997 | prt, | |
| 998 | "Cylinder", | |
| 999 | delay, | |
| 1000 | x3, | |
| 1001 | y3, | |
| 1002 | z3, | |
| 1003 | msh | |
| 1004 | }) | |
| 1005 | end | |
| 1006 | }, | |
| 1007 | Cloud = {
| |
| 1008 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1009 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1010 | prt.Anchored = true | |
| 1011 | prt.CFrame = cframe | |
| 1012 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1013 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1014 | table.insert(Effects, {
| |
| 1015 | prt, | |
| 1016 | "Cylinder", | |
| 1017 | delay, | |
| 1018 | x3, | |
| 1019 | y3, | |
| 1020 | z3, | |
| 1021 | msh | |
| 1022 | }) | |
| 1023 | end | |
| 1024 | }, | |
| 1025 | Wave = {
| |
| 1026 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1027 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1028 | prt.Anchored = true | |
| 1029 | prt.CFrame = cframe | |
| 1030 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1031 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1032 | table.insert(Effects, {
| |
| 1033 | prt, | |
| 1034 | "Cylinder", | |
| 1035 | delay, | |
| 1036 | x3, | |
| 1037 | y3, | |
| 1038 | z3, | |
| 1039 | msh | |
| 1040 | }) | |
| 1041 | end | |
| 1042 | }, | |
| 1043 | Break = {
| |
| 1044 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1045 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1046 | prt.Anchored = true | |
| 1047 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1048 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1049 | local num = math.random(10, 50) / 1000 | |
| 1050 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1051 | table.insert(Effects, {
| |
| 1052 | prt, | |
| 1053 | "Shatter", | |
| 1054 | num, | |
| 1055 | prt.CFrame, | |
| 1056 | math.random() - math.random(), | |
| 1057 | 0, | |
| 1058 | math.random(50, 100) / 100 | |
| 1059 | }) | |
| 1060 | end | |
| 1061 | } | |
| 1062 | } | |
| 1063 | local rev = Instance.new("Sound", Barrel)
| |
| 1064 | rev.Volume = 1 | |
| 1065 | rev.Pitch = 1.2 | |
| 1066 | rev.Looped = false | |
| 1067 | rev.SoundId = "rbxassetid://357820124" | |
| 1068 | rev.MaxDistance = 1000 | |
| 1069 | local spim = Instance.new("Sound", Barrel)
| |
| 1070 | spim.Volume = 1 | |
| 1071 | spim.Pitch = 1 | |
| 1072 | spim.Looped = true | |
| 1073 | spim.SoundId = "rbxassetid://167882734" | |
| 1074 | spim.MaxDistance = 1000 | |
| 1075 | local aiming = false | |
| 1076 | local nu = 0 | |
| 1077 | function Aim() | |
| 1078 | aiming = true | |
| 1079 | attack = true | |
| 1080 | Humanoid.WalkSpeed = 2 | |
| 1081 | Humanoid.JumpPower = 0 | |
| 1082 | for i = 0, 1, 0.1 do | |
| 1083 | swait() | |
| 1084 | PlayAnimationFromTable({
| |
| 1085 | CFrame.new(-0.170424014, -0.0599999093, 0.143827543, 0.0551210083, -0.0140470108, -0.99838084, 0.246923029, 0.969035149, -1.39987253E-6, 0.967466116, -0.246523187, 0.0568827242), | |
| 1086 | CFrame.new(0.0930410028, 1.51390386, -0.186864346, 0.0551210232, 0.246923029, 0.967466354, -0.0140470145, 0.969035149, -0.246523246, -0.998381078, -1.39987253E-6, 0.0568827391), | |
| 1087 | CFrame.new(1.30572438, 0.549293935, -0.623716354, 0.975685954, 0.166035622, 0.143070266, 0.0081961602, 0.624675274, -0.780841708, -0.219019979, 0.76302886, 0.608125925), | |
| 1088 | CFrame.new(-1.06310928, 0.322490007, -1.00624692, 0.881435692, -0.411378503, -0.232031837, -0.0481262654, 0.410489917, -0.910594344, 0.469845623, 0.813797176, 0.3420223), | |
| 1089 | CFrame.new(0.673036039, -2.17349005, 0.0392552316, 0.988193929, -0.10620904, -0.110418722, 0.0839042664, 0.978192925, -0.189996794, 0.12819016, 0.178489059, 0.975555658), | |
| 1090 | CFrame.new(-1.06996655, -1.72934985, -0.00624912977, 0.727204561, 0.246923029, 0.640470624, -0.185302377, 0.969035149, -0.163199365, -0.660936117, -1.39987253E-6, 0.750442147) | |
| 1091 | }, 0.3, false) | |
| 1092 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3) | |
| 1093 | end | |
| 1094 | rev:Play() | |
| 1095 | while aiming do | |
| 1096 | swait() | |
| 1097 | if rev.Playing == false and spim.Playing == false then | |
| 1098 | spim:Play() | |
| 1099 | end | |
| 1100 | if nu < 360 then | |
| 1101 | nu = nu + 20 | |
| 1102 | else | |
| 1103 | nu = 0 | |
| 1104 | end | |
| 1105 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(nu), math.rad(0)), 0.3) | |
| 1106 | end | |
| 1107 | end | |
| 1108 | function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1109 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1110 | prt.Anchored = true | |
| 1111 | prt.CFrame = cframe | |
| 1112 | prt.Material = "Neon" | |
| 1113 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1114 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1115 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1116 | for i = 0, 1, delay do | |
| 1117 | swait() | |
| 1118 | Part.Transparency = i | |
| 1119 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 1120 | end | |
| 1121 | Part.Parent = nil | |
| 1122 | end), prt, msh) | |
| 1123 | end | |
| 1124 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 1125 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1126 | prt.Anchored = true | |
| 1127 | prt.CFrame = cframe | |
| 1128 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1129 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1130 | if Type == 1 or Type == nil then | |
| 1131 | table.insert(Effects, {
| |
| 1132 | prt, | |
| 1133 | "Block1", | |
| 1134 | delay, | |
| 1135 | x3, | |
| 1136 | y3, | |
| 1137 | z3, | |
| 1138 | msh | |
| 1139 | }) | |
| 1140 | elseif Type == 2 then | |
| 1141 | table.insert(Effects, {
| |
| 1142 | prt, | |
| 1143 | "Block2", | |
| 1144 | delay, | |
| 1145 | x3, | |
| 1146 | y3, | |
| 1147 | z3, | |
| 1148 | msh | |
| 1149 | }) | |
| 1150 | end | |
| 1151 | end | |
| 1152 | function shoottraildd(mouse, partt, SpreadAmount) | |
| 1153 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 1154 | local MainPos = partt.Position | |
| 1155 | local MainPos2 = mouse.Hit.p + SpreadVectors | |
| 1156 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 1157 | local speed = 100 | |
| 1158 | local num = 10 | |
| 1159 | coroutine.resume(coroutine.create(function() | |
| 1160 | repeat | |
| 1161 | swait() | |
| 1162 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 1163 | local mag = (MainPos - pos).magnitude | |
| 1164 | Laser(BrickColor.new("Bright yellow"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.25, 0, -0.25, 0.15)
| |
| 1165 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 1166 | num = num - 1 | |
| 1167 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
| 1168 | if hit ~= nil then | |
| 1169 | num = 0 | |
| 1170 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1171 | refpart.Anchored = true | |
| 1172 | refpart.CFrame = CFrame.new(pos) | |
| 1173 | game:GetService("Debris"):AddItem(refpart, 1)
| |
| 1174 | end | |
| 1175 | if num <= 0 then | |
| 1176 | local refpart2 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1177 | refpart2.Anchored = true | |
| 1178 | refpart2.CFrame = CFrame.new(pos) | |
| 1179 | game:GetService("Debris"):AddItem(refpart2, 1)
| |
| 1180 | if hit ~= nil then | |
| 1181 | Effects.Sphere.Create(hit.BrickColor, refpart2.CFrame, 1, 1, 1, 0.5, 0.5, 0.5, 0.05) | |
| 1182 | local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50) | |
| 1183 | local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character) | |
| 1184 | if hit ~= nil then | |
| 1185 | local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1186 | d1.Anchored = true | |
| 1187 | d1.CFrame = CFrame.new(pos) | |
| 1188 | game:GetService("Debris"):AddItem(d1, 5)
| |
| 1189 | local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(50, 5, 50))
| |
| 1190 | local d2 = d1:Clone() | |
| 1191 | d2.Parent = d1 | |
| 1192 | d2.CFrame = CFrame.new(d1.Position) | |
| 1193 | d2.BrickColor = BrickColor.new("Bright yellow")
| |
| 1194 | d2.Mesh.Scale = Vector3.new(0, 5, 0) | |
| 1195 | table.insert(Effects, {
| |
| 1196 | d1, | |
| 1197 | "QuadShot", | |
| 1198 | d2, | |
| 1199 | d2.Mesh, | |
| 1200 | 0 | |
| 1201 | }) | |
| 1202 | end | |
| 1203 | end | |
| 1204 | end | |
| 1205 | until num <= 0 | |
| 1206 | end)) | |
| 1207 | end | |
| 1208 | function IceMortar() | |
| 1209 | local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100) | |
| 1210 | local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Bright yellow"), "Ice", Vector3.new())
| |
| 1211 | icepart1.Anchored = true | |
| 1212 | i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
| |
| 1213 | icepart1.CFrame = dacf | |
| 1214 | local cfinc = 99999 | |
| 1215 | icepart1.Transparency = 1 | |
| 1216 | CFuncs.Sound.Create("rbxassetid://192410089", icepart1, 1, 1)
| |
| 1217 | game:GetService("Debris"):AddItem(icepart1, 1)
| |
| 1218 | local spread = Vector3.new((math.random(-3, 30) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16, (math.random(-3, 3) + math.random()) * 16) * (icepart1.Position - (icepart1.Position + Vector3.new(0, -1, 0))).magnitude / 100 | |
| 1219 | local TheHit = mouse.Hit.p | |
| 1220 | local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread) | |
| 1221 | local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character) | |
| 1222 | local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character) | |
| 1223 | local test1, dist1 = mouse.Hit.p, nil | |
| 1224 | if target1 ~= nil then | |
| 1225 | cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100) | |
| 1226 | local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character) | |
| 1227 | local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
| |
| 1228 | d1.Anchored = true | |
| 1229 | d1.CFrame = cn(pos2) | |
| 1230 | Effects.Sphere.Create(BrickColor.new("White"), Barrel.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
| |
| 1231 | Effects.Cloud.Create(target1.BrickColor, Barrel.CFrame, 2, 1, 2, 0.1, 2, 0.1, 0.03) | |
| 1232 | Effects.Cloud.Create(target1.BrickColor, cn(pos2), 1, 1, 1, math.random(0.7, 1), math.random(1, 3), math.random(0.7, 1), 0.03) | |
| 1233 | Effects.Sphere.Create(BrickColor.new("Bright yellow"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
| |
| 1234 | Effects.Block.Create(BrickColor.new("Bright red"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
| |
| 1235 | Effects.Sphere.Create(BrickColor.new("White"), cn(pos2), 1, 1, 1, 10, 10, 10, 0.07)
| |
| 1236 | Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
| |
| 1237 | game.Debris:AddItem(d1, 0.5) | |
| 1238 | local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50) | |
| 1239 | local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character) | |
| 1240 | if hit ~= nil then | |
| 1241 | local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1242 | d1.Anchored = true | |
| 1243 | d1.CFrame = CFrame.new(pos) | |
| 1244 | game:GetService("Debris"):AddItem(d1, 30)
| |
| 1245 | local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(500, 5, 500))
| |
| 1246 | local d2 = d1:Clone() | |
| 1247 | d2.Parent = d1 | |
| 1248 | d2.CFrame = CFrame.new(d1.Position) | |
| 1249 | d2.BrickColor = BrickColor.new("Bright yellow")
| |
| 1250 | d2.Mesh.Scale = Vector3.new(0, 5, 0) | |
| 1251 | table.insert(Effects, {
| |
| 1252 | d1, | |
| 1253 | "QuadShot2", | |
| 1254 | d2, | |
| 1255 | d2.Mesh, | |
| 1256 | 0 | |
| 1257 | }) | |
| 1258 | end | |
| 1259 | end | |
| 1260 | end | |
| 1261 | function Hee() | |
| 1262 | local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100) | |
| 1263 | local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Bright yellow"), "Ice", Vector3.new())
| |
| 1264 | icepart1.Anchored = true | |
| 1265 | i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
| |
| 1266 | icepart1.CFrame = dacf | |
| 1267 | local cfinc = 99999 | |
| 1268 | icepart1.Transparency = 1 | |
| 1269 | CFuncs.Sound.Create("rbxassetid://151130059", icepart1, 1, math.random(1, 3))
| |
| 1270 | game:GetService("Debris"):AddItem(icepart1, 1)
| |
| 1271 | local spread = Vector3.new((math.random(-30, 30) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16, (math.random(-30, 30) + math.random()) * 16) * (icepart1.Position - (icepart1.Position + Vector3.new(0, -1, 0))).magnitude / 100 | |
| 1272 | local TheHit = mouse.Hit.p | |
| 1273 | local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread) | |
| 1274 | local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character) | |
| 1275 | local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character) | |
| 1276 | local test1, dist1 = mouse.Hit.p, nil | |
| 1277 | if target1 ~= nil then | |
| 1278 | cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100) | |
| 1279 | local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character) | |
| 1280 | local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
| |
| 1281 | d1.Anchored = true | |
| 1282 | d1.CFrame = cn(pos2) | |
| 1283 | MagniDamage(d1, 8, 3, 5, 0, "Normal") | |
| 1284 | Effects.Sphere.Create(target1.BrickColor, cn(pos2), 1, 1, 1, 4, 4, 4, 0.07) | |
| 1285 | Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
| |
| 1286 | game.Debris:AddItem(d1, 0.5) | |
| 1287 | end | |
| 1288 | local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50) | |
| 1289 | local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character) | |
| 1290 | if hit ~= nil then | |
| 1291 | local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1292 | d1.Anchored = true | |
| 1293 | d1.CFrame = CFrame.new(pos) | |
| 1294 | game:GetService("Debris"):AddItem(d1, 5)
| |
| 1295 | local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(50, 5, 50))
| |
| 1296 | local d2 = d1:Clone() | |
| 1297 | d2.Parent = d1 | |
| 1298 | d2.CFrame = CFrame.new(d1.Position) | |
| 1299 | d2.BrickColor = BrickColor.new("Bright yellow")
| |
| 1300 | d2.Mesh.Scale = Vector3.new(0, 5, 0) | |
| 1301 | table.insert(Effects, {
| |
| 1302 | d1, | |
| 1303 | "QuadShot", | |
| 1304 | d2, | |
| 1305 | d2.Mesh, | |
| 1306 | 0 | |
| 1307 | }) | |
| 1308 | end | |
| 1309 | end | |
| 1310 | local soe = Instance.new("Sound", Barrel)
| |
| 1311 | soe.Volume = 1 | |
| 1312 | soe.Pitch = 1 | |
| 1313 | soe.Looped = true | |
| 1314 | soe.SoundId = "rbxassetid://341294387" | |
| 1315 | soe.MaxDistance = 1000 | |
| 1316 | local shoot = false | |
| 1317 | local hot = false | |
| 1318 | function fire() | |
| 1319 | hot = true | |
| 1320 | shoot = true | |
| 1321 | while shoot do | |
| 1322 | while shoot do | |
| 1323 | if shoot == true then | |
| 1324 | swait() | |
| 1325 | for i = 0, 1, 0.5 do | |
| 1326 | swait() | |
| 1327 | PlayAnimationFromTable({
| |
| 1328 | CFrame.new(-0.167053476, -0.0588135049, 0.140983686, 0.0654093325, -0.00924067106, -0.997815728, 0.156799912, 0.987629831, 0.0011322886, 0.98546207, -0.156531483, 0.0660491288), | |
| 1329 | CFrame.new(-0.0409736931, 1.51582134, -0.183162034, 0.0654088631, 0.156799927, 0.985462129, -0.00924065989, 0.987629771, -0.156531498, -0.997815788, 0.00113223272, 0.066048637), | |
| 1330 | CFrame.new(1.5242641, 0.608132184, -0.624453306, 0.972154856, 0.108696721, 0.207605079, 0.0937597305, 0.631499469, -0.769686759, -0.214764893, 0.767719507, 0.603723884), | |
| 1331 | CFrame.new(-0.819477558, 0.188001126, -1.01326716, 0.882124126, -0.447403371, -0.147265807, 0.0331753343, 0.370894492, -0.928082407, 0.469847202, 0.813798189, 0.34201774), | |
| 1332 | CFrame.new(0.856069803, -2.10349417, 0.0384711921, 0.977712274, -0.18880485, -0.0918231755, 0.168287143, 0.96627003, -0.194940567, 0.125531688, 0.175143108, 0.976507366), | |
| 1333 | CFrame.new(-0.637022972, -1.86262906, -0.0132773817, 0.75052321, 0.156917602, 0.641943574, -0.118095078, 0.987610161, -0.103342898, -0.650206387, 0.00175085466, 0.759755611) | |
| 1334 | }, 0.3, false) | |
| 1335 | end | |
| 1336 | if cooldown1 >= 4 then | |
| 1337 | soe:Play() | |
| 1338 | cooldown1 = cooldown1 - 2 | |
| 1339 | shoottraildd(mouse, Barrel, 3) | |
| 1340 | else | |
| 1341 | soe:Stop() | |
| 1342 | CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
| |
| 1343 | end | |
| 1344 | end | |
| 1345 | end | |
| 1346 | soe:Stop() | |
| 1347 | CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
| |
| 1348 | end | |
| 1349 | hot = false | |
| 1350 | end | |
| 1351 | function baka() | |
| 1352 | Humanoid.WalkSpeed = 2 | |
| 1353 | Humanoid.JumpPower = 0 | |
| 1354 | attack = true | |
| 1355 | for i = 0, 1, 0.5 do | |
| 1356 | swait() | |
| 1357 | PlayAnimationFromTable({
| |
| 1358 | CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475), | |
| 1359 | CFrame.new(-0.0221787691, 1.45965314, -0.112358943, 0.595528305, -0.284922779, 0.751109242, 0.114603601, 0.955558896, 0.271612644, -0.795117676, -0.0756731778, 0.601715565), | |
| 1360 | CFrame.new(1.10635591, 0.859423637, -0.981054425, 0.608006597, 0.255645812, 0.751646996, 0.66461128, 0.354005992, -0.658005834, -0.434303999, 0.899625063, 0.0453328565), | |
| 1361 | CFrame.new(-1.15179741, 0.192107677, -0.658762455, 0.950540423, -0.300884187, 0.077081807, 0.186789155, 0.355474651, -0.915831685, 0.248158604, 0.884933174, 0.394094855), | |
| 1362 | CFrame.new(0.568166018, -1.92436779, -0.615063548, 0.522848248, -0.20566088, 0.827244461, 0.0774576887, 0.977906942, 0.194160998, -0.848899424, -0.0374402776, 0.527226925), | |
| 1363 | CFrame.new(-0.588464379, -2.00466871, -0.160800442, 0.795416594, 0.0259660054, 0.605506659, 0.123992123, 0.970977783, -0.204519317, -0.593244076, 0.237756103, 0.769112289) | |
| 1364 | }, 0.4, false) | |
| 1365 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3) | |
| 1366 | end | |
| 1367 | for i = 0, 1, 0.5 do | |
| 1368 | swait() | |
| 1369 | PlayAnimationFromTable({
| |
| 1370 | CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475), | |
| 1371 | CFrame.new(-0.0221787691, 1.45965314, -0.112358943, 0.595528305, -0.284922779, 0.751109242, 0.114603601, 0.955558896, 0.271612644, -0.795117676, -0.0756731778, 0.601715565), | |
| 1372 | CFrame.new(1.10635591, 0.859423637, -0.981054425, 0.608006597, 0.255645812, 0.751646996, 0.66461128, 0.354005992, -0.658005834, -0.434303999, 0.899625063, 0.0453328565), | |
| 1373 | CFrame.new(-1.15179741, 0.192107677, -0.658762455, 0.950540423, -0.300884187, 0.077081807, 0.186789155, 0.355474651, -0.915831685, 0.248158604, 0.884933174, 0.394094855), | |
| 1374 | CFrame.new(0.568166018, -1.92436779, -0.615063548, 0.522848248, -0.20566088, 0.827244461, 0.0774576887, 0.977906942, 0.194160998, -0.848899424, -0.0374402776, 0.527226925), | |
| 1375 | CFrame.new(-0.588464379, -2.00466871, -0.160800442, 0.795416594, 0.0259660054, 0.605506659, 0.123992123, 0.970977783, -0.204519317, -0.593244076, 0.237756103, 0.769112289) | |
| 1376 | }, 0.4, false) | |
| 1377 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3) | |
| 1378 | end | |
| 1379 | IceMortar() | |
| 1380 | for i = 0, 1, 0.5 do | |
| 1381 | swait() | |
| 1382 | PlayAnimationFromTable({
| |
| 1383 | CFrame.new(0, 0, 0, -0.335253149, 0.328955054, -0.882832885, 0.107930049, 0.944303334, 0.310873568, 0.935925424, 0.00893715583, -0.352084786), | |
| 1384 | CFrame.new(-0.00419440866, 1.463902, 0.0260094106, 0.372635633, -0.266420603, 0.888911009, 0.176304489, 0.960780025, 0.214053184, -0.91107595, 0.0769551396, 0.404991925), | |
| 1385 | CFrame.new(1.16062069, 1.21589506, -1.1315105, 0.461470664, 0.408944249, 0.787279725, 0.759406447, 0.276684046, -0.588853061, -0.458635807, 0.869603693, -0.182873294), | |
| 1386 | CFrame.new(-1.1017859, 0.105088279, -0.580041945, 0.871761322, -0.489363998, -0.0235606134, 0.251738638, 0.48867017, -0.83536166, 0.420309335, 0.722304821, 0.549195588), | |
| 1387 | CFrame.new(0.356478155, -1.8632127, -0.897590756, 0.318082392, -0.179918393, 0.930834651, 0.152005479, 0.978804231, 0.137247398, -0.935798109, 0.0978359506, 0.33868891), | |
| 1388 | CFrame.new(-0.668343425, -1.97596669, -0.199289501, 0.642908812, 0.107930049, 0.758300424, 0.172217295, 0.944303334, -0.280414909, -0.746330738, 0.310873568, 0.588513494) | |
| 1389 | }, 0.3, false) | |
| 1390 | end | |
| 1391 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3) | |
| 1392 | Humanoid.WalkSpeed = 14 | |
| 1393 | Humanoid.JumpPower = 50 | |
| 1394 | attack = false | |
| 1395 | end | |
| 1396 | function bulletrain() | |
| 1397 | attack = true | |
| 1398 | shoot = true | |
| 1399 | Humanoid.WalkSpeed = 2 | |
| 1400 | Humanoid.JumpPower = 0 | |
| 1401 | for i = 0, 1, 0.5 do | |
| 1402 | swait() | |
| 1403 | PlayAnimationFromTable({
| |
| 1404 | CFrame.new(-8.64267349E-7, -0.259999782, 0.509999871, 0.454838723, 0.207662866, -0.866024196, -0.415319771, 0.909675479, 2.65391373E-6, 0.787801504, 0.359675765, 0.500002146), | |
| 1405 | CFrame.new(0.047690846, 1.37390435, -0.00346283242, 0.454838723, 0.0202630162, 0.890343308, 0.207662866, 0.969769061, -0.128156841, -0.866024196, 0.243181929, 0.436880678), | |
| 1406 | CFrame.new(1.1759336, -0.214563698, -0.518012762, 0.694960654, 0.00311025977, -0.719041109, -0.715354204, -0.0982373655, -0.691822171, -0.0727884769, 0.995158195, -0.0660461485), | |
| 1407 | CFrame.new(-0.00660583377, 0.722521007, -1.36138439, 0.0264981389, -0.398905575, 0.916609168, 0.381749183, -0.843399405, -0.378080904, 0.92388618, 0.359933168, 0.129933342), | |
| 1408 | CFrame.new(0.993886769, -1.80155158, 0.41332227, 0.946233869, -0.168109909, -0.276370257, 0.32347101, 0.484278023, 0.812921524, -0.00282013416, -0.858611643, 0.512618959), | |
| 1409 | CFrame.new(-0.795712531, -2.27605748, -0.675008774, 0.968845665, 0.247665286, -6.2584877E-7, -0.247665256, 0.968845665, -3.36766243E-6, -2.08616257E-7, 3.39746475E-6, 1) | |
| 1410 | }, 0.3, false) | |
| 1411 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3) | |
| 1412 | end | |
| 1413 | soe:Play() | |
| 1414 | for i = 1, 5 do | |
| 1415 | for i = 0, 1, 0.5 do | |
| 1416 | swait() | |
| 1417 | PlayAnimationFromTable({
| |
| 1418 | CFrame.new(-8.64267349E-7, -0.259999782, 0.509999871, 0.454838723, 0.207662866, -0.866024196, -0.415319771, 0.909675479, 2.65391373E-6, 0.787801504, 0.359675765, 0.500002146), | |
| 1419 | CFrame.new(0.047690846, 1.37390435, -0.00346283242, 0.454838723, 0.0202630162, 0.890343308, 0.207662866, 0.969769061, -0.128156841, -0.866024196, 0.243181929, 0.436880678), | |
| 1420 | CFrame.new(1.1759336, -0.214563698, -0.518012762, 0.694960654, 0.00311025977, -0.719041109, -0.715354204, -0.0982373655, -0.691822171, -0.0727884769, 0.995158195, -0.0660461485), | |
| 1421 | CFrame.new(-0.00660583377, 0.722521007, -1.36138439, 0.0264981389, -0.398905575, 0.916609168, 0.381749183, -0.843399405, -0.378080904, 0.92388618, 0.359933168, 0.129933342), | |
| 1422 | CFrame.new(0.993886769, -1.80155158, 0.41332227, 0.946233869, -0.168109909, -0.276370257, 0.32347101, 0.484278023, 0.812921524, -0.00282013416, -0.858611643, 0.512618959), | |
| 1423 | CFrame.new(-0.795712531, -2.27605748, -0.675008774, 0.968845665, 0.247665286, -6.2584877E-7, -0.247665256, 0.968845665, -3.36766243E-6, -2.08616257E-7, 3.39746475E-6, 1) | |
| 1424 | }, 0.3, false) | |
| 1425 | end | |
| 1426 | Effects.Ring.Create(BrickColor.new("Bright yellow"), Barrel.CFrame, 0.05, 9999, 0.05, 0.5, 10, 0.5, 0.07)
| |
| 1427 | coroutine.resume(coroutine.create(function() | |
| 1428 | for i = 0, 3 do | |
| 1429 | swait() | |
| 1430 | Hee() | |
| 1431 | end | |
| 1432 | end)) | |
| 1433 | for i = 0, 1, 0.5 do | |
| 1434 | swait() | |
| 1435 | PlayAnimationFromTable({
| |
| 1436 | CFrame.new(-4.02331352E-7, -0.429999679, 0.509999633, 0.454838723, 0.207662866, -0.866024196, -0.415319771, 0.909675479, 2.65391373E-6, 0.787801504, 0.359675765, 0.500002146), | |
| 1437 | CFrame.new(-0.0229135007, 1.52854931, -0.00346241146, 0.454838723, 0.0202630162, 0.890343308, 0.207662866, 0.969769061, -0.128156841, -0.866024196, 0.243181929, 0.436880678), | |
| 1438 | CFrame.new(1.34206092, -0.578433394, -0.518014491, 0.694960654, 0.00311025977, -0.719041109, -0.715354204, -0.0982373655, -0.691822171, -0.0727884769, 0.995158195, -0.0660461485), | |
| 1439 | CFrame.new(0.159522176, 0.358650804, -1.36138511, 0.0264981389, -0.398905575, 0.916609168, 0.381749183, -0.843399405, -0.378080904, 0.92388618, 0.359933168, 0.129933342), | |
| 1440 | CFrame.new(0.923282862, -1.64690685, 0.413322628, 0.946233869, -0.168109909, -0.276370257, 0.32347101, 0.484278023, 0.812921524, -0.00282013416, -0.858611643, 0.512618959), | |
| 1441 | CFrame.new(-0.866316676, -2.12141252, -0.675008297, 0.968845665, 0.247665286, -6.2584877E-7, -0.247665256, 0.968845665, -3.36766243E-6, -2.08616257E-7, 3.39746475E-6, 1) | |
| 1442 | }, 0.3, false) | |
| 1443 | end | |
| 1444 | end | |
| 1445 | Humanoid.WalkSpeed = 16 | |
| 1446 | Humanoid.JumpPower = 50 | |
| 1447 | shoot = false | |
| 1448 | attack = false | |
| 1449 | end | |
| 1450 | function reload() | |
| 1451 | attack = true | |
| 1452 | CFuncs.Sound.Create("rbxassetid://476967191", Torso, 1, 1)
| |
| 1453 | Humanoid.WalkSpeed = 0 | |
| 1454 | Humanoid.JumpPower = 0 | |
| 1455 | for i = 0, 1, 0.1 do | |
| 1456 | swait() | |
| 1457 | PlayAnimationFromTable({
| |
| 1458 | CFrame.new(1.8440187E-7, -0.139999658, 4.09781933E-8, 0.961201906, -0.10690318, -0.254288644, 0.21934697, 0.855199099, 0.469597191, 0.167265981, -0.50715512, 0.845467865), | |
| 1459 | CFrame.new(0.118516162, 1.58659482, -0.219019189, 0.961201906, 0.0477932617, 0.271674097, -0.10690318, 0.972449541, 0.20715633, -0.254288644, -0.228161901, 0.939829588), | |
| 1460 | CFrame.new(1.68424237, 0.748442292, -0.706012189, 0.99522835, -0.0820493251, -0.052807644, -0.0259959921, 0.298680395, -0.953999102, 0.094047606, 0.950819731, 0.295122236), | |
| 1461 | CFrame.new(-1.00540316, -0.0433585942, -1.04679382, 0.889593422, -0.412790358, -0.195519671, -0.0179834068, 0.396077901, -0.918040872, 0.456399381, 0.820199132, 0.344924867), | |
| 1462 | CFrame.new(0.077872172, -1.66495073, -0.965118527, 0.971758127, 0.128417134, 0.197978109, -0.14856942, 0.984753489, 0.0904862583, -0.18333964, -0.11734429, 0.976021051), | |
| 1463 | CFrame.new(-0.952379167, -2.22908545, -0.0740788579, 0.971758127, -0.0780466571, 0.222699374, -0.14856942, 0.530862331, 0.834333539, -0.18333964, -0.843856633, 0.504274428) | |
| 1464 | }, 0.3, false) | |
| 1465 | end | |
| 1466 | for i = 0, 1, 0.3 do | |
| 1467 | swait() | |
| 1468 | PlayAnimationFromTable({
| |
| 1469 | CFrame.new(1.24797225E-7, -0.139999777, -1.2293458E-7, 0.912073672, -0.106903367, -0.395845294, 0.287424922, 0.855198979, 0.431302249, 0.292418867, -0.50715518, 0.810731053), | |
| 1470 | CFrame.new(0.0842576772, 1.58659482, -0.234341949, 0.912073672, 0.0129638165, 0.409821719, -0.106903367, 0.972449541, 0.207156241, -0.395845294, -0.232753009, 0.888331294), | |
| 1471 | CFrame.new(1.559021, 0.748442054, -0.951093793, 0.998059869, 0.0617666095, -0.00785881281, -0.0259962082, 0.298680305, -0.953999102, -0.0565779954, 0.952352405, 0.299706489), | |
| 1472 | CFrame.new(-1.58909011, 0.00795590132, -0.693813384, 0.872956932, 0.466834873, -0.141462982, -0.292127311, 0.268072933, -0.918040633, -0.390650928, 0.842735052, 0.370391279), | |
| 1473 | CFrame.new(-0.0680454671, -1.66495061, -0.965861261, 0.933171809, 0.109325245, 0.342401206, -0.148569614, 0.98475343, 0.0904861391, -0.3272883, -0.135309517, 0.935186505), | |
| 1474 | CFrame.new(-0.952697039, -2.22908521, 0.069880724, 0.933171809, -0.203970551, 0.295950353, -0.148569614, 0.530862331, 0.83433342, -0.3272883, -0.822545528, 0.46508193) | |
| 1475 | }, 0.3, false) | |
| 1476 | end | |
| 1477 | CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
| |
| 1478 | for i = 0, 1, 0.3 do | |
| 1479 | swait() | |
| 1480 | PlayAnimationFromTable({
| |
| 1481 | CFrame.new(1.24797225E-7, -0.139999777, -1.2293458E-7, 0.912073672, -0.106903367, -0.395845294, 0.287424922, 0.855198979, 0.431302249, 0.292418867, -0.50715518, 0.810731053), | |
| 1482 | CFrame.new(0.0842583403, 1.5865947, -0.234342203, 0.996350586, 0.0129648447, 0.0843672305, -0.0322037786, 0.972449422, 0.2308788, -0.0790495872, -0.232753068, 0.969317853), | |
| 1483 | CFrame.new(1.559021, 0.748442054, -0.951093793, 0.998059869, 0.0617666095, -0.00785881281, -0.0259962082, 0.298680305, -0.953999102, -0.0565779954, 0.952352405, 0.299706489), | |
| 1484 | CFrame.new(-0.412511081, -0.129949987, -1.20445538, 0.850484729, -0.506620288, -0.141463727, 0.0787711143, 0.388581336, -0.918041229, 0.520068347, 0.769636631, 0.370389462), | |
| 1485 | CFrame.new(-0.0680454671, -1.66495061, -0.965861261, 0.933171809, 0.109325245, 0.342401206, -0.148569614, 0.98475343, 0.0904861391, -0.3272883, -0.135309517, 0.935186505), | |
| 1486 | CFrame.new(-0.952697039, -2.22908521, 0.069880724, 0.933171809, -0.203970551, 0.295950353, -0.148569614, 0.530862331, 0.83433342, -0.3272883, -0.822545528, 0.46508193) | |
| 1487 | }, 0.3, false) | |
| 1488 | end | |
| 1489 | CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
| |
| 1490 | for i = 0, 1, 0.1 do | |
| 1491 | swait() | |
| 1492 | PlayAnimationFromTable({
| |
| 1493 | CFrame.new(1.24797225E-7, -0.139999777, -1.2293458E-7, 0.912073672, -0.106903367, -0.395845294, 0.287424922, 0.855198979, 0.431302249, 0.292418867, -0.50715518, 0.810731053), | |
| 1494 | CFrame.new(0.0842583403, 1.5865947, -0.234342203, 0.996350586, 0.0129648447, 0.0843672305, -0.0322037786, 0.972449422, 0.2308788, -0.0790495872, -0.232753068, 0.969317853), | |
| 1495 | CFrame.new(1.559021, 0.748442054, -0.951093793, 0.998059869, 0.0617666095, -0.00785881281, -0.0259962082, 0.298680305, -0.953999102, -0.0565779954, 0.952352405, 0.299706489), | |
| 1496 | CFrame.new(-1.23337948, -0.0337366089, -0.848193765, 0.985941291, 0.0889243782, -0.141466275, -0.164270043, 0.360854447, -0.91804111, -0.0305874944, 0.928373039, 0.370388746), | |
| 1497 | CFrame.new(-0.0680454671, -1.66495061, -0.965861261, 0.933171809, 0.109325245, 0.342401206, -0.148569614, 0.98475343, 0.0904861391, -0.3272883, -0.135309517, 0.935186505), | |
| 1498 | CFrame.new(-0.952697039, -2.22908521, 0.069880724, 0.933171809, -0.203970551, 0.295950353, -0.148569614, 0.530862331, 0.83433342, -0.3272883, -0.822545528, 0.46508193) | |
| 1499 | }, 0.3, false) | |
| 1500 | end | |
| 1501 | for i = 0, 1, 0.1 do | |
| 1502 | swait() | |
| 1503 | PlayAnimationFromTable({
| |
| 1504 | CFrame.new(2.75671482E-7, -0.139999509, 4.84287739E-8, 0.93023777, -0.149679706, -0.335043013, 0.266118944, 0.903822243, 0.335091412, 0.252662927, -0.400875956, 0.880602121), | |
| 1505 | CFrame.new(0.146082789, 1.46556664, -0.249146447, 0.999015331, 0.0302448869, 0.0324646235, -0.0357455313, 0.982079625, 0.185046405, -0.0262861252, -0.186024636, 0.98219353), | |
| 1506 | CFrame.new(1.60341132, 0.634059429, -0.960381627, 0.999630213, 0.0153988302, -0.0224183053, -0.0267876983, 0.414896607, -0.909474254, -0.00470355153, 0.909738421, 0.415155649), | |
| 1507 | CFrame.new(-1.27817965, 0.483237952, -0.584308505, 0.9862625, -0.0390861779, -0.1604954, -0.16083923, -0.0057964623, -0.986963689, 0.0376463234, 0.999219179, -0.012003392), | |
| 1508 | CFrame.new(-0.0210132897, -1.77229953, -0.753718495, 0.947978377, 0.115773275, 0.296536177, -0.182390139, 0.960999489, 0.207879633, -0.260904163, -0.251150727, 0.932122588), | |
| 1509 | CFrame.new(-0.954967141, -2.2089045, 0.30019033, 0.947978377, -0.163744882, 0.272992253, -0.182390139, 0.423467815, 0.887360692, -0.260904163, -0.890989721, 0.371572882) | |
| 1510 | }, 0.3, false) | |
| 1511 | end | |
| 1512 | for i = 0, 1, 0.3 do | |
| 1513 | swait() | |
| 1514 | PlayAnimationFromTable({
| |
| 1515 | CFrame.new(-7.69272447E-7, -0.140000135, -3.46451998E-7, 0.782381177, -0.149679378, -0.60454601, 0.356171101, 0.903822064, 0.23716639, 0.51090312, -0.400876313, 0.760444701), | |
| 1516 | CFrame.new(0.06250453, 1.46556664, -0.281969577, 0.942660391, -0.0283489227, 0.332547724, -0.0357453376, 0.982079625, 0.185045928, -0.331834137, -0.186322451, 0.924754024), | |
| 1517 | CFrame.new(1.1519953, 0.518530607, -1.48000467, 0.949874043, 0.29405424, 0.106168121, -0.0267875418, 0.414896131, -0.909474373, -0.311483502, 0.861042023, 0.40197596), | |
| 1518 | CFrame.new(-1.31573653, 0.564093769, -1.05578232, 0.985590637, -0.064363122, -0.156425014, -0.153479308, 0.0484448671, -0.986963749, 0.0711020529, 0.996749997, 0.0378683656), | |
| 1519 | CFrame.new(-0.251480341, -1.77229917, -0.710838974, 0.822034001, 0.0330443978, 0.568479002, -0.18238984, 0.960999548, 0.207879215, -0.539438784, -0.274568528, 0.796001196), | |
| 1520 | CFrame.new(-0.816619396, -2.20890474, 0.578971326, 0.822034001, -0.429472685, 0.373916447, -0.18238984, 0.423468202, 0.887360513, -0.539438784, -0.797638893, 0.269773781) | |
| 1521 | }, 0.3, false) | |
| 1522 | end | |
| 1523 | CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
| |
| 1524 | for i = 0, 1, 0.3 do | |
| 1525 | swait() | |
| 1526 | PlayAnimationFromTable({
| |
| 1527 | CFrame.new(8.6799264E-7, -0.139999613, 2.19792128E-7, 0.972940207, -0.00549634127, -0.230991706, 0.0912460238, 0.927601039, 0.362257659, 0.21227704, -0.373532087, 0.903001845), | |
| 1528 | CFrame.new(-0.0466574468, 1.474949, -0.231621325, 0.990165234, -0.0956909955, -0.102060065, 0.112293385, 0.978708446, 0.171814561, 0.0834459513, -0.181585401, 0.979828417), | |
| 1529 | CFrame.new(1.66388702, 0.579190969, -0.444770992, 0.987100601, -0.14505294, 0.0677664801, 0.120891877, 0.397787958, -0.90947789, 0.104965746, 0.905938506, 0.41019243), | |
| 1530 | CFrame.new(-1.6625241, 0.839273512, -0.0717586502, 0.9169752, 0.398815453, -0.0101394355, 0.00248540938, -0.0311260223, -0.999512553, -0.398936599, 0.916502833, -0.0295330286), | |
| 1531 | CFrame.new(0.323853761, -1.74355471, -0.751475215, 0.98718667, -0.00142863393, 0.159563616, -0.036436528, 0.971523821, 0.234123647, -0.155354321, -0.236937672, 0.959023356), | |
| 1532 | CFrame.new(-0.643794179, -2.33010077, 0.193637908, 0.98718667, -0.127094775, 0.0964857638, -0.036436528, 0.409146309, 0.911741078, -0.155354321, -0.903574109, 0.399272919) | |
| 1533 | }, 0.3, false) | |
| 1534 | end | |
| 1535 | for i = 0, 1, 0.3 do | |
| 1536 | swait() | |
| 1537 | PlayAnimationFromTable({
| |
| 1538 | CFrame.new(-7.69272447E-7, -0.140000135, -3.46451998E-7, 0.782381177, -0.149679378, -0.60454601, 0.356171101, 0.903822064, 0.23716639, 0.51090312, -0.400876313, 0.760444701), | |
| 1539 | CFrame.new(0.06250453, 1.46556664, -0.281969577, 0.942660391, -0.0283489227, 0.332547724, -0.0357453376, 0.982079625, 0.185045928, -0.331834137, -0.186322451, 0.924754024), | |
| 1540 | CFrame.new(1.1519953, 0.518530607, -1.48000467, 0.949874043, 0.29405424, 0.106168121, -0.0267875418, 0.414896131, -0.909474373, -0.311483502, 0.861042023, 0.40197596), | |
| 1541 | CFrame.new(-1.31573653, 0.564093769, -1.05578232, 0.985590637, -0.064363122, -0.156425014, -0.153479308, 0.0484448671, -0.986963749, 0.0711020529, 0.996749997, 0.0378683656), | |
| 1542 | CFrame.new(-0.251480341, -1.77229917, -0.710838974, 0.822034001, 0.0330443978, 0.568479002, -0.18238984, 0.960999548, 0.207879215, -0.539438784, -0.274568528, 0.796001196), | |
| 1543 | CFrame.new(-0.816619396, -2.20890474, 0.578971326, 0.822034001, -0.429472685, 0.373916447, -0.18238984, 0.423468202, 0.887360513, -0.539438784, -0.797638893, 0.269773781) | |
| 1544 | }, 0.3, false) | |
| 1545 | end | |
| 1546 | CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
| |
| 1547 | for i = 0, 1, 0.3 do | |
| 1548 | swait() | |
| 1549 | PlayAnimationFromTable({
| |
| 1550 | CFrame.new(8.6799264E-7, -0.139999613, 2.19792128E-7, 0.972940207, -0.00549634127, -0.230991706, 0.0912460238, 0.927601039, 0.362257659, 0.21227704, -0.373532087, 0.903001845), | |
| 1551 | CFrame.new(-0.0466574468, 1.474949, -0.231621325, 0.990165234, -0.0956909955, -0.102060065, 0.112293385, 0.978708446, 0.171814561, 0.0834459513, -0.181585401, 0.979828417), | |
| 1552 | CFrame.new(1.66388702, 0.579190969, -0.444770992, 0.987100601, -0.14505294, 0.0677664801, 0.120891877, 0.397787958, -0.90947789, 0.104965746, 0.905938506, 0.41019243), | |
| 1553 | CFrame.new(-1.6625241, 0.839273512, -0.0717586502, 0.9169752, 0.398815453, -0.0101394355, 0.00248540938, -0.0311260223, -0.999512553, -0.398936599, 0.916502833, -0.0295330286), | |
| 1554 | CFrame.new(0.323853761, -1.74355471, -0.751475215, 0.98718667, -0.00142863393, 0.159563616, -0.036436528, 0.971523821, 0.234123647, -0.155354321, -0.236937672, 0.959023356), | |
| 1555 | CFrame.new(-0.643794179, -2.33010077, 0.193637908, 0.98718667, -0.127094775, 0.0964857638, -0.036436528, 0.409146309, 0.911741078, -0.155354321, -0.903574109, 0.399272919) | |
| 1556 | }, 0.3, false) | |
| 1557 | end | |
| 1558 | for i = 0, 1, 0.3 do | |
| 1559 | swait() | |
| 1560 | PlayAnimationFromTable({
| |
| 1561 | CFrame.new(-7.69272447E-7, -0.140000135, -3.46451998E-7, 0.782381177, -0.149679378, -0.60454601, 0.356171101, 0.903822064, 0.23716639, 0.51090312, -0.400876313, 0.760444701), | |
| 1562 | CFrame.new(0.06250453, 1.46556664, -0.281969577, 0.942660391, -0.0283489227, 0.332547724, -0.0357453376, 0.982079625, 0.185045928, -0.331834137, -0.186322451, 0.924754024), | |
| 1563 | CFrame.new(1.1519953, 0.518530607, -1.48000467, 0.949874043, 0.29405424, 0.106168121, -0.0267875418, 0.414896131, -0.909474373, -0.311483502, 0.861042023, 0.40197596), | |
| 1564 | CFrame.new(-1.31573653, 0.564093769, -1.05578232, 0.985590637, -0.064363122, -0.156425014, -0.153479308, 0.0484448671, -0.986963749, 0.0711020529, 0.996749997, 0.0378683656), | |
| 1565 | CFrame.new(-0.251480341, -1.77229917, -0.710838974, 0.822034001, 0.0330443978, 0.568479002, -0.18238984, 0.960999548, 0.207879215, -0.539438784, -0.274568528, 0.796001196), | |
| 1566 | CFrame.new(-0.816619396, -2.20890474, 0.578971326, 0.822034001, -0.429472685, 0.373916447, -0.18238984, 0.423468202, 0.887360513, -0.539438784, -0.797638893, 0.269773781) | |
| 1567 | }, 0.3, false) | |
| 1568 | end | |
| 1569 | CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
| |
| 1570 | for i = 0, 1, 0.3 do | |
| 1571 | swait() | |
| 1572 | PlayAnimationFromTable({
| |
| 1573 | CFrame.new(8.6799264E-7, -0.139999613, 2.19792128E-7, 0.972940207, -0.00549634127, -0.230991706, 0.0912460238, 0.927601039, 0.362257659, 0.21227704, -0.373532087, 0.903001845), | |
| 1574 | CFrame.new(-0.0466574468, 1.474949, -0.231621325, 0.990165234, -0.0956909955, -0.102060065, 0.112293385, 0.978708446, 0.171814561, 0.0834459513, -0.181585401, 0.979828417), | |
| 1575 | CFrame.new(1.66388702, 0.579190969, -0.444770992, 0.987100601, -0.14505294, 0.0677664801, 0.120891877, 0.397787958, -0.90947789, 0.104965746, 0.905938506, 0.41019243), | |
| 1576 | CFrame.new(-1.6625241, 0.839273512, -0.0717586502, 0.9169752, 0.398815453, -0.0101394355, 0.00248540938, -0.0311260223, -0.999512553, -0.398936599, 0.916502833, -0.0295330286), | |
| 1577 | CFrame.new(0.323853761, -1.74355471, -0.751475215, 0.98718667, -0.00142863393, 0.159563616, -0.036436528, 0.971523821, 0.234123647, -0.155354321, -0.236937672, 0.959023356), | |
| 1578 | CFrame.new(-0.643794179, -2.33010077, 0.193637908, 0.98718667, -0.127094775, 0.0964857638, -0.036436528, 0.409146309, 0.911741078, -0.155354321, -0.903574109, 0.399272919) | |
| 1579 | }, 0.3, false) | |
| 1580 | end | |
| 1581 | CFuncs.Sound.Create("rbxassetid://357820124", Torso, 1, 1)
| |
| 1582 | cooldown1 = 200 | |
| 1583 | for i = 0, 1, 0.1 do | |
| 1584 | swait() | |
| 1585 | PlayAnimationFromTable({
| |
| 1586 | CFrame.new(8.63336027E-7, -0.139999524, 2.11410224E-7, 0.972940207, -0.0703168139, -0.220097557, 0.0912460238, 0.992072761, 0.0864050239, 0.21227704, -0.104149938, 0.971643686), | |
| 1587 | CFrame.new(0.0565204546, 1.57937229, -0.254729301, 0.939605474, -0.0956909955, 0.32861048, -0.0686053783, 0.887976408, 0.454743028, -0.335313201, -0.449823558, 0.827782691), | |
| 1588 | CFrame.new(1.66388702, 0.430516392, -0.589863598, 0.987100601, -0.14505294, 0.0677664801, 0.145556614, 0.636787474, -0.757175744, 0.0666777343, 0.757272482, 0.649686694), | |
| 1589 | CFrame.new(-1.59538066, 0.0678503811, 0.220779896, 0.9169752, 0.259564161, 0.302957177, -0.109948099, 0.8944121, -0.433518767, -0.383494496, 0.364216447, 0.848692358), | |
| 1590 | CFrame.new(0.323853761, -1.88460708, -0.230116844, 0.98718667, -0.00142863393, 0.159563616, -0.0787070394, 0.865496337, 0.494693071, -0.138808474, -0.500913203, 0.854294121), | |
| 1591 | CFrame.new(-0.643794179, -2.1812942, 0.841914892, 0.98718667, -0.127094775, 0.0964857638, -0.0787070394, 0.138161942, 0.987277389, -0.138808474, -0.982221127, 0.126388401) | |
| 1592 | }, 0.3, false) | |
| 1593 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3) | |
| 1594 | end | |
| 1595 | for i = 0, 1, 0.1 do | |
| 1596 | swait() | |
| 1597 | PlayAnimationFromTable({
| |
| 1598 | CFrame.new(-4.63598553E-7, -0.139999643, 7.72997737E-8, 0.99752301, -0.0703164712, -0.00185317313, 0.0701259971, 0.992072821, 0.104278311, -0.00549399992, -0.104149975, 0.994546473), | |
| 1599 | CFrame.new(0.110893115, 1.57937193, -0.236186981, 0.78559494, 0.00506232027, 0.618720472, -0.288064182, 0.887976527, 0.358492374, -0.547594428, -0.459860921, 0.699048221), | |
| 1600 | CFrame.new(1.75263917, 0.430516958, -0.211456299, 0.948584676, -0.307252407, -0.0760475099, 0.145556927, 0.636787355, -0.757175744, 0.281070143, 0.707176089, 0.648769379), | |
| 1601 | CFrame.new(-1.60502636, 0.0678498447, -0.133690476, 0.978670716, 0.173570752, 0.109894, -0.109947756, 0.89441222, -0.433518827, -0.173536703, 0.412189603, 0.894418776), | |
| 1602 | CFrame.new(0.366361797, -1.88460708, -0.153670132, 0.993635535, 0.108221181, -0.0312502384, -0.0787066966, 0.865496516, 0.494693041, 0.0805832371, -0.489084959, 0.868505836), | |
| 1603 | CFrame.new(-0.812426805, -2.18129468, 0.68062675, 0.993635535, 0.0909263268, 0.0664891303, -0.0787066966, 0.138162017, 0.987277448, 0.0805832371, -0.986226976, 0.144439206) | |
| 1604 | }, 0.3, false) | |
| 1605 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3) | |
| 1606 | end | |
| 1607 | for i = 0, 1, 0.1 do | |
| 1608 | swait() | |
| 1609 | PlayAnimationFromTable({
| |
| 1610 | CFrame.new(-4.63598553E-7, -0.139999643, 7.72997737E-8, 0.99752301, -0.0703164712, -0.00185317313, 0.0701259971, 0.992072821, 0.104278311, -0.00549399992, -0.104149975, 0.994546473), | |
| 1611 | CFrame.new(0.110893264, 1.57937276, -0.236186564, 0.891458511, 0.00506000547, -0.453074306, 0.204350829, 0.887976766, 0.411992967, 0.404404104, -0.459860682, 0.790560246), | |
| 1612 | CFrame.new(1.75263917, 0.430516958, -0.211456299, 0.948584676, -0.307252407, -0.0760475099, 0.145556927, 0.636787355, -0.757175744, 0.281070143, 0.707176089, 0.648769379), | |
| 1613 | CFrame.new(-1.60502636, 0.0678498447, -0.133690476, 0.978670716, 0.173570752, 0.109894, -0.109947756, 0.89441222, -0.433518827, -0.173536703, 0.412189603, 0.894418776), | |
| 1614 | CFrame.new(0.366361797, -1.88460708, -0.153670132, 0.993635535, 0.108221181, -0.0312502384, -0.0787066966, 0.865496516, 0.494693041, 0.0805832371, -0.489084959, 0.868505836), | |
| 1615 | CFrame.new(-0.812426805, -2.18129468, 0.68062675, 0.993635535, 0.0909263268, 0.0664891303, -0.0787066966, 0.138162017, 0.987277448, 0.0805832371, -0.986226976, 0.144439206) | |
| 1616 | }, 0.3, false) | |
| 1617 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3) | |
| 1618 | end | |
| 1619 | Humanoid.WalkSpeed = 16 | |
| 1620 | Humanoid.JumpPower = 50 | |
| 1621 | attack = false | |
| 1622 | end | |
| 1623 | mouse.Button1Down:connect(function() | |
| 1624 | if attack == false and aiming == false then | |
| 1625 | Aim() | |
| 1626 | end | |
| 1627 | end) | |
| 1628 | mouse.Button1Up:connect(function() | |
| 1629 | if attack == true and aiming == true then | |
| 1630 | attack = false | |
| 1631 | aiming = false | |
| 1632 | Humanoid.WalkSpeed = 14 | |
| 1633 | Humanoid.JumpPower = 50 | |
| 1634 | shoot = false | |
| 1635 | end | |
| 1636 | end) | |
| 1637 | mouse.KeyDown:connect(function(k) | |
| 1638 | k = k:lower() | |
| 1639 | if attack == true and aiming == true and hot == false and k == "z" then | |
| 1640 | fire() | |
| 1641 | elseif attack == false and aiming == false and hot == false and k == "c" and co3 <= cooldown3 then | |
| 1642 | cooldown3 = 0 | |
| 1643 | baka() | |
| 1644 | elseif attack == false and aiming == false and hot == false and k == "v" and co4 <= cooldown4 then | |
| 1645 | cooldown4 = 0 | |
| 1646 | bulletrain() | |
| 1647 | elseif attack == false and aiming == false and hot == false and k == "x" and co2 <= cooldown2 then | |
| 1648 | cooldown2 = 0 | |
| 1649 | reload() | |
| 1650 | end | |
| 1651 | end) | |
| 1652 | mouse.KeyUp:connect(function(k) | |
| 1653 | k = k:lower() | |
| 1654 | if attack == true and aiming == true and hot == true and k == "z" then | |
| 1655 | shoot = false | |
| 1656 | end | |
| 1657 | end) | |
| 1658 | function updateskills() | |
| 1659 | if aiming == false then | |
| 1660 | text1.Text = [[ | |
| 1661 | [Z] | |
| 1662 | N/A]] | |
| 1663 | else | |
| 1664 | text1.Text = [[ | |
| 1665 | [Z] | |
| 1666 | Fire]] | |
| 1667 | end | |
| 1668 | if cooldown2 <= co2 then | |
| 1669 | cooldown2 = cooldown2 + 0.033333333333333 | |
| 1670 | end | |
| 1671 | if cooldown3 <= co3 then | |
| 1672 | cooldown3 = cooldown3 + 0.2 | |
| 1673 | end | |
| 1674 | if cooldown4 <= co4 then | |
| 1675 | cooldown4 = cooldown4 + 0.033333333333333 | |
| 1676 | end | |
| 1677 | end | |
| 1678 | Humanoid.WalkSpeed = 14 | |
| 1679 | local Freeze = false | |
| 1680 | function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch) | |
| 1681 | for i, v in pairs(hit:GetChildren()) do | |
| 1682 | if v:IsA("Humanoid") and hit.Name ~= Character.Name then
| |
| 1683 | local find = v:FindFirstChild("DebounceHit")
| |
| 1684 | if not find then | |
| 1685 | if v.Parent:findFirstChild("Head") then
| |
| 1686 | do | |
| 1687 | local BillG = Create("BillboardGui")({
| |
| 1688 | Parent = v.Parent.Head, | |
| 1689 | Size = UDim2.new(1, 0, 1, 0), | |
| 1690 | Adornee = v.Parent.Head, | |
| 1691 | StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)) | |
| 1692 | }) | |
| 1693 | local TL = Create("TextLabel")({
| |
| 1694 | Parent = BillG, | |
| 1695 | Size = UDim2.new(3, 3, 3, 3), | |
| 1696 | BackgroundTransparency = 1, | |
| 1697 | Text = tostring(damage) .. "-", | |
| 1698 | TextColor3 = Color1.Color, | |
| 1699 | TextStrokeColor3 = Color2.Color, | |
| 1700 | TextStrokeTransparency = 0, | |
| 1701 | TextXAlignment = Enum.TextXAlignment.Center, | |
| 1702 | TextYAlignment = Enum.TextYAlignment.Center, | |
| 1703 | FontSize = Enum.FontSize.Size18, | |
| 1704 | Font = "ArialBold" | |
| 1705 | }) | |
| 1706 | coroutine.resume(coroutine.create(function() | |
| 1707 | swait(1) | |
| 1708 | for i = 0, 1, 0.1 do | |
| 1709 | swait(0.1) | |
| 1710 | BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, 0.1, 0) | |
| 1711 | end | |
| 1712 | BillG:Destroy() | |
| 1713 | end)) | |
| 1714 | end | |
| 1715 | end | |
| 1716 | if Freeze == false then | |
| 1717 | v.Health = v.Health - damage | |
| 1718 | elseif Freeze == true then | |
| 1719 | v.Health = v.Health - damage | |
| 1720 | v.Parent.Torso.Anchored = true | |
| 1721 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=338594574", v.Parent.Torso, 1, 1)
| |
| 1722 | for i = 1, 6 do | |
| 1723 | Effects.Freeze.Create(BrickColor.new("Bright yellow"), v.Parent.Torso.CFrame, 0.5, 0.5, 0.5, 0.1, 0.3, 0.1)
| |
| 1724 | Effects.Break.Create(BrickColor.new("Bright yellow"), v.Parent.Torso.CFrame, 0.5, math.random(5, 15), 0.5)
| |
| 1725 | end | |
| 1726 | for i = 1, 10 do | |
| 1727 | local freezepart = CFuncs.Part.Create(v.Parent, "Neon", 0.5, 0.85, BrickColor.new("Bright yellow"), "Ice Part", Vector3.new(math.random(2, 3) + math.random(), math.random(2, 3) + math.random(), math.random(2, 3) + math.random()))
| |
| 1728 | freezepart.Anchored = true | |
| 1729 | freezepart.CFrame = v.Parent.Torso.CFrame * CFrame.new(math.random(-1, 0) + math.random(), -2.5, math.random(-1, 0) + math.random()) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1730 | coroutine.resume(coroutine.create(function(Part) | |
| 1731 | swait(80) | |
| 1732 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=338594737", v.Parent.Torso, 1, 1)
| |
| 1733 | v.Parent.Torso.Anchored = false | |
| 1734 | Part.Anchored = false | |
| 1735 | Part.Velocity = Vector3.new(math.random(-20, 20), math.random(20, 30), math.random(-20, 20)) | |
| 1736 | game:GetService("Debris"):AddItem(Part, 5)
| |
| 1737 | end), freezepart) | |
| 1738 | end | |
| 1739 | end | |
| 1740 | local bool = Create("BoolValue")({
| |
| 1741 | Parent = v, | |
| 1742 | Name = "DebounceHit" | |
| 1743 | }) | |
| 1744 | if HSound ~= nil and HPitch ~= nil then | |
| 1745 | CFuncs.Sound.Create(HSound, v.Parent.Torso, 1, HPitch) | |
| 1746 | end | |
| 1747 | game:GetService("Debris"):AddItem(bool, cooldown)
| |
| 1748 | end | |
| 1749 | end | |
| 1750 | end | |
| 1751 | end | |
| 1752 | function MagnitudeDamage(Part, magni, mindam, maxdam, Color1, Color2, HSound, HPitch) | |
| 1753 | for _, c in pairs(workspace:children()) do | |
| 1754 | local hum = c:findFirstChild("Humanoid")
| |
| 1755 | if hum ~= nil then | |
| 1756 | local head = c:findFirstChild("Torso")
| |
| 1757 | if head ~= nil then | |
| 1758 | local targ = head.Position - Part.Position | |
| 1759 | local mag = targ.magnitude | |
| 1760 | if magni >= mag and c.Name ~= Player.Name then | |
| 1761 | Damage(head.Parent, math.random(mindam, maxdam), 0, Color1, Color2, HSound, HPitch) | |
| 1762 | end | |
| 1763 | end | |
| 1764 | end | |
| 1765 | end | |
| 1766 | end | |
| 1767 | while true do | |
| 1768 | swait() | |
| 1769 | updateskills() | |
| 1770 | bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1771 | bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1772 | bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1773 | bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1774 | if shoot == false then | |
| 1775 | soe:Stop() | |
| 1776 | end | |
| 1777 | if aiming == false then | |
| 1778 | spim:Stop() | |
| 1779 | end | |
| 1780 | if aiming == true then | |
| 1781 | local aim = CFrame.new(RootPart.Position, mouse.Hit.p) | |
| 1782 | local direction = aim.lookVector | |
| 1783 | local headingA = math.atan2(direction.x, direction.z) | |
| 1784 | headingA = math.deg(headingA) | |
| 1785 | Humanoid.AutoRotate = false | |
| 1786 | RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 180), math.rad(0)) | |
| 1787 | else | |
| 1788 | Humanoid.AutoRotate = true | |
| 1789 | end | |
| 1790 | for i, v in pairs(Character:GetChildren()) do | |
| 1791 | if v:IsA("Part") then
| |
| 1792 | v.Material = "SmoothPlastic" | |
| 1793 | elseif v:IsA("Hat") then
| |
| 1794 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1795 | end | |
| 1796 | end | |
| 1797 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1798 | velocity = RootPart.Velocity.y | |
| 1799 | sine = sine + change | |
| 1800 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 1801 | if equipped == true or equipped == false then | |
| 1802 | if 1 < RootPart.Velocity.y and hit == nil then | |
| 1803 | Anim = "Jump" | |
| 1804 | if attack == false then | |
| 1805 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1806 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3) | |
| 1807 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3) | |
| 1808 | LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3) | |
| 1809 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3) | |
| 1810 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1811 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3) | |
| 1812 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1813 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3) | |
| 1814 | end | |
| 1815 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 1816 | Anim = "Fall" | |
| 1817 | if attack == false then | |
| 1818 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(20), math.rad(-30), math.rad(0)), 0.3) | |
| 1819 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-20), math.rad(30), math.rad(0)), 0.3) | |
| 1820 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3) | |
| 1821 | LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3) | |
| 1822 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3) | |
| 1823 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1824 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3) | |
| 1825 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1826 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3) | |
| 1827 | end | |
| 1828 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 1829 | Anim = "Idle" | |
| 1830 | if attack == false then | |
| 1831 | change = 1 | |
| 1832 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3) | |
| 1833 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(60), math.rad(0)), 0.3) | |
| 1834 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(70), math.rad(0), math.rad(0)), 0.3) | |
| 1835 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.4, -1) * angles(math.rad(70), math.rad(0), math.rad(30)), 0.3) | |
| 1836 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1837 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1838 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3) | |
| 1839 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1840 | end | |
| 1841 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 1842 | Anim = "Walk" | |
| 1843 | if attack == false then | |
| 1844 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(-30), math.rad(0)), 0.3) | |
| 1845 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(30), math.rad(0)), 0.3) | |
| 1846 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3) | |
| 1847 | LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3) | |
| 1848 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0 + 1 * math.cos(sine / 3)) * angles(math.rad(0 - 50 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.3) | |
| 1849 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0 - 1 * math.cos(sine / 3)) * angles(math.rad(0 + 50 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.3) | |
| 1850 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3) | |
| 1851 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1852 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3) | |
| 1853 | end | |
| 1854 | end | |
| 1855 | end | |
| 1856 | if 0 < #Effects then | |
| 1857 | for e = 1, #Effects do | |
| 1858 | if Effects[e] ~= nil then | |
| 1859 | local Thing = Effects[e] | |
| 1860 | if Thing ~= nil then | |
| 1861 | local Part = Thing[1] | |
| 1862 | local Mode = Thing[2] | |
| 1863 | local Delay = Thing[3] | |
| 1864 | local IncX = Thing[4] | |
| 1865 | local IncY = Thing[5] | |
| 1866 | local IncZ = Thing[6] | |
| 1867 | if Thing[1].Transparency <= 1 then | |
| 1868 | if Thing[2] == "Block1" then | |
| 1869 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1870 | Mesh = Thing[1].Mesh | |
| 1871 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1872 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1873 | elseif Thing[2] == "QuadShot" then | |
| 1874 | if Thing[5] < 49 then | |
| 1875 | Thing[5] = Thing[5] + 1.5 | |
| 1876 | Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5]) | |
| 1877 | else | |
| 1878 | refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
| |
| 1879 | refda.Anchored = true | |
| 1880 | refda.CFrame = CFrame.new(Thing[1].Position) | |
| 1881 | game:GetService("Debris"):AddItem(refda, 5)
| |
| 1882 | CFuncs.Sound.Create("rbxassetid://300916105", refda, 1, 0.5)
| |
| 1883 | CFuncs.Sound.Create("rbxassetid://184718741", refda, 1, 0.8)
| |
| 1884 | MagnitudeDamage(refda, 40, 10, 14, BrickColor.new("Bright yellow"), BrickColor.new("Navy blue"))
| |
| 1885 | Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(refda.Position), 5, 9999, 5, 5, 10, 5, 0.05)
| |
| 1886 | Effects.Sphere.Create(BrickColor.new("Bright yellow"), refda.CFrame, 5, 10, 5, 5, 10, 3, 0.06)
| |
| 1887 | Effects.Block.Create(BrickColor.new("Bright yellow"), refda.CFrame, 5, 5, 5, 5, 5, 5, 0.06, 1)
| |
| 1888 | Effects.Wave.Create(BrickColor.new("Bright yellow"), refda.CFrame, 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.06)
| |
| 1889 | Thing[1].Parent = nil | |
| 1890 | table.remove(Effects, e) | |
| 1891 | end | |
| 1892 | elseif Thing[2] == "QuadShot2" then | |
| 1893 | if Thing[5] < 499 then | |
| 1894 | Thing[5] = Thing[5] + 1.5 | |
| 1895 | Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5]) | |
| 1896 | else | |
| 1897 | refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
| |
| 1898 | refda.Anchored = true | |
| 1899 | refda.CFrame = CFrame.new(Thing[1].Position) | |
| 1900 | game:GetService("Debris"):AddItem(refda, 5)
| |
| 1901 | CFuncs.Sound.Create("rbxassetid://300916105", refda, 1, 0.5)
| |
| 1902 | CFuncs.Sound.Create("rbxassetid://184718741", refda, 1, 0.8)
| |
| 1903 | MagnitudeDamage(refda, 40, 20, 30, BrickColor.new("Bright yellow"), BrickColor.new("Navy blue"))
| |
| 1904 | Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(refda.Position), 50, 9999, 50, 50, 100, 50, 0.05)
| |
| 1905 | Effects.Sphere.Create(BrickColor.new("Bright yellow"), refda.CFrame, 50, 100, 50, 50, 100, 30, 0.06)
| |
| 1906 | Effects.Block.Create(BrickColor.new("Bright yellow"), refda.CFrame, 50, 50, 50, 50, 50, 50, 0.06, 1)
| |
| 1907 | Effects.Wave.Create(BrickColor.new("Bright yellow"), refda.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.06)
| |
| 1908 | Thing[1].Parent = nil | |
| 1909 | table.remove(Effects, e) | |
| 1910 | end | |
| 1911 | elseif Thing[2] == "Block2" then | |
| 1912 | Thing[1].CFrame = Thing[1].CFrame | |
| 1913 | Mesh = Thing[7] | |
| 1914 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1915 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1916 | elseif Thing[2] == "Cylinder" then | |
| 1917 | Mesh = Thing[1].Mesh | |
| 1918 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1919 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1920 | elseif Thing[2] == "Blood" then | |
| 1921 | Mesh = Thing[7] | |
| 1922 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 1923 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1924 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1925 | elseif Thing[2] == "Elec" then | |
| 1926 | Mesh = Thing[1].Mesh | |
| 1927 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1928 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1929 | elseif Thing[2] == "Disappear" then | |
| 1930 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1931 | elseif Thing[2] == "Shatter" then | |
| 1932 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1933 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1934 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1935 | Thing[6] = Thing[6] + Thing[5] | |
| 1936 | end | |
| 1937 | else | |
| 1938 | Part.Parent = nil | |
| 1939 | table.remove(Effects, e) | |
| 1940 | end | |
| 1941 | end | |
| 1942 | end | |
| 1943 | end | |
| 1944 | end | |
| 1945 | end |