SHOW:
|
|
- or go back to the newest paste.
| 1 | do | |
| 2 | ||
| 3 | local filteredMessages = { [''] = '' };
| |
| 4 | local onPropertyChanged = function (obj) | |
| 5 | if (obj:isDescendantOf (workspace)) then | |
| 6 | local objText = obj.Text; | |
| 7 | ||
| 8 | if (objText ~= '' and objText:find '(%S)') then | |
| 9 | if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then | |
| 10 | obj.Text = filteredMessages [objText]; | |
| 11 | elseif (not filteredMessages [objText]) then | |
| 12 | obj.Text = ''; | |
| 13 | ||
| 14 | local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer); | |
| 15 | ||
| 16 | filteredMessages [objText] = filtered; | |
| 17 | filteredMessages [filtered] = filtered; | |
| 18 | ||
| 19 | obj.Text = filtered; | |
| 20 | end; | |
| 21 | end; | |
| 22 | end; | |
| 23 | end; | |
| 24 | ||
| 25 | local newInstance = Instance.new; | |
| 26 | Instance = {
| |
| 27 | new = function (class, parent) | |
| 28 | local obj = newInstance (class, parent); | |
| 29 | ||
| 30 | if (pcall (function()return obj.Text;end)) then | |
| 31 | obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
| |
| 32 | obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
| |
| 33 | end; | |
| 34 | ||
| 35 | return obj; | |
| 36 | end; | |
| 37 | }; | |
| 38 | end; | |
| 39 | ||
| 40 | print("Thanks to Cri_SB [Cri] for some sounds in the script.")
| |
| 41 | print("Script made by 123jl123.")
| |
| 42 | print("If you logged this, please don't leak it. I worked hard on creating this script, seeing others use it without my permission/not given from me will anger me.")
| |
| 43 | print("Thanks for reading this, enjoy using the script!")
| |
| 44 | ||
| 45 | local Player = game:service'Players'.localPlayer | |
| 46 | local chara = Player.Character | |
| 47 | local Character = Player.Character | |
| 48 | torso = chara.Torso | |
| 49 | ||
| 50 | ||
| 51 | local Music = Instance.new("Sound")
| |
| 52 | ||
| 53 | Music.Name = "Sound" | |
| 54 | - | Music.SoundId = "http://roblox.com/asset/?id=275248994" |
| 54 | + | Music.SoundId = "http://roblox.com/asset/?id=223860468" |
| 55 | - | Music.Volume = 4 |
| 55 | + | Music.Volume = 2 |
| 56 | Music.Looped = true | |
| 57 | Music.Parent = torso | |
| 58 | Music:play() | |
| 59 | ||
| 60 | ||
| 61 | CV="White" | |
| 62 | p = game.Players.LocalPlayer | |
| 63 | char = p.Character | |
| 64 | local txt = Instance.new("BillboardGui", char)
| |
| 65 | txt.Adornee = char .Head | |
| 66 | txt.Name = "_status" | |
| 67 | txt.Size = UDim2.new(2, 0, 1, 0) | |
| 68 | txt.StudsOffset = Vector3.new(-9, 5, 0) | |
| 69 | local text = Instance.new("TextLabel", txt)
| |
| 70 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 71 | text.FontSize = "Size24" | |
| 72 | text.TextScaled = true | |
| 73 | text.TextTransparency = 0 | |
| 74 | text.BackgroundTransparency = 1 | |
| 75 | text.TextTransparency = 0 | |
| 76 | text.TextStrokeTransparency = 0.5 | |
| 77 | text.Font = "SciFi" | |
| 78 | text.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 79 | ||
| 80 | v=Instance.new("Part")
| |
| 81 | v.Name = "ColorBrick" | |
| 82 | v.Parent=p.Character | |
| 83 | v.FormFactor="Symmetric" | |
| 84 | v.Anchored=true | |
| 85 | v.CanCollide=false | |
| 86 | v.BottomSurface="Smooth" | |
| 87 | v.TopSurface="Smooth" | |
| 88 | v.Size=Vector3.new(10,5,3) | |
| 89 | v.Transparency=1 | |
| 90 | v.CFrame=char.Torso.CFrame | |
| 91 | v.BrickColor=BrickColor.new(CV) | |
| 92 | v.Transparency=1 | |
| 93 | text.TextColor3 = Color3.fromRGB(255,0,0) | |
| 94 | v.Shape="Block" | |
| 95 | - | text.Text = "Combine Elite" |
| 95 | + | text.Text = "Heavy weapons guy" |
| 96 | ||
| 97 | shirt= Instance.new("Shirt", Character)
| |
| 98 | shirt.Name = "Shirt" | |
| 99 | pants = Instance.new("Pants", Character)
| |
| 100 | pants.Name = "Pants" | |
| 101 | - | chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=252315488" |
| 101 | + | chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=388567435" |
| 102 | - | chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=252315501" |
| 102 | + | chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=69232474" |
| 103 | ||
| 104 | - | function chatfunc(text) local chat = coroutine.wrap(function() if Character:FindFirstChild("TalkingBillBoard")~= nil then Character:FindFirstChild("TalkingBillBoard"):destroy() end local naeeym2 = Instance.new("BillboardGui",Character) naeeym2.Size = UDim2.new(0,100,0,40) naeeym2.StudsOffset = Vector3.new(0,3,0) naeeym2.Adornee = Character.Head naeeym2.Name = "TalkingBillBoard" local tecks2 = Instance.new("TextLabel",naeeym2) tecks2.BackgroundTransparency = 1 tecks2.BorderSizePixel = 0 tecks2.Text = text tecks2.Font = "Fantasy" tecks2.TextSize = 30 tecks2.TextStrokeTransparency = 0 tecks2.TextColor3 = Color3.fromRGB(100,0,0) tecks2.TextStrokeColor3 = Color3.new(0,0,0) tecks2.Size = UDim2.new(1,0,0.5,0) local tecks3 = Instance.new("TextLabel",naeeym2) tecks3.BackgroundTransparency = 1 tecks3.BorderSizePixel = 0 tecks3.Text = text tecks3.Font = "SciFi" tecks3.TextSize = 30 tecks3.TextStrokeTransparency = 0 tecks3.TextColor3 = Color3.fromRGB(255,0,0) tecks3.TextStrokeColor3 = Color3.new(0,0,0) tecks3.Size = UDim2.new(1,0,0.5,0) CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=170567245", Character, 5, 1) wait(2) for i = 1, 50 do swait() tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) tecks2.Rotation = tecks2.Rotation - .8 tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 tecks2.TextTransparency = tecks2.TextTransparency + .04 tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) tecks3.Rotation = tecks2.Rotation + .8 tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 tecks3.TextTransparency = tecks2.TextTransparency + .04 end naeeym2:Destroy() end) chat() end function onChatted(msg) chatfunc(msg) end Player.Chatted:connect(onChatted)
|
| 104 | + | function chatfunc(text) local chat = coroutine.wrap(function() if Character:FindFirstChild("TalkingBillBoard")~= nil then Character:FindFirstChild("TalkingBillBoard"):destroy() end local naeeym2 = Instance.new("BillboardGui",Character) naeeym2.Size = UDim2.new(0,100,0,40) naeeym2.StudsOffset = Vector3.new(0,3,0) naeeym2.Adornee = Character.Head naeeym2.Name = "TalkingBillBoard" local tecks2 = Instance.new("TextLabel",naeeym2) tecks2.BackgroundTransparency = 1 tecks2.BorderSizePixel = 0 tecks2.Text = text tecks2.Font = "Fantasy" tecks2.TextSize = 30 tecks2.TextStrokeTransparency = 0 tecks2.TextColor3 = Color3.fromRGB(100,0,0) tecks2.TextStrokeColor3 = Color3.new(0,0,0) tecks2.Size = UDim2.new(1,0,0.5,0) local tecks3 = Instance.new("TextLabel",naeeym2) tecks3.BackgroundTransparency = 1 tecks3.BorderSizePixel = 0 tecks3.Text = text tecks3.Font = "SciFi" tecks3.TextSize = 30 tecks3.TextStrokeTransparency = 0 tecks3.TextColor3 = Color3.fromRGB(255,0,0) tecks3.TextStrokeColor3 = Color3.new(0,0,0) tecks3.Size = UDim2.new(1,0,0.5,0) CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=130888585", Character, 5, 1) wait(2) for i = 1, 50 do swait() tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) tecks2.Rotation = tecks2.Rotation - .8 tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 tecks2.TextTransparency = tecks2.TextTransparency + .04 tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) tecks3.Rotation = tecks2.Rotation + .8 tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 tecks3.TextTransparency = tecks2.TextTransparency + .04 end naeeym2:Destroy() end) chat() end function onChatted(msg) chatfunc(msg) end Player.Chatted:connect(onChatted)
|
| 105 | ||
| 106 | ||
| 107 | ||
| 108 | ||
| 109 | ||
| 110 | ||
| 111 | ||
| 112 | New = function(Object, Parent, Name, Data) | |
| 113 | local Object = Instance.new(Object) | |
| 114 | for Index, Value in pairs(Data or {}) do
| |
| 115 | Object[Index] = Value | |
| 116 | end | |
| 117 | Object.Parent = Parent | |
| 118 | Object.Name = Name | |
| 119 | return Object | |
| 120 | end | |
| 121 | local LoPa = game:GetService("Players").LocalPlayer
| |
| 122 | local C = LoPa.Character | |
| 123 | ||
| 124 | ||
| 125 | LaserMinigun = New("Model",C,"LaserMinigun",{})
| |
| 126 | Gunpart = New("Model",LaserMinigun,"Gunpart",{})
| |
| 127 | FrontHandle = New("Part",Gunpart,"FrontHandle",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.334096551, 0.668193102, 0.334096551),CFrame = CFrame.new(30.8316956, 0.787470937, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 128 | Mesh = New("CylinderMesh",FrontHandle,"Mesh",{})
| |
| 129 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 130 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 131 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 132 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 133 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 134 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 135 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 136 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 137 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.222731024, 0.445462048),CFrame = CFrame.new(31.2771492, 0.787470937, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 138 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 139 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.556827545, 0.111365512, 0.556827545),CFrame = CFrame.new(31.2771492, 0.787470937, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 140 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 141 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 142 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 143 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 144 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 145 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 146 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 147 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 148 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 149 | - | gun4 = New("Part",Gunpart,"gun4",{BrickColor = BrickColor.new("Pastel blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 149 | + | gun4 = New("Part",Gunpart,"gun4",{BrickColor = BrickColor.new("Persimmon"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 150 | Mesh = New("CylinderMesh",gun4,"Mesh",{})
| |
| 151 | - | gun1 = New("Part",Gunpart,"gun1",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 151 | + | gun1 = New("Part",Gunpart,"gun1",{BrickColor = BrickColor.new("Persimmon"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 152 | Mesh = New("CylinderMesh",gun1,"Mesh",{})
| |
| 153 | - | gun3 = New("Part",Gunpart,"gun3",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 153 | + | gun3 = New("Part",Gunpart,"gun3",{BrickColor = BrickColor.new("Persimmon"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 154 | Mesh = New("CylinderMesh",gun3,"Mesh",{})
| |
| 155 | - | gun2 = New("Part",Gunpart,"gun2",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 155 | + | gun2 = New("Part",Gunpart,"gun2",{BrickColor = BrickColor.new("Persimmon"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 156 | Mesh = New("CylinderMesh",gun2,"Mesh",{})
| |
| 157 | PowerHolder = New("Model",LaserMinigun,"PowerHolder",{})
| |
| 158 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 0.222731024, 1.11365509),CFrame = CFrame.new(27.7135086, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 159 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 160 | Model = New("Model",Part,"Model",{})
| |
| 161 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(27.7135086, 0.787473083, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 162 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 163 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(27.7135086, 0.787473083, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 164 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 165 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 166 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 167 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 168 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 169 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 170 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 171 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 172 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 173 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 174 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 175 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 176 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 177 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 178 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 179 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 180 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 181 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 182 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 183 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 184 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 185 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 186 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 187 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 188 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 189 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 0.222731024, 1.11365509),CFrame = CFrame.new(29.4953289, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 190 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 191 | Model = New("Model",Part,"Model",{})
| |
| 192 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 193 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 194 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 195 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 196 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 197 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 198 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 199 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 200 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.4953289, 0.787473083, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 201 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 202 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 203 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 204 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 205 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 206 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 207 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 208 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 209 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 210 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.4953289, 0.787473083, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 211 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 212 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 213 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 214 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 215 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 216 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 217 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 218 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 219 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 220 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.222731024, 0.890924096),CFrame = CFrame.new(29.7180557, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 221 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 222 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 223 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 224 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 225 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 226 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 227 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 228 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 229 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 230 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 231 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 232 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 233 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 234 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 235 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 236 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 237 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 238 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(29.9407845, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 239 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 240 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(30.1635113, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 241 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 242 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(30.38624, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 243 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 244 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.668193102, 0.445462048),CFrame = CFrame.new(30.1635113, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 245 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 246 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(30.6089668, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 247 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 248 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.0498734, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 249 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 250 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 1.11365509, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1.00000644, 0.707109809, 0.70710659, 0, 0.707112432, -0.707108617, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 251 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 2.00457907, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787482023, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 252 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 253 | - | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.500002861, 0.866023839, 0, 0.866023839, -0.500002861, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 253 | + | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Persimmon"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.500002861, 0.866023839, 0, 0.866023839, -0.500002861, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 254 | - | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.86602217, 0.500005305, 0, 0.500005305, -0.86602217, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 254 | + | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Persimmon"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.86602217, 0.500005305, 0, 0.500005305, -0.86602217, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 255 | - | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.965924263, 0.258825034, 0, 0.258825064, -0.965924263, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 255 | + | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Persimmon"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.965924263, 0.258825034, 0, 0.258825064, -0.965924263, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 256 | - | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.25882262, 0.965924919, 0, 0.965924919, -0.25882262, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 256 | + | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Persimmon"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.25882262, 0.965924919, 0, 0.965924919, -0.25882262, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 257 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 1.11365509, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1.00000024, 0, 1, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 258 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.3363862, 0.222731024, 1.3363862),CFrame = CFrame.new(28.8271465, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 259 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 260 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.3363862, 0.222731024, 1.3363862),CFrame = CFrame.new(28.381691, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 261 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 262 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(28.1589584, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 263 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 264 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.668193102, 0.222731024),CFrame = CFrame.new(26.9784832, 0.787473083, -52.2899971, -5.52762662e-11, 1.00582838e-05, 1.00000024, -3.50170376e-06, -1.00000024, 1.00582838e-05, 1, -3.50170421e-06, 9.06084097e-11),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 265 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.512281358, 0.111365512),CFrame = CFrame.new(26.7446499, 1.07702565, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 266 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(26.7111912, 0.787473083, -52.2899971, -5.53331096e-11, -0.258809268, 0.965928495, -3.50170376e-06, -0.965928495, -0.258809268, 1, -3.38240966e-06, -9.06219896e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 267 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.668193102, 0.111365512),CFrame = CFrame.new(26.6666946, 0.475645214, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 268 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.579100668, 0.111365512),CFrame = CFrame.new(26.4769592, 0.766716778, -52.2899971, -5.52867474e-11, -0.258809447, 0.96592921, -3.50170421e-06, -0.96592921, -0.258809447, 1, -3.38241125e-06, -9.06220293e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 269 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.289550334, 0.111365512),CFrame = CFrame.new(26.8782501, 0.787470937, -52.2899971, -5.69528105e-11, -1, 1.04902101e-05, -3.50170967e-06, -1.04902101e-05, -1, 1, -9.36864822e-11, -3.50170967e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 270 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 271 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(29.4953289, 1.41111994, -52.7354622, -5.50513524e-11, 0.258828878, 0.965923965, -3.50170421e-06, -0.965923965, 0.258828878, 1, -3.38236441e-06, 9.06395599e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 272 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(29.4953289, 1.41111994, -51.8445435, -5.50513524e-11, 0.258828878, 0.965923965, -3.50170421e-06, -0.965923965, 0.258828878, 1, -3.38236441e-06, 9.06395599e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 273 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.178184807, 0.890924096, 0.178184807),CFrame = CFrame.new(29.4285202, 1.67839265, -52.2899971, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 274 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 275 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.445462048, 0.111365512),CFrame = CFrame.new(29.4285202, 1.67839265, -51.9559135, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 276 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 277 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.445462048, 0.111365512),CFrame = CFrame.new(29.4285202, 1.67839265, -52.6240959, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 278 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 279 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.779558599, 0.222731024),CFrame = CFrame.new(29.4285202, 1.67839491, -52.2900124, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 280 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 281 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.4907551, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 282 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 283 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 0.564739823, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 284 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 1.01020193, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 285 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 1.01020193, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 286 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 0.564739823, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 287 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 0.564739823, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 288 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 1.01020193, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 289 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 1.01020193, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 290 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 0.564739823, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 291 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(27.0452919, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 292 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 293 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.222731024, 0.445462048),CFrame = CFrame.new(27.0452919, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 294 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 295 | ||
| 296 | ||
| 297 | ||
| 298 | ||
| 299 | ||
| 300 | ||
| 301 | ||
| 302 | ||
| 303 | ||
| 304 | ||
| 305 | ||
| 306 | Handle = New("Part",LaserMinigun,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.22300005, 4.51200008, 1.11099994),CFrame = CFrame.new(28.6618481, 0.8217237, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 307 | ||
| 308 | ||
| 309 | ||
| 310 | ||
| 311 | ||
| 312 | ||
| 313 | ||
| 314 | ||
| 315 | ||
| 316 | ||
| 317 | ||
| 318 | ||
| 319 | MiniDroid = New("Model",C,"MiniDroid",{})
| |
| 320 | armor = New("Model",MiniDroid,"armor",{})
| |
| 321 | Main = New("Model",armor,"Main",{})
| |
| 322 | Part = New("Part",Main,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.100000001, 0.800000012, 0.800000012),CFrame = CFrame.new(30.9500008, 1.7000351, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 323 | Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.899999976, 0.699999988, 0.899999976),CFrame = CFrame.new(30.9499989, 1.80003405, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 324 | Mesh = New("SpecialMesh",Part,"Mesh",{})
| |
| 325 | Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 0.50999999, 1),CFrame = CFrame.new(30.9499989, 1.90003407, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 326 | Mesh = New("SpecialMesh",Part,"Mesh",{})
| |
| 327 | Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 0.5, 1),CFrame = CFrame.new(30.9499989, 1.70003402, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 328 | Mesh = New("SpecialMesh",Part,"Mesh",{})
| |
| 329 | Neon = New("Model",MiniDroid,"Neon",{})
| |
| 330 | - | LaPart = New("Part",Neon,"LaPart",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.100000001, 0.949999988, 0.949999988),CFrame = CFrame.new(30.9500008, 1.80000031, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 330 | + | LaPart = New("Part",Neon,"LaPart",{BrickColor = BrickColor.new("Persimmon"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.100000001, 0.949999988, 0.949999988),CFrame = CFrame.new(30.9500008, 1.80000031, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 331 | - | FirePart = New("Part",Neon,"FirePart",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(30.9499989, 1.65004444, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 331 | + | FirePart = New("Part",Neon,"FirePart",{BrickColor = BrickColor.new("Persimmon"),Material = Enum.Material.Neon,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(30.9499989, 1.65004444, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 332 | miniHandle = New("Part",MiniDroid,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(30.9500008, 1.80504608, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 333 | ||
| 334 | ||
| 335 | ||
| 336 | ||
| 337 | ||
| 338 | - | Glow1 = Color3.fromRGB(174,198,207) |
| 338 | + | Glow1 = Color3.fromRGB(236, 88, 0) |
| 339 | - | Glow2 = Color3.fromRGB(119,158,203) |
| 339 | + | Glow2 = Color3.fromRGB(240,128,128) |
| 340 | ||
| 341 | GlowParticle = Instance.new("ParticleEmitter",FirePart)
| |
| 342 | GlowParticle.LightEmission = 1 | |
| 343 | GlowParticle.Color = ColorSequence.new(Glow1,Glow2) | |
| 344 | GlowParticle.Size = NumberSequence.new(0,20) | |
| 345 | GlowParticle.Texture = "http://www.roblox.com/asset/?id=52620985" | |
| 346 | GlowParticle.Transparency = NumberSequence.new(0,1) | |
| 347 | GlowParticle.LockedToPart = true | |
| 348 | GlowParticle.Lifetime = NumberRange.new(1) | |
| 349 | GlowParticle.Rate= 1 | |
| 350 | GlowParticle.Speed =NumberRange.new(0) | |
| 351 | GlowParticle.Enabled = false | |
| 352 | ||
| 353 | ||
| 354 | ||
| 355 | ||
| 356 | GlowParticle2 = Instance.new("ParticleEmitter",FirePart)
| |
| 357 | GlowParticle2.LightEmission = .7 | |
| 358 | GlowParticle2.Color = ColorSequence.new(Glow1,Glow2) | |
| 359 | GlowParticle2.Size = NumberSequence.new(0,1) | |
| 360 | GlowParticle2.Texture = "http://www.roblox.com/asset/?id=589325350" | |
| 361 | GlowParticle2.Transparency = NumberSequence.new(0,1) | |
| 362 | GlowParticle2.LockedToPart = false | |
| 363 | GlowParticle2.Lifetime = NumberRange.new(0.2) | |
| 364 | GlowParticle2.Rate= 150 | |
| 365 | GlowParticle2.Speed =NumberRange.new(3) | |
| 366 | GlowParticle2.Acceleration = Vector3.new(0, -10.5, 0) | |
| 367 | ||
| 368 | ||
| 369 | ||
| 370 | ||
| 371 | ||
| 372 | local all,last = {}
| |
| 373 | function scan(p) | |
| 374 | for _,v in pairs(p:GetChildren()) do | |
| 375 | if (v:IsA("BasePart")) then
| |
| 376 | if (last) then | |
| 377 | local w = Instance.new("Weld")
| |
| 378 | w.Part0,w.Part1 = last,v | |
| 379 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
| 380 | w.Parent = last | |
| 381 | end | |
| 382 | table.insert(all,v) | |
| 383 | last = v | |
| 384 | end | |
| 385 | scan(v) | |
| 386 | end | |
| 387 | end | |
| 388 | scan(LaserMinigun) | |
| 389 | ||
| 390 | scan(MiniDroid) | |
| 391 | for _,v in pairs(all) do v.Anchored = false v.CanCollide = false end | |
| 392 | MiniDroid.Parent = C | |
| 393 | LaserMinigun.Parent = C | |
| 394 | ||
| 395 | ||
| 396 | Main:Destroy() | |
| 397 | ||
| 398 | Effects = { }
| |
| 399 | Rapid = false | |
| 400 | local Player = game.Players.localPlayer | |
| 401 | local Character = Player.Character | |
| 402 | local Humanoid = Character.Humanoid | |
| 403 | local mouse = Player:GetMouse() | |
| 404 | local LeftArm = Character["Left Arm"] | |
| 405 | local RightArm = Character["Right Arm"] | |
| 406 | local LeftLeg = Character["Left Leg"] | |
| 407 | local RightLeg = Character["Right Leg"] | |
| 408 | local Head = Character.Head | |
| 409 | local Torso = Character.Torso | |
| 410 | local cam = game.Workspace.CurrentCamera | |
| 411 | local RootPart = Character.HumanoidRootPart | |
| 412 | local RootJoint = RootPart.RootJoint | |
| 413 | local equipped = false | |
| 414 | local attack = false | |
| 415 | local Anim = 'Idle' | |
| 416 | local idle = 0 | |
| 417 | local attacktype = 1 | |
| 418 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 419 | local velocity = RootPart.Velocity.y | |
| 420 | local sine = 0 | |
| 421 | local change = 1 | |
| 422 | local grabbed = false | |
| 423 | local cn = CFrame.new | |
| 424 | local mr = math.rad | |
| 425 | local angles = CFrame.Angles | |
| 426 | local ud = UDim2.new | |
| 427 | local c3 = Color3.new | |
| 428 | local slashDamage = 15 | |
| 429 | local dir = {w = 0, s = 0, a = 0, d = 0}
| |
| 430 | local dir2 = {w = 0, s = 0, a = 0, d = 0}
| |
| 431 | killcom=true | |
| 432 | trans = 1 | |
| 433 | sentrymode = false | |
| 434 | sentrywait = false | |
| 435 | local LightMod = Instance.new("Model", Character)
| |
| 436 | local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 437 | Humanoid.Animator:Destroy() | |
| 438 | npcanim = Character.Animate:Clone() | |
| 439 | ultwait=false | |
| 440 | ||
| 441 | ||
| 442 | ||
| 443 | ||
| 444 | Character.Animate:Destroy() | |
| 445 | ||
| 446 | ||
| 447 | local function makeLightning(Par, Start, End, Width, Length, RandomScale, ArcScale, Num1) | |
| 448 | local oldParts = {}
| |
| 449 | for _,v in pairs(Par:GetChildren()) do | |
| 450 | v.CFrame = CFrame.new(5e5, 5e5, 5e5) | |
| 451 | table.insert(oldParts, v) | |
| 452 | end | |
| 453 | local Distance = (Start-End).Magnitude | |
| 454 | local ArcScale = ArcScale or 1 | |
| 455 | local RandomScale = RandomScale or 0 | |
| 456 | local Last = Start | |
| 457 | local IterNum = 0 | |
| 458 | ||
| 459 | while Par.Parent do | |
| 460 | IterNum = IterNum + 1 | |
| 461 | local New = nil | |
| 462 | if (Last-End).Magnitude < Length then | |
| 463 | New = CFrame.new(End) | |
| 464 | else | |
| 465 | if (End-Last).Magnitude < Length*2 then | |
| 466 | RandomScale = RandomScale*0.1 | |
| 467 | ArcScale = ArcScale*0.5 | |
| 468 | end | |
| 469 | local Direct = CFrame.new(Last,End) | |
| 470 | New = Direct*CFrame.Angles(math.rad(math.random(-RandomScale/4,RandomScale*ArcScale)),math.rad(math.random(-RandomScale,RandomScale)),math.rad(math.random(-RandomScale,RandomScale))) | |
| 471 | New = New*CFrame.new(0,0,-Length) | |
| 472 | end | |
| 473 | local Trail = nil | |
| 474 | if oldParts[IterNum] then | |
| 475 | Trail = oldParts[IterNum] | |
| 476 | - | Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Pastel Blue")) or BrickColor.new("Pastel Blue")
|
| 476 | + | Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Persimmon")) or BrickColor.new("Persimmon")
|
| 477 | Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width) | |
| 478 | Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0) | |
| 479 | oldParts[IterNum] = nil | |
| 480 | game:GetService("Debris"):AddItem(Trail, .03)
| |
| 481 | else | |
| 482 | Trail = Instance.new("Part")
| |
| 483 | Trail.Name = "Part" | |
| 484 | Trail.FormFactor = "Custom" | |
| 485 | - | Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Pastel Blue")) or BrickColor.new("Pastel Blue")
|
| 485 | + | Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Persimmon")) or BrickColor.new("Persimmon")
|
| 486 | Trail.Transparency = 0 | |
| 487 | Trail.Anchored = true | |
| 488 | Trail.CanCollide = false | |
| 489 | Trail.Locked = true | |
| 490 | Trail.BackSurface = "SmoothNoOutlines" | |
| 491 | Trail.BottomSurface = "SmoothNoOutlines" | |
| 492 | Trail.FrontSurface = "SmoothNoOutlines" | |
| 493 | Trail.LeftSurface = "SmoothNoOutlines" | |
| 494 | Trail.RightSurface = "SmoothNoOutlines" | |
| 495 | Trail.TopSurface = "SmoothNoOutlines" | |
| 496 | Trail.Material = "Neon" | |
| 497 | Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width) | |
| 498 | Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0) | |
| 499 | Trail.Parent = Par | |
| 500 | game:GetService("Debris"):AddItem(Trail, .03)
| |
| 501 | end | |
| 502 | Last = New.p | |
| 503 | if (Last-End).Magnitude < 1 then | |
| 504 | break | |
| 505 | end | |
| 506 | end | |
| 507 | for _,v in pairs(oldParts) do | |
| 508 | v:Destroy() | |
| 509 | end | |
| 510 | end | |
| 511 | ||
| 512 | ||
| 513 | ||
| 514 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 515 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 516 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 517 | ||
| 518 | RSH, LSH = nil, nil | |
| 519 | ||
| 520 | ||
| 521 | DW = Instance.new("Weld")
| |
| 522 | DW.Name = "GuW" | |
| 523 | DW.Part0 = Torso | |
| 524 | DW.C0 = cn(0, 50, 0) | |
| 525 | DW.C1 = cn(0, 0, 0) | |
| 526 | DW.Part1 = miniHandle | |
| 527 | DW.Parent = Torso | |
| 528 | ||
| 529 | ||
| 530 | GuW = Instance.new("Weld")
| |
| 531 | GuW.Name = "GuW" | |
| 532 | GuW.Part0 = RightArm | |
| 533 | GuW.C0 = cn(0, -1, -1) | |
| 534 | GuW.C1 = cn(0, 0, 0) | |
| 535 | GuW.Part1 = Handle | |
| 536 | GuW.Parent = RightArm | |
| 537 | ||
| 538 | RW = Instance.new("Weld")
| |
| 539 | LW = Instance.new("Weld")
| |
| 540 | ||
| 541 | ||
| 542 | RH = Torso["Right Hip"] | |
| 543 | LH = Torso["Left Hip"] | |
| 544 | ||
| 545 | RSH = Torso["Right Shoulder"] | |
| 546 | LSH = Torso["Left Shoulder"] | |
| 547 | ||
| 548 | RSH.Parent = nil | |
| 549 | LSH.Parent = nil | |
| 550 | ||
| 551 | RW.Name = "RW" | |
| 552 | RW.Part0 = Torso | |
| 553 | RW.C0 = cn(1.5, 0.5, 0) | |
| 554 | RW.C1 = cn(0, 0.5, 0) | |
| 555 | RW.Part1 = RightArm | |
| 556 | RW.Parent = Torso | |
| 557 | ||
| 558 | LW.Name = "LW" | |
| 559 | LW.Part0 = Torso | |
| 560 | LW.C0 = cn(-1.5, 0.5, 0) | |
| 561 | LW.C1 = cn(0, 0.5, 0) | |
| 562 | LW.Part1 = LeftArm | |
| 563 | LW.Parent = Torso | |
| 564 | ||
| 565 | function clerp(a, b, t) | |
| 566 | local qa = {
| |
| 567 | QuaternionFromCFrame(a) | |
| 568 | } | |
| 569 | local qb = {
| |
| 570 | QuaternionFromCFrame(b) | |
| 571 | } | |
| 572 | local ax, ay, az = a.x, a.y, a.z | |
| 573 | local bx, by, bz = b.x, b.y, b.z | |
| 574 | local _t = 1 - t | |
| 575 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 576 | end | |
| 577 | ||
| 578 | function QuaternionFromCFrame(cf) | |
| 579 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 580 | local trace = m00 + m11 + m22 | |
| 581 | if trace > 0 then | |
| 582 | local s = math.sqrt(1 + trace) | |
| 583 | local recip = 0.5 / s | |
| 584 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 585 | else | |
| 586 | local i = 0 | |
| 587 | if m11 > m00 then | |
| 588 | i = 1 | |
| 589 | end | |
| 590 | if m22 > (i == 0 and m00 or m11) then | |
| 591 | i = 2 | |
| 592 | end | |
| 593 | if i == 0 then | |
| 594 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 595 | local recip = 0.5 / s | |
| 596 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 597 | elseif i == 1 then | |
| 598 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 599 | local recip = 0.5 / s | |
| 600 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 601 | elseif i == 2 then | |
| 602 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 603 | local recip = 0.5 / s | |
| 604 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 605 | end | |
| 606 | end | |
| 607 | end | |
| 608 | ||
| 609 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 610 | local xs, ys, zs = x + x, y + y, z + z | |
| 611 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 612 | local xx = x * xs | |
| 613 | local xy = x * ys | |
| 614 | local xz = x * zs | |
| 615 | local yy = y * ys | |
| 616 | local yz = y * zs | |
| 617 | local zz = z * zs | |
| 618 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
| 619 | end | |
| 620 | ||
| 621 | function QuaternionSlerp(a, b, t) | |
| 622 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 623 | local startInterp, finishInterp; | |
| 624 | if cosTheta >= 0.0001 then | |
| 625 | if (1 - cosTheta) > 0.0001 then | |
| 626 | local theta = math.acos(cosTheta) | |
| 627 | local invSinTheta = 1 / math.sin(theta) | |
| 628 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
| 629 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 630 | else | |
| 631 | startInterp = 1 - t | |
| 632 | finishInterp = t | |
| 633 | end | |
| 634 | else | |
| 635 | if (1 + cosTheta) > 0.0001 then | |
| 636 | local theta = math.acos(-cosTheta) | |
| 637 | local invSinTheta = 1 / math.sin(theta) | |
| 638 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
| 639 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 640 | else | |
| 641 | startInterp = t - 1 | |
| 642 | finishInterp = t | |
| 643 | end | |
| 644 | end | |
| 645 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
| 646 | end | |
| 647 | ||
| 648 | function swait(num) | |
| 649 | if num == 0 or num == nil then | |
| 650 | game:service'RunService'.RenderStepped:wait(0) | |
| 651 | else | |
| 652 | for i = 0, num do | |
| 653 | game:service'RunService'.RenderStepped:wait(0) | |
| 654 | end | |
| 655 | end | |
| 656 | end | |
| 657 | ||
| 658 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 659 | local Create = RbxUtility.Create | |
| 660 | ||
| 661 | function RemoveOutlines(part) | |
| 662 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 663 | end | |
| 664 | ||
| 665 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 666 | local Part = Create("Part"){
| |
| 667 | formFactor = FormFactor, | |
| 668 | Parent = Parent, | |
| 669 | Reflectance = Reflectance, | |
| 670 | Transparency = Transparency, | |
| 671 | CanCollide = false, | |
| 672 | Locked = true, | |
| 673 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 674 | Name = Name, | |
| 675 | Size = Size, | |
| 676 | Material = Material, | |
| 677 | } | |
| 678 | RemoveOutlines(Part) | |
| 679 | return Part | |
| 680 | end | |
| 681 | ||
| 682 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 683 | local Msh = Create(Mesh){
| |
| 684 | Parent = Part, | |
| 685 | Offset = OffSet, | |
| 686 | Scale = Scale, | |
| 687 | } | |
| 688 | if Mesh == "SpecialMesh" then | |
| 689 | Msh.MeshType = MeshType | |
| 690 | Msh.MeshId = MeshId | |
| 691 | end | |
| 692 | return Msh | |
| 693 | end | |
| 694 | ||
| 695 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 696 | local Weld = Create("Weld"){
| |
| 697 | Parent = Parent, | |
| 698 | Part0 = Part0, | |
| 699 | Part1 = Part1, | |
| 700 | C0 = C0, | |
| 701 | C1 = C1, | |
| 702 | } | |
| 703 | return Weld | |
| 704 | end | |
| 705 | ||
| 706 | function rayCast(Position, Direction, Range, Ignore) | |
| 707 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 708 | end | |
| 709 | ||
| 710 | function CreateSound(id, par, vol, pit) | |
| 711 | coroutine.resume(coroutine.create(function() | |
| 712 | local sou = Instance.new("Sound", par or workspace)
| |
| 713 | sou.Volume = vol | |
| 714 | sou.Pitch = pit or 1 | |
| 715 | sou.SoundId = id | |
| 716 | wait() | |
| 717 | sou:play() | |
| 718 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 719 | end)) | |
| 720 | end | |
| 721 | ||
| 722 | local function getclosest(obj, distance) | |
| 723 | local last, lastx = distance + 1 | |
| 724 | for i, v in pairs(workspace:GetChildren()) do | |
| 725 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
| |
| 726 | local t = v.Torso | |
| 727 | local dist = (t.Position - obj.Position).magnitude | |
| 728 | if dist <= distance then | |
| 729 | if dist < last then | |
| 730 | last = dist | |
| 731 | lastx = v | |
| 732 | end | |
| 733 | end | |
| 734 | end | |
| 735 | end | |
| 736 | return lastx | |
| 737 | end | |
| 738 | ||
| 739 | function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch) | |
| 740 | for i, v in pairs(hit:GetChildren()) do | |
| 741 | if v:IsA("Humanoid") and hit.Name ~= Character.Name then
| |
| 742 | local find = v:FindFirstChild("Hitz")
| |
| 743 | if not find then | |
| 744 | if v.Parent:findFirstChild("Head") then
| |
| 745 | local BillG = Create("BillboardGui"){
| |
| 746 | Parent = v.Parent.Head, | |
| 747 | Size = UDim2.new(1, 0, 1, 0), | |
| 748 | Adornee = v.Parent.Head, | |
| 749 | StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)), | |
| 750 | } | |
| 751 | local TL = Create("TextLabel"){
| |
| 752 | Parent = BillG, | |
| 753 | Size = UDim2.new(3, 3, 3, 3), | |
| 754 | BackgroundTransparency = 1, | |
| 755 | Text = tostring(damage).."-", | |
| 756 | TextColor3 = Color1.Color, | |
| 757 | TextStrokeColor3 = Color2.Color, | |
| 758 | TextStrokeTransparency = 0, | |
| 759 | TextXAlignment = Enum.TextXAlignment.Center, | |
| 760 | TextYAlignment = Enum.TextYAlignment.Center, | |
| 761 | FontSize = Enum.FontSize.Size18, | |
| 762 | Font = "ArialBold", | |
| 763 | } | |
| 764 | coroutine.resume(coroutine.create(function() | |
| 765 | wait(1) | |
| 766 | for i = 0, 1, .1 do | |
| 767 | wait(.1) | |
| 768 | BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0) | |
| 769 | end | |
| 770 | BillG:Destroy() | |
| 771 | end)) | |
| 772 | end | |
| 773 | v.Health = v.Health - damage | |
| 774 | local bool = Create("BoolValue"){
| |
| 775 | Parent = v, | |
| 776 | Name = 'Hitz', | |
| 777 | } | |
| 778 | if HSound ~= nil and HPitch ~= nil then | |
| 779 | CreateSound(HSound, hit, 1, HPitch) | |
| 780 | end | |
| 781 | game:GetService("Debris"):AddItem(bool, cooldown)
| |
| 782 | end | |
| 783 | end | |
| 784 | end | |
| 785 | end | |
| 786 | ||
| 787 | ||
| 788 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 789 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 790 | prt.Anchored = true | |
| 791 | prt.CFrame = cframe | |
| 792 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 793 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 794 | if Type == 1 or Type == nil then | |
| 795 | table.insert(Effects, {
| |
| 796 | prt, | |
| 797 | "Block1", | |
| 798 | delay, | |
| 799 | x3, | |
| 800 | y3, | |
| 801 | z3, | |
| 802 | msh | |
| 803 | }) | |
| 804 | elseif Type == 2 then | |
| 805 | table.insert(Effects, {
| |
| 806 | prt, | |
| 807 | "Block2", | |
| 808 | delay, | |
| 809 | x3, | |
| 810 | y3, | |
| 811 | z3, | |
| 812 | msh | |
| 813 | }) | |
| 814 | end | |
| 815 | end | |
| 816 | ||
| 817 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 818 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 819 | prt.Anchored = true | |
| 820 | prt.CFrame = cframe | |
| 821 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 822 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 823 | table.insert(Effects, {
| |
| 824 | prt, | |
| 825 | "Cylinder", | |
| 826 | delay, | |
| 827 | x3, | |
| 828 | y3, | |
| 829 | z3, | |
| 830 | msh | |
| 831 | }) | |
| 832 | end | |
| 833 | ||
| 834 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 835 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 836 | prt.Anchored = true | |
| 837 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
| 838 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 839 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 840 | table.insert(Effects, {
| |
| 841 | prt, | |
| 842 | "Cylinder", | |
| 843 | delay, | |
| 844 | x3, | |
| 845 | y3, | |
| 846 | z3, | |
| 847 | msh | |
| 848 | }) | |
| 849 | end | |
| 850 | ||
| 851 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 852 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 853 | prt.Anchored = true | |
| 854 | prt.CFrame = cframe | |
| 855 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 856 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 857 | table.insert(Effects, {
| |
| 858 | prt, | |
| 859 | "Cylinder", | |
| 860 | delay, | |
| 861 | x3, | |
| 862 | y3, | |
| 863 | z3, | |
| 864 | msh | |
| 865 | }) | |
| 866 | end | |
| 867 | ||
| 868 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 869 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 870 | prt.Anchored = true | |
| 871 | prt.CFrame = cframe | |
| 872 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 873 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 874 | table.insert(Effects, {
| |
| 875 | prt, | |
| 876 | "Cylinder", | |
| 877 | delay, | |
| 878 | x3, | |
| 879 | y3, | |
| 880 | z3, | |
| 881 | msh | |
| 882 | }) | |
| 883 | end | |
| 884 | ||
| 885 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 886 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 887 | prt.Anchored = true | |
| 888 | prt.CFrame = cframe | |
| 889 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 890 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 891 | table.insert(Effects, {
| |
| 892 | prt, | |
| 893 | "Cylinder", | |
| 894 | delay, | |
| 895 | x3, | |
| 896 | y3, | |
| 897 | z3, | |
| 898 | msh | |
| 899 | }) | |
| 900 | end | |
| 901 | ||
| 902 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
| 903 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 904 | prt.Anchored = true | |
| 905 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 906 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 907 | local num = math.random(10, 50) / 1000 | |
| 908 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 909 | table.insert(Effects, {
| |
| 910 | prt, | |
| 911 | "Shatter", | |
| 912 | num, | |
| 913 | prt.CFrame, | |
| 914 | math.random() - math.random(), | |
| 915 | 0, | |
| 916 | math.random(50, 100) / 100 | |
| 917 | }) | |
| 918 | end | |
| 919 | ||
| 920 | ||
| 921 | ||
| 922 | ||
| 923 | for i = 0, 1, 0.05 do | |
| 924 | swait() | |
| 925 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1) | |
| 926 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1) | |
| 927 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1) | |
| 928 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3) | |
| 929 | if Torsovelocity > 2 then | |
| 930 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .2) | |
| 931 | RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3) | |
| 932 | LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3) | |
| 933 | elseif Torsovelocity < 1 then | |
| 934 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1) | |
| 935 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1) | |
| 936 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1) | |
| 937 | end | |
| 938 | end | |
| 939 | attack = false | |
| 940 | ||
| 941 | ||
| 942 | ||
| 943 | game:GetService'RunService'.Stepped:connect(function() | |
| 944 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 945 | velocity = RootPart.Velocity.y | |
| 946 | sine = sine + change | |
| 947 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 948 | if equipped == true or equipped == false then | |
| 949 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 950 | Anim = "Jump" | |
| 951 | if attack == false then | |
| 952 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1) | |
| 953 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1) | |
| 954 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1) | |
| 955 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1) | |
| 956 | RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1) | |
| 957 | LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1) | |
| 958 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1) | |
| 959 | DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,0 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05) | |
| 960 | end | |
| 961 | elseif RootPart.Velocity.y < 1 and hit == nil then | |
| 962 | Anim = "Fall" | |
| 963 | if attack == false then | |
| 964 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1) | |
| 965 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1) | |
| 966 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(65), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1) | |
| 967 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(55 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1) | |
| 968 | RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1) | |
| 969 | LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1) | |
| 970 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1) | |
| 971 | DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,8 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05) | |
| 972 | end | |
| 973 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 974 | Anim = "Idle" | |
| 975 | if attack == false then | |
| 976 | change = 1 | |
| 977 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1) | |
| 978 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1) | |
| 979 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1) | |
| 980 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1) | |
| 981 | RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1) | |
| 982 | LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1) | |
| 983 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1) | |
| 984 | ||
| 985 | DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05) | |
| 986 | end | |
| 987 | elseif Torsovelocity > 1 and hit ~= nil then | |
| 988 | Anim = "Walk" | |
| 989 | if attack == false then | |
| 990 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45+5 * math.cos(sine / 5))), .2) | |
| 991 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(5), math.rad(45+-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 12), .2) | |
| 992 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 4), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 4))), 0.3) | |
| 993 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 4), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 4)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 4))), 0.2) | |
| 994 | RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 995 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 996 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 997 | DW.C0 = clerp(DW.C0, CFrame.new(3+.1 * math.cos(sine / 5) , 3.05 - .1 * math.cos(sine / 3), 2.5 + .5 * math.cos(sine / 6)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05) | |
| 998 | end | |
| 999 | ||
| 1000 | ||
| 1001 | ||
| 1002 | ||
| 1003 | ||
| 1004 | ||
| 1005 | ||
| 1006 | ||
| 1007 | ||
| 1008 | ||
| 1009 | ||
| 1010 | ||
| 1011 | ||
| 1012 | ||
| 1013 | ||
| 1014 | ||
| 1015 | ||
| 1016 | ||
| 1017 | end | |
| 1018 | end | |
| 1019 | if #Effects > 0 then | |
| 1020 | for e = 1, #Effects do | |
| 1021 | if Effects[e] ~= nil then | |
| 1022 | local Thing = Effects[e] | |
| 1023 | if Thing ~= nil then | |
| 1024 | local Part = Thing[1] | |
| 1025 | local Mode = Thing[2] | |
| 1026 | local Delay = Thing[3] | |
| 1027 | local IncX = Thing[4] | |
| 1028 | local IncY = Thing[5] | |
| 1029 | local IncZ = Thing[6] | |
| 1030 | if Thing[1].Transparency <= 1 then | |
| 1031 | if Thing[2] == "Block1" then | |
| 1032 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1033 | local Mesh = Thing[1].Mesh | |
| 1034 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1035 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1036 | elseif Thing[2] == "Block2" then | |
| 1037 | Thing[1].CFrame = Thing[1].CFrame | |
| 1038 | local Mesh = Thing[7] | |
| 1039 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1040 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1041 | elseif Thing[2] == "Cylinder" then | |
| 1042 | local Mesh = Thing[1].Mesh | |
| 1043 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1044 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1045 | elseif Thing[2] == "Blood" then | |
| 1046 | local Mesh = Thing[7] | |
| 1047 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0) | |
| 1048 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1049 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1050 | elseif Thing[2] == "Elec" then | |
| 1051 | local Mesh = Thing[1].Mesh | |
| 1052 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1053 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1054 | elseif Thing[2] == "Disappear" then | |
| 1055 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1056 | elseif Thing[2] == "Shatter" then | |
| 1057 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1058 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1059 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1060 | Thing[6] = Thing[6] + Thing[5] | |
| 1061 | end | |
| 1062 | else | |
| 1063 | Part.Parent = nil | |
| 1064 | table.remove(Effects, e) | |
| 1065 | end | |
| 1066 | end | |
| 1067 | end | |
| 1068 | end | |
| 1069 | end | |
| 1070 | end) | |
| 1071 | ||
| 1072 | ||
| 1073 | ||
| 1074 | ||
| 1075 | ||
| 1076 | ||
| 1077 | ||
| 1078 | ||
| 1079 | ||
| 1080 | ||
| 1081 | ||
| 1082 | ||
| 1083 | ||
| 1084 | ||
| 1085 | ||
| 1086 | ||
| 1087 | ||
| 1088 | ||
| 1089 | ||
| 1090 | ||
| 1091 | ||
| 1092 | ||
| 1093 | ||
| 1094 | ||
| 1095 | ||
| 1096 | ||
| 1097 | ||
| 1098 | ||
| 1099 | RemoveOutlines = function(part) | |
| 1100 | ||
| 1101 | part.TopSurface = 10 | |
| 1102 | end | |
| 1103 | ||
| 1104 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1105 | ||
| 1106 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 1107 | RemoveOutlines(Part) | |
| 1108 | return Part | |
| 1109 | end | |
| 1110 | ||
| 1111 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1112 | ||
| 1113 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 1114 | if Mesh == "SpecialMesh" then | |
| 1115 | Msh.MeshType = MeshType | |
| 1116 | Msh.MeshId = MeshId | |
| 1117 | end | |
| 1118 | return Msh | |
| 1119 | end | |
| 1120 | ||
| 1121 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
| 1122 | ||
| 1123 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
| |
| 1124 | return Weld | |
| 1125 | end | |
| 1126 | ||
| 1127 | ||
| 1128 | ||
| 1129 | ||
| 1130 | ||
| 1131 | ||
| 1132 | ||
| 1133 | ||
| 1134 | ||
| 1135 | ||
| 1136 | ||
| 1137 | ||
| 1138 | ||
| 1139 | ||
| 1140 | ||
| 1141 | ||
| 1142 | CFuncs = {
| |
| 1143 | Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
| |
| 1144 | ||
| 1145 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 1146 | RemoveOutlines(Part) | |
| 1147 | return Part | |
| 1148 | end | |
| 1149 | } | |
| 1150 | , | |
| 1151 | Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
| |
| 1152 | ||
| 1153 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 1154 | if Mesh == "SpecialMesh" then | |
| 1155 | Msh.MeshType = MeshType | |
| 1156 | Msh.MeshId = MeshId | |
| 1157 | end | |
| 1158 | return Msh | |
| 1159 | end | |
| 1160 | } | |
| 1161 | , | |
| 1162 | Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
| |
| 1163 | ||
| 1164 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 1165 | if Mesh == "SpecialMesh" then | |
| 1166 | Msh.MeshType = MeshType | |
| 1167 | Msh.MeshId = MeshId | |
| 1168 | end | |
| 1169 | return Msh | |
| 1170 | end | |
| 1171 | } | |
| 1172 | , | |
| 1173 | Weld = {Create = function(Parent, Part0, Part1, C0, C1)
| |
| 1174 | ||
| 1175 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
| |
| 1176 | return Weld | |
| 1177 | end | |
| 1178 | } | |
| 1179 | , | |
| 1180 | Sound = {Create = function(id, par, vol, pit)
| |
| 1181 | ||
| 1182 | coroutine.resume(coroutine.create(function() | |
| 1183 | ||
| 1184 | local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
| |
| 1185 | wait() | |
| 1186 | S:play() | |
| 1187 | game:GetService("Debris"):AddItem(S, 6)
| |
| 1188 | end | |
| 1189 | )) | |
| 1190 | end | |
| 1191 | } | |
| 1192 | , | |
| 1193 | articleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
| |
| 1194 | ||
| 1195 | local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
| |
| 1196 | return fp | |
| 1197 | end | |
| 1198 | } | |
| 1199 | } | |
| 1200 | ||
| 1201 | ||
| 1202 | ||
| 1203 | ||
| 1204 | ||
| 1205 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1206 | ||
| 1207 | if hit.Parent == nil then | |
| 1208 | return | |
| 1209 | end | |
| 1210 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 1211 | for _,v in pairs(hit.Parent:children()) do | |
| 1212 | if v:IsA("Humanoid") then
| |
| 1213 | h = v | |
| 1214 | end | |
| 1215 | end | |
| 1216 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
| |
| 1217 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 1218 | return | |
| 1219 | end | |
| 1220 | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
| |
| 1221 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1222 | if HitSound ~= nil and HitPitch ~= nil then | |
| 1223 | CreateSound(HitSound, hit, 1, HitPitch) | |
| 1224 | end | |
| 1225 | local Damage = math.random(minim, maxim) | |
| 1226 | local blocked = false | |
| 1227 | local block = hit.Parent:findFirstChild("Block")
| |
| 1228 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 1229 | blocked = true | |
| 1230 | block.Value = block.Value - 1 | |
| 1231 | print(block.Value) | |
| 1232 | end | |
| 1233 | if blocked == false then | |
| 1234 | h.Health = h.Health - Damage | |
| 1235 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1236 | else | |
| 1237 | h.Health = h.Health - Damage / 2 | |
| 1238 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1239 | end | |
| 1240 | if Type == "Knockdown" then | |
| 1241 | local hum = hit.Parent.Humanoid | |
| 1242 | hum.PlatformStand = true | |
| 1243 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1244 | ||
| 1245 | swait(1) | |
| 1246 | HHumanoid.PlatformStand = false | |
| 1247 | end | |
| 1248 | ), hum) | |
| 1249 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1250 | local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 1251 | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
| |
| 1252 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 1253 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 1254 | elseif Type == "Normal" then | |
| 1255 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
| |
| 1256 | if knockback > 0 then | |
| 1257 | vp.Parent = hit.Parent.HumanoidRootPart | |
| 1258 | end | |
| 1259 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1260 | elseif Type == "Up" then | |
| 1261 | local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 1262 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1263 | local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 1264 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1265 | elseif Type == "Snare" then | |
| 1266 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1267 | local bp = Create("BodyPosition")({P = 200, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.HumanoidRootPart.Position + Vector3.new(0, -5, 0), Parent = hit.Parent.HumanoidRootPart})
| |
| 1268 | local rl2 = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500, 500, 500) * 10, angularvelocity = Vector3.new(math.random(-15,15), math.random(-0, 0), math.random(-15,15)), Parent = hit})
| |
| 1269 | game:GetService("Debris"):AddItem(rl2, 0.01)
| |
| 1270 | game:GetService("Debris"):AddItem(bp, .1)
| |
| 1271 | hit.Parent.Humanoid.PlatformStand = true | |
| 1272 | ||
| 1273 | ||
| 1274 | wait(.1) | |
| 1275 | hit.Parent.Humanoid.PlatformStand = false | |
| 1276 | elseif Type == "Freeze" then | |
| 1277 | local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.HumanoidRootPart.Position, Parent = hit.Parent.HumanoidRootPart})
| |
| 1278 | local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.HumanoidRootPart, cframe = hit.Parent.HumanoidRootPart.CFrame})
| |
| 1279 | hit.Parent.HumanoidRootPart.Anchored = true | |
| 1280 | coroutine.resume(coroutine.create(function(Part) | |
| 1281 | ||
| 1282 | swait(1.5) | |
| 1283 | Part.Anchored = false | |
| 1284 | end | |
| 1285 | ), hit.Parent.HumanoidRootPart) | |
| 1286 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 1287 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 1288 | end | |
| 1289 | local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
| |
| 1290 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 1291 | c = Instance.new("ObjectValue")
| |
| 1292 | c.Name = "creator" | |
| 1293 | c.Value = Player | |
| 1294 | c.Parent = h | |
| 1295 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1296 | end | |
| 1297 | end | |
| 1298 | ||
| 1299 | ShowDamage = function(Pos, Text, Time, Color) | |
| 1300 | ||
| 1301 | local Rate = 0.033333333333333 | |
| 1302 | if not Pos then | |
| 1303 | local Pos = Vector3.new(0, 0, 0) | |
| 1304 | end | |
| 1305 | local Text = Text or "" | |
| 1306 | local Time = Time or 2 | |
| 1307 | if not Color then | |
| 1308 | local Color = Color3.new(1, 0, 1) | |
| 1309 | end | |
| 1310 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 1311 | EffectPart.Anchored = true | |
| 1312 | local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
| |
| 1313 | local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
| |
| 1314 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 1315 | EffectPart.Parent = game:GetService("Workspace")
| |
| 1316 | delay(0, function() | |
| 1317 | ||
| 1318 | local Frames = Time / Rate | |
| 1319 | for Frame = 1, Frames do | |
| 1320 | wait(Rate) | |
| 1321 | local Percent = Frame / Frames | |
| 1322 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 1323 | TextLabel.TextTransparency = Percent | |
| 1324 | end | |
| 1325 | if EffectPart and EffectPart.Parent then | |
| 1326 | EffectPart:Destroy() | |
| 1327 | end | |
| 1328 | end | |
| 1329 | ) | |
| 1330 | end | |
| 1331 | ||
| 1332 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
| 1333 | ||
| 1334 | for _,c in pairs(workspace:children()) do | |
| 1335 | local hum = c:findFirstChild("Humanoid")
| |
| 1336 | if hum ~= nil then | |
| 1337 | local head = c:findFirstChild("HumanoidRootPart")
| |
| 1338 | if head ~= nil then | |
| 1339 | local targ = head.Position - Part.Position | |
| 1340 | local mag = targ.magnitude | |
| 1341 | if mag <= magni and c.Name ~= Player.Name then | |
| 1342 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1) | |
| 1343 | end | |
| 1344 | end | |
| 1345 | end | |
| 1346 | end | |
| 1347 | end | |
| 1348 | MagniKILL = function(Part, magni, knock, Type) | |
| 1349 | ||
| 1350 | for _,c in pairs(workspace:children()) do | |
| 1351 | local hum = c:findFirstChild("Humanoid")
| |
| 1352 | if hum ~= nil then | |
| 1353 | local head = c:findFirstChild("Head")
| |
| 1354 | if head ~= nil then | |
| 1355 | local targ = head.Position - Part.Position | |
| 1356 | local mag = targ.magnitude | |
| 1357 | if mag <= magni and c.Name ~= Player.Name then | |
| 1358 | hum.Health = 0 | |
| 1359 | end | |
| 1360 | end | |
| 1361 | end | |
| 1362 | end | |
| 1363 | end | |
| 1364 | ||
| 1365 | EffectModel = Instance.new("Model", Character)
| |
| 1366 | EffectModel.Name = "Effects" | |
| 1367 | Effects = {
| |
| 1368 | Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
| |
| 1369 | ||
| 1370 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1371 | prt.Anchored = true | |
| 1372 | prt.CFrame = cframe | |
| 1373 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1374 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1375 | if Type == 1 or Type == nil then | |
| 1376 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
| |
| 1377 | else | |
| 1378 | if Type == 2 then | |
| 1379 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
| |
| 1380 | end | |
| 1381 | end | |
| 1382 | end | |
| 1383 | } | |
| 1384 | , | |
| 1385 | Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 1386 | ||
| 1387 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1388 | prt.Anchored = true | |
| 1389 | prt.CFrame = cframe | |
| 1390 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1391 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1392 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 1393 | end | |
| 1394 | } | |
| 1395 | , | |
| 1396 | Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 1397 | ||
| 1398 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1399 | prt.Anchored = true | |
| 1400 | prt.CFrame = cframe | |
| 1401 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1402 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1403 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 1404 | end | |
| 1405 | } | |
| 1406 | , | |
| 1407 | Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 1408 | ||
| 1409 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1410 | prt.Anchored = true | |
| 1411 | prt.CFrame = cframe | |
| 1412 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1413 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1414 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 1415 | end | |
| 1416 | } | |
| 1417 | , | |
| 1418 | Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 1419 | ||
| 1420 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1421 | prt.Anchored = true | |
| 1422 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1423 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1424 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1425 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 1426 | end | |
| 1427 | } | |
| 1428 | , | |
| 1429 | Break = {Create = function(brickcolor, cframe, x1, y1, z1)
| |
| 1430 | ||
| 1431 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1432 | prt.Anchored = true | |
| 1433 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1434 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1435 | local num = math.random(10, 50) / 1000 | |
| 1436 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1437 | table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
| |
| 1438 | end | |
| 1439 | } | |
| 1440 | } | |
| 1441 | BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 1442 | ||
| 1443 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1444 | prt.Anchored = true | |
| 1445 | prt.CFrame = cframe | |
| 1446 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1447 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1448 | if Type == 1 or Type == nil then | |
| 1449 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
| |
| 1450 | else | |
| 1451 | if Type == 2 then | |
| 1452 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
| |
| 1453 | end | |
| 1454 | end | |
| 1455 | end | |
| 1456 | ||
| 1457 | CreateSound = function(id, par, vol, pit) | |
| 1458 | ||
| 1459 | coroutine.resume(coroutine.create(function() | |
| 1460 | ||
| 1461 | local sou = Instance.new("Sound", par or workspace)
| |
| 1462 | sou.Volume = vol | |
| 1463 | sou.Pitch = pit or 1 | |
| 1464 | sou.SoundId = id | |
| 1465 | swait() | |
| 1466 | sou:play() | |
| 1467 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 1468 | end | |
| 1469 | )) | |
| 1470 | end | |
| 1471 | ||
| 1472 | Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1473 | ||
| 1474 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1475 | prt.Anchored = true | |
| 1476 | prt.CFrame = cframe | |
| 1477 | prt.Material = "Neon" | |
| 1478 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1479 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1480 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1481 | ||
| 1482 | for i = 0, 6, delay do | |
| 1483 | swait() | |
| 1484 | Part.Transparency = i | |
| 1485 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 1486 | end | |
| 1487 | Part.Parent = nil | |
| 1488 | end | |
| 1489 | ), prt, msh) | |
| 1490 | end | |
| 1491 | LigLaser = function(mouse, partt, SpreadAmount) | |
| 1492 | ||
| 1493 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 1494 | local MainPos = partt.Position | |
| 1495 | local MainPos2 = mouse + SpreadVectors | |
| 1496 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 1497 | local speed = 1000 | |
| 1498 | local num = 1 | |
| 1499 | coroutine.resume(coroutine.create(function() | |
| 1500 | ||
| 1501 | repeat | |
| 1502 | swait() | |
| 1503 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 1504 | local mag = (MainPos - pos).magnitude | |
| 1505 | ||
| 1506 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 1507 | num = num - 1 | |
| 1508 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
| 1509 | if hit ~= nil then | |
| 1510 | num = 0 | |
| 1511 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1512 | refpart.Anchored = true | |
| 1513 | refpart.CFrame = CFrame.new(pos) | |
| 1514 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 1515 | end | |
| 1516 | ||
| 1517 | do | |
| 1518 | if num <= 0 then | |
| 1519 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1520 | refpart.Anchored = true | |
| 1521 | refpart.CFrame = CFrame.new(pos) | |
| 1522 | if hit ~= nil then | |
| 1523 | for i = 0,5 do | |
| 1524 | ||
| 1525 | makeLightning(LightMod, partt.Position, refpart.Position, 0.17, 4, 30, 1, 10) | |
| 1526 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
| |
| 1527 | - | BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
|
| 1527 | + | BlockEffect(BrickColor.new("Persimmon"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
|
| 1528 | - | BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
|
| 1528 | + | BlockEffect(BrickColor.new("Persimmon"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
|
| 1529 | MagniDamage(refpart, 3, .05, .2, 6, "Normal") | |
| 1530 | swait() | |
| 1531 | end | |
| 1532 | ||
| 1533 | ||
| 1534 | end | |
| 1535 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 1536 | end | |
| 1537 | end | |
| 1538 | until num <= 0 | |
| 1539 | end | |
| 1540 | )) | |
| 1541 | end | |
| 1542 | bigLigLaser = function(mouse, partt, SpreadAmount) | |
| 1543 | ||
| 1544 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 1545 | local MainPos = partt.Position | |
| 1546 | local MainPos2 = mouse + SpreadVectors | |
| 1547 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 1548 | local speed = 1000 | |
| 1549 | local num = 1 | |
| 1550 | coroutine.resume(coroutine.create(function() | |
| 1551 | ||
| 1552 | repeat | |
| 1553 | swait() | |
| 1554 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 1555 | local mag = (MainPos - pos).magnitude | |
| 1556 | ||
| 1557 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 1558 | num = num - 1 | |
| 1559 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
| 1560 | if hit ~= nil then | |
| 1561 | num = 0 | |
| 1562 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1563 | refpart.Anchored = true | |
| 1564 | refpart.CFrame = CFrame.new(pos) | |
| 1565 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 1566 | end | |
| 1567 | ||
| 1568 | do | |
| 1569 | if num <= 0 then | |
| 1570 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1571 | refpart.Anchored = true | |
| 1572 | refpart.CFrame = CFrame.new(pos) | |
| 1573 | if hit ~= nil then | |
| 1574 | for i = 0,1 do | |
| 1575 | ||
| 1576 | makeLightning(LightMod, partt.Position, refpart.Position, 0.3, 4, 20, 1, 10) | |
| 1577 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
| |
| 1578 | - | BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
|
| 1578 | + | BlockEffect(BrickColor.new("Persimmon"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
|
| 1579 | - | BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
|
| 1579 | + | BlockEffect(BrickColor.new("Persimmon"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
|
| 1580 | MagniDamage(refpart, 3, 5, 10, 8, "Snare") | |
| 1581 | swait() | |
| 1582 | end | |
| 1583 | ||
| 1584 | ||
| 1585 | end | |
| 1586 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 1587 | end | |
| 1588 | end | |
| 1589 | until num <= 0 | |
| 1590 | end | |
| 1591 | )) | |
| 1592 | end | |
| 1593 | ||
| 1594 | ||
| 1595 | shoottraildd = function(mouse, partt, SpreadAmount) | |
| 1596 | ||
| 1597 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 1598 | local MainPos = partt.Position | |
| 1599 | local MainPos2 = mouse + SpreadVectors | |
| 1600 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 1601 | local speed = 1000 | |
| 1602 | local num = 1 | |
| 1603 | coroutine.resume(coroutine.create(function() | |
| 1604 | ||
| 1605 | repeat | |
| 1606 | swait() | |
| 1607 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 1608 | local mag = (MainPos - pos).magnitude | |
| 1609 | - | Laser(BrickColor.new("Pastel Blue"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.195, 0, -0.195, 0.15)
|
| 1609 | + | Laser(BrickColor.new("Persimmon"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.195, 0, -0.195, 0.15)
|
| 1610 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 1611 | num = num - 1 | |
| 1612 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
| 1613 | if hit ~= nil then | |
| 1614 | num = 0 | |
| 1615 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1616 | refpart.Anchored = true | |
| 1617 | refpart.CFrame = CFrame.new(pos) | |
| 1618 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 1619 | end | |
| 1620 | do | |
| 1621 | if num <= 0 then | |
| 1622 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1623 | refpart.Anchored = true | |
| 1624 | refpart.CFrame = CFrame.new(pos) | |
| 1625 | if hit ~= nil then | |
| 1626 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
| |
| 1627 | - | BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1627 | + | BlockEffect(BrickColor.new("Persimmon"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1628 | - | BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1628 | + | BlockEffect(BrickColor.new("Persimmon"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1629 | MagniDamage(refpart, 3, 10, 15, 0, "Normal") | |
| 1630 | end | |
| 1631 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 1632 | end | |
| 1633 | end | |
| 1634 | until num <= 0 | |
| 1635 | end | |
| 1636 | )) | |
| 1637 | end | |
| 1638 | ||
| 1639 | shoottraildd2 = function(mouse, partt, SpreadAmount) | |
| 1640 | ||
| 1641 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 1642 | local MainPos = partt.Position | |
| 1643 | local MainPos2 = mouse + SpreadVectors | |
| 1644 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 1645 | local speed = 1000 | |
| 1646 | local num = 1 | |
| 1647 | coroutine.resume(coroutine.create(function() | |
| 1648 | ||
| 1649 | repeat | |
| 1650 | swait() | |
| 1651 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 1652 | local mag = (MainPos - pos).magnitude | |
| 1653 | - | Laser(BrickColor.new("Pastel Blue"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, .5)
|
| 1653 | + | Laser(BrickColor.new("Persimmon"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, .5)
|
| 1654 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 1655 | num = num - 1 | |
| 1656 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
| 1657 | if hit ~= nil then | |
| 1658 | num = 0 | |
| 1659 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1660 | refpart.Anchored = true | |
| 1661 | refpart.CFrame = CFrame.new(pos) | |
| 1662 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 1663 | end | |
| 1664 | do | |
| 1665 | if num <= 0 then | |
| 1666 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1667 | refpart.Anchored = true | |
| 1668 | refpart.CFrame = CFrame.new(pos) | |
| 1669 | if hit ~= nil then | |
| 1670 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
| |
| 1671 | - | BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1671 | + | BlockEffect(BrickColor.new("Persimmon"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1672 | - | BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1672 | + | BlockEffect(BrickColor.new("Persimmon"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1673 | MagniDamage(refpart, 3, 20, 40, 0, "Snare") | |
| 1674 | end | |
| 1675 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 1676 | end | |
| 1677 | end | |
| 1678 | until num <= 0 | |
| 1679 | end | |
| 1680 | )) | |
| 1681 | end | |
| 1682 | ||
| 1683 | ||
| 1684 | function idleanim2() | |
| 1685 | for i = 0, 1, 0.1 do | |
| 1686 | swait() | |
| 1687 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(10)), .2) | |
| 1688 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0 + 0.7 * math.cos(sine / 25)), math.rad(0), math.rad(-10)), .2) | |
| 1689 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.0) * angles(math.rad(0), math.rad(0 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1690 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(0 - 1 * math.cos(sine / 25))), 0.2) | |
| 1691 | RH.C0 = clerp(RH.C0, cn(1, -.7 - 0.0 * math.cos(sine / 25), -.3) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(-0), math.rad(50 + 1.1 * math.cos(sine / 25))), .2) | |
| 1692 | LH.C0 = clerp(LH.C0, cn(-1, -.6 - 0.0 * math.cos(sine / 25), -.3) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(-0), math.rad(-40 + 1.1 * math.cos(sine / 25))), .2) | |
| 1693 | GuW.C0 = clerp(GuW.C0, CFrame.new(-1.4,-1.5,0) * angles(math.rad(-0), math.rad(0), math.rad(90)), 0.1) | |
| 1694 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1695 | end | |
| 1696 | end | |
| 1697 | ||
| 1698 | function MinShotAttackAnim1() | |
| 1699 | ||
| 1700 | for i = 0, 1, 0.3 do | |
| 1701 | Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.hit.p.x,Torso.Position.y,mouse.hit.p.z)) | |
| 1702 | swait() | |
| 1703 | ||
| 1704 | if Torsovelocity > 1 then | |
| 1705 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0), math.rad(-50 - 5 * math.cos(sine / 5))), .2) | |
| 1706 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5))), .2) | |
| 1707 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1708 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1709 | RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50) + RootPart.RotVelocity.Y / 70, math.rad(50 * math.cos(sine / 4)+ RootPart.RotVelocity.Y / 10)), .3) | |
| 1710 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50) + RootPart.RotVelocity.Y / 70, math.rad(50 * math.cos(sine / 4))), .3) | |
| 1711 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1712 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1713 | elseif Torsovelocity < 1 then | |
| 1714 | ||
| 1715 | ||
| 1716 | ||
| 1717 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 1718 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2) | |
| 1719 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1720 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1721 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 1722 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 1723 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1724 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1725 | end | |
| 1726 | end | |
| 1727 | ||
| 1728 | ||
| 1729 | ||
| 1730 | ||
| 1731 | ||
| 1732 | ||
| 1733 | ||
| 1734 | ||
| 1735 | end | |
| 1736 | ||
| 1737 | ||
| 1738 | function ShotAttackAnim1() | |
| 1739 | for i = 0, 1, 0.3 do | |
| 1740 | ||
| 1741 | swait() | |
| 1742 | ||
| 1743 | if Torsovelocity > 1 then | |
| 1744 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2) | |
| 1745 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 12), .2) | |
| 1746 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1747 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1748 | RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1749 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1750 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1751 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1752 | elseif Torsovelocity < 1 then | |
| 1753 | ||
| 1754 | ||
| 1755 | ||
| 1756 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 1757 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2) | |
| 1758 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1759 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1760 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 1761 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 1762 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1763 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1764 | end | |
| 1765 | end | |
| 1766 | ||
| 1767 | ||
| 1768 | ||
| 1769 | ||
| 1770 | ||
| 1771 | ||
| 1772 | ||
| 1773 | ||
| 1774 | end | |
| 1775 | ||
| 1776 | ||
| 1777 | function ShotAttackAnim2() | |
| 1778 | for i = 0, 2, 0.1 do | |
| 1779 | swait() | |
| 1780 | ||
| 1781 | if Torsovelocity > 2 then | |
| 1782 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45+5 * math.cos(sine / 5))), .2) | |
| 1783 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(5), math.rad(45+-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2) | |
| 1784 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 4), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 4))), 0.3) | |
| 1785 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 4), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 4)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 4))), 0.2) | |
| 1786 | RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1787 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1788 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1789 | DW.C0 = clerp(DW.C0, CFrame.new(4+.1 * math.cos(sine / 5) , 7.05 - .1 * math.cos(sine / 3), 2.5 + .1 * math.cos(sine / 6)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05) | |
| 1790 | elseif Torsovelocity < 1 then | |
| 1791 | ||
| 1792 | ||
| 1793 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1) | |
| 1794 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1) | |
| 1795 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1) | |
| 1796 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1) | |
| 1797 | RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1) | |
| 1798 | LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1) | |
| 1799 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1) | |
| 1800 | ||
| 1801 | DW.C0 = clerp(DW.C0, CFrame.new(2 + .1 * math.cos(sine / 5) ,7 + -.2 * math.cos(sine / 20), 0 + .1 * math.cos(sine / 5)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05) | |
| 1802 | end | |
| 1803 | end | |
| 1804 | end | |
| 1805 | ||
| 1806 | function ShotAttackAnim3() | |
| 1807 | for i = 0, 2, 0.1 do | |
| 1808 | swait() | |
| 1809 | ||
| 1810 | if Torsovelocity > 2 then | |
| 1811 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 1, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2) | |
| 1812 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2) | |
| 1813 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(60), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1814 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(125 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1815 | RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1816 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1817 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1818 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1819 | elseif Torsovelocity < 1 then | |
| 1820 | ||
| 1821 | ||
| 1822 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 1823 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2) | |
| 1824 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(60), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1825 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(125 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1826 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.1 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(4 + 2 * math.cos(sine / 25))), .2) | |
| 1827 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.1 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(-20 + 2 * math.cos(sine / 25))), .2) | |
| 1828 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1829 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1830 | end | |
| 1831 | end | |
| 1832 | ||
| 1833 | ||
| 1834 | ||
| 1835 | for i = 0, 1, 0.4 do | |
| 1836 | swait() | |
| 1837 | ||
| 1838 | if Torsovelocity > 2 then | |
| 1839 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2) | |
| 1840 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2) | |
| 1841 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1) | |
| 1842 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.1) | |
| 1843 | RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1844 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1845 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1846 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1847 | elseif Torsovelocity < 1 then | |
| 1848 | ||
| 1849 | ||
| 1850 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 1851 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2) | |
| 1852 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1) | |
| 1853 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.1) | |
| 1854 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.1 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), .2) | |
| 1855 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.1 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), .2) | |
| 1856 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1857 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1858 | end | |
| 1859 | end | |
| 1860 | end | |
| 1861 | ||
| 1862 | ||
| 1863 | ||
| 1864 | ||
| 1865 | ||
| 1866 | ||
| 1867 | ||
| 1868 | ||
| 1869 | function holding() | |
| 1870 | ||
| 1871 | ||
| 1872 | ||
| 1873 | ||
| 1874 | while Rapid == true and attack==true and sentrymode == false do | |
| 1875 | ||
| 1876 | attack = true | |
| 1877 | ||
| 1878 | ||
| 1879 | MinShotAttackAnim1() | |
| 1880 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1880 | + | BlockEffect(BrickColor.new("Persimmon"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1881 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
| |
| 1882 | shoottraildd(mouse.Hit.p, gun1, .55) | |
| 1883 | ||
| 1884 | MinShotAttackAnim1() | |
| 1885 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1885 | + | BlockEffect(BrickColor.new("Persimmon"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1886 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
| |
| 1887 | shoottraildd(mouse.Hit.p, gun2, .55) | |
| 1888 | MinShotAttackAnim1() | |
| 1889 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1889 | + | BlockEffect(BrickColor.new("Persimmon"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1890 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
| |
| 1891 | shoottraildd(mouse.Hit.p, gun3, .55) | |
| 1892 | MinShotAttackAnim1() | |
| 1893 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1893 | + | BlockEffect(BrickColor.new("Persimmon"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1894 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
| |
| 1895 | shoottraildd(mouse.Hit.p, gun4, .55) | |
| 1896 | end | |
| 1897 | ||
| 1898 | ||
| 1899 | ||
| 1900 | attack = false | |
| 1901 | end | |
| 1902 | ||
| 1903 | mouse.KeyDown:connect(function(k) | |
| 1904 | if k == "t" then | |
| 1905 | CreateSound("171014742", Torso, 10, 1)
| |
| 1906 | end | |
| 1907 | end) | |
| 1908 | ||
| 1909 | mouse.KeyUp:connect(function(k) | |
| 1910 | if k == "z" and Rapid == true then | |
| 1911 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231107923", RootPart, 1, 2)
| |
| 1912 | Rapid = false | |
| 1913 | - | Effects.Ring.Create (BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.08)
|
| 1913 | + | Effects.Ring.Create (BrickColor.new("Persimmon"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.08)
|
| 1914 | - | Effects.Ring.Create (BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.1)
|
| 1914 | + | Effects.Ring.Create (BrickColor.new("Persimmon"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.1)
|
| 1915 | ||
| 1916 | end | |
| 1917 | end) | |
| 1918 | ||
| 1919 | ||
| 1920 | ||
| 1921 | mouse.KeyDown:connect(function(k) | |
| 1922 | if k == "z" and sentrymode == false and attack == false then | |
| 1923 | attack = true | |
| 1924 | Rapid = true | |
| 1925 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=162611981", RootPart, 1, 1)
| |
| 1926 | MinShotAttackAnim1() | |
| 1927 | MinShotAttackAnim1() | |
| 1928 | for i = 0,10 do | |
| 1929 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1929 | + | BlockEffect(BrickColor.new("Persimmon"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1930 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1930 | + | BlockEffect(BrickColor.new("Persimmon"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1931 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1931 | + | BlockEffect(BrickColor.new("Persimmon"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1932 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1932 | + | BlockEffect(BrickColor.new("Persimmon"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1933 | - | Effects.Ring.Create (BrickColor.new("Pastel Blue"), gun1.CFrame, 2.1, 2.1, .1, -.3,-.3,0,0.07)
|
| 1933 | + | Effects.Ring.Create (BrickColor.new("Persimmon"), gun1.CFrame, 2.1, 2.1, .1, -.3,-.3,0,0.07)
|
| 1934 | MinShotAttackAnim1() | |
| 1935 | end | |
| 1936 | holding() | |
| 1937 | end | |
| 1938 | end) | |
| 1939 | ||
| 1940 | ||
| 1941 | ||
| 1942 | ||
| 1943 | mouse.KeyDown:connect(function(k) | |
| 1944 | ||
| 1945 | ||
| 1946 | if attack == false and k == "x" and sentrymode == false then | |
| 1947 | ||
| 1948 | ||
| 1949 | ||
| 1950 | ||
| 1951 | attack = true | |
| 1952 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=316030607", LaPart, 5, 3)
| |
| 1953 | for i=1,5 do | |
| 1954 | ||
| 1955 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1955 | + | BlockEffect(BrickColor.new("Persimmon"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1956 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1956 | + | BlockEffect(BrickColor.new("Persimmon"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1957 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1957 | + | BlockEffect(BrickColor.new("Persimmon"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1958 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1958 | + | BlockEffect(BrickColor.new("Persimmon"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1959 | ShotAttackAnim1() | |
| 1960 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1960 | + | BlockEffect(BrickColor.new("Persimmon"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1961 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1961 | + | BlockEffect(BrickColor.new("Persimmon"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1962 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1962 | + | BlockEffect(BrickColor.new("Persimmon"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1963 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1963 | + | BlockEffect(BrickColor.new("Persimmon"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1964 | ShotAttackAnim1() | |
| 1965 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1965 | + | BlockEffect(BrickColor.new("Persimmon"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1966 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1966 | + | BlockEffect(BrickColor.new("Persimmon"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1967 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1967 | + | BlockEffect(BrickColor.new("Persimmon"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1968 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1968 | + | BlockEffect(BrickColor.new("Persimmon"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1969 | ||
| 1970 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 0, 0, 0, 60, 60, 60, 0.4)
|
| 1970 | + | BlockEffect(BrickColor.new("Persimmon"), gun1.CFrame, 0, 0, 0, 60, 60, 60, 0.4)
|
| 1971 | ShotAttackAnim1() | |
| 1972 | end | |
| 1973 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=633129949", LaPart, 10, 1)
| |
| 1974 | for i=1,2 do | |
| 1975 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 20, 20, 20, 50, 50, 50, 0.12)
|
| 1975 | + | BlockEffect(BrickColor.new("Persimmon"), gun1.CFrame, 20, 20, 20, 50, 50, 50, 0.12)
|
| 1976 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 20, 20, 20, 30, 30, 30, 0.09)
|
| 1976 | + | BlockEffect(BrickColor.new("Persimmon"), gun1.CFrame, 20, 20, 20, 30, 30, 30, 0.09)
|
| 1977 | - | BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 10, 10, 10, 20, 20, 20, 0.06)
|
| 1977 | + | BlockEffect(BrickColor.new("Persimmon"), gun1.CFrame, 10, 10, 10, 20, 20, 20, 0.06)
|
| 1978 | BlockEffect(BrickColor.new("Really black"), gun1.CFrame, 3, 3, 3, 10, 10, 10, 0.045)
| |
| 1979 | end | |
| 1980 | BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
| |
| 1981 | ||
| 1982 | ||
| 1983 | MagniDamage(gun1, 15, 20, 69, 99, "Normal") | |
| 1984 | ShotAttackAnim3() | |
| 1985 | ||
| 1986 | ||
| 1987 | ||
| 1988 | ||
| 1989 | for i=1,2 do | |
| 1990 | BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
| |
| 1991 | ShotAttackAnim1() | |
| 1992 | BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
| |
| 1993 | ShotAttackAnim1() | |
| 1994 | BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
| |
| 1995 | ShotAttackAnim1() | |
| 1996 | end | |
| 1997 | ||
| 1998 | attack = false | |
| 1999 | ||
| 2000 | end | |
| 2001 | ||
| 2002 | ||
| 2003 | ||
| 2004 | if k == "r" and attack == false then | |
| 2005 | attack=true | |
| 2006 | while Torsovelocity < 1 do | |
| 2007 | attack=true | |
| 2008 | idleanim2() | |
| 2009 | ||
| 2010 | ||
| 2011 | ||
| 2012 | end | |
| 2013 | attack=false | |
| 2014 | ||
| 2015 | end | |
| 2016 | ||
| 2017 | ||
| 2018 | ||
| 2019 | ||
| 2020 | ||
| 2021 | ||
| 2022 | ||
| 2023 | ||
| 2024 | if k == "v" and sentrymode == false and attack == false and ultwait==false then | |
| 2025 | ultwait=true | |
| 2026 | attack = true | |
| 2027 | Humanoid.WalkSpeed = 0 | |
| 2028 | local Sond = Create("Sound")({Volume = 1.5, Pitch = 1.2, SoundId = "http://www.roblox.com/asset/?id=195322948", Parent = Character or workspace})
| |
| 2029 | wait() | |
| 2030 | Sond:play() | |
| 2031 | ||
| 2032 | for i = 0, 1, 0.1 do | |
| 2033 | swait() | |
| 2034 | ||
| 2035 | ||
| 2036 | ||
| 2037 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 2038 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2) | |
| 2039 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 2040 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 2041 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 2042 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 2043 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 2044 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 2045 | ||
| 2046 | end | |
| 2047 | ||
| 2048 | ||
| 2049 | for i = 0, 2, 0.1 do | |
| 2050 | swait() | |
| 2051 | ||
| 2052 | - | Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
|
| 2052 | + | Effects.Ring.Create (BrickColor.new("Persimmon"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
|
| 2053 | ||
| 2054 | ||
| 2055 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 2056 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2) | |
| 2057 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 2058 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(90 + 1 * math.cos(sine / 25)), math.rad(-45), math.rad(-45 - 1 * math.cos(sine / 25))), 0.2) | |
| 2059 | RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .2) | |
| 2060 | LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2) | |
| 2061 | GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 2062 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 2063 | ||
| 2064 | end | |
| 2065 | ||
| 2066 | ||
| 2067 | for i = 0, 58, 0.1 do | |
| 2068 | swait() | |
| 2069 | - | Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.08)
|
| 2069 | + | Effects.Ring.Create (BrickColor.new("Persimmon"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.08)
|
| 2070 | - | Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.1)
|
| 2070 | + | Effects.Ring.Create (BrickColor.new("Persimmon"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.1)
|
| 2071 | - | BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 21, 41, 21, -.5, -.5, -.5, 0.1,2)
|
| 2071 | + | BlockEffect(BrickColor.new("Persimmon"), LeftArm.CFrame, 21, 41, 21, -.5, -.5, -.5, 0.1,2)
|
| 2072 | ||
| 2073 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 2074 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2) | |
| 2075 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1) | |
| 2076 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(120 + 1 * math.cos(sine / 25)), math.rad(-45), math.rad(-45 - 1 * math.cos(sine / 25))), 0.1) | |
| 2077 | RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1) | |
| 2078 | LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2) | |
| 2079 | GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 2080 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 2081 | ||
| 2082 | end | |
| 2083 | - | BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 0, 0, 0, 20,20,20, 0.05,1)
|
| 2083 | + | BlockEffect(BrickColor.new("Persimmon"), LeftArm.CFrame, 0, 0, 0, 20,20,20, 0.05,1)
|
| 2084 | for i = 0, 55, 0.1 do | |
| 2085 | swait() | |
| 2086 | - | Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.08)
|
| 2086 | + | Effects.Ring.Create (BrickColor.new("Persimmon"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.08)
|
| 2087 | - | Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
|
| 2087 | + | Effects.Ring.Create (BrickColor.new("Persimmon"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
|
| 2088 | - | Effects.Break.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, 6, .1, .1)
|
| 2088 | + | Effects.Break.Create (BrickColor.new("Persimmon"), LeftArm.CFrame, 6, .1, .1)
|
| 2089 | - | BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 21, 41, 21, .1, .1, .1, 0.05,2)
|
| 2089 | + | BlockEffect(BrickColor.new("Persimmon"), LeftArm.CFrame, 21, 41, 21, .1, .1, .1, 0.05,2)
|
| 2090 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 5) * angles(math.rad(0), math.rad(0), math.rad(-50)), .01) | |
| 2091 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2) | |
| 2092 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 2093 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(120 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(-45 - 1 * math.cos(sine / 25))), 0.2) | |
| 2094 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.2 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1) | |
| 2095 | LH.C0 = clerp(LH.C0, cn(-.9, -.7 - 0.2 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 2096 | GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 2097 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 2098 | ||
| 2099 | end | |
| 2100 | - | BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 0, 0, 0, 30,30,30, 0.05,1)
|
| 2100 | + | BlockEffect(BrickColor.new("Persimmon"), LeftArm.CFrame, 0, 0, 0, 30,30,30, 0.05,1)
|
| 2101 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260434750", Character, 2, .7)
| |
| 2102 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=209833293", Character, 2, 2)
| |
| 2103 | for i = 0, 10, 0.1 do | |
| 2104 | swait() | |
| 2105 | ||
| 2106 | - | Effects.Wave.Create (BrickColor.new("Pastel Blue"), Torso.CFrame, .1, .1, .1, .5,10000,.5,0.08)
|
| 2106 | + | Effects.Wave.Create (BrickColor.new("Persimmon"), Torso.CFrame, .1, .1, .1, .5,10000,.5,0.08)
|
| 2107 | - | Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.08)
|
| 2107 | + | Effects.Ring.Create (BrickColor.new("Persimmon"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.08)
|
| 2108 | - | Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.1)
|
| 2108 | + | Effects.Ring.Create (BrickColor.new("Persimmon"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.1)
|
| 2109 | - | Effects.Break.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, 76, .1, .1)
|
| 2109 | + | Effects.Break.Create (BrickColor.new("Persimmon"), LeftArm.CFrame, 76, .1, .1)
|
| 2110 | - | BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 40, 40, 40, 70,70,70, 0.05,1)
|
| 2110 | + | BlockEffect(BrickColor.new("Persimmon"), LeftArm.CFrame, 40, 40, 40, 70,70,70, 0.05,1)
|
| 2111 | ||
| 2112 | ||
| 2113 | MagniKILL(Torso, 80,99,99999999, 0, "Normal") | |
| 2114 | ||
| 2115 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 2116 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2) | |
| 2117 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 2118 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(160 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(-0 - 1 * math.cos(sine / 25))), 0.2) | |
| 2119 | RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1) | |
| 2120 | LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2) | |
| 2121 | GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 2122 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 2123 | ||
| 2124 | end | |
| 2125 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260435164", Character, 2, .7)
| |
| 2126 | ||
| 2127 | for i = 0, 1, 0.1 do | |
| 2128 | swait() | |
| 2129 | ||
| 2130 | ||
| 2131 | ||
| 2132 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 2133 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2) | |
| 2134 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 2135 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 2136 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 2137 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 2138 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 2139 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 2140 | ||
| 2141 | end | |
| 2142 | Humanoid.WalkSpeed = 16 | |
| 2143 | Sond:Destroy() | |
| 2144 | ||
| 2145 | attack = false | |
| 2146 | wait(30) | |
| 2147 | ultwait=false | |
| 2148 | end | |
| 2149 | ||
| 2150 | if k == "e" then | |
| 2151 | ||
| 2152 | if sentrymode== false then | |
| 2153 | if attack == false then | |
| 2154 | GlowParticle.Enabled = true | |
| 2155 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=876800936", LaPart, 1.5, 1.5)
| |
| 2156 | sentrymode= true | |
| 2157 | end | |
| 2158 | else | |
| 2159 | sentrymode=false | |
| 2160 | GlowParticle.Enabled = false | |
| 2161 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231107923", LaPart, 3, 1.5)
| |
| 2162 | end | |
| 2163 | end | |
| 2164 | ||
| 2165 | end) | |
| 2166 | mouse.Button1Down:connect(function(key) | |
| 2167 | if attack == false and sentrymode == false then | |
| 2168 | attack = true | |
| 2169 | ShotAttackAnim2() | |
| 2170 | - | BlockEffect(BrickColor.new("Pastel Blue"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
|
| 2170 | + | BlockEffect(BrickColor.new("Persimmon"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
|
| 2171 | - | BlockEffect(BrickColor.new("Pastel Blue"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
|
| 2171 | + | BlockEffect(BrickColor.new("Persimmon"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
|
| 2172 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=410543238", LaPart, 0.5, 1.6)
| |
| 2173 | bigLigLaser(mouse.Hit.p, LaPart, 0) | |
| 2174 | ShotAttackAnim2() | |
| 2175 | attack = false | |
| 2176 | end | |
| 2177 | end) | |
| 2178 | ||
| 2179 | Humanoid.MaxHealth = math.huge | |
| 2180 | wait() | |
| 2181 | Humanoid.Health = Humanoid.MaxHealth | |
| 2182 | ||
| 2183 | ||
| 2184 | ------------------------------------------------------------------------------------------------ | |
| 2185 | local HiveMind = {}
| |
| 2186 | ||
| 2187 | function HiveMind:new(owner) | |
| 2188 | self.__index = self | |
| 2189 | local o = {mind = {}, mindState = "FOLLOW", victimObject = nil}
| |
| 2190 | o.owner = owner | |
| 2191 | setmetatable(o, self) | |
| 2192 | return o | |
| 2193 | end | |
| 2194 | ||
| 2195 | function HiveMind:add(model, humanoid, torso) | |
| 2196 | if model and humanoid and torso then | |
| 2197 | table.insert(self.mind, {model = model, humanoid = humanoid,
| |
| 2198 | torso = torso}) | |
| 2199 | local hiv = self | |
| 2200 | local lastJump = 0 | |
| 2201 | torso.Touched:connect(function(object) | |
| 2202 | local hive = false | |
| 2203 | if hiv.owner.Character | |
| 2204 | and object:IsDescendantOf(hiv.owner.Character) == false | |
| 2205 | then | |
| 2206 | for i = 1, #hiv.mind do | |
| 2207 | if object:IsDescendantOf(hiv.mind[i].model) then | |
| 2208 | hive = true | |
| 2209 | break | |
| 2210 | end | |
| 2211 | end | |
| 2212 | if not hive then | |
| 2213 | local hum = object.Parent | |
| 2214 | and object.Parent:FindFirstChild("Humanoid")
| |
| 2215 | if hum then | |
| 2216 | hum:TakeDamage(1) | |
| 2217 | end | |
| 2218 | elseif time() - lastJump > 2 then | |
| 2219 | lastJump = time(0) + math.random()*1 | |
| 2220 | humanoid.Jump = true | |
| 2221 | end | |
| 2222 | end | |
| 2223 | end) | |
| 2224 | end | |
| 2225 | end | |
| 2226 | ||
| 2227 | function HiveMind:cleanupHive() | |
| 2228 | local i = 1 | |
| 2229 | while i <= #self.mind do | |
| 2230 | if self.mind[i].model:IsDescendantOf(game) == false | |
| 2231 | or self.mind[i].humanoid.Health == 0 then | |
| 2232 | table.remove(self.mind, i) | |
| 2233 | else | |
| 2234 | i = i + 1 | |
| 2235 | end | |
| 2236 | end | |
| 2237 | end | |
| 2238 | ||
| 2239 | function HiveMind:getOrbitNumberFromUnitNumber(i) | |
| 2240 | local circleNumber = 0 | |
| 2241 | while self:getUnitsInOrbit(circleNumber) < i do | |
| 2242 | i = i - self:getUnitsInOrbit(circleNumber) | |
| 2243 | circleNumber = circleNumber + 1 | |
| 2244 | end | |
| 2245 | return circleNumber, i | |
| 2246 | end | |
| 2247 | ||
| 2248 | function HiveMind:getOrbitDiameter(orbitNumber) | |
| 2249 | return math.pi*(orbitNumber*14) | |
| 2250 | end | |
| 2251 | ||
| 2252 | function HiveMind:getUnitsInOrbit(orbitNumber) | |
| 2253 | return math.floor(self:getOrbitDiameter(orbitNumber)/5) | |
| 2254 | end | |
| 2255 | ||
| 2256 | function HiveMind:lineup(location) | |
| 2257 | for i = 1, #self.mind do | |
| 2258 | local row = (i - 1) % 3 | |
| 2259 | local column = math.floor((i - 1) / 3) | |
| 2260 | local xOffset, yOffset | |
| 2261 | if row == 0 then | |
| 2262 | xOffset = -7 | |
| 2263 | elseif row == 1 then | |
| 2264 | xOffset = 0 | |
| 2265 | else | |
| 2266 | xOffset = 7 | |
| 2267 | end | |
| 2268 | yOffset = column * 7 | |
| 2269 | local position = location * CFrame.new(xOffset, 0, yOffset) | |
| 2270 | self.mind[i].humanoid:MoveTo(position.p, workspace.Base) | |
| 2271 | end | |
| 2272 | end | |
| 2273 | ||
| 2274 | function HiveMind:ownerTorso() | |
| 2275 | return self.owner.Character | |
| 2276 | and self.owner.Character:FindFirstChild("Torso")
| |
| 2277 | end | |
| 2278 | function HiveMind:update() | |
| 2279 | self:cleanupHive() | |
| 2280 | if self.owner.Character then | |
| 2281 | local ownerTorso = self.owner.Character:FindFirstChild("Torso")
| |
| 2282 | if ownerTorso then | |
| 2283 | if (self.mindState == "FOLLOW") then | |
| 2284 | local hiveSpawn = ownerTorso.CFrame * CFrame.new(0, 0, 9) | |
| 2285 | self:lineup(hiveSpawn) | |
| 2286 | elseif (self.mindState == "CIRCLE") then | |
| 2287 | self:circle(ownerTorso.Position) | |
| 2288 | elseif (self.mindState == "ATTACK") then | |
| 2289 | self:crowdAttack() | |
| 2290 | elseif (self.mindState == "Deffend") then | |
| 2291 | self:deffend() | |
| 2292 | elseif (self.mindState == "GOTO") then | |
| 2293 | self:pushToTarget() | |
| 2294 | end | |
| 2295 | end | |
| 2296 | end | |
| 2297 | end | |
| 2298 | local me = game:GetService("Players").LocalPlayer
| |
| 2299 | local hiveMind = HiveMind:new(me) | |
| 2300 | ||
| 2301 | ------------------------------------------------------------------------------------------------ | |
| 2302 | ||
| 2303 | function findNearestTorso(pos,dist2) | |
| 2304 | local list = game.Workspace:children() | |
| 2305 | local torso = nil | |
| 2306 | if dist2 == nil then | |
| 2307 | dist2=50 | |
| 2308 | ||
| 2309 | end | |
| 2310 | local dist = dist2 | |
| 2311 | local temp = nil | |
| 2312 | local human = nil | |
| 2313 | local temp2 = nil | |
| 2314 | for x = 1, #list do | |
| 2315 | temp2 = list[x] | |
| 2316 | if (temp2.className == "Model") and (temp2 ~= Character) then | |
| 2317 | temp = temp2:findFirstChild("HumanoidRootPart")
| |
| 2318 | human = temp2:findFirstChild("Humanoid")
| |
| 2319 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
| 2320 | if (temp.Position - pos).magnitude < dist then | |
| 2321 | torso = temp | |
| 2322 | ||
| 2323 | dist = (temp.Position - pos).magnitude | |
| 2324 | else | |
| 2325 | ||
| 2326 | end | |
| 2327 | ||
| 2328 | ||
| 2329 | ||
| 2330 | ||
| 2331 | end | |
| 2332 | end | |
| 2333 | end | |
| 2334 | return torso | |
| 2335 | end | |
| 2336 | ||
| 2337 | ||
| 2338 | game:GetService("RunService"):BindToRenderStep("ew", 0, function()
| |
| 2339 | ||
| 2340 | ||
| 2341 | ||
| 2342 | ||
| 2343 | ||
| 2344 | if sentrymode == true and sonarwait == false then | |
| 2345 | sonarwait = true | |
| 2346 | ||
| 2347 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=752527668", LaPart, 2, 0.8)
| |
| 2348 | ||
| 2349 | wait(1) | |
| 2350 | sonarwait = false | |
| 2351 | end | |
| 2352 | ||
| 2353 | ||
| 2354 | ||
| 2355 | ||
| 2356 | wait() | |
| 2357 | if sentrymode == true then | |
| 2358 | ||
| 2359 | local target = findNearestTorso(Character.HumanoidRootPart.Position,30) | |
| 2360 | if target ~= nil then | |
| 2361 | ShotAttackAnim2() | |
| 2362 | if sentrywait == false then | |
| 2363 | sentrywait = true | |
| 2364 | attack= true | |
| 2365 | ||
| 2366 | ||
| 2367 | - | BlockEffect(BrickColor.new("Pastel Blue"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
|
| 2367 | + | BlockEffect(BrickColor.new("Persimmon"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
|
| 2368 | - | BlockEffect(BrickColor.new("Pastel Blue"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
|
| 2368 | + | BlockEffect(BrickColor.new("Persimmon"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
|
| 2369 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433584", LaPart, 1.5, .8)
| |
| 2370 | LigLaser(target.Position, LaPart, 0) | |
| 2371 | wait() | |
| 2372 | attack= false | |
| 2373 | sentrywait = false | |
| 2374 | end | |
| 2375 | ||
| 2376 | ||
| 2377 | end | |
| 2378 | ||
| 2379 | end | |
| 2380 | end) | |
| 2381 | ||
| 2382 | ||
| 2383 | sonarwait = false | |
| 2384 | ||
| 2385 | ||
| 2386 | ||
| 2387 | ||
| 2388 | ||
| 2389 | ||
| 2390 | ||
| 2391 | ||
| 2392 | ||
| 2393 | ||
| 2394 | FaceIdList = {'117930174'}
| |
| 2395 | FaceId = FaceIdList[math.random(1,#FaceIdList)] | |
| 2396 | ||
| 2397 | ||
| 2398 | ||
| 2399 | ||
| 2400 | ||
| 2401 | local YourName = game.Players.LocalPlayer.Name | |
| 2402 | Character = Player.Character | |
| 2403 | ||
| 2404 | ||
| 2405 | Heartbeat = Instance.new("BindableEvent")
| |
| 2406 | Heartbeat.Name = "Heartbeat" | |
| 2407 | Heartbeat.Parent = script | |
| 2408 | frame = 0.03333333333333333 | |
| 2409 | tf = 0 | |
| 2410 | ||
| 2411 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 2412 | tf = tf + s | |
| 2413 | if tf >= frame then | |
| 2414 | for i = 1, math.floor(tf / frame) do | |
| 2415 | Heartbeat:Fire() | |
| 2416 | end | |
| 2417 | tf = tf - frame * math.floor(tf / frame) | |
| 2418 | end | |
| 2419 | end) | |
| 2420 | local nscale = Instance.new("NumberValue")
| |
| 2421 | nscale.Value = 1 | |
| 2422 | nscale.Parent = nil | |
| 2423 | nscale.Changed:connect(function() | |
| 2424 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2425 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2426 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2427 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2428 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2429 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2430 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2431 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2432 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2433 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2434 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2435 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2436 | end) | |
| 2437 | ||
| 2438 | function makegloo(paren, co, ci, parto, parti, nam) | |
| 2439 | local gloo = Instance.new("Glue")
| |
| 2440 | gloo.Name = nam | |
| 2441 | gloo.C0 = co | |
| 2442 | gloo.C1 = ci | |
| 2443 | gloo.Part0 = parto | |
| 2444 | gloo.Part1 = parti | |
| 2445 | gloo.Parent = paren | |
| 2446 | end | |
| 2447 | function makejoint(paren, co, ci, parto, parti, nam) | |
| 2448 | local gloo = Instance.new("Motor6D")
| |
| 2449 | gloo.Name = nam | |
| 2450 | gloo.C0 = co | |
| 2451 | gloo.C1 = ci | |
| 2452 | gloo.Part0 = parto | |
| 2453 | gloo.Part1 = parti | |
| 2454 | gloo.Parent = paren | |
| 2455 | end | |
| 2456 | function maketouchy(parent, limb, cframe) | |
| 2457 | local pr = Instance.new("Part")
| |
| 2458 | pr.Name = "touchy" | |
| 2459 | pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
| 2460 | pr.Transparency = 1 | |
| 2461 | pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) | |
| 2462 | pr.CanCollide = true | |
| 2463 | pr.Anchored = false | |
| 2464 | pr.Parent = parent | |
| 2465 | local w = Instance.new("Weld")
| |
| 2466 | w.Part0 = pr | |
| 2467 | w.Part1 = limb | |
| 2468 | w.C0 = cframe | |
| 2469 | w.Parent = pr | |
| 2470 | end | |
| 2471 | --[[ function swait(num) | |
| 2472 | if num == 0 or num == nil then | |
| 2473 | Heartbeat.Event:wait() | |
| 2474 | else | |
| 2475 | for i = 1, num do | |
| 2476 | Heartbeat.Event:wait() | |
| 2477 | end | |
| 2478 | end | |
| 2479 | end | |
| 2480 | --]] | |
| 2481 | modz = Instance.new("Model")
| |
| 2482 | modz.Name = "efx" | |
| 2483 | modz.Parent = Character | |
| 2484 | ||
| 2485 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2486 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2487 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2488 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2489 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2490 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2491 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2492 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2493 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2494 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2495 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2496 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2497 | local nscale = Instance.new("NumberValue")
| |
| 2498 | nscale.Value = 1 | |
| 2499 | nscale.Parent = nil | |
| 2500 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2501 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2502 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2503 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2504 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2505 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2506 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2507 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2508 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2509 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2510 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2511 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2512 | ||
| 2513 | ||
| 2514 | ||
| 2515 | ||
| 2516 | ||
| 2517 | ||
| 2518 | ||
| 2519 | ||
| 2520 | ||
| 2521 | ||
| 2522 | ||
| 2523 | ||
| 2524 | ||
| 2525 | sWaiting=false | |
| 2526 | wait3=false | |
| 2527 | shotval = 0 | |
| 2528 | ||
| 2529 | - | npcname = ""..Character.Name.."'s Combine" |
| 2529 | + | npcname = "Red Sniper" |
| 2530 | ||
| 2531 | ||
| 2532 | Character.ChildAdded:connect(function(object) | |
| 2533 | if object.Name == npcname then | |
| 2534 | hiveMind:add(object, object:WaitForChild("Humanoid"),
| |
| 2535 | object:WaitForChild("Torso"))
| |
| 2536 | end | |
| 2537 | end) | |
| 2538 | game:GetService("RunService").Stepped:connect(function()
| |
| 2539 | hiveMind:update() | |
| 2540 | end) | |
| 2541 | ||
| 2542 | function makenoob(cfrem, scalo, rags) | |
| 2543 | nscale.Value = scalo | |
| 2544 | local md = Instance.new("Model")
| |
| 2545 | - | md.Name = ""..Character.Name.."'s Combine" |
| 2545 | + | md.Name = "Red Sniper" |
| 2546 | md.Parent = Character | |
| 2547 | - | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=220230512", md, 1, 1)
|
| 2547 | + | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=852754701", md, 3, 1)
|
| 2548 | wait(.5) | |
| 2549 | local hu = Instance.new("Humanoid")
| |
| 2550 | hu.RigType = "R6" | |
| 2551 | hu.MaxHealth = 150 * scalo | |
| 2552 | hu.Health = 150 * scalo | |
| 2553 | hu.Parent = md | |
| 2554 | hu.DisplayDistanceType="Viewer" | |
| 2555 | hu.HealthDisplayDistance=100 | |
| 2556 | hu.NameDisplayDistance=100 | |
| 2557 | hu.NameOcclusion="EnemyOcclusion" | |
| 2558 | local anm = Instance.new("Animator")
| |
| 2559 | anm.Parent = hu | |
| 2560 | local forthisnpcanim = npcanim:Clone() | |
| 2561 | forthisnpcanim.Parent = md | |
| 2562 | hu.PlatformStand = true | |
| 2563 | local light = function(part) | |
| 2564 | part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5) | |
| 2565 | end | |
| 2566 | local hd = Instance.new("Part")
| |
| 2567 | hd.Name = "Head" | |
| 2568 | hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
| 2569 | hd.TopSurface = "Smooth" | |
| 2570 | hd.BottomSurface = "Inlet" | |
| 2571 | hd.Locked = true | |
| 2572 | hd.BrickColor = BrickColor.new("Pastel brown")
| |
| 2573 | hd.CanCollide = true | |
| 2574 | hd.Anchored = false | |
| 2575 | light(hd) | |
| 2576 | hd.Parent = md | |
| 2577 | local hm = Instance.new("SpecialMesh")
| |
| 2578 | hm.MeshType = "Head" | |
| 2579 | hm.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 2580 | hm.Parent = hd | |
| 2581 | ||
| 2582 | ||
| 2583 | ||
| 2584 | shirt = Instance.new("Shirt", md)
| |
| 2585 | shirt.Name = "Shirt" | |
| 2586 | pants = Instance.new("Pants", md)
| |
| 2587 | pants.Name = "Pants" | |
| 2588 | - | md.Shirt.ShirtTemplate = "rbxassetid://9859131" |
| 2588 | + | md.Shirt.ShirtTemplate = "rbxassetid://602199127" |
| 2589 | - | md.Pants.PantsTemplate = "rbxassetid://9859149" |
| 2589 | + | md.Pants.PantsTemplate = "rbxassetid://1083943175" |
| 2590 | function loada(anim) | |
| 2591 | local loaded = md.Humanoid:LoadAnimation(anim) | |
| 2592 | return loaded | |
| 2593 | end | |
| 2594 | IdleA = New("Animation",md,"Idle",{AnimationId = "rbxassetid://243282565"})
| |
| 2595 | IdleAnim = loada(IdleA) | |
| 2596 | ||
| 2597 | local hf = Instance.new("Decal")
| |
| 2598 | ||
| 2599 | ||
| 2600 | ||
| 2601 | ||
| 2602 | ||
| 2603 | ||
| 2604 | ||
| 2605 | FaceId = FaceIdList[math.random(1,#FaceIdList)] | |
| 2606 | ||
| 2607 | ||
| 2608 | ||
| 2609 | ||
| 2610 | ||
| 2611 | hf.Texture = "rbxassetid://"..FaceId | |
| 2612 | ||
| 2613 | hf.Face = "Front" | |
| 2614 | hf.Parent = hd | |
| 2615 | local hrpa = Instance.new("Part")
| |
| 2616 | hrpa.Name = "HumanoidRootPart" | |
| 2617 | hrpa.TopSurface, hrpa.BottomSurface = 0, 0 | |
| 2618 | hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 2619 | hrpa.Transparency = 1 | |
| 2620 | hrpa.CanCollide = false | |
| 2621 | hrpa.Locked = true | |
| 2622 | light(hrpa) | |
| 2623 | hrpa.Parent = md | |
| 2624 | local tagbomb = Instance.new("BoolValue")
| |
| 2625 | tagbomb.Name = "tagbomb" | |
| 2626 | tagbomb.Value = false | |
| 2627 | tagbomb.Parent = hrpa | |
| 2628 | local learm = Instance.new("Part")
| |
| 2629 | learm.Name = "Left Arm" | |
| 2630 | learm.BrickColor = BrickColor.new("Pastel brown")
| |
| 2631 | learm.CanCollide = false | |
| 2632 | learm.Locked = true | |
| 2633 | learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 2634 | light(learm) | |
| 2635 | learm.Parent = md | |
| 2636 | local riarm = Instance.new("Part")
| |
| 2637 | riarm.Name = "Right Arm" | |
| 2638 | riarm.BrickColor = BrickColor.new("Pastel brown")
| |
| 2639 | riarm.CanCollide = false | |
| 2640 | riarm.Locked = true | |
| 2641 | light(riarm) | |
| 2642 | riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 2643 | riarm.Parent = md | |
| 2644 | local leleg = Instance.new("Part")
| |
| 2645 | leleg.Name = "Left Leg" | |
| 2646 | leleg.BrickColor = BrickColor.new("Navy blue")
| |
| 2647 | leleg.CanCollide = false | |
| 2648 | leleg.Locked = true | |
| 2649 | light(leleg) | |
| 2650 | leleg.BottomSurface = 0 | |
| 2651 | leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 2652 | leleg.Parent = md | |
| 2653 | local rileg = Instance.new("Part")
| |
| 2654 | rileg.Name = "Right Leg" | |
| 2655 | rileg.BrickColor = BrickColor.new("Navy blue")
| |
| 2656 | rileg.CanCollide = false | |
| 2657 | rileg.Locked = true | |
| 2658 | light(rileg) | |
| 2659 | rileg.BottomSurface = 0 | |
| 2660 | rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 2661 | rileg.Parent = md | |
| 2662 | local tor = Instance.new("Part")
| |
| 2663 | tor.Name = "Torso" | |
| 2664 | - | tor.BrickColor = BrickColor.new("Pastel Blue")
|
| 2664 | + | tor.BrickColor = BrickColor.new("Persimmon")
|
| 2665 | tor.Locked = true | |
| 2666 | light(tor) | |
| 2667 | tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 2668 | tor.LeftSurface, tor.RightSurface = "Weld", "Weld" | |
| 2669 | tor.Parent = md | |
| 2670 | md.PrimaryPart = hrpa | |
| 2671 | md:SetPrimaryPartCFrame(cfrem) | |
| 2672 | md:makeJoints() | |
| 2673 | makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint") | |
| 2674 | makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck") | |
| 2675 | ||
| 2676 | if rags == true then | |
| 2677 | makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
| 2678 | makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
| 2679 | makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
| 2680 | makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
| 2681 | maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 2682 | maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 2683 | maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 2684 | maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 2685 | elseif rags == false then | |
| 2686 | makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
| 2687 | makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
| 2688 | makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
| 2689 | makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
| 2690 | hu.PlatformStand = false | |
| 2691 | ||
| 2692 | end | |
| 2693 | ||
| 2694 | ||
| 2695 | local Solhat = Instance.new("Accessory")
| |
| 2696 | Solhat.AttachmentPos = Vector3.new(0, .3, 0) | |
| 2697 | local SHH = Instance.new("Part",Solhat)
| |
| 2698 | SHH.Name = "Handle" | |
| 2699 | SHH.CanCollide=false | |
| 2700 | local SHHMesh = Instance.new("SpecialMesh",SHH)
| |
| 2701 | SHHMesh.Parent = SHH | |
| 2702 | SHHMesh.MeshId = "rbxassetid://31152467" | |
| 2703 | SHHMesh.TextureId = "rbxassetid://32002857" | |
| 2704 | SHHMesh.Scale = Vector3.new(1, 1, 1) | |
| 2705 | SHHMesh.VertexColor = Vector3.new(1, 1, 1) | |
| 2706 | ||
| 2707 | ||
| 2708 | ||
| 2709 | nscale.Value = 1 | |
| 2710 | ||
| 2711 | wait() | |
| 2712 | Solhat.Parent = md | |
| 2713 | Thegun = Instance.new("Part",riarm)
| |
| 2714 | Thegun.CanCollide=false | |
| 2715 | Thegun.Size = Vector3.new(1,1,1) | |
| 2716 | ThegunW = Instance.new("Weld")
| |
| 2717 | ThegunW.Name = "GuW" | |
| 2718 | ThegunW.Part0 = riarm | |
| 2719 | ThegunW.C0 = cn(-.5, -2.4, -.4)*angles(0,0,3.2) | |
| 2720 | ThegunW.C1 = cn(0, 0, 0) | |
| 2721 | ThegunW.Part1 = Thegun | |
| 2722 | ThegunW.Parent = riarm | |
| 2723 | local ThegunMesh = Instance.new("SpecialMesh",Thegun)
| |
| 2724 | ThegunMesh.Parent = Thegun | |
| 2725 | ThegunMesh.MeshId = "rbxassetid://477158943" | |
| 2726 | ThegunMesh.TextureId = "rbxassetid://477158949" | |
| 2727 | ThegunMesh.Scale = Vector3.new(0.04, 0.035, 0.04) | |
| 2728 | ThegunMesh.VertexColor = Vector3.new(0.2, 0, 0) | |
| 2729 | Thegun2 = Instance.new("Part",md)
| |
| 2730 | Thegun2.CanCollide=false | |
| 2731 | Thegun2.Size = Vector3.new(.1,.1,.1) | |
| 2732 | Thegun2.Name = "Shoot" | |
| 2733 | ThegunW2 = Instance.new("Weld")
| |
| 2734 | ThegunW2.Name = "GuW" | |
| 2735 | ThegunW2.Part0 = riarm | |
| 2736 | ThegunW2.C0 = cn(-0.4,-4.6,-.45)*angles(0,0,0) | |
| 2737 | ThegunW2.C1 = cn(0, 0, 0) | |
| 2738 | ThegunW2.Part1 = Thegun2 | |
| 2739 | ThegunW2.Parent = riarm | |
| 2740 | BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
| |
| 2741 | BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
| |
| 2742 | ||
| 2743 | - | BlockEffect(BrickColor.new("Pastel Blue"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2743 | + | BlockEffect(BrickColor.new("Persimmon"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2744 | - | BlockEffect(BrickColor.new("Pastel Blue"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2744 | + | BlockEffect(BrickColor.new("Persimmon"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2745 | wait(0.5) | |
| 2746 | - | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=183921414", tor, 1, 1)
|
| 2746 | + | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=0", tor, 1, 1)
|
| 2747 | IdleAnim:Play() | |
| 2748 | wait(2.5) | |
| 2749 | - | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=183953820", tor, 2, 1)
|
| 2749 | + | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=378126370", tor, 5, 1)
|
| 2750 | game:GetService("RunService"):BindToRenderStep("ew", 0, function()
| |
| 2751 | if md ~= nil and hu.Health > 0 and sentrymode == false then | |
| 2752 | if md ~= nil and hu.Health > 0 and sentrymode == false then | |
| 2753 | ||
| 2754 | if killcom==true or sentrymode == true and sWaiting==false then | |
| 2755 | ||
| 2756 | - | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=282061033", Torso, .5, 1)
|
| 2756 | + | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=1278707966", Torso, 1.5, 1)
|
| 2757 | ||
| 2758 | ||
| 2759 | ||
| 2760 | BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
| |
| 2761 | BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
| |
| 2762 | ||
| 2763 | - | BlockEffect(BrickColor.new("Pastel Blue"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2763 | + | BlockEffect(BrickColor.new("Persimmon"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2764 | - | BlockEffect(BrickColor.new("Pastel Blue"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2764 | + | BlockEffect(BrickColor.new("Persimmon"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2765 | ||
| 2766 | ||
| 2767 | ||
| 2768 | hu.Health = 0 | |
| 2769 | game:service'Debris':AddItem(md, .0); | |
| 2770 | end | |
| 2771 | ||
| 2772 | ||
| 2773 | ||
| 2774 | ||
| 2775 | ||
| 2776 | hu.WalkSpeed = 16.5 | |
| 2777 | local target2 = findNearestTorso(hrpa.Position,60) | |
| 2778 | if target2 ~= nil then | |
| 2779 | hu:MoveTo(target2.Position, target2) | |
| 2780 | ||
| 2781 | end | |
| 2782 | ||
| 2783 | local target3 = findNearestTorso(hrpa.Position,45) | |
| 2784 | ||
| 2785 | if target3 ~= nil then | |
| 2786 | hu.WalkSpeed = 0 | |
| 2787 | tor.CFrame = CFrame.new(tor.Position, target3.Position) * CFrame.Angles(0,math.rad(0),0) * CFrame.new(0,0,(dir2.s)) | |
| 2788 | end | |
| 2789 | ||
| 2790 | if target3 ~= nil and wait3==false and sentrymode == false then | |
| 2791 | wait3=true | |
| 2792 | ||
| 2793 | - | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", LaPart, 3, .7)
|
| 2793 | + | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=1496251203", LaPart, 5, .7)
|
| 2794 | shoottraildd2(target3.Position, Thegun2, 1) | |
| 2795 | local PointLight = Instance.new("PointLight", Thegun2);
| |
| 2796 | PointLight.Color = Color3.new(1,0,0) | |
| 2797 | PointLight.Brightness = 50; | |
| 2798 | PointLight.Range = 10 | |
| 2799 | game:service'Debris':AddItem(PointLight, .02); | |
| 2800 | wait(2.2) | |
| 2801 | wait3=false | |
| 2802 | ||
| 2803 | ||
| 2804 | ||
| 2805 | --Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0,math.rad(0),0) * CFrame.new(0,0,(dir.s)) | |
| 2806 | ||
| 2807 | ||
| 2808 | end | |
| 2809 | ||
| 2810 | end | |
| 2811 | ||
| 2812 | for i,v in pairs(Character:GetChildren()) do | |
| 2813 | - | if ""..Character.Name.."'s Combine" then |
| 2813 | + | if "Red Sniper" then |
| 2814 | ||
| 2815 | ||
| 2816 | ||
| 2817 | if hu.Health == 0 and md ~= nil and killcom==false and sWaiting==false then | |
| 2818 | - | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=160622487", Torso, .6, 1)
|
| 2818 | + | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=1106907281", Torso, 1.5, 1)
|
| 2819 | ||
| 2820 | ||
| 2821 | game:service'Debris':AddItem(md, 3); | |
| 2822 | ||
| 2823 | end | |
| 2824 | end | |
| 2825 | return md | |
| 2826 | ||
| 2827 | end | |
| 2828 | end | |
| 2829 | end) | |
| 2830 | ||
| 2831 | ||
| 2832 | ||
| 2833 | end | |
| 2834 | ||
| 2835 | ||
| 2836 | ||
| 2837 | ||
| 2838 | ||
| 2839 | ||
| 2840 | ||
| 2841 | ||
| 2842 | ||
| 2843 | ||
| 2844 | ||
| 2845 | ||
| 2846 | ||
| 2847 | ||
| 2848 | ||
| 2849 | function makecircle(cfrem, scalo) | |
| 2850 | local mcir1 = Instance.new("Part")
| |
| 2851 | mcir1.Anchored = true | |
| 2852 | mcir1.CanCollide = false | |
| 2853 | mcir1.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2854 | mcir1.Transparency = 1 | |
| 2855 | mcir1.CFrame = cfrem | |
| 2856 | mcir1.Parent = modz | |
| 2857 | game.Debris:AddItem(mcir1, 8) | |
| 2858 | local d1 = Instance.new("Decal")
| |
| 2859 | d1.Texture = "rbxassetid://0" | |
| 2860 | d1.Face = "Front" | |
| 2861 | d1.Parent = mcir1 | |
| 2862 | local d2 = Instance.new("Decal")
| |
| 2863 | d2.Texture = "rbxassetid://0" | |
| 2864 | d2.Face = "Back" | |
| 2865 | d2.Parent = mcir1 | |
| 2866 | local bme = Instance.new("BlockMesh")
| |
| 2867 | bme.Parent = mcir1 | |
| 2868 | for _ = 1, 9 do | |
| 2869 | swait() | |
| 2870 | bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3) | |
| 2871 | end | |
| 2872 | coroutine.resume(coroutine.create(function() | |
| 2873 | swait(15) | |
| 2874 | for _ = 1, 12 do | |
| 2875 | swait() | |
| 2876 | d1.Transparency = d1.Transparency + 0.08 | |
| 2877 | d2.Transparency = d2.Transparency + 0.08 | |
| 2878 | end | |
| 2879 | mcir1:Destroy() | |
| 2880 | end)) | |
| 2881 | return mcir1 | |
| 2882 | end | |
| 2883 | function spawnnoob(circlecf, noobcf, scalez, ragd) | |
| 2884 | local aearae = makecircle(circlecf, scalez) | |
| 2885 | local nananb | |
| 2886 | ||
| 2887 | nananb = makenoob(aearae.CFrame * noobcf, scalez, false) | |
| 2888 | ||
| 2889 | return nananb | |
| 2890 | end | |
| 2891 | mouse.KeyDown:connect(function(k) | |
| 2892 | if k == "c" and attack == false and sentrymode == false then | |
| 2893 | if killcom==false then | |
| 2894 | killcom=true | |
| 2895 | else | |
| 2896 | killcom=false | |
| 2897 | spawnnoob(RootPart.CFrame * cn((math.random(-5,5)), 10, (math.random(-0,5))) * angles(mr(90), 0, 0), cn(0, 0, 0) * angles(mr(-90), 0, 0), 1, false) | |
| 2898 | ||
| 2899 | end | |
| 2900 | ||
| 2901 | ||
| 2902 | end | |
| 2903 | end) | |
| 2904 | ||
| 2905 | --[[ | |
| 2906 | BlockEffect(BrickColor.new("Royal purple"), Firepart1.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
| |
| 2907 | BlockEffect(BrickColor.new("Eggplant"), Firepart1.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.06)
| |
| 2908 | BlockEffect(BrickColor.new("Royal purple"), Firepart2.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
| |
| 2909 | BlockEffect(BrickColor.new("Eggplant"), Firepart2.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.06)
| |
| 2910 | --]] |