SHOW:
|
|
- or go back to the newest paste.
| 1 | - | [--[[ |
| 1 | + | --[[Nemessis.Inc]]-- |
| 2 | - | Explosion God script made by EliteShadow @ V3rm aka Crimsonal @ Roblox |
| 2 | + | --[[Nemessis.Inc Members]]-- |
| 3 | - | --]] |
| 3 | + | --[[Ki_tchen [Owner] ]]-- |
| 4 | --[[Mewy23 CO-OWNER]]-- | |
| 5 | - | local Player = game.Players.LocalPlayer |
| 5 | + | --[[Unknown]]-- |
| 6 | --[[Unknown]]-- | |
| 7 | --[[Unknown]]-- | |
| 8 | --[[Unknown]]-- | |
| 9 | --[[Unknown]]-- | |
| 10 | --[[Unknown]]-- | |
| 11 | --[[Unknown]]-- | |
| 12 | ||
| 13 | --[[Every Script we release a new member will be shown.]]-- | |
| 14 | ||
| 15 | --[[Nemessis.Inc Out.]]-- | |
| 16 | ||
| 17 | - | local RightShoulder = Torso["Right Shoulder"] |
| 17 | + | wait(1 / 60) |
| 18 | - | local LeftShoulder = Torso["Left Shoulder"] |
| 18 | + | -- Trail Made by Gallizur |
| 19 | - | local Neck = Torso["Neck"] |
| 19 | + | --R15 Compatible in TrailSettings |
| 20 | - | local RightHip = Torso["Right Hip"] |
| 20 | + | local Player = game:GetService('Players').LocalPlayer
|
| 21 | - | local LeftHip = Torso["Left Hip"] |
| 21 | + | |
| 22 | - | wait(1) |
| 22 | + | |
| 23 | - | Instance.new("ForceField", Character)
|
| 23 | + | |
| 24 | --All The Settings for Trails in this Script | |
| 25 | - | local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
| 25 | + | TrailSettings = {
|
| 26 | - | local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
| 26 | + | Lifetime = 0.5, |
| 27 | - | local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 27 | + | Texture = 'rbxassetid://31270182', |
| 28 | - | local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 28 | + | --Color1 is for UpperBody and Accessories, Color2 is for Lower Body |
| 29 | - | local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 29 | + | Color1 = ColorSequence.new(BrickColor.new('Toothpaste').Color,BrickColor.new('Royal purple').Color),
|
| 30 | - | local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 30 | + | Color2 = ColorSequence.new(BrickColor.new('Institutional white').Color,BrickColor.new('Really black').Color),
|
| 31 | - | local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 31 | + | AllBody = true, |
| 32 | - | local LeftHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 32 | + | UpperBodyOnly = false, |
| 33 | - | local RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 33 | + | LowerBodyOnly = false, |
| 34 | - | local RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 34 | + | Accessories = false, |
| 35 | Extras = true, | |
| 36 | R15 = false, --Change to true if you're using R15 | |
| 37 | R15Parts = {
| |
| 38 | 'UpperTorso', | |
| 39 | 'LowerTorso', | |
| 40 | } | |
| 41 | } | |
| 42 | ||
| 43 | local Trail; --Making other Trails uses this in this Script | |
| 44 | ||
| 45 | ||
| 46 | --UpperBody Function | |
| 47 | - | local Player = game.Players.LocalPlayer |
| 47 | + | UpperBody = function() |
| 48 | if TrailSettings.R15 == false then | |
| 49 | A0 = Instance.new('Attachment',Character.Torso)
| |
| 50 | A1 = Instance.new('Attachment',Character.Head)
| |
| 51 | A2 = Instance.new('Attachment',Character['Right Arm'])
| |
| 52 | - | local mouse = Player:GetMouse() |
| 52 | + | A3 = Instance.new('Attachment',Character['Left Arm'])
|
| 53 | - | local Root = Character.HumanoidRootPart |
| 53 | + | Trail = Instance.new('Trail',Character)
|
| 54 | - | local RunService = game:GetService("RunService").RenderStepped
|
| 54 | + | Trail.Attachment0 = A0 |
| 55 | - | local Lighting = game:GetService("Lighting")
|
| 55 | + | Trail.Attachment1 = A1 |
| 56 | Trail.Texture = TrailSettings.Texture | |
| 57 | Trail.Color = TrailSettings.Color1 | |
| 58 | - | Player:ClearCharacterAppearance() |
| 58 | + | Trail.Lifetime = TrailSettings.Lifetime |
| 59 | - | wait(0.1) |
| 59 | + | local Trail2 = Trail:Clone() |
| 60 | - | Player.Character.Head.BrickColor = BrickColor.new("Really black")
|
| 60 | + | Trail2.Parent = Character |
| 61 | - | Player.Character.Torso.BrickColor = BrickColor.new("Really black")
|
| 61 | + | Trail2.Attachment1 = A2 |
| 62 | - | Player.Character["Right Arm"].BrickColor = BrickColor.new("Really black")
|
| 62 | + | local Trail3 = Trail:Clone() |
| 63 | - | Player.Character["Right Leg"].BrickColor = BrickColor.new("Really black")
|
| 63 | + | Trail3.Parent = Character |
| 64 | - | Player.Character["Left Leg"].BrickColor = BrickColor.new("Really black")
|
| 64 | + | Trail3.Attachment1 = A3 |
| 65 | - | Player.Character["Left Arm"].BrickColor = BrickColor.new("Really black")
|
| 65 | + | local Trail6 = Trail:Clone() |
| 66 | - | pcall(function() Player.Character.Torso.roblox:Destroy() end) |
| 66 | + | Trail6.Parent = Character |
| 67 | Trail6.Attachment0 = A1 | |
| 68 | - | z = Instance.new("Sound", Character)
|
| 68 | + | Trail6.Attachment1 = A2 |
| 69 | - | z.SoundId = "rbxassetid://"--301463006 |
| 69 | + | local Trail7 = Trail:Clone() |
| 70 | - | z.Looped = true |
| 70 | + | Trail7.Parent = Character |
| 71 | - | z.Pitch = 1 |
| 71 | + | Trail7.Attachment0 = A1 |
| 72 | - | z.Volume = math.huge |
| 72 | + | Trail7.Attachment1 = A3 |
| 73 | - | wait(.1) |
| 73 | + | else |
| 74 | - | z:Play() |
| 74 | + | A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
|
| 75 | A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
| |
| 76 | A1 = Instance.new('Attachment',Character.Head)
| |
| 77 | A2 = Instance.new('Attachment',Character['RightUpperArm'])
| |
| 78 | A2R = Instance.new('Attachment',Character['RightLowerArm'])
| |
| 79 | A3 = Instance.new('Attachment',Character['LeftUpperArm'])
| |
| 80 | A3R = Instance.new('Attachment',Character['LeftLowerArm'])
| |
| 81 | Trail = Instance.new('Trail',Character)
| |
| 82 | Trail.Attachment0 = A0 | |
| 83 | Trail.Attachment1 = A1 | |
| 84 | Trail.Texture = TrailSettings.Texture | |
| 85 | Trail.Color = TrailSettings.Color1 | |
| 86 | Trail.Lifetime = TrailSettings.Lifetime | |
| 87 | local Trail2 = Trail:Clone() | |
| 88 | Trail2.Parent = Character | |
| 89 | Trail2.Attachment1 = A2 | |
| 90 | local Trail3 = Trail:Clone() | |
| 91 | Trail3.Parent = Character | |
| 92 | Trail3.Attachment1 = A3 | |
| 93 | local Trail6 = Trail:Clone() | |
| 94 | Trail6.Parent = Character | |
| 95 | Trail6.Attachment0 = A1 | |
| 96 | Trail6.Attachment1 = A2 | |
| 97 | local Trail7 = Trail:Clone() | |
| 98 | Trail7.Parent = Character | |
| 99 | Trail7.Attachment0 = A1 | |
| 100 | Trail7.Attachment1 = A3 | |
| 101 | --R15 Trails | |
| 102 | local Trail1R = Trail:Clone() | |
| 103 | Trail1R.Parent = Character | |
| 104 | Trail1R.Attachment1 = A2R | |
| 105 | local Trail2R = Trail:Clone() | |
| 106 | Trail2R.Parent = Character | |
| 107 | Trail2R.Attachment1 = A3R | |
| 108 | local Trail6R = Trail:Clone() | |
| 109 | Trail6.Parent = Character | |
| 110 | Trail6.Attachment0 = A1 | |
| 111 | Trail6.Attachment1 = A2R | |
| 112 | local Trail7R = Trail:Clone() | |
| 113 | Trail7.Parent = Character | |
| 114 | Trail7.Attachment0 = A1 | |
| 115 | Trail7.Attachment1 = A3R | |
| 116 | end | |
| 117 | - | text.Text = "Zorex God Of Exploding" |
| 117 | + | |
| 118 | ||
| 119 | --Lower Body Function | |
| 120 | LowerBody = function() | |
| 121 | if TrailSettings.R15 == false then | |
| 122 | A4 = Instance.new('Attachment',Character['Right Leg'])
| |
| 123 | A5 = Instance.new('Attachment',Character['Left Leg'])
| |
| 124 | local Trail4 = Trail:Clone() | |
| 125 | - | local selectionBoxOfTorso = Instance.new("SelectionBox",Torso)
|
| 125 | + | Trail4.Parent = Character |
| 126 | - | selectionBoxOfTorso.Adornee = Torso |
| 126 | + | Trail4.Attachment1 = A4 |
| 127 | - | selectionBoxOfTorso.Color = BrickColor.new("1020")
|
| 127 | + | local Trail5 = Trail:Clone() |
| 128 | - | selectionBoxOfTorso.LineThickness = 0.01 |
| 128 | + | Trail5.Parent = Character |
| 129 | - | selectionBoxOfTorso.Transparency = 0 |
| 129 | + | Trail5.Attachment1 = A5 |
| 130 | local Trail8 = Trail:Clone() | |
| 131 | - | local selectionBoxOfRightArm = Instance.new("SelectionBox",Character["Right Arm"])
|
| 131 | + | Trail8.Parent = Character |
| 132 | - | selectionBoxOfRightArm.Adornee = Character["Right Arm"] |
| 132 | + | Trail8.Attachment0 = A2 |
| 133 | - | selectionBoxOfRightArm.Color = BrickColor.new("1020")
|
| 133 | + | Trail8.Attachment1 = A4 |
| 134 | - | selectionBoxOfRightArm.LineThickness = 0.01 |
| 134 | + | Trail8.Color = TrailSettings.Color2 |
| 135 | - | selectionBoxOfRightArm.Transparency = 0 |
| 135 | + | local Trail9 = Trail:Clone() |
| 136 | Trail9.Parent = Character | |
| 137 | - | local selectionBoxOfRightLeg = Instance.new("SelectionBox",Character["Right Leg"])
|
| 137 | + | Trail9.Attachment0 = A3 |
| 138 | - | selectionBoxOfRightLeg.Adornee = Character["Right Leg"] |
| 138 | + | Trail9.Attachment1 = A5 |
| 139 | - | selectionBoxOfRightLeg.Color = BrickColor.new("1020")
|
| 139 | + | Trail9.Color = TrailSettings.Color2 |
| 140 | - | selectionBoxOfRightLeg.LineThickness = 0.01 |
| 140 | + | local FT = Trail:Clone() |
| 141 | - | selectionBoxOfRightLeg.Transparency = 0 |
| 141 | + | FT.Parent = Character |
| 142 | FT.Attachment0 = A4 | |
| 143 | - | local selectionBoxOfLeftArm = Instance.new("SelectionBox",Character["Left Arm"])
|
| 143 | + | FT.Attachment1 = A5 |
| 144 | - | selectionBoxOfLeftArm.Adornee = Character["Left Arm"] |
| 144 | + | FT.Color = TrailSettings.Color2 |
| 145 | - | selectionBoxOfLeftArm.Color = BrickColor.new("1020")
|
| 145 | + | else |
| 146 | - | selectionBoxOfLeftArm.LineThickness = 0.01 |
| 146 | + | A4 = Instance.new('Attachment',Character['RightLowerLeg'])
|
| 147 | - | selectionBoxOfLeftArm.Transparency = 0 |
| 147 | + | A4R = Instance.new('Attachment',Character['RightUpperLeg'])
|
| 148 | A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
| |
| 149 | - | local selectionBoxOfLeftLeg = Instance.new("SelectionBox",Character["Left Leg"])
|
| 149 | + | A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
|
| 150 | - | selectionBoxOfLeftLeg.Adornee = Character["Left Leg"] |
| 150 | + | local Trail4 = Trail:Clone() |
| 151 | - | selectionBoxOfLeftLeg.Color = BrickColor.new("1020")
|
| 151 | + | Trail4.Parent = Character |
| 152 | - | selectionBoxOfLeftLeg.LineThickness = 0.01 |
| 152 | + | Trail4.Attachment1 = A4 |
| 153 | - | selectionBoxOfLeftLeg.Transparency = 0 |
| 153 | + | local Trail5 = Trail:Clone() |
| 154 | Trail5.Parent = Character | |
| 155 | Trail5.Attachment1 = A5 | |
| 156 | - | LightOnBody = Instance.new("PointLight", Head)
|
| 156 | + | local Trail8 = Trail:Clone() |
| 157 | - | LightOnBody.Brightness = 3000 |
| 157 | + | Trail8.Parent = Character |
| 158 | - | LightOnBody.Range = 20 |
| 158 | + | Trail8.Attachment0 = A2 |
| 159 | - | LightOnBody.Color = Color3.new(255, 85, 0) |
| 159 | + | Trail8.Attachment1 = A4 |
| 160 | Trail8.Color = TrailSettings.Color2 | |
| 161 | - | local HandCF = CFrame.new(Root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) |
| 161 | + | local Trail9 = Trail:Clone() |
| 162 | - | local wave = Instance.new("Part", Torso)
|
| 162 | + | Trail9.Parent = Character |
| 163 | - | wave.BrickColor = BrickColor.new("Maroon")
|
| 163 | + | Trail9.Attachment0 = A3 |
| 164 | - | wave.Anchored = true |
| 164 | + | Trail9.Attachment1 = A5 |
| 165 | - | wave.CanCollide = false |
| 165 | + | Trail9.Color = TrailSettings.Color2 |
| 166 | - | wave.Locked = true |
| 166 | + | local FT = Trail:Clone() |
| 167 | - | wave.Size = Vector3.new(1, 1, 1) |
| 167 | + | FT.Parent = Character |
| 168 | - | wave.TopSurface = "Smooth" |
| 168 | + | FT.Attachment0 = A4 |
| 169 | - | wave.BottomSurface = "Smooth" |
| 169 | + | FT.Attachment1 = A5 |
| 170 | - | wave.Transparency = 0.35 |
| 170 | + | FT.Color = TrailSettings.Color2 |
| 171 | - | wave.CFrame = HandCF |
| 171 | + | --R15 Trails |
| 172 | - | wm = Instance.new("SpecialMesh", wave)
|
| 172 | + | local Trail3R = Trail:Clone() |
| 173 | - | wm.MeshId = "rbxassetid://3270017" |
| 173 | + | Trail3R.Parent = Character |
| 174 | - | coroutine.wrap(function() |
| 174 | + | Trail3R.Attachment1 = A4R |
| 175 | - | for i = 1, 14, 1 do |
| 175 | + | local Trail4R = Trail:Clone() |
| 176 | - | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) |
| 176 | + | Trail4R.Parent = Character |
| 177 | - | wave.Size = wm.Scale |
| 177 | + | Trail4R.Attachment1 = A5R |
| 178 | - | wave.CFrame = HandCF |
| 178 | + | local Trail8 = Trail:Clone() |
| 179 | - | wave.Transparency = i/14 |
| 179 | + | Trail8.Parent = Character |
| 180 | - | wait() |
| 180 | + | Trail8.Attachment0 = A2R |
| 181 | - | end |
| 181 | + | Trail8.Attachment1 = A4R |
| 182 | - | wait() |
| 182 | + | Trail8.Color = TrailSettings.Color2 |
| 183 | - | wave:Destroy() |
| 183 | + | local Trail9 = Trail:Clone() |
| 184 | - | end)() |
| 184 | + | Trail9.Parent = Character |
| 185 | Trail9.Attachment0 = A3R | |
| 186 | Trail9.Attachment1 = A5R | |
| 187 | - | local function RefreshWelds() |
| 187 | + | Trail9.Color = TrailSettings.Color2 |
| 188 | - | Neck.C0 = NeckC0 |
| 188 | + | local FT2R = Trail:Clone() |
| 189 | - | Neck.C1 = NeckC1 |
| 189 | + | FT2R.Parent = Character |
| 190 | - | RightShoulder.C0 = RightShoulderC0 |
| 190 | + | FT2R.Attachment0 = A4R |
| 191 | - | RightShoulder.C1 = RightShoulderC1 |
| 191 | + | FT2R.Attachment1 = A5R |
| 192 | - | LeftShoulder.C0 = LeftShoulderC0 |
| 192 | + | FT2R.Color = TrailSettings.Color2 |
| 193 | - | LeftShoulder.C1 = LeftShoulderC1 |
| 193 | + | |
| 194 | - | RightHip.C0 = RightHipC0 |
| 194 | + | |
| 195 | - | RightHip.C1 = RightHipC1 |
| 195 | + | |
| 196 | - | LeftHip.C0 = LeftHipC0 |
| 196 | + | --All Body Function calling Both Functions |
| 197 | - | LeftHip.C1 = LeftHipC1 |
| 197 | + | AllBody = function() |
| 198 | UpperBody() | |
| 199 | LowerBody() | |
| 200 | - | local LastArm = "Left" |
| 200 | + | |
| 201 | - | local Active = false |
| 201 | + | |
| 202 | - | game:GetService("UserInputService").InputBegan:connect(function(Key, Gpe)
|
| 202 | + | --Checking to make sure that Only some Variables are Selected else do All Body |
| 203 | - | if not Gpe then |
| 203 | + | if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then |
| 204 | - | if Key.KeyCode == Enum.KeyCode.F and not Active then |
| 204 | + | TrailSettings.UpperBodyOnly = false |
| 205 | - | Active=true |
| 205 | + | TrailSettings.LowerBodyOnly = false |
| 206 | - | RefreshWelds() |
| 206 | + | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then |
| 207 | - | Torso.CFrame = CFrame.new(Torso.Position, Vector3.new(Mouse.hit.p.x, Torso.Position.Y, Mouse.hit.p.z)) |
| 207 | + | TrailSettings.UpperBodyOnly = false |
| 208 | - | Torso.Anchored=true |
| 208 | + | TrailSettings.LowerBodyOnly = false |
| 209 | - | Humanoid.PlatformStand = true |
| 209 | + | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then |
| 210 | - | for i = 1,3 do |
| 210 | + | TrailSettings.UpperBodyOnly = false |
| 211 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0,-0.2,0.55) |
| 211 | + | TrailSettings.LowerBodyOnly = false |
| 212 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0.2, -0.55) |
| 212 | + | elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then |
| 213 | TrailSettings.AllBody = true | |
| 214 | - | local last1 |
| 214 | + | TrailSettings.UpperBodyOnly = false |
| 215 | - | local last2 |
| 215 | + | TrailSettings.LowerBodyOnly = false |
| 216 | - | local explosion = Instance.new("Sound", Character)
|
| 216 | + | |
| 217 | - | explosion.Name="explosion" |
| 217 | + | |
| 218 | - | explosion.SoundId = "rbxassetid://2248511" |
| 218 | + | --Call Trail Functions |
| 219 | - | explosion:Play() |
| 219 | + | if TrailSettings.UpperBodyOnly == true then |
| 220 | - | game.Debris:AddItem(explosion,10) |
| 220 | + | UpperBody() |
| 221 | - | spawn(function() |
| 221 | + | print('Called Upper Body Trail')
|
| 222 | - | for i = 1,15 do |
| 222 | + | elseif TrailSettings.LowerBodyOnly == true then |
| 223 | - | local p = Instance.new("Part", Character)
|
| 223 | + | LowerBody() |
| 224 | - | p.Anchored=true |
| 224 | + | print('Called Lower Body Trail')
|
| 225 | - | p.CanCollide=false |
| 225 | + | elseif TrailSettings.AllBody == true then |
| 226 | - | p.Transparency=1 |
| 226 | + | AllBody() |
| 227 | - | p.Size=Vector3.new(.1,.1,.1) |
| 227 | + | print('Called Full Body Trail')
|
| 228 | - | p.Shape = "Ball" |
| 228 | + | |
| 229 | - | p.BrickColor = BrickColor.new("Really black")
|
| 229 | + | |
| 230 | - | game.Debris:AddItem(p,1) |
| 230 | + | --Trails for Accessories |
| 231 | - | if not last1 then |
| 231 | + | if TrailSettings.Accessories == true then |
| 232 | - | p.CFrame = Torso.CFrame * CFrame.Angles(0, math.rad(45), 0) * CFrame.new(0,0,-10) |
| 232 | + | for Index,Item in pairs(Character:GetChildren()) do |
| 233 | - | last1=p |
| 233 | + | if Item:IsA'Accessory' then |
| 234 | - | else |
| 234 | + | local AA = Instance.new('Attachment',Item.Handle)
|
| 235 | - | p.CFrame = last1.CFrame * CFrame.new(0, 0,-i*5) |
| 235 | + | local ATrail = Trail:Clone() |
| 236 | - | last1=p |
| 236 | + | ATrail.Parent = Character |
| 237 | ATrail.Attachment1 = AA | |
| 238 | - | local explo = Instance.new("Explosion", workspace)
|
| 238 | + | |
| 239 | - | explo.Position=p.Position |
| 239 | + | |
| 240 | - | explo.BlastPressure = math.huge |
| 240 | + | |
| 241 | - | explo.BlastRadius= math.huge |
| 241 | + | |
| 242 | - | wait() |
| 242 | + | --Extras |
| 243 | if TrailSettings.Extras == true then | |
| 244 | - | end) |
| 244 | + | --Making an Invisible Platform Part |
| 245 | - | spawn(function() |
| 245 | + | local a = Instance.new('Part',Character)
|
| 246 | - | for i = 1,15 do |
| 246 | + | a.CanCollide = false |
| 247 | - | local p = Instance.new("Part", Character)
|
| 247 | + | a.Size = Vector3.new(2,.2,2) |
| 248 | - | p.Anchored=true |
| 248 | + | a.Transparency = 1 |
| 249 | - | p.CanCollide=false |
| 249 | + | |
| 250 | - | p.Transparency=1 |
| 250 | + | --Constantly putting it under your feet |
| 251 | - | p.Size=Vector3.new(.1,.1,.1) |
| 251 | + | if TrailSettings.R15 == false then |
| 252 | - | p.Shape = "Ball" |
| 252 | + | spawn(function() |
| 253 | - | p.BrickColor = BrickColor.new("Really black")
|
| 253 | + | game:GetService('RunService').RenderStepped:connect(function()
|
| 254 | - | game.Debris:AddItem(p,1) |
| 254 | + | a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0) |
| 255 | - | if not last2 then |
| 255 | + | end) |
| 256 | - | p.CFrame = Torso.CFrame * CFrame.Angles(0, math.rad(-45), 0) * CFrame.new(0,0,-10) |
| 256 | + | |
| 257 | - | last2=p |
| 257 | + | else |
| 258 | - | else |
| 258 | + | spawn(function() |
| 259 | - | p.CFrame = last2.CFrame * CFrame.new(0,0 ,-i*5) |
| 259 | + | game:GetService('RunService').RenderStepped:connect(function()
|
| 260 | - | last2=p |
| 260 | + | a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0) |
| 261 | end) | |
| 262 | - | local explo = Instance.new("Explosion", workspace)
|
| 262 | + | |
| 263 | - | explo.Position=p.Position |
| 263 | + | |
| 264 | - | explo.BlastPressure = math.huge |
| 264 | + | |
| 265 | - | explo.BlastRadius= math.huge |
| 265 | + | --Make a Trail from both feet to the Platform |
| 266 | - | wait() |
| 266 | + | spawn(function() |
| 267 | repeat wait() until Trail | |
| 268 | - | end) |
| 268 | + | local AB = Instance.new('Attachment',a)
|
| 269 | - | wait(1) |
| 269 | + | local ABT = Trail:Clone() |
| 270 | - | Torso.Anchored=false |
| 270 | + | ABT.Parent = Character |
| 271 | - | Humanoid.PlatformStand = false |
| 271 | + | ABT.Attachment0 = A4 |
| 272 | - | RefreshWelds() |
| 272 | + | ABT.Attachment1 = AB |
| 273 | - | Active=false |
| 273 | + | ABT.Color = TrailSettings.Color2 |
| 274 | - | elseif Key.KeyCode == Enum.KeyCode.C and not Active then |
| 274 | + | local ABT2 = Trail:Clone() |
| 275 | - | Active = true |
| 275 | + | ABT2.Parent = Character |
| 276 | - | RefreshWelds() |
| 276 | + | ABT2.Attachment0 = A5 |
| 277 | - | Torso.CFrame = CFrame.new(Torso.Position, Vector3.new(Mouse.hit.p.x, Torso.Position.Y, Mouse.hit.p.z)) |
| 277 | + | ABT2.Attachment1 = AB |
| 278 | - | Torso.Anchored=true |
| 278 | + | ABT2.Color = TrailSettings.Color2 |
| 279 | - | Humanoid.PlatformStand = true |
| 279 | + | |
| 280 | - | for i = 1,3 do |
| 280 | + | |
| 281 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0,0,0.5) |
| 281 | + | |
| 282 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, -0.5) |
| 282 | + | Effects = { }
|
| 283 | - | wait() |
| 283 | + | local Player = game.Players.localPlayer |
| 284 | local Character = Player.Character | |
| 285 | - | local last1 |
| 285 | + | |
| 286 | - | local last2 |
| 286 | + | |
| 287 | - | local explosion = Instance.new("Sound", Character)
|
| 287 | + | |
| 288 | - | explosion.Name="explosion" |
| 288 | + | |
| 289 | - | explosion.SoundId = "rbxassetid://2248511" |
| 289 | + | |
| 290 | - | explosion:Play() |
| 290 | + | |
| 291 | - | game.Debris:AddItem(explosion,10) |
| 291 | + | |
| 292 | - | spawn(function() |
| 292 | + | |
| 293 | - | for i = 1,15 do |
| 293 | + | local Camera = game.Workspace.CurrentCamera |
| 294 | - | local p = Instance.new("Part", Character)
|
| 294 | + | local RootPart = Character.HumanoidRootPart |
| 295 | - | p.Anchored=true |
| 295 | + | local RootJoint = RootPart.RootJoint |
| 296 | - | p.CanCollide=false |
| 296 | + | local attack = false |
| 297 | - | p.Transparency=1 |
| 297 | + | local Anim = 'Idle' |
| 298 | - | p.Size=Vector3.new(.1,.1,.1) |
| 298 | + | local attacktype = 1 |
| 299 | - | p.Shape = "Ball" |
| 299 | + | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude |
| 300 | - | p.BrickColor = BrickColor.new("Really black")
|
| 300 | + | local velocity = RootPart.Velocity.y |
| 301 | - | game.Debris:AddItem(p,1) |
| 301 | + | local sine = 0 |
| 302 | - | if not last1 then |
| 302 | + | local change = 1 |
| 303 | - | p.CFrame = Torso.CFrame * CFrame.new(0,0 ,-i*10) |
| 303 | + | local Create = LoadLibrary("RbxUtility").Create
|
| 304 | - | last1=p |
| 304 | + | local sick = Instance.new("Sound",Character.Torso)
|
| 305 | - | else |
| 305 | + | sick.SoundId = "rbxassetid://246495880" |
| 306 | - | p.CFrame = last1.CFrame * CFrame.new(0,0 ,-i*5) |
| 306 | + | sick.Looped = true |
| 307 | - | last1=p |
| 307 | + | sick.Pitch = 1 |
| 308 | sick.Volume = 1 | |
| 309 | - | local explo = Instance.new("Explosion", workspace)
|
| 309 | + | sick:Play() |
| 310 | - | explo.Position=p.Position |
| 310 | + | |
| 311 | - | explo.BlastPressure = math.huge |
| 311 | + | local m = Create("Model"){
|
| 312 | - | explo.BlastRadius= math.huge |
| 312 | + | Parent = Character, |
| 313 | - | wait() |
| 313 | + | Name = "WeaponModel", |
| 314 | } | |
| 315 | - | end) |
| 315 | + | |
| 316 | - | spawn(function() |
| 316 | + | Humanoid.Animator.Parent = nil |
| 317 | - | for i = 1,15 do |
| 317 | + | Character.Animate.Parent = nil |
| 318 | - | local p = Instance.new("Part", Character)
|
| 318 | + | |
| 319 | - | p.Anchored=true |
| 319 | + | local newMotor = function(part0, part1, c0, c1) |
| 320 | - | p.CanCollide=false |
| 320 | + | local w = Create('Motor'){
|
| 321 | - | p.Transparency=1 |
| 321 | + | Parent = part0, |
| 322 | - | p.Size=Vector3.new(.1,.1,.1) |
| 322 | + | Part0 = part0, |
| 323 | - | p.Shape = "Ball" |
| 323 | + | Part1 = part1, |
| 324 | - | p.BrickColor = BrickColor.new("Really black")
|
| 324 | + | C0 = c0, |
| 325 | - | game.Debris:AddItem(p,1) |
| 325 | + | C1 = c1, |
| 326 | - | if not last2 then |
| 326 | + | } |
| 327 | - | p.CFrame = Torso.CFrame * CFrame.new(0,0 ,-i*10) |
| 327 | + | return w |
| 328 | - | last2=p |
| 328 | + | |
| 329 | - | else |
| 329 | + | |
| 330 | - | p.CFrame = last2.CFrame * CFrame.new(0,0 ,-i*5) |
| 330 | + | function clerp(a, b, t) |
| 331 | - | last2=p |
| 331 | + | return a:lerp(b, t) |
| 332 | end | |
| 333 | - | local explo = Instance.new("Explosion", workspace)
|
| 333 | + | |
| 334 | - | explo.Position=p.Position |
| 334 | + | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
| 335 | - | explo.BlastPressure = math.huge |
| 335 | + | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 336 | - | explo.BlastRadius= math.huge |
| 336 | + | |
| 337 | - | wait() |
| 337 | + | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) |
| 338 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 339 | - | end) |
| 339 | + | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) |
| 340 | - | wait(1) |
| 340 | + | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) |
| 341 | - | for i = 1,3 do |
| 341 | + | RootJoint.C1 = CFrame.new(0, 0, 0) |
| 342 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0,0,-0.5) |
| 342 | + | RootJoint.C0 = CFrame.new(0, 0, 0) |
| 343 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, 0.5) |
| 343 | + | Torso.Neck.C1 = CFrame.new(0, 0, 0) |
| 344 | - | wait() |
| 344 | + | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) |
| 345 | ||
| 346 | - | Torso.Anchored=false |
| 346 | + | local rarmc1 = RW.C1 |
| 347 | - | Humanoid.PlatformStand = false |
| 347 | + | local larmc1 = LW.C1 |
| 348 | - | RefreshWelds() |
| 348 | + | local rlegc1 = RH.C1 |
| 349 | - | Active=false |
| 349 | + | local llegc1 = LH.C1 |
| 350 | - | elseif Key.KeyCode == Enum.KeyCode.E and not Active |
| 350 | + | |
| 351 | - | then Active = true |
| 351 | + | local resetc1 = false |
| 352 | - | RefreshWelds() |
| 352 | + | |
| 353 | - | Torso.Anchored=true |
| 353 | + | function PlayAnimationFromTable(table, speed, bool) |
| 354 | - | Humanoid.PlatformStand=true |
| 354 | + | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) |
| 355 | - | if LastArm == "Left" then |
| 355 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) |
| 356 | - | LastArm="Right" |
| 356 | + | RW.C0 = clerp(RW.C0, table[3], speed) |
| 357 | - | Torso.CFrame = Torso.CFrame * CFrame.Angles(0, math.rad(-45), 0) |
| 357 | + | LW.C0 = clerp(LW.C0, table[4], speed) |
| 358 | - | for i = 1,3 do |
| 358 | + | RH.C0 = clerp(RH.C0, table[5], speed) |
| 359 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0,0,-0.5) |
| 359 | + | LH.C0 = clerp(LH.C0, table[6], speed) |
| 360 | - | wait() |
| 360 | + | if bool == true then |
| 361 | if resetc1 == false then | |
| 362 | - | wait(0.5) |
| 362 | + | resetc1 = true |
| 363 | - | RefreshWelds() |
| 363 | + | RootJoint.C1 = RootJoint.C1 |
| 364 | - | for i = 1,3 do |
| 364 | + | Torso.Neck.C1 = Torso.Neck.C1 |
| 365 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0,0,0.5) |
| 365 | + | RW.C1 = rarmc1 |
| 366 | LW.C1 = larmc1 | |
| 367 | - | Torso.CFrame = Torso.CFrame * CFrame.Angles(0, math.rad(45), 0) |
| 367 | + | RH.C1 = rlegc1 |
| 368 | - | local p = Instance.new("Part", Character)
|
| 368 | + | LH.C1 = llegc1 |
| 369 | - | p.Anchored=true |
| 369 | + | |
| 370 | - | p.CanCollide=false |
| 370 | + | |
| 371 | - | p.Transparency=1 |
| 371 | + | |
| 372 | - | p.Size=Vector3.new(.1,.1,.1) |
| 372 | + | |
| 373 | - | p.Shape = "Ball" |
| 373 | + | ArtificialHB = Create("BindableEvent", script){
|
| 374 | - | p.BrickColor = BrickColor.new("Really black")
|
| 374 | + | Parent = script, |
| 375 | - | p.CFrame = Torso.CFrame * CFrame.new(1.5, 0, -2) |
| 375 | + | Name = "Heartbeat", |
| 376 | - | game.Debris:AddItem(p,3) |
| 376 | + | } |
| 377 | - | local explosion = Instance.new("Sound", Character)
|
| 377 | + | |
| 378 | - | explosion.Name="explosion" |
| 378 | + | script:WaitForChild("Heartbeat")
|
| 379 | - | explosion.SoundId = "rbxassetid://2248511" |
| 379 | + | |
| 380 | - | explosion:Play() |
| 380 | + | frame = 1 / 30 |
| 381 | - | game.Debris:AddItem(explosion, 10) |
| 381 | + | tf = 0 |
| 382 | - | local explo = Instance.new("Explosion", workspace)
|
| 382 | + | allowframeloss = false |
| 383 | - | explo.BlastPressure = math.huge |
| 383 | + | tossremainder = false |
| 384 | - | explo.BlastRadius= math.huge |
| 384 | + | lastframe = tick() |
| 385 | - | explo.Position=p.Position |
| 385 | + | script.Heartbeat:Fire() |
| 386 | - | elseif LastArm == "Right" then |
| 386 | + | |
| 387 | - | LastArm = "Left" |
| 387 | + | game:GetService("RunService").Heartbeat:connect(function(s, p)
|
| 388 | - | Torso.CFrame = Torso.CFrame * CFrame.Angles(0, math.rad(45), 0) |
| 388 | + | tf = tf + s |
| 389 | - | for i = 1,3 do |
| 389 | + | if tf >= frame then |
| 390 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0,0,0.5) |
| 390 | + | if allowframeloss then |
| 391 | - | wait() |
| 391 | + | script.Heartbeat:Fire() |
| 392 | lastframe = tick() | |
| 393 | - | wait(0.5) |
| 393 | + | else |
| 394 | - | RefreshWelds() |
| 394 | + | for i = 1, math.floor(tf / frame) do |
| 395 | - | for i = 1,3 do |
| 395 | + | script.Heartbeat:Fire() |
| 396 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0,0,-0.5) |
| 396 | + | |
| 397 | lastframe = tick() | |
| 398 | - | Torso.CFrame = Torso.CFrame * CFrame.Angles(0, math.rad(-45), 0) |
| 398 | + | |
| 399 | - | local p = Instance.new("Part", Character)
|
| 399 | + | if tossremainder then |
| 400 | - | p.Anchored=true |
| 400 | + | tf = 0 |
| 401 | - | p.CanCollide=false |
| 401 | + | else |
| 402 | - | p.Transparency=1 |
| 402 | + | tf = tf - frame * math.floor(tf / frame) |
| 403 | - | p.Size=Vector3.new(.1,.1,.1) |
| 403 | + | |
| 404 | - | p.Shape = "Ball" |
| 404 | + | |
| 405 | - | p.BrickColor = BrickColor.new("Really black")
|
| 405 | + | |
| 406 | - | p.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, -2) |
| 406 | + | |
| 407 | - | game.Debris:AddItem(p,3) |
| 407 | + | function swait(num) |
| 408 | - | local explosion = Instance.new("Sound", Character)
|
| 408 | + | if num == 0 or num == nil then |
| 409 | - | explosion.Name="explosion" |
| 409 | + | ArtificialHB.Event:wait() |
| 410 | - | explosion.SoundId = "rbxassetid://2248511" |
| 410 | + | else |
| 411 | - | explosion:Play() |
| 411 | + | for i = 0, num do |
| 412 | - | game.Debris:AddItem(explosion, 10) |
| 412 | + | ArtificialHB.Event:wait() |
| 413 | - | local explo = Instance.new("Explosion", workspace)
|
| 413 | + | |
| 414 | - | explo.BlastPressure = math.huge |
| 414 | + | |
| 415 | - | explo.BlastRadius= math.huge |
| 415 | + | |
| 416 | - | explo.Position=p.Position |
| 416 | + | |
| 417 | function RemoveOutlines(part) | |
| 418 | - | wait(0.5) |
| 418 | + | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
| 419 | - | Active = false |
| 419 | + | |
| 420 | - | RefreshWelds() |
| 420 | + | |
| 421 | - | Torso.Anchored=false |
| 421 | + | CFuncs = {
|
| 422 | - | Humanoid.PlatformStand=false |
| 422 | + | Part = {
|
| 423 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 424 | local Part = Create("Part"){
| |
| 425 | Parent = Parent, | |
| 426 | Reflectance = Reflectance, | |
| 427 | Transparency = Transparency, | |
| 428 | - | local time = tick() |
| 428 | + | CanCollide = false, |
| 429 | Locked = true, | |
| 430 | - | local plr = game:GetService("Players").LocalPlayer
|
| 430 | + | BrickColor = BrickColor.new(tostring(BColor)), |
| 431 | - | local mouse,char = plr:GetMouse(),plr.Character |
| 431 | + | Name = Name, |
| 432 | Size = Size, | |
| 433 | - | local amountGhosts = 5 |
| 433 | + | Material = Material, |
| 434 | } | |
| 435 | - | for i,v in pairs(game:GetService("Workspace").CurrentCamera:GetChildren()) do v:Destroy() end
|
| 435 | + | RemoveOutlines(Part) |
| 436 | return Part | |
| 437 | - | local toggle,cd,mcd = false,false,false |
| 437 | + | end; |
| 438 | - | local ghosts = {}
|
| 438 | + | }; |
| 439 | - | local temptab = {}
|
| 439 | + | |
| 440 | Mesh = {
| |
| 441 | - | char:WaitForChild("Animate"):Destroy()
|
| 441 | + | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 442 | - | char.Humanoid:WaitForChild("Animator"):Destroy()
|
| 442 | + | local Msh = Create(Mesh){
|
| 443 | Parent = Part, | |
| 444 | - | local state = "idle" |
| 444 | + | Offset = OffSet, |
| 445 | Scale = Scale, | |
| 446 | - | local gt = false |
| 446 | + | } |
| 447 | if Mesh == "SpecialMesh" then | |
| 448 | - | local gyro = Instance.new("BodyGyro",char:WaitForChild("HumanoidRootPart")) --Stops the character from glitching out on enter/exit
|
| 448 | + | Msh.MeshType = MeshType |
| 449 | - | gyro.MaxTorque = Vector3.new(0,0,0) |
| 449 | + | Msh.MeshId = MeshId |
| 450 | - | gyro.D = 0 |
| 450 | + | |
| 451 | - | gyro.P = 100000000 |
| 451 | + | return Msh |
| 452 | end; | |
| 453 | }; | |
| 454 | - | local wCol = BrickColor.new("Really red")
|
| 454 | + | |
| 455 | - | local wCol2 = BrickColor.new("Really black")
|
| 455 | + | Weld = {
|
| 456 | - | local gCol = BrickColor.new("Toothpaste")
|
| 456 | + | Create = function(Parent, Part0, Part1, C0, C1) |
| 457 | - | local gCol2 = BrickColor.new("Institutional white")
|
| 457 | + | local Weld = Create("Weld"){
|
| 458 | Parent = Parent, | |
| 459 | - | function searchAll(m,clear) |
| 459 | + | Part0 = Part0, |
| 460 | - | if clear then |
| 460 | + | Part1 = Part1, |
| 461 | - | if clear == true then |
| 461 | + | C0 = C0, |
| 462 | - | for i,v in pairs(temptab) do |
| 462 | + | C1 = C1, |
| 463 | - | table.remove(temptab,1) |
| 463 | + | } |
| 464 | return Weld | |
| 465 | end; | |
| 466 | }; | |
| 467 | - | for i,v in pairs(m:GetChildren()) do |
| 467 | + | |
| 468 | - | if v then |
| 468 | + | Sound = {
|
| 469 | - | local s = v:Clone() |
| 469 | + | Create = function(id, par, vol, pit) |
| 470 | - | for _,b in pairs(s:GetChildren()) do |
| 470 | + | |
| 471 | - | b:Destroy() |
| 471 | + | local Sound = Create("Sound"){
|
| 472 | Volume = vol, | |
| 473 | - | if s:IsA("Part") or s:IsA("WedgePart") or s:IsA("TrussPart") or s:IsA("UnionOperation") then
|
| 473 | + | Pitch = pit or 1, |
| 474 | - | if s.Name ~= "HumanoidRootPart" then |
| 474 | + | SoundId = "rbxassetid://" .. id, |
| 475 | - | s.Anchored = true |
| 475 | + | Parent = par or workspace, |
| 476 | - | s.CanCollide = false |
| 476 | + | } |
| 477 | - | s.Transparency = 0.95 |
| 477 | + | Sound:play() |
| 478 | - | s.TopSurface = "Smooth" |
| 478 | + | game:GetService("Debris"):AddItem(Sound, 10)
|
| 479 | - | s.BottomSurface = "Smooth" |
| 479 | + | |
| 480 | - | s.FrontSurface = "Smooth" |
| 480 | + | end; |
| 481 | - | s.RightSurface = "Smooth" |
| 481 | + | }; |
| 482 | - | s.BackSurface = "Smooth" |
| 482 | + | |
| 483 | - | s.LeftSurface = "Smooth" |
| 483 | + | Decal = {
|
| 484 | - | if s.Material ~= Enum.Material.Neon then |
| 484 | + | Create = function(Color, Texture, Transparency, Name, Parent) |
| 485 | - | if gt == true then |
| 485 | + | local Decal = Create("Decal"){
|
| 486 | - | s.BrickColor = wCol2 |
| 486 | + | Color3 = Color, |
| 487 | Texture = "rbxassetid://" .. Texture, | |
| 488 | - | s.BrickColor = gCol2 |
| 488 | + | Transparency = Transparency, |
| 489 | Name = Name, | |
| 490 | Parent = Parent, | |
| 491 | - | if gt == true then |
| 491 | + | } |
| 492 | - | s.BrickColor = wCol |
| 492 | + | return Decal |
| 493 | end; | |
| 494 | - | s.BrickColor = gCol |
| 494 | + | }; |
| 495 | ||
| 496 | BillboardGui = {
| |
| 497 | - | for _,c in pairs(v:GetChildren()) do |
| 497 | + | Create = function(Parent, Image, Position, Size) |
| 498 | - | if c:IsA("SpecialMesh") or c:IsA("CylinderMesh") then
|
| 498 | + | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
|
| 499 | - | c:Clone().Parent = s |
| 499 | + | BillPar.CFrame = CFrame.new(Position) |
| 500 | local Bill = Create("BillboardGui"){
| |
| 501 | Parent = BillPar, | |
| 502 | - | local objValue = Instance.new("ObjectValue",s)
|
| 502 | + | Adornee = BillPar, |
| 503 | - | objValue.Name = "Target" |
| 503 | + | Size = UDim2.new(1, 0, 1, 0), |
| 504 | - | objValue.Value = v |
| 504 | + | SizeOffset = Vector2.new(Size, Size), |
| 505 | - | table.insert(temptab,s) |
| 505 | + | } |
| 506 | local d = Create("ImageLabel", Bill){
| |
| 507 | - | --elseif s:IsA("CharacterMesh") then
|
| 507 | + | Parent = Bill, |
| 508 | - | --table.insert(temptab,s) |
| 508 | + | BackgroundTransparency = 1, |
| 509 | Size = UDim2.new(1, 0, 1, 0), | |
| 510 | - | --searchAll(v) |
| 510 | + | Image = "rbxassetid://" .. Image, |
| 511 | } | |
| 512 | return BillPar | |
| 513 | - | return temptab |
| 513 | + | |
| 514 | }; | |
| 515 | ||
| 516 | - | function CreateGhost() |
| 516 | + | ParticleEmitter = {
|
| 517 | - | local ghost = Instance.new("Model",game.Workspace)
|
| 517 | + | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
| 518 | - | searchAll(char,true) |
| 518 | + | local Particle = Create("ParticleEmitter"){
|
| 519 | - | ghost.Name = char.Name.."'s Ghost "..#ghosts..#plr.Name |
| 519 | + | Parent = Parent, |
| 520 | - | --Instance.new("Humanoid",ghost)
|
| 520 | + | Color = ColorSequence.new(Color1, Color2), |
| 521 | - | for i,v in pairs(temptab) do |
| 521 | + | LightEmission = LightEmission, |
| 522 | - | v:Clone().Parent = ghost |
| 522 | + | Size = Size, |
| 523 | Texture = Texture, | |
| 524 | - | table.insert(ghosts,ghost) |
| 524 | + | Transparency = Transparency, |
| 525 | ZOffset = ZOffset, | |
| 526 | Acceleration = Accel, | |
| 527 | - | function ClearGhosts() |
| 527 | + | Drag = Drag, |
| 528 | - | for i,v in pairs(ghosts) do |
| 528 | + | LockedToPart = LockedToPart, |
| 529 | - | v:Destroy() |
| 529 | + | VelocityInheritance = VelocityInheritance, |
| 530 | EmissionDirection = EmissionDirection, | |
| 531 | - | for i,v in pairs(ghosts) do |
| 531 | + | Enabled = Enabled, |
| 532 | - | table.remove(ghosts,1) |
| 532 | + | Lifetime = LifeTime, |
| 533 | Rate = Rate, | |
| 534 | - | for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
|
| 534 | + | Rotation = Rotation, |
| 535 | - | if string.sub(v.Name,1,#plr.Name+9) == plr.Name.."'s Ghost " then |
| 535 | + | RotSpeed = RotSpeed, |
| 536 | - | v:Destroy() |
| 536 | + | Speed = Speed, |
| 537 | VelocitySpread = VelocitySpread, | |
| 538 | } | |
| 539 | return Particle | |
| 540 | end; | |
| 541 | - | Instance.new("ForceField",char).Visible = false
|
| 541 | + | }; |
| 542 | ||
| 543 | - | local e1 = Instance.new("Part",char)
|
| 543 | + | CreateTemplate = {
|
| 544 | - | e1.Size = Vector3.new(0.2,0.2,0.2) |
| 544 | + | |
| 545 | - | e1.TopSurface = "Smooth" |
| 545 | + | }; |
| 546 | - | e1.BottomSurface = "Smooth" |
| 546 | + | } |
| 547 | - | e1.Material = "Neon" |
| 547 | + | |
| 548 | - | e1.Transparency = 1 |
| 548 | + | function rayCast(Position, Direction, Range, Ignore) |
| 549 | - | e1.Anchored = true |
| 549 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
|
| 550 | - | e1.CanCollide = false |
| 550 | + | end |
| 551 | - | e1.BrickColor = gCol |
| 551 | + | |
| 552 | - | e1.CFrame = char.Head.CFrame * CFrame.new(0.15,0.1,-0.6) |
| 552 | + | FindNearestTorso = function(pos) |
| 553 | - | local em1 = Instance.new("SpecialMesh",e1)
|
| 553 | + | local list = (game.Workspace:children()) |
| 554 | - | em1.MeshType = "Sphere" |
| 554 | + | local torso = nil |
| 555 | - | local e2 = Instance.new("Part",char)
|
| 555 | + | local dist = 1000 |
| 556 | - | e2.Size = Vector3.new(0.2,0.2,0.2) |
| 556 | + | local temp, human, temp2 = nil, nil, nil |
| 557 | - | e2.TopSurface = "Smooth" |
| 557 | + | for x = 1, #list do |
| 558 | - | e2.BottomSurface = "Smooth" |
| 558 | + | temp2 = list[x] |
| 559 | - | e2.Transparency = 1 |
| 559 | + | if temp2.className == "Model" and temp2.Name ~= Character.Name then |
| 560 | - | e2.Material = "Neon" |
| 560 | + | temp = temp2:findFirstChild("Torso")
|
| 561 | - | e2.Anchored = true |
| 561 | + | human = temp2:findFirstChild("Humanoid")
|
| 562 | - | e2.CanCollide = false |
| 562 | + | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then |
| 563 | - | e2.BrickColor = gCol |
| 563 | + | local dohit = true |
| 564 | - | e2.CFrame = char.Head.CFrame * CFrame.new(-0.15,0.1,-0.6) |
| 564 | + | if dohit == true then |
| 565 | - | local em2 = Instance.new("SpecialMesh",e2)
|
| 565 | + | torso = temp |
| 566 | - | em2.MeshType = "Sphere" |
| 566 | + | dist = (temp.Position - pos).magnitude |
| 567 | end | |
| 568 | - | toggle = true |
| 568 | + | |
| 569 | - | for i=1,amountGhosts do |
| 569 | + | |
| 570 | - | CreateGhost() |
| 570 | + | |
| 571 | return torso, dist | |
| 572 | - | char.Parent = game:GetService("Workspace").CurrentCamera
|
| 572 | + | |
| 573 | - | char:FindFirstChild("Head").Transparency = 1
|
| 573 | + | |
| 574 | - | char:FindFirstChild("Torso").Transparency = 1
|
| 574 | + | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
| 575 | - | char:FindFirstChild("Right Arm").Transparency = 1
|
| 575 | + | if hit.Parent == nil then |
| 576 | - | char:FindFirstChild("Left Arm").Transparency = 1
|
| 576 | + | return |
| 577 | - | char:FindFirstChild("Right Leg").Transparency = 1
|
| 577 | + | |
| 578 | - | char:FindFirstChild("Left Leg").Transparency = 1
|
| 578 | + | local h = hit.Parent:FindFirstChild("Humanoid")
|
| 579 | - | for i,v in pairs(char:GetChildren()) do |
| 579 | + | for _, v in pairs(hit.Parent:children()) do |
| 580 | - | if v:IsA("Accessory") then
|
| 580 | + | if v:IsA("Humanoid") then
|
| 581 | - | v:FindFirstChild("Handle").Transparency = 1
|
| 581 | + | h = v |
| 582 | end | |
| 583 | end | |
| 584 | - | char:FindFirstChild("Head"):FindFirstChild("face"):Destroy()
|
| 584 | + | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
|
| 585 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 586 | - | local p1 = Instance.new("Part",workspace)
|
| 586 | + | if hit.Parent.DebounceHit.Value == true then |
| 587 | - | local m1 = Instance.new("SpecialMesh",p1)
|
| 587 | + | return |
| 588 | - | m1.MeshType = "Sphere" |
| 588 | + | |
| 589 | - | m1.Scale = Vector3.new(5,5,5) |
| 589 | + | |
| 590 | - | p1.Size = Vector3.new(1,1,1) |
| 590 | + | local c = Create("ObjectValue"){
|
| 591 | - | p1.Anchored = true |
| 591 | + | Name = "creator", |
| 592 | - | p1.CanCollide = false |
| 592 | + | Value = game:service("Players").LocalPlayer,
|
| 593 | - | p1.TopSurface = "Smooth" |
| 593 | + | Parent = h, |
| 594 | - | p1.BottomSurface = "Smooth" |
| 594 | + | } |
| 595 | - | p1.BrickColor = gCol |
| 595 | + | game:GetService("Debris"):AddItem(c, .5)
|
| 596 | - | p1.Material = "Neon" |
| 596 | + | if HitSound ~= nil and HitPitch ~= nil then |
| 597 | - | local p2 = Instance.new("Part",workspace)
|
| 597 | + | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
| 598 | - | local m2 = Instance.new("SpecialMesh",p2)
|
| 598 | + | |
| 599 | - | m2.MeshType = "Sphere" |
| 599 | + | local Damage = math.random(minim, maxim) |
| 600 | - | m2.Scale = Vector3.new(8,8,8) |
| 600 | + | local blocked = false |
| 601 | - | p2.Size = Vector3.new(1,1,1) |
| 601 | + | local block = hit.Parent:findFirstChild("Block")
|
| 602 | - | p2.Anchored = true |
| 602 | + | if block ~= nil then |
| 603 | - | p2.CanCollide = false |
| 603 | + | if block.className == "IntValue" then |
| 604 | - | p2.TopSurface = "Smooth" |
| 604 | + | if block.Value > 0 then |
| 605 | - | p2.BottomSurface = "Smooth" |
| 605 | + | blocked = true |
| 606 | - | p2.BrickColor = gCol2 |
| 606 | + | block.Value = block.Value - 1 |
| 607 | - | p2.Material = "Neon" |
| 607 | + | print(block.Value) |
| 608 | - | local p3 = Instance.new("Part",workspace)
|
| 608 | + | |
| 609 | - | local m3 = Instance.new("BlockMesh",p3)
|
| 609 | + | |
| 610 | - | m3.Scale = Vector3.new(7,7,7) |
| 610 | + | |
| 611 | - | p3.Size = Vector3.new(1,1,1) |
| 611 | + | if blocked == false then |
| 612 | - | p3.Transparency = 0.4 |
| 612 | + | h.Health = h.Health - Damage |
| 613 | - | p3.Anchored = true |
| 613 | + | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
|
| 614 | - | p3.CanCollide = false |
| 614 | + | else |
| 615 | - | p3.TopSurface = "Smooth" |
| 615 | + | h.Health = h.Health - (Damage / 2) |
| 616 | - | p3.BottomSurface = "Smooth" |
| 616 | + | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
|
| 617 | - | p3.BrickColor = gCol |
| 617 | + | |
| 618 | - | p3.Material = "Neon" |
| 618 | + | if Type == "Knockdown" then |
| 619 | - | local p4 = Instance.new("Part",workspace)
|
| 619 | + | local hum = hit.Parent.Humanoid |
| 620 | - | local m4 = Instance.new("BlockMesh",p4)
|
| 620 | + | hum.PlatformStand = true |
| 621 | - | m4.Scale = Vector3.new(10,10,10) |
| 621 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
| 622 | - | p4.Size = Vector3.new(1,1,1) |
| 622 | + | swait(1) |
| 623 | - | p4.Transparency = 0.4 |
| 623 | + | HHumanoid.PlatformStand = false |
| 624 | - | p4.Anchored = true |
| 624 | + | end), hum) |
| 625 | - | p4.CanCollide = false |
| 625 | + | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit |
| 626 | - | p4.TopSurface = "Smooth" |
| 626 | + | local bodvol = Create("BodyVelocity"){
|
| 627 | - | p4.BottomSurface = "Smooth" |
| 627 | + | velocity = angle * knockback, |
| 628 | - | p4.BrickColor = gCol2 |
| 628 | + | P = 5000, |
| 629 | - | p4.Material = "Neon" |
| 629 | + | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
| 630 | - | local currentframe = 0 |
| 630 | + | Parent = hit, |
| 631 | - | local frmR |
| 631 | + | } |
| 632 | local rl = Create("BodyAngularVelocity"){
| |
| 633 | - | frmR = game:GetService("RunService").RenderStepped:connect(function()
|
| 633 | + | P = 3000, |
| 634 | - | currentframe = currentframe + 1 |
| 634 | + | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
| 635 | - | if currentframe < 1*60 then |
| 635 | + | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
| 636 | - | p1.CFrame = char:WaitForChild("Torso").CFrame
|
| 636 | + | Parent = hit, |
| 637 | - | p2.CFrame = char:WaitForChild("Torso").CFrame
|
| 637 | + | } |
| 638 | - | p3.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
|
| 638 | + | game:GetService("Debris"):AddItem(bodvol, .5)
|
| 639 | - | p4.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
|
| 639 | + | game:GetService("Debris"):AddItem(rl, .5)
|
| 640 | - | m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25) |
| 640 | + | elseif Type == "Normal" then |
| 641 | - | m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25) |
| 641 | + | local vp = Create("BodyVelocity"){
|
| 642 | - | m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25) |
| 642 | + | P = 500, |
| 643 | - | m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25) |
| 643 | + | maxForce = Vector3.new(math.huge, 0, math.huge), |
| 644 | - | p1.Transparency = p1.Transparency + (1/(1*60)) |
| 644 | + | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, |
| 645 | - | p2.Transparency = p2.Transparency + (1/(1*60)) |
| 645 | + | } |
| 646 | - | p3.Transparency = p3.Transparency + (1/(1*60)) |
| 646 | + | if knockback > 0 then |
| 647 | - | p4.Transparency = p4.Transparency + (1/(1*60)) |
| 647 | + | vp.Parent = hit.Parent.Torso |
| 648 | end | |
| 649 | - | p1:Destroy() |
| 649 | + | game:GetService("Debris"):AddItem(vp, .5)
|
| 650 | - | p2:Destroy() |
| 650 | + | elseif Type == "Up" then |
| 651 | - | p3:Destroy() |
| 651 | + | local bodyVelocity = Create("BodyVelocity"){
|
| 652 | - | p4:Destroy() |
| 652 | + | velocity = Vector3.new(0, 20, 0), |
| 653 | - | frmR:disconnect() |
| 653 | + | P = 5000, |
| 654 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 655 | - | end) |
| 655 | + | Parent = hit, |
| 656 | } | |
| 657 | - | char.Humanoid.MaxHealth = math.huge |
| 657 | + | game:GetService("Debris"):AddItem(bodyVelocity, .5)
|
| 658 | - | wait() |
| 658 | + | elseif Type == "DarkUp" then |
| 659 | - | char.Humanoid.Health = math.huge |
| 659 | + | |
| 660 | for i = 0, 1, 0.1 do | |
| 661 | - | --[[mouse.KeyDown:connect(function(key) |
| 661 | + | swait() |
| 662 | - | if key == "r" then |
| 662 | + | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
|
| 663 | - | print("R!")
|
| 663 | + | |
| 664 | - | if cd == false then |
| 664 | + | |
| 665 | - | print("No cooldown!")
|
| 665 | + | local bodyVelocity = Create("BodyVelocity"){
|
| 666 | - | cd = true |
| 666 | + | velocity = Vector3.new(0, 20, 0), |
| 667 | - | if toggle == false then |
| 667 | + | P = 5000, |
| 668 | - | print("Entering godmode")
|
| 668 | + | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
| 669 | - | toggle = true |
| 669 | + | Parent = hit, |
| 670 | - | Instance.new("ForceField",char)
|
| 670 | + | } |
| 671 | - | for i=1,amountGhosts do |
| 671 | + | game:GetService("Debris"):AddItem(bodyVelocity, 1)
|
| 672 | - | CreateGhost() |
| 672 | + | elseif Type == "Snare" then |
| 673 | local bp = Create("BodyPosition"){
| |
| 674 | - | char.Parent = game:GetService("Workspace").CurrentCamera
|
| 674 | + | P = 2000, |
| 675 | - | char:FindFirstChild("Head").Transparency = 1
|
| 675 | + | D = 100, |
| 676 | - | char:FindFirstChild("Torso").Transparency = 1
|
| 676 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 677 | - | char:FindFirstChild("Right Arm").Transparency = 1
|
| 677 | + | position = hit.Parent.Torso.Position, |
| 678 | - | char:FindFirstChild("Left Arm").Transparency = 1
|
| 678 | + | Parent = hit.Parent.Torso, |
| 679 | - | char:FindFirstChild("Right Leg").Transparency = 1
|
| 679 | + | } |
| 680 | - | char:FindFirstChild("Left Leg").Transparency = 1
|
| 680 | + | game:GetService("Debris"):AddItem(bp, 1)
|
| 681 | - | for i,v in pairs(char:GetChildren()) do |
| 681 | + | elseif Type == "Freeze" then |
| 682 | - | if v:IsA("Accessory") then
|
| 682 | + | local BodPos = Create("BodyPosition"){
|
| 683 | - | v:FindFirstChild("Handle").Transparency = 1
|
| 683 | + | P = 50000, |
| 684 | D = 1000, | |
| 685 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 686 | - | else |
| 686 | + | position = hit.Parent.Torso.Position, |
| 687 | - | print("Exiting godmode")
|
| 687 | + | Parent = hit.Parent.Torso, |
| 688 | - | toggle = false |
| 688 | + | } |
| 689 | - | for i,v in pairs(ghosts) do |
| 689 | + | local BodGy = Create("BodyGyro") {
|
| 690 | - | v:Destroy() |
| 690 | + | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , |
| 691 | P = 20e+003, | |
| 692 | - | char.Parent = game:GetService("Workspace")
|
| 692 | + | Parent = hit.Parent.Torso, |
| 693 | - | char:FindFirstChild("ForceField"):Destroy()
|
| 693 | + | cframe = hit.Parent.Torso.CFrame, |
| 694 | - | char:FindFirstChild("Head").Transparency = 0
|
| 694 | + | } |
| 695 | - | char:FindFirstChild("Torso").Transparency = 0
|
| 695 | + | hit.Parent.Torso.Anchored = true |
| 696 | - | char:FindFirstChild("Right Arm").Transparency = 0
|
| 696 | + | coroutine.resume(coroutine.create(function(Part) |
| 697 | - | char:FindFirstChild("Left Arm").Transparency = 0
|
| 697 | + | swait(1.5) |
| 698 | - | char:FindFirstChild("Right Leg").Transparency = 0
|
| 698 | + | Part.Anchored = false |
| 699 | - | char:FindFirstChild("Left Leg").Transparency = 0
|
| 699 | + | end), hit.Parent.Torso) |
| 700 | - | for i,v in pairs(char:GetChildren()) do |
| 700 | + | game:GetService("Debris"):AddItem(BodPos, 3)
|
| 701 | - | if v:IsA("Accessory") then
|
| 701 | + | game:GetService("Debris"):AddItem(BodGy, 3)
|
| 702 | - | v:FindFirstChild("Handle").Transparency = 0
|
| 702 | + | |
| 703 | local debounce = Create("BoolValue"){
| |
| 704 | Name = "DebounceHit", | |
| 705 | Parent = hit.Parent, | |
| 706 | - | cd = false |
| 706 | + | Value = true, |
| 707 | } | |
| 708 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 709 | - | end)]] |
| 709 | + | c = Create("ObjectValue"){
|
| 710 | Name = "creator", | |
| 711 | - | mouse.KeyDown:connect(function(key) |
| 711 | + | Value = Player, |
| 712 | - | spawn(function() |
| 712 | + | Parent = h, |
| 713 | - | if key == "f" and toggle == true and mcd == false then |
| 713 | + | } |
| 714 | - | if #ghosts < amountGhosts then |
| 714 | + | game:GetService("Debris"):AddItem(c, .5)
|
| 715 | - | print(#ghosts.."<") |
| 715 | + | |
| 716 | - | mcd = true |
| 716 | + | |
| 717 | ||
| 718 | - | ClearGhosts() |
| 718 | + | function ShowDamage(Pos, Text, Time, Color) |
| 719 | local Rate = (1 / 30) | |
| 720 | - | for i=1,amountGhosts do |
| 720 | + | local Pos = (Pos or Vector3.new(0, 0, 0)) |
| 721 | - | CreateGhost() |
| 721 | + | local Text = (Text or "") |
| 722 | local Time = (Time or 2) | |
| 723 | - | local p1 = Instance.new("Part",workspace)
|
| 723 | + | local Color = (Color or Color3.new(1, 0, 1)) |
| 724 | - | local m1 = Instance.new("SpecialMesh",p1)
|
| 724 | + | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
| 725 | - | m1.MeshType = "Sphere" |
| 725 | + | EffectPart.Anchored = true |
| 726 | - | m1.Scale = Vector3.new(7,7,7) |
| 726 | + | local BillboardGui = Create("BillboardGui"){
|
| 727 | - | p1.Size = Vector3.new(1,1,1) |
| 727 | + | Size = UDim2.new(3, 0, 3, 0), |
| 728 | - | p1.Anchored = true |
| 728 | + | Adornee = EffectPart, |
| 729 | - | p1.CanCollide = false |
| 729 | + | Parent = EffectPart, |
| 730 | - | p1.TopSurface = "Smooth" |
| 730 | + | } |
| 731 | - | p1.BottomSurface = "Smooth" |
| 731 | + | local TextLabel = Create("TextLabel"){
|
| 732 | - | if gt == false then |
| 732 | + | BackgroundTransparency = 1, |
| 733 | - | p1.BrickColor = gCol |
| 733 | + | Size = UDim2.new(1, 0, 1, 0), |
| 734 | Text = Text, | |
| 735 | - | p1.BrickColor = wCol |
| 735 | + | Font = "SciFi", |
| 736 | TextColor3 = Color, | |
| 737 | - | p1.Material = "Neon" |
| 737 | + | TextScaled = true, |
| 738 | - | local p2 = Instance.new("Part",workspace)
|
| 738 | + | Parent = BillboardGui, |
| 739 | - | local m2 = Instance.new("SpecialMesh",p2)
|
| 739 | + | } |
| 740 | - | m2.MeshType = "Sphere" |
| 740 | + | game.Debris:AddItem(EffectPart, (Time)) |
| 741 | - | m2.Scale = Vector3.new(9,9,9) |
| 741 | + | EffectPart.Parent = game:GetService("Workspace")
|
| 742 | - | p2.Size = Vector3.new(1,1,1) |
| 742 | + | delay(0, function() |
| 743 | - | p2.Anchored = true |
| 743 | + | local Frames = (Time / Rate) |
| 744 | - | p2.CanCollide = false |
| 744 | + | for Frame = 1, Frames do |
| 745 | - | p2.TopSurface = "Smooth" |
| 745 | + | wait(Rate) |
| 746 | - | p2.BottomSurface = "Smooth" |
| 746 | + | local Percent = (Frame / Frames) |
| 747 | - | if gt == false then |
| 747 | + | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
| 748 | - | p2.BrickColor = gCol2 |
| 748 | + | TextLabel.TextTransparency = Percent |
| 749 | end | |
| 750 | - | p2.BrickColor = wCol2 |
| 750 | + | if EffectPart and EffectPart.Parent then |
| 751 | EffectPart:Destroy() | |
| 752 | - | p2.Material = "Neon" |
| 752 | + | |
| 753 | - | local currentframe = 0 |
| 753 | + | end) |
| 754 | - | local frmR |
| 754 | + | |
| 755 | ||
| 756 | - | frmR = game:GetService("RunService").RenderStepped:connect(function()
|
| 756 | + | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) |
| 757 | - | currentframe = currentframe + 1 |
| 757 | + | for _, c in pairs(workspace:children()) do |
| 758 | - | if currentframe < 0.25*60 then |
| 758 | + | local hum = c:findFirstChild("Humanoid")
|
| 759 | - | p1.CFrame = char:WaitForChild("Torso").CFrame
|
| 759 | + | if hum ~= nil then |
| 760 | - | p2.CFrame = char:WaitForChild("Torso").CFrame
|
| 760 | + | local head = c:findFirstChild("Torso")
|
| 761 | - | p1.Transparency = p1.Transparency + (1/(0.25*60)) |
| 761 | + | if head ~= nil then |
| 762 | - | p2.Transparency = p2.Transparency + (1/(0.25*60)) |
| 762 | + | local targ = head.Position - Part.Position |
| 763 | local mag = targ.magnitude | |
| 764 | - | p1:Destroy() |
| 764 | + | if mag <= Magnitude and c.Name ~= Player.Name then |
| 765 | - | p2:Destroy() |
| 765 | + | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) |
| 766 | - | mcd = false |
| 766 | + | |
| 767 | - | frmR:disconnect() |
| 767 | + | |
| 768 | end | |
| 769 | - | end) |
| 769 | + | |
| 770 | - | else |
| 770 | + | |
| 771 | - | mcd = true |
| 771 | + | |
| 772 | ||
| 773 | - | ClearGhosts() |
| 773 | + | |
| 774 | ---some future chest tinglol--- | |
| 775 | - | local p1 = Instance.new("Part",workspace)
|
| 775 | + | |
| 776 | - | local m1 = Instance.new("SpecialMesh",p1)
|
| 776 | + | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1.18999839, 1.59999871, 1)) |
| 777 | - | m1.MeshType = "Sphere" |
| 777 | + | HandleWeld=CFuncs.Weld.Create(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0236663818, -0.0907719135, 0.317821503, 0.999962866, 0.000129007996, -0.00902621169, -0.000127925552, 1, 0.000120364391, 0.00902613625, -0.000119204378, 0.999959409)) |
| 778 | - | m1.Scale = Vector3.new(7,7,7) |
| 778 | + | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=102606179 ",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.5))
|
| 779 | - | p1.Size = Vector3.new(1,1,1) |
| 779 | + | Middle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Institutional white","Middle",Vector3.new(2, 2, 1)) |
| 780 | - | p1.Anchored = true |
| 780 | + | MiddleWeld=CFuncs.Weld.Create(m,Handle,Middle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00523376465, 0.580596685, -0.170185089, 1.00000691, 7.90009835e-10, -5.96046448e-08, 7.90009835e-10, 1, 4.22005542e-10, -5.96046448e-08, 4.22005542e-10, 1)) |
| 781 | - | p1.CanCollide = false |
| 781 | + | CFuncs.Mesh.Create("BlockMesh",Middle,"","",Vector3.new(0, 0, 0),Vector3.new(0, 0, 0))
|
| 782 | - | p1.TopSurface = "Smooth" |
| 782 | + | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) |
| 783 | - | p1.BottomSurface = "Smooth" |
| 783 | + | CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.231455326, 0.269420624, 0.305145264, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07)) |
| 784 | - | if gt == false then |
| 784 | + | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
|
| 785 | - | p1.BrickColor = gCol |
| 785 | + | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) |
| 786 | CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.231508732, 0.269851685, -0.294754028, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07)) | |
| 787 | - | p1.BrickColor = wCol |
| 787 | + | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
|
| 788 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
| 789 | - | p1.Material = "Neon" |
| 789 | + | CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.580579519, 0.26966095, 0.00581359863, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07)) |
| 790 | - | local p2 = Instance.new("Part",workspace)
|
| 790 | + | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
|
| 791 | - | local m2 = Instance.new("SpecialMesh",p2)
|
| 791 | + | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) |
| 792 | - | m2.MeshType = "Sphere" |
| 792 | + | CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.020678997, 0.429592133, 0.00504302979, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07)) |
| 793 | - | m2.Scale = Vector3.new(9,9,9) |
| 793 | + | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1, 1.00999999))
|
| 794 | - | p2.Size = Vector3.new(1,1,1) |
| 794 | + | |
| 795 | - | p2.Anchored = true |
| 795 | + | ----rarm---- |
| 796 | - | p2.CanCollide = false |
| 796 | + | |
| 797 | - | p2.TopSurface = "Smooth" |
| 797 | + | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Handle",Vector3.new(0.5625, 0.200000003, 0.5625)) |
| 798 | - | p2.BottomSurface = "Smooth" |
| 798 | + | HandleWeld=CFuncs.Weld.Create(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.851722717, 1.10561752, -0.00168609619, 0.470270246, -0.882519305, 0.0023733438, -0.882508159, -0.470276207, -0.00445381179, 0.00504670199, 0, -0.999987364)) |
| 799 | - | if gt == false then |
| 799 | + | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1))
|
| 800 | - | p2.BrickColor = gCol2 |
| 800 | + | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.100000113, 0.490000099, 1.01999998)) |
| 801 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.180709839, 2.04907203, 0.000366210938, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) | |
| 802 | - | p2.BrickColor = wCol2 |
| 802 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 803 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
| 804 | - | p2.Material = "Neon" |
| 804 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -1.84852219, -0.850482941, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0)) |
| 805 | - | local currentframe = 0 |
| 805 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 806 | - | local frmR |
| 806 | + | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999)) |
| 807 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.575714111, 0.564062595, -0.00463867188, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) | |
| 808 | - | frmR = game:GetService("RunService").RenderStepped:connect(function()
|
| 808 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 809 | - | currentframe = currentframe + 1 |
| 809 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003)) |
| 810 | - | if currentframe < 0.25*60 then |
| 810 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.554020643, 0.255722046, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
| 811 | - | p1.CFrame = char:WaitForChild("Torso").CFrame
|
| 811 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 812 | - | p2.CFrame = char:WaitForChild("Torso").CFrame
|
| 812 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 813 | - | p1.Transparency = p1.Transparency + (1/(0.25*60)) |
| 813 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13999939, 0.504084587, -0.299934387, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) |
| 814 | - | p2.Transparency = p2.Transparency + (1/(0.25*60)) |
| 814 | + | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01000011, 0.579999983, 1.00999999)) |
| 815 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.575714111, 2.01406956, -0.00463867188, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) | |
| 816 | - | p1:Destroy() |
| 816 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 817 | - | p2:Destroy() |
| 817 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 818 | - | mcd = false |
| 818 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13999939, 0.504084587, 0.300064087, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) |
| 819 | - | frmR:disconnect() |
| 819 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 820 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13999939, 0.504084587, 4.57763672e-05, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) | |
| 821 | - | end) |
| 821 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
| 822 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -2.06848907, -1.07044983, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0)) | |
| 823 | - | elseif key == "g" and toggle == true and mcd == false then |
| 823 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 824 | - | if gt == true then |
| 824 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003)) |
| 825 | - | gt = false |
| 825 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.624020576, 0.695724487, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
| 826 | - | local p1 = Instance.new("Part",workspace)
|
| 826 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 827 | - | local m1 = Instance.new("SpecialMesh",p1)
|
| 827 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
| 828 | - | m1.MeshType = "Sphere" |
| 828 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -1.84853363, -1.07049561, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0)) |
| 829 | - | m1.Scale = Vector3.new(5,5,5) |
| 829 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 830 | - | p1.Size = Vector3.new(1,1,1) |
| 830 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003)) |
| 831 | - | p1.Anchored = true |
| 831 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.654026508, 0.475715637, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
| 832 | - | p1.CanCollide = false |
| 832 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 833 | - | p1.TopSurface = "Smooth" |
| 833 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003)) |
| 834 | - | p1.BottomSurface = "Smooth" |
| 834 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.584041595, 0.915710449, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
| 835 | - | p1.BrickColor = gCol |
| 835 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 836 | - | p1.Material = "Neon" |
| 836 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
| 837 | - | local p2 = Instance.new("Part",workspace)
|
| 837 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -2.06853485, -0.850494385, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0)) |
| 838 | - | local m2 = Instance.new("SpecialMesh",p2)
|
| 838 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 839 | - | m2.MeshType = "Sphere" |
| 839 | + | RFHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RFHitbox",Vector3.new(1.37, 2.26999998, 1.10000002)) |
| 840 | - | m2.Scale = Vector3.new(8,8,8) |
| 840 | + | RFHitboxWeld=CFuncs.Weld.Create(m,Handle,RFHitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.60017395, 1.22661018, -0.000686645508, -0.470276177, 0.882519305, 0, -0.882519305, -0.470276207, 0, 0, 0, 1)) |
| 841 | - | p2.Size = Vector3.new(1,1,1) |
| 841 | + | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 842 | - | p2.Anchored = true |
| 842 | + | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) |
| 843 | - | p2.CanCollide = false |
| 843 | + | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.393749982, 0.393749982, 0.393749982))
|
| 844 | - | p2.TopSurface = "Smooth" |
| 844 | + | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 845 | - | p2.BottomSurface = "Smooth" |
| 845 | + | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) |
| 846 | - | p2.BrickColor = gCol2 |
| 846 | + | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.506249964, 0.506249964, 0.506249964))
|
| 847 | - | p2.Material = "Neon" |
| 847 | + | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 848 | - | local p3 = Instance.new("Part",workspace)
|
| 848 | + | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) |
| 849 | - | local m3 = Instance.new("BlockMesh",p3)
|
| 849 | + | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.28125, 0.28125, 0.28125))
|
| 850 | - | m3.Scale = Vector3.new(7,7,7) |
| 850 | + | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 851 | - | p3.Size = Vector3.new(1,1,1) |
| 851 | + | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) |
| 852 | - | p3.Transparency = 0.4 |
| 852 | + | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006))
|
| 853 | - | p3.Anchored = true |
| 853 | + | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 854 | - | p3.CanCollide = false |
| 854 | + | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) |
| 855 | - | p3.TopSurface = "Smooth" |
| 855 | + | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.5625, 0.5625, 0.5625))
|
| 856 | - | p3.BottomSurface = "Smooth" |
| 856 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996)) |
| 857 | - | p3.BrickColor = gCol |
| 857 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, 1.54413247, 0.275726318, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
| 858 | - | p3.Material = "Neon" |
| 858 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999)) |
| 859 | - | local p4 = Instance.new("Part",workspace)
|
| 859 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, 1.62406158, 0.575714111, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
| 860 | - | local m4 = Instance.new("BlockMesh",p4)
|
| 860 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979)) |
| 861 | - | m4.Scale = Vector3.new(10,10,10) |
| 861 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, -0.57572937, 0.624048471, 0, 0, 1, -0.470276177, 0.882519305, 0, -0.882519305, -0.470276207, 0)) |
| 862 | - | p4.Size = Vector3.new(1,1,1) |
| 862 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999)) |
| 863 | - | p4.Transparency = 0.4 |
| 863 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, 0.224089146, 0.645721436, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
| 864 | - | p4.Anchored = true |
| 864 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979)) |
| 865 | - | p4.CanCollide = false |
| 865 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, -0.00249481201, 0.544101715, 0, 0, 1, -0.999762774, 0.0217780173, 0, -0.0217780471, -0.999762833, 0)) |
| 866 | - | p4.TopSurface = "Smooth" |
| 866 | + | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003)) |
| 867 | - | p4.BottomSurface = "Smooth" |
| 867 | + | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0026473999, 1.2640996, -0.0157165527, -0, 0, -1, -0.882519305, -0.470276207, 0, -0.470276177, 0.882519305, 0)) |
| 868 | - | p4.BrickColor = gCol2 |
| 868 | + | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) |
| 869 | - | p4.Material = "Neon" |
| 869 | + | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.302642822, -0.423362732, 2.30372047, -0, 0, -1, 0.685295701, -0.728264928, 0, -0.728264987, -0.685295761, 0)) |
| 870 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
| 871 | - | ClearGhosts() |
| 871 | + | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0026473999, -0.423362732, 2.30372047, -0, 0, -1, 0.685295701, -0.728264928, 0, -0.728264987, -0.685295761, 0)) |
| 872 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
| 873 | - | for i=1,amountGhosts do |
| 873 | + | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.297370911, -0.423362732, 2.30372047, -0, 0, -1, 0.685295701, -0.728264928, 0, -0.728264987, -0.685295761, 0)) |
| 874 | - | CreateGhost() |
| 874 | + | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) |
| 875 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.302642822, 1.75408459, -0.0157165527, -0, 0, -1, -0.882519305, -0.470276207, 0, -0.470276177, 0.882519305, 0)) | |
| 876 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
| 877 | - | local currentframe = 0 |
| 877 | + | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.297355652, 1.75408459, -0.0157165527, -0, 0, -1, -0.882519305, -0.470276207, 0, -0.470276177, 0.882519305, 0)) |
| 878 | - | local frmR |
| 878 | + | ---larm--- |
| 879 | ||
| 880 | - | frmR = game:GetService("RunService").RenderStepped:connect(function()
|
| 880 | + | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 881 | - | currentframe = currentframe + 1 |
| 881 | + | HandleWeld=CFuncs.Weld.Create(m,Character["Left Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00811767578, -0.855991364, 1.11441803, 0.00504670199, 0, -0.999987364, 0.470269799, 0.882519484, 0.00237334147, 0.882508337, -0.47027573, 0.00445381273)) |
| 882 | - | if currentframe < 1*60 then |
| 882 | + | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.393749982, 0.393749982, 0.393749982))
|
| 883 | - | p1.CFrame = char:WaitForChild("Torso").CFrame
|
| 883 | + | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 884 | - | p2.CFrame = char:WaitForChild("Torso").CFrame
|
| 884 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) |
| 885 | - | p3.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
|
| 885 | + | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 886 | - | p4.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
|
| 886 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) |
| 887 | - | m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25) |
| 887 | + | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.5625, 0.5625, 0.5625))
|
| 888 | - | m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25) |
| 888 | + | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 889 | - | m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25) |
| 889 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) |
| 890 | - | m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25) |
| 890 | + | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.28125, 0.28125, 0.28125))
|
| 891 | - | p1.Transparency = p1.Transparency + (1/(1*60)) |
| 891 | + | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 892 | - | p2.Transparency = p2.Transparency + (1/(1*60)) |
| 892 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) |
| 893 | - | p3.Transparency = p3.Transparency + (1/(1*60)) |
| 893 | + | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.506249964, 0.506249964, 0.506249964))
|
| 894 | - | p4.Transparency = p4.Transparency + (1/(1*60)) |
| 894 | + | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 895 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) | |
| 896 | - | p1:Destroy() |
| 896 | + | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006))
|
| 897 | - | p2:Destroy() |
| 897 | + | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.5625, 0.200000003, 0.5625)) |
| 898 | - | p3:Destroy() |
| 898 | + | InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0023727417, 7.62939453e-06, 0.00561523438, 0, -0.99999994, 0, 0, 0, 0.99999994, -1, 0, -0)) |
| 899 | - | p4:Destroy() |
| 899 | + | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1))
|
| 900 | - | frmR:disconnect() |
| 900 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003)) |
| 901 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.65192318, 0.476837158, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) | |
| 902 | - | end) |
| 902 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 903 | - | else |
| 903 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 904 | - | gt = true |
| 904 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.141113281, 0.501981974, 0.294425964, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) |
| 905 | - | local p1 = Instance.new("Part",workspace)
|
| 905 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
| 906 | - | local m1 = Instance.new("SpecialMesh",p1)
|
| 906 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -2.06778336, -1.06818008, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) |
| 907 | - | m1.MeshType = "Sphere" |
| 907 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 908 | - | m1.Scale = Vector3.new(5,5,5) |
| 908 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003)) |
| 909 | - | p1.Size = Vector3.new(1,1,1) |
| 909 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.551918268, 0.256835938, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
| 910 | - | p1.Anchored = true |
| 910 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 911 | - | p1.CanCollide = false |
| 911 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 912 | - | p1.TopSurface = "Smooth" |
| 912 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.141113281, 0.501981974, -0.0055770874, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) |
| 913 | - | p1.BottomSurface = "Smooth" |
| 913 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003)) |
| 914 | - | p1.BrickColor = wCol |
| 914 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.621917725, 0.696838379, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
| 915 | - | p1.Material = "Neon" |
| 915 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 916 | - | local p2 = Instance.new("Part",workspace)
|
| 916 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 917 | - | local m2 = Instance.new("SpecialMesh",p2)
|
| 917 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.141113281, 0.501981974, -0.305580139, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) |
| 918 | - | m2.MeshType = "Sphere" |
| 918 | + | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.579999983, 1.00999999)) |
| 919 | - | m2.Scale = Vector3.new(8,8,8) |
| 919 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.581832886, 2.01196575, -0.0102539063, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) |
| 920 | - | p2.Size = Vector3.new(1,1,1) |
| 920 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 921 | - | p2.Anchored = true |
| 921 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
| 922 | - | p2.CanCollide = false |
| 922 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -1.84783173, -1.06821442, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) |
| 923 | - | p2.TopSurface = "Smooth" |
| 923 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 924 | - | p2.BottomSurface = "Smooth" |
| 924 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003)) |
| 925 | - | p2.BrickColor = wCol2 |
| 925 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.581938982, 0.916824341, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
| 926 | - | p2.Material = "Neon" |
| 926 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 927 | - | local p3 = Instance.new("Part",workspace)
|
| 927 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
| 928 | - | local m3 = Instance.new("BlockMesh",p3)
|
| 928 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -2.06782913, -0.84821701, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) |
| 929 | - | m3.Scale = Vector3.new(7,7,7) |
| 929 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 930 | - | p3.Size = Vector3.new(1,1,1) |
| 930 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
| 931 | - | p3.Transparency = 0.4 |
| 931 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -1.84781265, -0.848209381, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) |
| 932 | - | p3.Anchored = true |
| 932 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 933 | - | p3.CanCollide = false |
| 933 | + | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999)) |
| 934 | - | p3.TopSurface = "Smooth" |
| 934 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.576828003, 0.561959505, -0.0102539063, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) |
| 935 | - | p3.BottomSurface = "Smooth" |
| 935 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 936 | - | p3.BrickColor = wCol |
| 936 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979)) |
| 937 | - | p3.Material = "Neon" |
| 937 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, -0.576843262, 0.621945381, -1, 0, -0, 0, 0.47027573, 0.882519484, 0, 0.882519484, -0.47027573)) |
| 938 | - | local p4 = Instance.new("Part",workspace)
|
| 938 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999)) |
| 939 | - | local m4 = Instance.new("BlockMesh",p4)
|
| 939 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, 1.62195778, 0.576828003, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
| 940 | - | m4.Scale = Vector3.new(10,10,10) |
| 940 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999)) |
| 941 | - | p4.Size = Vector3.new(1,1,1) |
| 941 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, 0.221988678, 0.646835327, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
| 942 | - | p4.Transparency = 0.4 |
| 942 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996)) |
| 943 | - | p4.Anchored = true |
| 943 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, 1.54202843, 0.27684021, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
| 944 | - | p4.CanCollide = false |
| 944 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979)) |
| 945 | - | p4.TopSurface = "Smooth" |
| 945 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, -0.0048789978, 0.544052124, -1, 0, -0, 0, 0.999762774, 0.0217780173, 0, 0.0217780173, -0.999762774)) |
| 946 | - | p4.BottomSurface = "Smooth" |
| 946 | + | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) |
| 947 | - | p4.BrickColor = wCol2 |
| 947 | + | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00826263428, -0.4217453, 2.30198288, 1, 0, 0, 0, -0.685295343, -0.728265285, 0, 0.728265285, -0.685295343)) |
| 948 | - | p4.Material = "Neon" |
| 948 | + | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) |
| 949 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.291732788, -0.4217453, 2.30198288, 1, 0, 0, 0, -0.685295343, -0.728265285, 0, 0.728265285, -0.685295343)) | |
| 950 | - | ClearGhosts() |
| 950 | + | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) |
| 951 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.308265686, -0.4217453, 2.30198288, 1, 0, 0, 0, -0.685295343, -0.728265285, 0, 0.728265285, -0.685295343)) | |
| 952 | - | for i=1,amountGhosts do |
| 952 | + | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003)) |
| 953 | - | CreateGhost() |
| 953 | + | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00826263428, 1.26199555, -0.0168457031, 1, 0, 0, 0, 0.882519484, -0.47027573, 0, 0.47027573, 0.882519484)) |
| 954 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
| 955 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.291732788, 1.75198078, -0.0168457031, 1, 0, 0, 0, 0.882519484, -0.47027573, 0, 0.47027573, 0.882519484)) | |
| 956 | - | local currentframe = 0 |
| 956 | + | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) |
| 957 | - | local frmR |
| 957 | + | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.308265686, 1.75198078, -0.0168457031, 1, 0, 0, 0, 0.882519484, -0.47027573, 0, 0.47027573, 0.882519484)) |
| 958 | LfHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","LfHitbox",Vector3.new(1.23000014, 2.07999992, 1.08000004)) | |
| 959 | - | frmR = game:GetService("RunService").RenderStepped:connect(function()
|
| 959 | + | LfHitboxWeld=CFuncs.Weld.Create(m,Handle,LfHitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.486152649, 1.3195107, -0.0055847168, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) |
| 960 | - | currentframe = currentframe + 1 |
| 960 | + | |
| 961 | - | if currentframe < 1*60 then |
| 961 | + | --headlol---- |
| 962 | - | p1.CFrame = char:WaitForChild("Torso").CFrame
|
| 962 | + | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Brown","Handle",Vector3.new(1, 0.800000012, 2)) |
| 963 | - | p2.CFrame = char:WaitForChild("Torso").CFrame
|
| 963 | + | HandleWeld=CFuncs.Weld.Create(m,Character["Head"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0050201416, -0.737044811, 0.0650024414, -0.999626577, 5.26573444e-21, -0.0273229256, 5.2506392e-21, 1, 6.24212331e-22, 0.0273229256, 4.80515498e-22, -0.999626577)) |
| 964 | - | p3.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
|
| 964 | + | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11185882",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 0.800000012, 0.800000012))
|
| 965 | - | p4.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
|
| 965 | + | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 966 | - | m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25) |
| 966 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0264434814, -0.524188995, -0.543628693, -0.999751627, 5.25372174e-21, 0.0222777594, -0.0194845516, -0.484811008, -0.874401748, 0.0108005032, -0.874619007, 0.484690607)) |
| 967 | - | m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25) |
| 967 | + | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=118974072 ",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 1, 1))
|
| 968 | - | m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25) |
| 968 | + | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 969 | - | m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25) |
| 969 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0264434814, -0.524188995, -0.543628693, -0.999751627, 5.25372174e-21, 0.0222777594, -0.0194845516, -0.484811008, -0.874401748, 0.0108005032, -0.874619007, 0.484690607)) |
| 970 | - | p1.Transparency = p1.Transparency + (1/(1*60)) |
| 970 | + | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=118974072 ",Vector3.new(0, 0, 0),Vector3.new(1.14999998, 0.99000001, 0.99000001))
|
| 971 | - | p2.Transparency = p2.Transparency + (1/(1*60)) |
| 971 | + | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 972 | - | p3.Transparency = p3.Transparency + (1/(1*60)) |
| 972 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.016456604, 0.539620876, 0.465080261, -0.999751627, 5.25372174e-21, 0.0222777594, 5.26573444e-21, 1, 4.80515498e-22, -0.0222777594, 5.97705948e-22, -0.999751627)) |
| 973 | - | p4.Transparency = p4.Transparency + (1/(1*60)) |
| 973 | + | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134030318 ",Vector3.new(0, 0, 0),Vector3.new(1.03999996, 1.03999996, 1.03999996))
|
| 974 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 975 | - | p1:Destroy() |
| 975 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.016456604, 0.539620876, 0.465080261, -0.999751627, 5.25372174e-21, 0.0222777594, 5.26573444e-21, 1, 4.80515498e-22, -0.0222777594, 5.97705948e-22, -0.999751627)) |
| 976 | - | p2:Destroy() |
| 976 | + | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134030318 ",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 1.01999998, 1.01999998))
|
| 977 | - | p3:Destroy() |
| 977 | + | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.60000002384186,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 978 | - | p4:Destroy() |
| 978 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.016456604, 0.539620876, 0.465080261, -0.999751627, 5.25372174e-21, 0.0222777594, 5.26573444e-21, 1, 4.80515498e-22, -0.0222777594, 5.97705948e-22, -0.999751627)) |
| 979 | - | frmR:disconnect() |
| 979 | + | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134030318 ",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 980 | ||
| 981 | - | end) |
| 981 | + | |
| 982 | --torsoa---- | |
| 983 | ||
| 984 | - | end) |
| 984 | + | |
| 985 | - | end) |
| 985 | + | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 986 | HandleWeld=CFuncs.Weld.Create(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0299911499, -0.493329048, 0.770057678, -0.999987364, 0, -0.00504670199, 0, 1, 0, 0.00504670199, 0, -0.999987364)) | |
| 987 | - | local frm = 0 |
| 987 | + | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.600000024))
|
| 988 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 989 | - | local toRemove = {}
|
| 989 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 990 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 0.800000012, 0.800000012))
| |
| 991 | - | game:GetService("RunService").RenderStepped:connect(function()
|
| 991 | + | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 992 | - | frm = frm + 1 |
| 992 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 993 | - | if char.Parent == game:GetService("Workspace").CurrentCamera then
|
| 993 | + | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 0.5))
|
| 994 | - | |
| 994 | + | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 995 | - | e1.CFrame = char.Head.CFrame * CFrame.new(0.15,0.1,-0.55) |
| 995 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 996 | - | e2.CFrame = char.Head.CFrame * CFrame.new(-0.15,0.1,-0.55) |
| 996 | + | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 0.699999988, 0.699999988))
|
| 997 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 998 | - | local delay = 0.9 |
| 998 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 999 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.899999976, 0.899999976, 0.899999976))
| |
| 1000 | - | for i,v in pairs(ghosts) do |
| 1000 | + | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1001 | - | for _,b in pairs(v:GetChildren()) do |
| 1001 | + | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1002 | - | if b:IsA("Part") or b:IsA("WedgePart") or b:IsA("TrussPart") or b:IsA("UnionOperation") then
|
| 1002 | + | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 1003 | - | b.CFrame = b.CFrame:lerp(b:FindFirstChild("Target").Value.CFrame,delay)
|
| 1003 | + | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(1, 0.200000003, 1)) |
| 1004 | InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00417709351, -2.28881836e-05, 0.0100097656, 0, -1, 0, 0, 0, 1, -1, 0, 0)) | |
| 1005 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1006 | - | delay = delay - (0.5/(#ghosts+1)) |
| 1006 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1007 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, 0.355865002, 0.809951782, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1008 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
| 1009 | - | --[[if math.floor(frm/8) == frm/8 then |
| 1009 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, 0.148796082, 0.128662109, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) |
| 1010 | - | local isub = 0 |
| 1010 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 1011 | - | for i,v in pairs(ghosts) do |
| 1011 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) |
| 1012 | - | if #v:GetChildren() < 6 then |
| 1012 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, -0.193378448, 0.128658295, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) |
| 1013 | - | v:Destroy() |
| 1013 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 1014 | - | table.remove(ghosts,i - isub) |
| 1014 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) |
| 1015 | - | isub = isub + 1 |
| 1015 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, 0.148769379, -0.213489532, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) |
| 1016 | - | CreateGhost() |
| 1016 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 1017 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(2.00999999, 1.13, 0.620000005)) | |
| 1018 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0342407227, 0.055727005, -0.559654236, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1019 | - | end]] |
| 1019 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) |
| 1020 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, -0.193340302, -0.213474274, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) | |
| 1021 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1022 | - | --Animation states |
| 1022 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1023 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, -0.224153996, -0.71006012, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1024 | - | local ray = Ray.new(char.HumanoidRootPart.CFrame.p, Vector3.new(0,-3,0).unit*4) |
| 1024 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1025 | - | local part,pos,normal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(ray,ghosts,false,true)
|
| 1025 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, -0.224153996, 0.81993103, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
| 1026 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014)) | |
| 1027 | - | if state ~= "busy" then |
| 1027 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.782676697, 0.765777588, -0.204174995, 0, 0, 1, 1, 0, 0, 0, 1, 0)) |
| 1028 | - | if char.HumanoidRootPart.Velocity.Magnitude <= 0.5 then |
| 1028 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014)) |
| 1029 | - | state = "idle" |
| 1029 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.792671204, 0.844223022, -0.204174995, 0, 0, -1, -1, 0, 0, 0, 1, 0)) |
| 1030 | - | elseif char.HumanoidRootPart.Velocity.Magnitude > 0.5 then |
| 1030 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1031 | - | state = "running" |
| 1031 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, 0.355865002, -0.71006012, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
| 1032 | - | --[[elseif char.HumanoidRootPart.Velocity.Y < 0.1 and not part then |
| 1032 | + | |
| 1033 | - | state = "falling" |
| 1033 | + | ---rightleg--- |
| 1034 | - | elseif char.HumanoidRootPart.Velocity.Y >= 0.1 and not part then |
| 1034 | + | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1035 | - | state = "jumping"]] |
| 1035 | + | HandleWeld=CFuncs.Weld.Create(m,Character["Right Leg"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00577545166, 0.163275599, 0.527420044, 0.999987364, 0, 0.00504670199, 0, 1, 0, -0.00504670199, 0, 0.999987364)) |
| 1036 | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.379687488, 0.379687488, 0.379687488))
| |
| 1037 | - | char.Humanoid.WalkSpeed = 32 |
| 1037 | + | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1038 | - | char.Humanoid.JumpPower = 70 |
| 1038 | + | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1039 | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.2109375, 0.2109375, 0.2109375))
| |
| 1040 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1041 | - | --Actual animations |
| 1041 | + | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1042 | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.253125012, 0.253125012, 0.253125012))
| |
| 1043 | - | if state == "idle" then |
| 1043 | + | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1044 | - | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,1 + (math.cos(tick())/5),0) * CFrame.Angles(math.rad(80 + math.cos(tick())*4),math.rad(180),math.rad(0)),0.06) |
| 1044 | + | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1045 | - | char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0:lerp(CFrame.new(0.5,-0.1 + (math.cos((tick())*2)/10),-0.2) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),0.06) |
| 1045 | + | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.295312494, 0.295312494, 0.295312494))
|
| 1046 | - | char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0:lerp(CFrame.new(-0.5,-0.5 + (math.cos((tick()-0.5)*2)/6),0.3) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),0.06) |
| 1046 | + | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1047 | - | char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0:lerp(CFrame.new(1.5,0.43 + (math.cos((tick()-0.5)*1.5)/30),-0.6) * CFrame.Angles(math.rad(math.cos((tick())*2)*10),math.rad(0),math.rad(math.cos(tick()/3)*3)),0.06) |
| 1047 | + | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1048 | - | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1.5,0.3 + (math.cos((tick()-0.5)*1.5)/30),-0.6) * CFrame.Angles(math.rad(-15 + math.cos((tick()))*7),math.rad(0),math.rad(math.cos(tick()/2)*4)),0.06) |
| 1048 | + | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.421875, 0.421875, 0.421875))
|
| 1049 | - | char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.rad(90 + math.cos(tick()*1.5)*6),math.rad(180),math.rad(0)),0.06) |
| 1049 | + | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1050 | - | elseif state == "running" then |
| 1050 | + | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1051 | - | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,1 + (math.cos(tick())/5),0) * CFrame.Angles(math.rad(65 + math.cos(tick())*4),math.rad(180),math.rad(-char.HumanoidRootPart.RotVelocity.Y*10)),0.06) |
| 1051 | + | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006))
|
| 1052 | - | char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0:lerp(CFrame.new(0.5,-0.1 + (math.cos((tick())*2)/10),-0.2) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),0.06) |
| 1052 | + | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875)) |
| 1053 | - | char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0:lerp(CFrame.new(-0.5,-0.5 + (math.cos((tick()-0.5)*2)/6),0.3) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),0.06) |
| 1053 | + | InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00174897909, -3.05175781e-05, 0.00421905518, 0, -1, 0, 0, 0, 1, -1, 0, 0)) |
| 1054 | - | char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0:lerp(CFrame.new(1.5,0.70 + (math.cos((tick()-0.5)*1.5)/30),-0.4) * CFrame.Angles(math.rad(50 + math.cos((tick())*2)*10),math.rad(0),math.rad(math.cos(tick()/3)*3)),0.06) |
| 1054 | + | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1))
|
| 1055 | - | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1.5,0.3 + (math.cos((tick()-0.5)*1.5)/30),-0.4) * CFrame.Angles(math.rad(-35 + math.cos((tick()))*7),math.rad(0),math.rad(math.cos(tick()/2)*4)),0.06) |
| 1055 | + | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.410000026, 1.01999998)) |
| 1056 | - | char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.rad(90 + math.cos(tick()*1.5)*6),math.rad(180),math.rad(0)),0.06) |
| 1056 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.404953003, -0.835816026, 0.530357361, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
| 1057 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
| 1058 | - | end) |
| 1058 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.277801514, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1059 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
| |
| 1060 | - | char.Humanoid.Died:connect(function() |
| 1060 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
| 1061 | - | toggle = false |
| 1061 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.617797852, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1062 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
| |
| 1063 | - | ClearGhosts() |
| 1063 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021)) |
| 1064 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100349426, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
| 1065 | - | char.Parent = game.Workspace |
| 1065 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5)) |
| 1066 | - | char.Parent = game:GetService("Workspace")
|
| 1066 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100349426, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
| 1067 | - | char:FindFirstChild("ForceField"):Destroy()
|
| 1067 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003)) |
| 1068 | - | char:FindFirstChild("Head").Transparency = 0
|
| 1068 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.364208221, -0.519493103, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
| 1069 | - | char:FindFirstChild("Torso").Transparency = 0
|
| 1069 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
|
| 1070 | - | char:FindFirstChild("Right Arm").Transparency = 0
|
| 1070 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
| 1071 | - | char:FindFirstChild("Left Arm").Transparency = 0
|
| 1071 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.447799683, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1072 | - | char:FindFirstChild("Right Leg").Transparency = 0
|
| 1072 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
|
| 1073 | - | char:FindFirstChild("Left Leg").Transparency = 0
|
| 1073 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003)) |
| 1074 | - | for i,v in pairs(char:GetChildren()) do |
| 1074 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.416698456, -0.189483643, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
| 1075 | - | if v:IsA("Accessory") then
|
| 1075 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
|
| 1076 | - | v:FindFirstChild("Handle").Transparency = 0
|
| 1076 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
| 1077 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.447799683, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1078 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
| |
| 1079 | - | for i,v in pairs(game:GetService("Workspace").CurrentCamera:GetChildren()) do v:Destroy() end
|
| 1079 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981)) |
| 1080 | - | plr:LoadCharacter() |
| 1080 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100349426, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
| 1081 | - | end) |
| 1081 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998)) |
| 1082 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00503540039, -0.180850029, 0.530357361, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1083 | - | local msgidGlob = 0 |
| 1083 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
| 1084 | - | local state = true |
| 1084 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.787796021, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1085 | - | local font = "Arcade" |
| 1085 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
|
| 1086 | - | local tcol = Color3.fromRGB(255,217,0) |
| 1086 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
| 1087 | - | local tscol = Color3.fromRGB(0,0,0) |
| 1087 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.787796021, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1088 | - | local fsiz = 28 |
| 1088 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
|
| 1089 | - | local tr = true |
| 1089 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
| 1090 | - | local tsr = false |
| 1090 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.277801514, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1091 | - | local fade = 2 |
| 1091 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
|
| 1092 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
| 1093 | - | local p = Instance.new("Part",game.Workspace)
|
| 1093 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.617797852, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1094 | - | p.Size = Vector3.new(0.2,0.2,0.2) |
| 1094 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
|
| 1095 | - | p.Transparency = 1 |
| 1095 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003)) |
| 1096 | - | p.Anchored = true |
| 1096 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.386646271, -0.024520874, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
| 1097 | - | p.CanCollide = false |
| 1097 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
|
| 1098 | - | p.Name = "Msg" |
| 1098 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003)) |
| 1099 | - | p.CFrame = plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0)
|
| 1099 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.439151764, -0.354492188, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
| 1100 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
| |
| 1101 | - | local r = 255 |
| 1101 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1102 | - | local b = 0 |
| 1102 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.0944480896, 0.094493866, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0)) |
| 1103 | - | local g = 0 |
| 1103 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 1104 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1105 | - | plr.Chatted:connect(function(c) |
| 1105 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.314418793, 0.314464569, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0)) |
| 1106 | - | msgidGlob = msgidGlob + 1 |
| 1106 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 1107 | - | local curMsgId = msgidGlob |
| 1107 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1108 | - | if string.lower(c) == "!disable" then |
| 1108 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.314434052, 0.0945091248, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0)) |
| 1109 | - | state = false |
| 1109 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 1110 | - | elseif string.lower(c) == "!enable" then |
| 1110 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1111 | - | state = true |
| 1111 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.0944519043, 0.31451416, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0)) |
| 1112 | - | elseif string.lower(string.sub(c,1,6)) == "!font " then |
| 1112 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 1113 | - | local old = font |
| 1113 | + | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997)) |
| 1114 | - | font = string.sub(c,7,#c) or old |
| 1114 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00503540039, 0.289182007, 0.530357361, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
| 1115 | - | elseif string.lower(string.sub(c,1,8)) == "!tcolor " then |
| 1115 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017)) |
| 1116 | - | if string.lower(string.sub(c,9,#c)) == "rainbow" then |
| 1116 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -1.0478363, -0.287506104, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086)) |
| 1117 | - | tr = true |
| 1117 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
| 1118 | - | else |
| 1118 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.147018433, -0.465834022, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
| 1119 | - | tr = false |
| 1119 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995)) |
| 1120 | - | local old = tcol |
| 1120 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0100402832, 0.714154005, 0.527000427, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
| 1121 | - | tcol = Color3.fromRGB(string.sub(c,9,11),string.sub(c,13,15),string.sub(c,17,19)) or old |
| 1121 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
| 1122 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.147018433, -0.465834022, 0.249954224, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1123 | - | elseif string.lower(string.sub(c,1,9)) == "!tscolor " then |
| 1123 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
| 1124 | - | if string.sub(c,10,#c) == "rainbow" then |
| 1124 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.137023926, -0.415816069, 0.249969482, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
| 1125 | - | tsr = true |
| 1125 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
| 1126 | - | else |
| 1126 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.137023926, -0.415816069, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
| 1127 | - | tsr = false |
| 1127 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005)) |
| 1128 | - | local old = tscol |
| 1128 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -0.772094727, -0.486150742, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086)) |
| 1129 | - | tscol = Color3.fromRGB(string.sub(c,10,12),string.sub(c,14,16),string.sub(c,18,20)) or old |
| 1129 | + | |
| 1130 | ----leftleg---- | |
| 1131 | - | elseif string.lower(string.sub(c,1,6)) == "!size " then |
| 1131 | + | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1132 | - | local old = fsiz |
| 1132 | + | HandleWeld=CFuncs.Weld.Create(m,Character["Left Leg"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00580596924, 0.18327564, 0.52255249, 0.999987364, 0, 0.00504670199, 0, 1, 0, -0.00504670199, 0, 0.999987364)) |
| 1133 | - | fsiz = string.sub(c,7,#c) or old |
| 1133 | + | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006))
|
| 1134 | - | elseif string.lower(string.sub(c,1,6)) == "!fade " then |
| 1134 | + | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1135 | - | local old = fade |
| 1135 | + | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1136 | - | fade = string.sub(c,7,#c) or old |
| 1136 | + | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.253125012, 0.253125012, 0.253125012))
|
| 1137 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1138 | - | if plr.Character and state == true then |
| 1138 | + | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1139 | - | if plr.Character:FindFirstChild("Head") then
|
| 1139 | + | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.379687488, 0.379687488, 0.379687488))
|
| 1140 | - | for i,v in pairs(p:GetChildren()) do |
| 1140 | + | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1141 | - | if v:IsA("BillboardGui") and v.Name == "J2CMSG" then
|
| 1141 | + | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1142 | - | v:Destroy() |
| 1142 | + | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.295312494, 0.295312494, 0.295312494))
|
| 1143 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1144 | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1145 | - | local bbgui = Instance.new("BillboardGui",p)
|
| 1145 | + | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.421875, 0.421875, 0.421875))
|
| 1146 | - | bbgui.Name = "J2CMSG" |
| 1146 | + | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1147 | - | bbgui.AlwaysOnTop = true |
| 1147 | + | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
| 1148 | - | bbgui.ExtentsOffsetWorldSpace = Vector3.new(0,4.5,0) |
| 1148 | + | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.2109375, 0.2109375, 0.2109375))
|
| 1149 | - | bbgui.Size = UDim2.new(0.2,0,0.14,0) |
| 1149 | + | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875)) |
| 1150 | - | local tl = Instance.new("TextLabel",bbgui)
|
| 1150 | + | InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00174897909, -3.05175781e-05, 0.00421142578, 0, -1, 0, 0, 0, 1, -1, 0, 0)) |
| 1151 | - | tl.BackgroundTransparency = 1 |
| 1151 | + | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1))
|
| 1152 | - | tl.BorderSizePixel = 0 |
| 1152 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021)) |
| 1153 | - | tl.Size = UDim2.new(1,0,10,0) |
| 1153 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100334167, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
| 1154 | - | tl.Position = UDim2.new(0,0,-5,0) |
| 1154 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003)) |
| 1155 | - | tl.Font = font or "SciFi" |
| 1155 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.43914032, -0.354473114, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
| 1156 | - | tl.FontSize = "Size"..fsiz or "Size36" |
| 1156 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
|
| 1157 | - | tl.TextColor3 = tcol |
| 1157 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003)) |
| 1158 | - | tl.TextScaled = false |
| 1158 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.416690826, -0.189472198, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
| 1159 | - | tl.TextWrapped = false |
| 1159 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
|
| 1160 | - | tl.TextStrokeColor3 = tscol |
| 1160 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981)) |
| 1161 | - | tl.TextStrokeTransparency = 0 |
| 1161 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100334167, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
| 1162 | - | |
| 1162 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003)) |
| 1163 | - | game:GetService("RunService").RenderStepped:connect(function()
|
| 1163 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.364192963, -0.519462585, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
| 1164 | - | if tr then |
| 1164 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
|
| 1165 | - | if tl.Parent ~= nil then |
| 1165 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998)) |
| 1166 | - | tl.TextColor3 = Color3.fromRGB(r,g,b) |
| 1166 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0050201416, -0.180850029, 0.530334473, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
| 1167 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5)) | |
| 1168 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100334167, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
| 1169 | - | end) |
| 1169 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003)) |
| 1170 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.386638641, -0.0245018005, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) | |
| 1171 | - | for i=1,#c do |
| 1171 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
|
| 1172 | - | if msgidGlob == curMsgId then |
| 1172 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1173 | - | tl.Text = string.sub(c,1,i) |
| 1173 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.0944595337, -0.314498901, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0)) |
| 1174 | - | if string.sub(c,i,i) ~= " " then |
| 1174 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 1175 | - | local s = Instance.new("Sound",p)
|
| 1175 | + | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.230000004, 1.01999998)) |
| 1176 | - | s.SoundId = "rbxassetid://418252437" |
| 1176 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0713348389, -0.872953892, 0.530334473, -0.996194899, -0.0871539935, 0, -0.087154001, 0.996194899, 0, 0, 0, -1)) |
| 1177 | - | s.Volume = 1 |
| 1177 | + | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997)) |
| 1178 | - | s.Pitch = 1 |
| 1178 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0050201416, 0.289182007, 0.530334473, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
| 1179 | - | s:Play() |
| 1179 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.02999997, 0.200000003, 1.02999997)) |
| 1180 | - | game.Debris:AddItem(s,2) |
| 1180 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0713348389, -0.872953892, 0.530334473, -0.996194899, -0.0871539935, 0, -0.087154001, 0.996194899, 0, 0, 0, -1)) |
| 1181 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1182 | - | wait() |
| 1182 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.314414978, -0.314460754, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0)) |
| 1183 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1184 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1185 | - | wait(fade) |
| 1185 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.0944480896, -0.094493866, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0)) |
| 1186 | - | if msgidGlob == curMsgId then |
| 1186 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 1187 | - | for i=1,10 do |
| 1187 | + | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
| 1188 | - | if msgidGlob == curMsgId then |
| 1188 | + | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.31445694, -0.0945014954, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0)) |
| 1189 | - | tl.TextTransparency = tl.TextTransparency + 0.1 |
| 1189 | + | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 1190 | - | tl.TextStrokeTransparency = tl.TextStrokeTransparency + 0.1 |
| 1190 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995)) |
| 1191 | - | tl.Position = tl.Position + UDim2.new(0,0,0,-3) |
| 1191 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0100402832, 0.714154005, 0.526977539, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
| 1192 | - | wait() |
| 1192 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
| 1193 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.137008667, -0.415816009, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
| 1194 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005)) | |
| 1195 | - | if msgidGlob == curMsgId then |
| 1195 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -0.77205658, -0.486157417, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086)) |
| 1196 | - | bbgui:Destroy() |
| 1196 | + | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
| 1197 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.137008667, -0.415816009, 0.249969482, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1198 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
| 1199 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.147003174, -0.465833962, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
| 1200 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017)) | |
| 1201 | - | end) |
| 1201 | + | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -1.0477829, -0.287514687, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086)) |
| 1202 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
| 1203 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.147003174, -0.465833962, 0.249954224, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1204 | - | while wait() do |
| 1204 | + | |
| 1205 | - | for i=0,255,10 do g = i wait() end |
| 1205 | + | |
| 1206 | - | for i=255,0,-10 do r = i wait() end |
| 1206 | + | |
| 1207 | - | for i=0,255,10 do b = i wait() end |
| 1207 | + | EffectModel = Create("Model"){
|
| 1208 | - | for i=255,0,-10 do g = i wait() end |
| 1208 | + | Parent = Character, |
| 1209 | - | for i=0,255,10 do r = i wait() end |
| 1209 | + | Name = "Effects", |
| 1210 | - | for i=255,0,-10 do b = i wait() end |
| 1210 | + | } |
| 1211 | ||
| 1212 | Effects = {
| |
| 1213 | Block = {
| |
| 1214 | - | game:GetService("RunService").RenderStepped:connect(function()
|
| 1214 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
| 1215 | - | if p.Parent ~= nil then |
| 1215 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1216 | - | p.CFrame = p.CFrame:lerp(plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0),0.16)
|
| 1216 | + | prt.Anchored = true |
| 1217 | prt.CFrame = cframe | |
| 1218 | - | p = Instance.new("Part",game.Workspace)
|
| 1218 | + | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1219 | - | p.Size = Vector3.new(0.2,0.2,0.2) |
| 1219 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 1220 | - | p.Transparency = 1 |
| 1220 | + | if Type == 1 or Type == nil then |
| 1221 | - | p.Anchored = true |
| 1221 | + | table.insert(Effects, {
|
| 1222 | - | p.CanCollide = false |
| 1222 | + | prt, |
| 1223 | - | p.Name = "Msg" |
| 1223 | + | "Block1", |
| 1224 | - | p.CFrame = plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0)
|
| 1224 | + | delay, |
| 1225 | x3, | |
| 1226 | - | end)plr = game.Players.LocalPlayer |
| 1226 | + | y3, |
| 1227 | - | mouse = plr:GetMouse() |
| 1227 | + | z3, |
| 1228 | - | --This has to be a local script. |
| 1228 | + | msh |
| 1229 | - | function onClicked() |
| 1229 | + | }) |
| 1230 | - | local x = Instance.new("Explosion", Workspace)--This means create new explosion in the workspace.
|
| 1230 | + | elseif Type == 2 then |
| 1231 | - | x.Position = mouse.Hit.p |
| 1231 | + | table.insert(Effects, {
|
| 1232 | - | x.BlastRadius = math.huge |
| 1232 | + | prt, |
| 1233 | - | x.BlastPressure = math.huge |
| 1233 | + | "Block2", |
| 1234 | delay, | |
| 1235 | - | mouse.Button1Down:connect(onClicked) |
| 1235 | + | x3, |
| 1236 | - | |
| 1236 | + | y3, |
| 1237 | - | print("Zorex God loaded! Time elapsed: "..tick() - time) |
| 1237 | + | z3, |
| 1238 | msh | |
| 1239 | }) | |
| 1240 | end | |
| 1241 | end; | |
| 1242 | }; | |
| 1243 | ||
| 1244 | Cylinder = {
| |
| 1245 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1246 | local prt = CFuncs.Part..Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
| 1247 | prt.Anchored = true | |
| 1248 | prt.CFrame = cframe | |
| 1249 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1250 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 1251 | Effects[#Effects + 1] = {
| |
| 1252 | prt, | |
| 1253 | "Cylinder", | |
| 1254 | delay, | |
| 1255 | x3, | |
| 1256 | y3, | |
| 1257 | z3 | |
| 1258 | } | |
| 1259 | end; | |
| 1260 | }; | |
| 1261 | ||
| 1262 | Head = {
| |
| 1263 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1264 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1265 | prt.Anchored = true | |
| 1266 | prt.CFrame = cframe | |
| 1267 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1268 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1269 | table.insert(Effects, {
| |
| 1270 | prt, | |
| 1271 | "Cylinder", | |
| 1272 | delay, | |
| 1273 | x3, | |
| 1274 | y3, | |
| 1275 | z3, | |
| 1276 | msh | |
| 1277 | }) | |
| 1278 | end; | |
| 1279 | }; | |
| 1280 | ||
| 1281 | Sphere = {
| |
| 1282 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1283 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1284 | prt.Anchored = true | |
| 1285 | prt.CFrame = cframe | |
| 1286 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1287 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1288 | table.insert(Effects, {
| |
| 1289 | prt, | |
| 1290 | "Cylinder", | |
| 1291 | delay, | |
| 1292 | x3, | |
| 1293 | y3, | |
| 1294 | z3, | |
| 1295 | msh | |
| 1296 | }) | |
| 1297 | end; | |
| 1298 | }; | |
| 1299 | ||
| 1300 | Elect = {
| |
| 1301 | Create = function(cff, x, y, z) | |
| 1302 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
| |
| 1303 | prt.Anchored = true | |
| 1304 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
| 1305 | prt.CFrame = CFrame.new(prt.Position) | |
| 1306 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 1307 | local xval = math.random() / 2 | |
| 1308 | local yval = math.random() / 2 | |
| 1309 | local zval = math.random() / 2 | |
| 1310 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 1311 | table.insert(Effects, {
| |
| 1312 | prt, | |
| 1313 | "Elec", | |
| 1314 | 0.1, | |
| 1315 | x, | |
| 1316 | y, | |
| 1317 | z, | |
| 1318 | xval, | |
| 1319 | yval, | |
| 1320 | zval | |
| 1321 | }) | |
| 1322 | end; | |
| 1323 | ||
| 1324 | }; | |
| 1325 | ||
| 1326 | Ring = {
| |
| 1327 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1328 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1329 | prt.Anchored = true | |
| 1330 | prt.CFrame = cframe | |
| 1331 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1332 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1333 | table.insert(Effects, {
| |
| 1334 | prt, | |
| 1335 | "Cylinder", | |
| 1336 | delay, | |
| 1337 | x3, | |
| 1338 | y3, | |
| 1339 | z3, | |
| 1340 | msh | |
| 1341 | }) | |
| 1342 | end; | |
| 1343 | }; | |
| 1344 | ||
| 1345 | ||
| 1346 | Wave = {
| |
| 1347 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1348 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1349 | prt.Anchored = true | |
| 1350 | prt.CFrame = cframe | |
| 1351 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1352 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1353 | table.insert(Effects, {
| |
| 1354 | prt, | |
| 1355 | "Cylinder", | |
| 1356 | delay, | |
| 1357 | x3, | |
| 1358 | y3, | |
| 1359 | z3, | |
| 1360 | msh | |
| 1361 | }) | |
| 1362 | end; | |
| 1363 | }; | |
| 1364 | ||
| 1365 | Break = {
| |
| 1366 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1367 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1368 | prt.Anchored = true | |
| 1369 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1370 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1371 | local num = math.random(10, 50) / 1000 | |
| 1372 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1373 | table.insert(Effects, {
| |
| 1374 | prt, | |
| 1375 | "Shatter", | |
| 1376 | num, | |
| 1377 | prt.CFrame, | |
| 1378 | math.random() - math.random(), | |
| 1379 | 0, | |
| 1380 | math.random(50, 100) / 100 | |
| 1381 | }) | |
| 1382 | end; | |
| 1383 | }; | |
| 1384 | ||
| 1385 | Fire = {
| |
| 1386 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 1387 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1388 | prt.Anchored = true | |
| 1389 | prt.CFrame = cframe | |
| 1390 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1391 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1392 | table.insert(Effects, {
| |
| 1393 | prt, | |
| 1394 | "Fire", | |
| 1395 | delay, | |
| 1396 | 1, | |
| 1397 | 1, | |
| 1398 | 1, | |
| 1399 | msh | |
| 1400 | }) | |
| 1401 | end; | |
| 1402 | }; | |
| 1403 | ||
| 1404 | FireWave = {
| |
| 1405 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1406 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
| 1407 | prt.Anchored = true | |
| 1408 | prt.CFrame = cframe | |
| 1409 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1410 | local d = Create("Decal"){
| |
| 1411 | Parent = prt, | |
| 1412 | Texture = "rbxassetid://26356434", | |
| 1413 | Face = "Top", | |
| 1414 | } | |
| 1415 | local d = Create("Decal"){
| |
| 1416 | Parent = prt, | |
| 1417 | Texture = "rbxassetid://26356434", | |
| 1418 | Face = "Bottom", | |
| 1419 | } | |
| 1420 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1421 | table.insert(Effects, {
| |
| 1422 | prt, | |
| 1423 | "FireWave", | |
| 1424 | 1, | |
| 1425 | 30, | |
| 1426 | math.random(400, 600) / 100, | |
| 1427 | msh | |
| 1428 | }) | |
| 1429 | end; | |
| 1430 | }; | |
| 1431 | ||
| 1432 | Lightning = {
| |
| 1433 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 1434 | local magz = (p0 - p1).magnitude | |
| 1435 | local curpos = p0 | |
| 1436 | local trz = {
| |
| 1437 | -ofs, | |
| 1438 | ofs | |
| 1439 | } | |
| 1440 | for i = 1, tym do | |
| 1441 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
| 1442 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 1443 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 1444 | li.Material = "Neon" | |
| 1445 | if tym == i then | |
| 1446 | local magz2 = (curpos - p1).magnitude | |
| 1447 | li.Size = Vector3.new(th, th, magz2) | |
| 1448 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 1449 | table.insert(Effects, {
| |
| 1450 | li, | |
| 1451 | "Disappear", | |
| 1452 | last | |
| 1453 | }) | |
| 1454 | else | |
| 1455 | do | |
| 1456 | do | |
| 1457 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 1458 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 1459 | game.Debris:AddItem(li, 10) | |
| 1460 | table.insert(Effects, {
| |
| 1461 | li, | |
| 1462 | "Disappear", | |
| 1463 | last | |
| 1464 | }) | |
| 1465 | end | |
| 1466 | end | |
| 1467 | end | |
| 1468 | end | |
| 1469 | end | |
| 1470 | }; | |
| 1471 | ||
| 1472 | EffectTemplate = {
| |
| 1473 | ||
| 1474 | }; | |
| 1475 | } | |
| 1476 | ||
| 1477 | function attackone() | |
| 1478 | attack = true | |
| 1479 | for i = 0, 1, 0.1 do | |
| 1480 | swait() | |
| 1481 | PlayAnimationFromTable({
| |
| 1482 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1483 | CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1484 | CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1485 | CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1486 | CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1487 | CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1488 | }, .3, false) | |
| 1489 | end | |
| 1490 | attack = false | |
| 1491 | end | |
| 1492 | ||
| 1493 | Mouse.Button1Down:connect(function() | |
| 1494 | if attack == false and attacktype == 1 then | |
| 1495 | attackone() | |
| 1496 | end | |
| 1497 | end) | |
| 1498 | ||
| 1499 | Mouse.KeyDown:connect(function(k) | |
| 1500 | k = k:lower() | |
| 1501 | if attack == false and k == '' then | |
| 1502 | ||
| 1503 | end | |
| 1504 | end) | |
| 1505 | ||
| 1506 | while true do | |
| 1507 | swait() | |
| 1508 | for i, v in pairs(Character:GetChildren()) do | |
| 1509 | if v:IsA("Part") then
| |
| 1510 | v.Material = "SmoothPlastic" | |
| 1511 | elseif v:IsA("Accessory") then
| |
| 1512 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1513 | end | |
| 1514 | end | |
| 1515 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1516 | velocity = RootPart.Velocity.y | |
| 1517 | sine = sine + change | |
| 1518 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 1519 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 1520 | Anim = "Jump" | |
| 1521 | if attack == false then | |
| 1522 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1523 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1524 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1525 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1526 | RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1527 | LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1528 | end | |
| 1529 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 1530 | Anim = "Fall" | |
| 1531 | if attack == false then | |
| 1532 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1533 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1534 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1535 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1536 | RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1537 | LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1538 | end | |
| 1539 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 1540 | Anim = "Idle" | |
| 1541 | if attack == false then | |
| 1542 | change = 1 | |
| 1543 | PlayAnimationFromTable({
| |
| 1544 | CFrame.new(0.0305537544, 0.101244226, -0.110436231, 0.751921654, -2.69948202e-07, 0.659252584, 2.48371833e-07, 1, 1.26191509e-07, -0.659252584, 6.88536517e-08, 0.751921654) * CFrame.new(0, -0.1 + .1 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0), | |
| 1545 | CFrame.new(0.133692384, 1.49995291, -0.122152172, 0.751921654, 0.118821487, -0.648456573, -2.85284614e-07, 0.983623922, 0.18023634, 0.659252584, -0.135523424, 0.739608109) * CFrame.Angles(math.rad(0 + 1 * math.cos(sine / 20)), 0, 0), | |
| 1546 | CFrame.new(1.56342208, 0.082565181, 0.184068531, 0.944978952, -0.210362762, -0.250524461, 0.217591718, 0.976039171, 0.00118678785, 0.244271994, -0.0556335375, 0.968109608) * CFrame.new(0, 0, 0 - 0.1 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0), | |
| 1547 | CFrame.new(-1.43761444, 0.138237804, 0.339363664, 0.86690402, 0.278344274, 0.413524032, -0.320227653, 0.946727693, 0.0340739228, -0.3820104, -0.161960647, 0.909855604) * CFrame.new(0, 0, 0) * CFrame.new(0, 0, 0 - 0.1 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0), | |
| 1548 | CFrame.new(0.620094717, -1.99999762, -0.161182314, 0.97460556, -0.0876395851, -0.206067026, 0.0712375641, 0.993768871, -0.0857243761, 0.21229586, 0.0688677281, 0.974775851) * CFrame.new(0, 0, 0) * CFrame.new(0 - 0.01 * math.cos(sine / 20), 0 - .1 * math.cos(sine / 20), 0) * CFrame.Angles(0 + 0.02 * math.cos(sine / 20), 0, 0 - 0.01 * math.cos(sine / 20)), | |
| 1549 | CFrame.new(-0.646371901, -1.99999869, 0.0849364698, 0.992579937, 0.118687555, 0.0264309049, -0.120671012, 0.988230288, 0.0940183029, -0.0149610043, -0.0965101048, 0.995219648) * CFrame.new(0 + 0.01 * math.cos(sine / 20), 0 - .1 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.02 * math.cos(sine / 20), 0, 0 + 0.01 * math.cos(sine / 20)), | |
| 1550 | }, .3, false) | |
| 1551 | end | |
| 1552 | ||
| 1553 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 1554 | Anim = "Walk" | |
| 1555 | if attack == false then | |
| 1556 | Character.Humanoid.WalkSpeed = 100 | |
| 1557 | PlayAnimationFromTable({
| |
| 1558 | CFrame.new(0, -0.0193441566, -0.137761548, 1, 0, 0, 0, 0.961308897, 0.275472969, 0, -0.275472969, 0.961308897) * CFrame.new(0, 0+ .1 * math.cos((sine) / 2), 0) * CFrame.Angles(0, 0, 0), | |
| 1559 | CFrame.new(0, 1.44159341, 0.0451771915, 1, 0, 0, 0, 0.98646307, -0.163984656, 0, 0.163984656, 0.98646307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1560 | CFrame.new(1.63363111, 0.0754526258, -2.72151652e-007, 0.985570133, -0.16926825, 1.56980732e-007, 0.16926825, 0.985570133, 2.38418579e-007, -1.86264515e-007, -1.49011612e-007, 1.00000024) * CFrame.new(0-.2+.5 * math.cos((sine) / 4), 0.2+ .65 * math.cos((sine) / 2), 0+ 1.1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0- 120 * math.cos((sine) / 4)),0, math.rad(0+ 60 * math.cos((sine) / 4))), | |
| 1561 | CFrame.new(-1.61827064, 0.111134544, 1.51569429e-006, 0.978242338, 0.207465827, 7.76345075e-007, -0.207465842, 0.978242397, -2.41398811e-006, -1.25542283e-006, 2.20537186e-006, 1.00000012) * CFrame.new(0.2+.5 * math.cos((sine) / 4), 0.2+ .65 * math.cos((sine) / 2), 0- 1.1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0+ 120 * math.cos((sine) / 4)), 0, math.rad(0+ 60 * math.cos((sine) / 4))), | |
| 1562 | CFrame.new(0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .4 * math.cos((sine) / 2), 0 + 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 - 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)), | |
| 1563 | CFrame.new(-0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .4 * math.cos((sine) / 2), 0 - 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 + 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)), | |
| 1564 | }, .9, false) | |
| 1565 | end | |
| 1566 | end | |
| 1567 | if 0 < #Effects then | |
| 1568 | for e = 1, #Effects do | |
| 1569 | if Effects[e] ~= nil then | |
| 1570 | local Thing = Effects[e] | |
| 1571 | if Thing ~= nil then | |
| 1572 | local Part = Thing[1] | |
| 1573 | local Mode = Thing[2] | |
| 1574 | local Delay = Thing[3] | |
| 1575 | local IncX = Thing[4] | |
| 1576 | local IncY = Thing[5] | |
| 1577 | local IncZ = Thing[6] | |
| 1578 | if Thing[2] == "Shoot" then | |
| 1579 | local Look = Thing[1] | |
| 1580 | local move = 30 | |
| 1581 | if Thing[8] == 3 then | |
| 1582 | move = 10 | |
| 1583 | end | |
| 1584 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
| 1585 | if Thing[10] ~= nil then | |
| 1586 | da = pos | |
| 1587 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
| 1588 | cfa = CFrame.new(Thing[4], pos) | |
| 1589 | tehCF = cfa:lerp(cf2, 0.2) | |
| 1590 | Thing[1] = tehCF.lookVector | |
| 1591 | end | |
| 1592 | local mag = (Thing[4] - pos).magnitude | |
| 1593 | Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
| 1594 | if Thing[8] == 2 then | |
| 1595 | Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
| 1596 | end | |
| 1597 | Thing[4] = Thing[4] + Look * move | |
| 1598 | Thing[3] = Thing[3] - 1 | |
| 1599 | if 2 < Thing[5] then | |
| 1600 | Thing[5] = Thing[5] - 0.3 | |
| 1601 | Thing[6] = Thing[6] - 0.3 | |
| 1602 | end | |
| 1603 | if hit ~= nil then | |
| 1604 | Thing[3] = 0 | |
| 1605 | if Thing[8] == 1 or Thing[8] == 3 then | |
| 1606 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1607 | else | |
| 1608 | if Thing[8] == 2 then | |
| 1609 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1610 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
| |
| 1611 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 1612 | ref.Anchored = true | |
| 1613 | ref.CFrame = CFrame.new(pos) | |
| 1614 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
| |
| 1615 | game:GetService("Debris"):AddItem(ref, 0.2)
| |
| 1616 | Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
| 1617 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
| |
| 1618 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
| 1619 | end | |
| 1620 | end | |
| 1621 | end | |
| 1622 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 1623 | ref.Anchored = true | |
| 1624 | ref.CFrame = CFrame.new(pos) | |
| 1625 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
| 1626 | game:GetService("Debris"):AddItem(ref, 1)
| |
| 1627 | end | |
| 1628 | if Thing[3] <= 0 then | |
| 1629 | table.remove(Effects, e) | |
| 1630 | end | |
| 1631 | end | |
| 1632 | do | |
| 1633 | do | |
| 1634 | if Thing[2] == "FireWave" then | |
| 1635 | if Thing[3] <= Thing[4] then | |
| 1636 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
| 1637 | Thing[3] = Thing[3] + 1 | |
| 1638 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
| 1639 | else | |
| 1640 | Part.Parent = nil | |
| 1641 | table.remove(Effects, e) | |
| 1642 | end | |
| 1643 | end | |
| 1644 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
| 1645 | if Thing[1].Transparency <= 1 then | |
| 1646 | if Thing[2] == "Block1" then | |
| 1647 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1648 | Mesh = Thing[7] | |
| 1649 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1650 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1651 | else | |
| 1652 | if Thing[2] == "Block2" then | |
| 1653 | Thing[1].CFrame = Thing[1].CFrame | |
| 1654 | Mesh = Thing[7] | |
| 1655 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1656 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1657 | else | |
| 1658 | if Thing[2] == "Fire" then | |
| 1659 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
| 1660 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1661 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1662 | else | |
| 1663 | if Thing[2] == "Cylinder" then | |
| 1664 | Mesh = Thing[7] | |
| 1665 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1666 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1667 | else | |
| 1668 | if Thing[2] == "Blood" then | |
| 1669 | Mesh = Thing[7] | |
| 1670 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
| 1671 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1672 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1673 | else | |
| 1674 | if Thing[2] == "Elec" then | |
| 1675 | Mesh = Thing[10] | |
| 1676 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1677 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1678 | else | |
| 1679 | if Thing[2] == "Disappear" then | |
| 1680 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1681 | CV="Pastel blue" | |
| 1682 | ||
| 1683 | local txt = Instance.new("BillboardGui", Character)
| |
| 1684 | txt.Adornee = Character .Head | |
| 1685 | txt.Name = "_status" | |
| 1686 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 1687 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 1688 | local text = Instance.new("TextLabel", txt)
| |
| 1689 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 1690 | text.FontSize = "Size24" | |
| 1691 | text.TextScaled = true | |
| 1692 | text.TextTransparency = 0 | |
| 1693 | text.BackgroundTransparency = 1 | |
| 1694 | text.TextTransparency = 0 | |
| 1695 | text.TextStrokeTransparency = 0 | |
| 1696 | text.Font = "Antique" | |
| 1697 | text.TextStrokeColor3 = Color3.new(255,85,0) | |
| 1698 | ||
| 1699 | v=Instance.new("Part")
| |
| 1700 | v.Name = "ColorBrick" | |
| 1701 | v.Parent=Player.Character | |
| 1702 | v.FormFactor="Symmetric" | |
| 1703 | v.Anchored=true | |
| 1704 | v.CanCollide=false | |
| 1705 | v.BottomSurface="Smooth" | |
| 1706 | v.TopSurface="Smooth" | |
| 1707 | v.Size=Vector3.new(10,5,3) | |
| 1708 | v.Transparency=1 | |
| 1709 | v.CFrame=Character.Torso.CFrame | |
| 1710 | v.BrickColor=BrickColor.new(CV) | |
| 1711 | v.Transparency=1 | |
| 1712 | text.TextColor3 = Color3.new(0,0,0) | |
| 1713 | v.Shape="Block" | |
| 1714 | text.Text = "DJ Speedster" | |
| 1715 | end | |
| 1716 | end | |
| 1717 | end | |
| 1718 | end | |
| 1719 | end | |
| 1720 | end | |
| 1721 | end | |
| 1722 | else | |
| 1723 | Part.Parent = nil | |
| 1724 | table.remove(Effects, e) | |
| 1725 | end | |
| 1726 | end | |
| 1727 | end | |
| 1728 | end | |
| 1729 | end | |
| 1730 | end | |
| 1731 | end | |
| 1732 | end | |
| 1733 | end |