Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Model1 = Instance.new("Model")
- Part2 = Instance.new("Part")
- Tool3 = Instance.new("Tool")
- Animation4 = Instance.new("Animation")
- RemoteEvent5 = Instance.new("RemoteEvent")
- Configuration6 = Instance.new("Configuration")
- NumberValue7 = Instance.new("NumberValue")
- NumberValue8 = Instance.new("NumberValue")
- BoolValue9 = Instance.new("BoolValue")
- Script10 = Instance.new("Script")
- Script11 = Instance.new("Script")
- BoolValue12 = Instance.new("BoolValue")
- NumberValue13 = Instance.new("NumberValue")
- LocalScript14 = Instance.new("LocalScript")
- MeshPart15 = Instance.new("MeshPart")
- Sound16 = Instance.new("Sound")
- DistortionSoundEffect17 = Instance.new("DistortionSoundEffect")
- Sound18 = Instance.new("Sound")
- Sound19 = Instance.new("Sound")
- Sound20 = Instance.new("Sound")
- ParticleEmitter21 = Instance.new("ParticleEmitter")
- ParticleEmitter22 = Instance.new("ParticleEmitter")
- ParticleEmitter23 = Instance.new("ParticleEmitter")
- ParticleEmitter24 = Instance.new("ParticleEmitter")
- ParticleEmitter25 = Instance.new("ParticleEmitter")
- Script26 = Instance.new("Script")
- Script27 = Instance.new("Script")
- Part28 = Instance.new("Part")
- Part29 = Instance.new("Part")
- Part30 = Instance.new("Part")
- Part31 = Instance.new("Part")
- Part32 = Instance.new("Part")
- Part33 = Instance.new("Part")
- SurfaceGui34 = Instance.new("SurfaceGui")
- TextLabel35 = Instance.new("TextLabel")
- Model36 = Instance.new("Model")
- Part37 = Instance.new("Part")
- Tool38 = Instance.new("Tool")
- Animation39 = Instance.new("Animation")
- RemoteEvent40 = Instance.new("RemoteEvent")
- MeshPart41 = Instance.new("MeshPart")
- Sound42 = Instance.new("Sound")
- Sound43 = Instance.new("Sound")
- Sound44 = Instance.new("Sound")
- ParticleEmitter45 = Instance.new("ParticleEmitter")
- ParticleEmitter46 = Instance.new("ParticleEmitter")
- ParticleEmitter47 = Instance.new("ParticleEmitter")
- Script48 = Instance.new("Script")
- Script49 = Instance.new("Script")
- BoolValue50 = Instance.new("BoolValue")
- NumberValue51 = Instance.new("NumberValue")
- Folder52 = Instance.new("Folder")
- ParticleEmitter53 = Instance.new("ParticleEmitter")
- ParticleEmitter54 = Instance.new("ParticleEmitter")
- ParticleEmitter55 = Instance.new("ParticleEmitter")
- Configuration56 = Instance.new("Configuration")
- NumberValue57 = Instance.new("NumberValue")
- NumberValue58 = Instance.new("NumberValue")
- BoolValue59 = Instance.new("BoolValue")
- LocalScript60 = Instance.new("LocalScript")
- Script61 = Instance.new("Script")
- Script62 = Instance.new("Script")
- Part63 = Instance.new("Part")
- Part64 = Instance.new("Part")
- Part65 = Instance.new("Part")
- Part66 = Instance.new("Part")
- Part67 = Instance.new("Part")
- Part68 = Instance.new("Part")
- SurfaceGui69 = Instance.new("SurfaceGui")
- TextLabel70 = Instance.new("TextLabel")
- Model71 = Instance.new("Model")
- Part72 = Instance.new("Part")
- Tool73 = Instance.new("Tool")
- Animation74 = Instance.new("Animation")
- RemoteEvent75 = Instance.new("RemoteEvent")
- Configuration76 = Instance.new("Configuration")
- NumberValue77 = Instance.new("NumberValue")
- NumberValue78 = Instance.new("NumberValue")
- BoolValue79 = Instance.new("BoolValue")
- Script80 = Instance.new("Script")
- Script81 = Instance.new("Script")
- BoolValue82 = Instance.new("BoolValue")
- NumberValue83 = Instance.new("NumberValue")
- LocalScript84 = Instance.new("LocalScript")
- MeshPart85 = Instance.new("MeshPart")
- Sound86 = Instance.new("Sound")
- Sound87 = Instance.new("Sound")
- Sound88 = Instance.new("Sound")
- Sound89 = Instance.new("Sound")
- ParticleEmitter90 = Instance.new("ParticleEmitter")
- ParticleEmitter91 = Instance.new("ParticleEmitter")
- Script92 = Instance.new("Script")
- Script93 = Instance.new("Script")
- Part94 = Instance.new("Part")
- Part95 = Instance.new("Part")
- Part96 = Instance.new("Part")
- Part97 = Instance.new("Part")
- Part98 = Instance.new("Part")
- Part99 = Instance.new("Part")
- SurfaceGui100 = Instance.new("SurfaceGui")
- TextLabel101 = Instance.new("TextLabel")
- Model102 = Instance.new("Model")
- Part103 = Instance.new("Part")
- Tool104 = Instance.new("Tool")
- Animation105 = Instance.new("Animation")
- RemoteEvent106 = Instance.new("RemoteEvent")
- MeshPart107 = Instance.new("MeshPart")
- Sound108 = Instance.new("Sound")
- Sound109 = Instance.new("Sound")
- ParticleEmitter110 = Instance.new("ParticleEmitter")
- ParticleEmitter111 = Instance.new("ParticleEmitter")
- ParticleEmitter112 = Instance.new("ParticleEmitter")
- Sound113 = Instance.new("Sound")
- Script114 = Instance.new("Script")
- Script115 = Instance.new("Script")
- BoolValue116 = Instance.new("BoolValue")
- NumberValue117 = Instance.new("NumberValue")
- Folder118 = Instance.new("Folder")
- ParticleEmitter119 = Instance.new("ParticleEmitter")
- ParticleEmitter120 = Instance.new("ParticleEmitter")
- ParticleEmitter121 = Instance.new("ParticleEmitter")
- Configuration122 = Instance.new("Configuration")
- NumberValue123 = Instance.new("NumberValue")
- NumberValue124 = Instance.new("NumberValue")
- BoolValue125 = Instance.new("BoolValue")
- LocalScript126 = Instance.new("LocalScript")
- Script127 = Instance.new("Script")
- Script128 = Instance.new("Script")
- Part129 = Instance.new("Part")
- Part130 = Instance.new("Part")
- Part131 = Instance.new("Part")
- Part132 = Instance.new("Part")
- Part133 = Instance.new("Part")
- Part134 = Instance.new("Part")
- SurfaceGui135 = Instance.new("SurfaceGui")
- TextLabel136 = Instance.new("TextLabel")
- Part137 = Instance.new("Part")
- SurfaceGui138 = Instance.new("SurfaceGui")
- TextLabel139 = Instance.new("TextLabel")
- Model140 = Instance.new("Model")
- Part141 = Instance.new("Part")
- Tool142 = Instance.new("Tool")
- Animation143 = Instance.new("Animation")
- RemoteEvent144 = Instance.new("RemoteEvent")
- Configuration145 = Instance.new("Configuration")
- NumberValue146 = Instance.new("NumberValue")
- NumberValue147 = Instance.new("NumberValue")
- BoolValue148 = Instance.new("BoolValue")
- Script149 = Instance.new("Script")
- Script150 = Instance.new("Script")
- BoolValue151 = Instance.new("BoolValue")
- NumberValue152 = Instance.new("NumberValue")
- LocalScript153 = Instance.new("LocalScript")
- MeshPart154 = Instance.new("MeshPart")
- Sound155 = Instance.new("Sound")
- Sound156 = Instance.new("Sound")
- Sound157 = Instance.new("Sound")
- Sound158 = Instance.new("Sound")
- ParticleEmitter159 = Instance.new("ParticleEmitter")
- ParticleEmitter160 = Instance.new("ParticleEmitter")
- Script161 = Instance.new("Script")
- Script162 = Instance.new("Script")
- Part163 = Instance.new("Part")
- Part164 = Instance.new("Part")
- Part165 = Instance.new("Part")
- Part166 = Instance.new("Part")
- Part167 = Instance.new("Part")
- Part168 = Instance.new("Part")
- Part169 = Instance.new("Part")
- SurfaceGui170 = Instance.new("SurfaceGui")
- TextLabel171 = Instance.new("TextLabel")
- Model172 = Instance.new("Model")
- Part173 = Instance.new("Part")
- Tool174 = Instance.new("Tool")
- Configuration175 = Instance.new("Configuration")
- NumberValue176 = Instance.new("NumberValue")
- NumberValue177 = Instance.new("NumberValue")
- BoolValue178 = Instance.new("BoolValue")
- Animation179 = Instance.new("Animation")
- RemoteEvent180 = Instance.new("RemoteEvent")
- LocalScript181 = Instance.new("LocalScript")
- Script182 = Instance.new("Script")
- Script183 = Instance.new("Script")
- BoolValue184 = Instance.new("BoolValue")
- NumberValue185 = Instance.new("NumberValue")
- MeshPart186 = Instance.new("MeshPart")
- ParticleEmitter187 = Instance.new("ParticleEmitter")
- ParticleEmitter188 = Instance.new("ParticleEmitter")
- Sound189 = Instance.new("Sound")
- Sound190 = Instance.new("Sound")
- Sound191 = Instance.new("Sound")
- Sound192 = Instance.new("Sound")
- Script193 = Instance.new("Script")
- Script194 = Instance.new("Script")
- Part195 = Instance.new("Part")
- Part196 = Instance.new("Part")
- Part197 = Instance.new("Part")
- Part198 = Instance.new("Part")
- Part199 = Instance.new("Part")
- Part200 = Instance.new("Part")
- SurfaceGui201 = Instance.new("SurfaceGui")
- TextLabel202 = Instance.new("TextLabel")
- Model203 = Instance.new("Model")
- Script204 = Instance.new("Script")
- Part205 = Instance.new("Part")
- Part206 = Instance.new("Part")
- Part207 = Instance.new("Part")
- Part208 = Instance.new("Part")
- Part209 = Instance.new("Part")
- Part210 = Instance.new("Part")
- Tool211 = Instance.new("Tool")
- Configuration212 = Instance.new("Configuration")
- NumberValue213 = Instance.new("NumberValue")
- NumberValue214 = Instance.new("NumberValue")
- BoolValue215 = Instance.new("BoolValue")
- Animation216 = Instance.new("Animation")
- RemoteEvent217 = Instance.new("RemoteEvent")
- LocalScript218 = Instance.new("LocalScript")
- Script219 = Instance.new("Script")
- Script220 = Instance.new("Script")
- BoolValue221 = Instance.new("BoolValue")
- NumberValue222 = Instance.new("NumberValue")
- MeshPart223 = Instance.new("MeshPart")
- ParticleEmitter224 = Instance.new("ParticleEmitter")
- Sound225 = Instance.new("Sound")
- Sound226 = Instance.new("Sound")
- Sound227 = Instance.new("Sound")
- Sound228 = Instance.new("Sound")
- ParticleEmitter229 = Instance.new("ParticleEmitter")
- Script230 = Instance.new("Script")
- Part231 = Instance.new("Part")
- SurfaceGui232 = Instance.new("SurfaceGui")
- TextLabel233 = Instance.new("TextLabel")
- Part234 = Instance.new("Part")
- SurfaceGui235 = Instance.new("SurfaceGui")
- TextLabel236 = Instance.new("TextLabel")
- Model237 = Instance.new("Model")
- Script238 = Instance.new("Script")
- Part239 = Instance.new("Part")
- Part240 = Instance.new("Part")
- Part241 = Instance.new("Part")
- Part242 = Instance.new("Part")
- Part243 = Instance.new("Part")
- Part244 = Instance.new("Part")
- Tool245 = Instance.new("Tool")
- Animation246 = Instance.new("Animation")
- RemoteEvent247 = Instance.new("RemoteEvent")
- MeshPart248 = Instance.new("MeshPart")
- Sound249 = Instance.new("Sound")
- Sound250 = Instance.new("Sound")
- Sound251 = Instance.new("Sound")
- ParticleEmitter252 = Instance.new("ParticleEmitter")
- ParticleEmitter253 = Instance.new("ParticleEmitter")
- ParticleEmitter254 = Instance.new("ParticleEmitter")
- Script255 = Instance.new("Script")
- Script256 = Instance.new("Script")
- BoolValue257 = Instance.new("BoolValue")
- NumberValue258 = Instance.new("NumberValue")
- Folder259 = Instance.new("Folder")
- ParticleEmitter260 = Instance.new("ParticleEmitter")
- ParticleEmitter261 = Instance.new("ParticleEmitter")
- ParticleEmitter262 = Instance.new("ParticleEmitter")
- Configuration263 = Instance.new("Configuration")
- NumberValue264 = Instance.new("NumberValue")
- NumberValue265 = Instance.new("NumberValue")
- BoolValue266 = Instance.new("BoolValue")
- LocalScript267 = Instance.new("LocalScript")
- Script268 = Instance.new("Script")
- Model269 = Instance.new("Model")
- Script270 = Instance.new("Script")
- Part271 = Instance.new("Part")
- Part272 = Instance.new("Part")
- Part273 = Instance.new("Part")
- Part274 = Instance.new("Part")
- Part275 = Instance.new("Part")
- Part276 = Instance.new("Part")
- Tool277 = Instance.new("Tool")
- Animation278 = Instance.new("Animation")
- RemoteEvent279 = Instance.new("RemoteEvent")
- Configuration280 = Instance.new("Configuration")
- NumberValue281 = Instance.new("NumberValue")
- NumberValue282 = Instance.new("NumberValue")
- BoolValue283 = Instance.new("BoolValue")
- Script284 = Instance.new("Script")
- Script285 = Instance.new("Script")
- BoolValue286 = Instance.new("BoolValue")
- NumberValue287 = Instance.new("NumberValue")
- LocalScript288 = Instance.new("LocalScript")
- MeshPart289 = Instance.new("MeshPart")
- Sound290 = Instance.new("Sound")
- DistortionSoundEffect291 = Instance.new("DistortionSoundEffect")
- Sound292 = Instance.new("Sound")
- Sound293 = Instance.new("Sound")
- Sound294 = Instance.new("Sound")
- ParticleEmitter295 = Instance.new("ParticleEmitter")
- ParticleEmitter296 = Instance.new("ParticleEmitter")
- ParticleEmitter297 = Instance.new("ParticleEmitter")
- ParticleEmitter298 = Instance.new("ParticleEmitter")
- ParticleEmitter299 = Instance.new("ParticleEmitter")
- Script300 = Instance.new("Script")
- Part301 = Instance.new("Part")
- SurfaceGui302 = Instance.new("SurfaceGui")
- TextLabel303 = Instance.new("TextLabel")
- Model304 = Instance.new("Model")
- Part305 = Instance.new("Part")
- Tool306 = Instance.new("Tool")
- Animation307 = Instance.new("Animation")
- RemoteEvent308 = Instance.new("RemoteEvent")
- MeshPart309 = Instance.new("MeshPart")
- Sound310 = Instance.new("Sound")
- Sound311 = Instance.new("Sound")
- Sound312 = Instance.new("Sound")
- ParticleEmitter313 = Instance.new("ParticleEmitter")
- ParticleEmitter314 = Instance.new("ParticleEmitter")
- ParticleEmitter315 = Instance.new("ParticleEmitter")
- PointLight316 = Instance.new("PointLight")
- Script317 = Instance.new("Script")
- Script318 = Instance.new("Script")
- BoolValue319 = Instance.new("BoolValue")
- NumberValue320 = Instance.new("NumberValue")
- Folder321 = Instance.new("Folder")
- ParticleEmitter322 = Instance.new("ParticleEmitter")
- ParticleEmitter323 = Instance.new("ParticleEmitter")
- ParticleEmitter324 = Instance.new("ParticleEmitter")
- Configuration325 = Instance.new("Configuration")
- NumberValue326 = Instance.new("NumberValue")
- NumberValue327 = Instance.new("NumberValue")
- BoolValue328 = Instance.new("BoolValue")
- LocalScript329 = Instance.new("LocalScript")
- Script330 = Instance.new("Script")
- Script331 = Instance.new("Script")
- Part332 = Instance.new("Part")
- Part333 = Instance.new("Part")
- Part334 = Instance.new("Part")
- Part335 = Instance.new("Part")
- Part336 = Instance.new("Part")
- Model337 = Instance.new("Model")
- Part338 = Instance.new("Part")
- Tool339 = Instance.new("Tool")
- Animation340 = Instance.new("Animation")
- RemoteEvent341 = Instance.new("RemoteEvent")
- MeshPart342 = Instance.new("MeshPart")
- Sound343 = Instance.new("Sound")
- Sound344 = Instance.new("Sound")
- ParticleEmitter345 = Instance.new("ParticleEmitter")
- Sound346 = Instance.new("Sound")
- Sound347 = Instance.new("Sound")
- ParticleEmitter348 = Instance.new("ParticleEmitter")
- Configuration349 = Instance.new("Configuration")
- NumberValue350 = Instance.new("NumberValue")
- NumberValue351 = Instance.new("NumberValue")
- BoolValue352 = Instance.new("BoolValue")
- Script353 = Instance.new("Script")
- Script354 = Instance.new("Script")
- BoolValue355 = Instance.new("BoolValue")
- NumberValue356 = Instance.new("NumberValue")
- LocalScript357 = Instance.new("LocalScript")
- Script358 = Instance.new("Script")
- Script359 = Instance.new("Script")
- Part360 = Instance.new("Part")
- Part361 = Instance.new("Part")
- Part362 = Instance.new("Part")
- Part363 = Instance.new("Part")
- Part364 = Instance.new("Part")
- Part365 = Instance.new("Part")
- SurfaceGui366 = Instance.new("SurfaceGui")
- TextLabel367 = Instance.new("TextLabel")
- Model368 = Instance.new("Model")
- Part369 = Instance.new("Part")
- Tool370 = Instance.new("Tool")
- Animation371 = Instance.new("Animation")
- RemoteEvent372 = Instance.new("RemoteEvent")
- MeshPart373 = Instance.new("MeshPart")
- ParticleEmitter374 = Instance.new("ParticleEmitter")
- Sound375 = Instance.new("Sound")
- Sound376 = Instance.new("Sound")
- Sound377 = Instance.new("Sound")
- ParticleEmitter378 = Instance.new("ParticleEmitter")
- Sound379 = Instance.new("Sound")
- Configuration380 = Instance.new("Configuration")
- NumberValue381 = Instance.new("NumberValue")
- NumberValue382 = Instance.new("NumberValue")
- BoolValue383 = Instance.new("BoolValue")
- Script384 = Instance.new("Script")
- Script385 = Instance.new("Script")
- BoolValue386 = Instance.new("BoolValue")
- NumberValue387 = Instance.new("NumberValue")
- LocalScript388 = Instance.new("LocalScript")
- Script389 = Instance.new("Script")
- Script390 = Instance.new("Script")
- Part391 = Instance.new("Part")
- Part392 = Instance.new("Part")
- Part393 = Instance.new("Part")
- Part394 = Instance.new("Part")
- Part395 = Instance.new("Part")
- Part396 = Instance.new("Part")
- SurfaceGui397 = Instance.new("SurfaceGui")
- TextLabel398 = Instance.new("TextLabel")
- Part399 = Instance.new("Part")
- SurfaceGui400 = Instance.new("SurfaceGui")
- TextLabel401 = Instance.new("TextLabel")
- Model0.Parent = mas
- Model1.Parent = Model0
- Part2.Name = "PUT THE WEAPON IN THIS BRICK"
- Part2.Parent = Model1
- Part2.CFrame = CFrame.new(131.073441, 4.3437767, 27.7618198, 0.999942899, 0.00529469736, 0.00928667001, -0.00518769957, 0.999920368, -0.0115080923, -0.00934686139, 0.0114592593, 0.999890685)
- Part2.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part2.Position = Vector3.new(131.073441, 4.3437767, 27.7618198)
- Part2.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part2.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part2.Size = Vector3.new(1, 1.20000005, 5)
- Part2.Anchored = true
- Part2.BrickColor = BrickColor.new("White")
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.brickColor = BrickColor.new("White")
- Tool3.Name = "Tesla Charge"
- Tool3.Parent = Part2
- Tool3.CanBeDropped = false
- Tool3.Grip = CFrame.new(0.0811338425, -0.0370239317, 0.126978517, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool3.GripPos = Vector3.new(0.0811338425, -0.0370239317, 0.126978517)
- Tool3.ToolTip = "Explosive"
- Animation4.Parent = Tool3
- Animation4.AnimationId = "rbxassetid://1051400366"
- RemoteEvent5.Name = "Remote"
- RemoteEvent5.Parent = Tool3
- Configuration6.Name = "Config"
- Configuration6.Parent = Tool3
- NumberValue7.Name = "Damage"
- NumberValue7.Parent = Configuration6
- NumberValue7.Value = 100
- NumberValue8.Name = "Velocity"
- NumberValue8.Parent = Configuration6
- NumberValue8.Value = 80
- BoolValue9.Name = "Teamkill"
- BoolValue9.Parent = Configuration6
- Script10.Name = "Server"
- Script10.Parent = Tool3
- table.insert(cors,sandbox(Script10,function()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Handle = Tool:WaitForChild("Handle")
- local DamageScript = script:WaitForChild("Damage")
- local Config = Tool:WaitForChild("Config")
- local Heartbeat = game:GetService("RunService").Heartbeat
- local FriendlyFire = Config.Teamkill.Value
- local LeftDown = false
- local AttackAble = true
- local AttackVelocity = Config.Velocity.Value
- local AttackDamage = Config.Damage.Value
- local Character = nil
- local Humanoid = nil
- --returns the wielding player of this tool
- function getPlayer()
- local char = Tool.Parent
- return game:GetService("Players"):GetPlayerFromCharacter(Character)
- end
- function Toss(direction)
- local OriginalWalkSpeed = Humanoid.WalkSpeed
- OriginalWalkSpeed = OriginalWalkSpeed
- Humanoid.WalkSpeed = 0
- local handlePos = Vector3.new(Tool.Handle.Position.X, 0, Tool.Handle.Position.Z)
- local spawnPos = Character.Head.Position
- spawnPos = spawnPos + (direction * 5)
- Tool.Handle.Transparency = 1
- local Object = Tool.Handle:Clone()
- Object.Parent = workspace
- Object.Transparency = 0
- Object.Swing.Pitch = math.random(90, 110)/100
- Object.Swing:Play()
- Object.CanCollide = true
- Object.CFrame = Tool.Handle.CFrame
- Object.Velocity = (direction*AttackVelocity) + Vector3.new(0,AttackVelocity/7.5,0)
- Object.Fuse:Play()
- local rand = 11.25
- Object.RotVelocity = Vector3.new(math.random(-rand,rand),math.random(-rand,rand),math.random(-rand,rand))
- Object:SetNetworkOwner(getPlayer())
- local ScriptClone = DamageScript:Clone()
- ScriptClone.FriendlyFire.Value = FriendlyFire
- ScriptClone.Damage.Value = AttackDamage
- ScriptClone.Parent = Object
- ScriptClone.Disabled = false
- local tag = Instance.new("ObjectValue")
- tag.Value = getPlayer()
- tag.Name = "creator"
- tag.Parent = Object
- Humanoid.WalkSpeed = OriginalWalkSpeed
- Tool:Destroy()
- end
- Remote.OnServerEvent:Connect(function(player, mousePosition)
- if not AttackAble then return end
- AttackAble = false
- if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Remote:FireClient(getPlayer(), "PlayAnimation", "Animation")
- end
- local targetPos = mousePosition.p
- local lookAt = (targetPos - Character.Head.Position).unit
- Toss(lookAt)
- LeftDown = true
- end)
- function onLeftUp()
- LeftDown = false
- end
- Tool.Equipped:Connect(function()
- Character = Tool.Parent
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- end)
- Tool.Unequipped:Connect(function()
- Character = nil
- Humanoid = nil
- end)
- end))
- Script11.Name = "Damage"
- Script11.Parent = Script10
- table.insert(cors,sandbox(Script11,function()
- local Object = script.Parent
- local Used = false
- local SplashDamage = 100
- local Radius = 30
- local Damage = script:WaitForChild("Damage").Value
- local FriendlyFire = script:WaitForChild("FriendlyFire").Value
- local Tag = Object:WaitForChild("creator")
- local Debris = game:GetService("Debris")
- function OnExplosionHit(Character, hitDistance, blastCenter)
- local Humanoid = Character:FindFirstChild("Humanoid")
- if hitDistance and blastCenter then
- local DistanceFactor = hitDistance/Radius
- DistanceFactor = 1-DistanceFactor
- if Humanoid then
- if Humanoid.Health > 0 then
- local HitDamage = DistanceFactor*SplashDamage
- print(HitDamage)
- Humanoid:TakeDamage(HitDamage)
- end
- end
- end
- end
- function Explode()
- local Orange = Color3.fromRGB(128, 187, 219)
- local Gray = Color3.fromRGB(154, 154, 154)
- Object.Explosion.LightEmission = 1
- Object.Explosion.LightInfluence = 0
- Object.Explosion.Color = ColorSequence.new(Orange,Orange)
- local Light = Instance.new("PointLight")
- Light.Color = Color3.fromRGB(128, 187, 219)
- Light.Brightness = 3
- Light.Range = 10
- Light.Shadows = true
- Light.Parent = Object
- local Explosion = Instance.new("Explosion")
- Explosion.BlastRadius = Radius*.875
- Explosion.BlastPressure = 0
- Explosion.Position = Object.Position
- Explosion.Parent = Object
- Explosion.Visible = false
- Explosion.Hit:Connect(function(hit, distance)
- if hit.Name == "HumanoidRootPart" and hit.Parent:FindFirstChild("Humanoid") then
- OnExplosionHit(hit.Parent, distance, Object.Position)
- end
- end)
- local Children = Object:GetChildren()
- for i=1,#Children do
- if Children[i]:IsA("ParticleEmitter") then
- Children[i].Enabled = false
- end
- end
- wait(.05)
- Object.Explosion.LightEmission = 0
- Object.Explosion.LightInfluence = 1
- Object.Explosion.Color = ColorSequence.new(Gray,Gray)
- Light:Destroy()
- wait(7.5)
- Object:Destroy()
- Object:Destroy()
- end
- --helpfully checks a table for a specific value
- function contains(t, v)
- for _, val in pairs(t) do
- if val == v then
- return true
- end
- end
- return false
- end
- --used by checkTeams
- function sameTeam(otherHuman)
- local player = Tag.Value
- local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
- if player and otherPlayer then
- if player == otherPlayer then
- return true
- end
- if otherPlayer.Neutral then
- return false
- end
- return player.TeamColor == otherPlayer.TeamColor
- end
- return false
- end
- function tagHuman(human)
- local tag = Tag:Clone()
- tag.Parent = human
- game:GetService("Debris"):AddItem(tag)
- end
- --use this to determine if you want this human to be harmed or not, returns boolean
- function checkTeams(otherHuman)
- return not (sameTeam(otherHuman) and not FriendlyFire==true)
- end
- function boom()
- Used = true
- wait (1)
- Object.Anchored = true
- Object.CanCollide = false
- Object.Sparks.Enabled = false
- Object.Orientation = Vector3.new(0,0,0)
- Object.Transparency = 1
- Object.Fuse:Stop()
- Object.Explode:Play()
- Object.Explosion:Emit(100)
- Object.ParticleEmitter:Emit(100)
- Object.ParticleEmitter2:Emit(100)
- Object.chidoriParticle1:Emit(100)
- Explode()
- end
- Object.Touched:Connect(function(part)
- if Used == true or part.Name == "Handle" then return end
- if part:IsDescendantOf(Tag.Value.Character) then return end
- if part.Parent then
- if part.Parent:FindFirstChild("Humanoid") then
- local human = part.Parent.Humanoid
- if checkTeams(human) then
- tagHuman(human)
- human:TakeDamage(Damage)
- end
- end
- Used = true
- Object.Impact:Play()
- Object.Velocity = Vector3.new(Object.Velocity.x/10,Object.Velocity.y/10,Object.Velocity.z/10)
- Object.RotVelocity = Vector3.new(Object.RotVelocity.x/10,Object.RotVelocity.y/10,Object.RotVelocity.z/10)
- game:GetService("Debris"):AddItem(Object, 10)
- end
- end)
- boom()
- end))
- BoolValue12.Name = "FriendlyFire"
- BoolValue12.Parent = Script11
- BoolValue12.Value = true
- NumberValue13.Name = "Damage"
- NumberValue13.Parent = Script11
- NumberValue13.Value = 200
- LocalScript14.Name = "Client"
- LocalScript14.Parent = Tool3
- table.insert(cors,sandbox(LocalScript14,function()
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Tracks = {}
- local InputType = Enum.UserInputType
- local IsEquipped = false
- local BeganConnection, EndedConnection
- function playAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Play()
- else
- local anim = Tool:FindFirstChild(animName)
- if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
- Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
- playAnimation(animName)
- end
- end
- end
- function stopAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Stop()
- end
- end
- function inputBegan(input)
- if input.UserInputType == InputType.MouseButton1 then
- playAnimation("Animation")
- wait(.6)
- local lp = game.Players.LocalPlayer
- local ms = lp:GetMouse()
- if not IsEquipped then return end
- Remote:FireServer(ms.Hit)
- end
- end
- function onEquip()
- BeganConnection = UIS.InputBegan:connect(inputBegan)
- IsEquipped = true
- end
- function onUnequip()
- if BeganConnection then
- BeganConnection:disconnect()
- BeganConnection = nil
- IsEquipped = false
- end
- end
- Tool.Equipped:connect(onEquip)
- Tool.Unequipped:connect(onUnequip)
- end))
- MeshPart15.Name = "Handle"
- MeshPart15.Parent = Tool3
- MeshPart15.CFrame = CFrame.new(132.799698, 4.53504562, 27.2834606, -0.00928189792, -0.99994272, 0.00532648526, 0.0116433287, 0.00521827769, 0.99991864, -0.999889135, 0.00934316032, 0.0115942266)
- MeshPart15.Orientation = Vector3.new(-89.2699966, 24.6700001, 65.8600006)
- MeshPart15.Position = Vector3.new(132.799698, 4.53504562, 27.2834606)
- MeshPart15.Rotation = Vector3.new(-89.3399963, 0.310000002, 90.5299988)
- MeshPart15.Size = Vector3.new(0.756847799, 1.79843879, 0.756847799)
- MeshPart15.Material = Enum.Material.Metal
- MeshPart15.TextureID = "rbxassetid://1388296113"
- Sound16.Name = "Explode"
- Sound16.Parent = MeshPart15
- Sound16.MaxDistance = 100000
- Sound16.EmitterSize = 100
- Sound16.MinDistance = 100
- Sound16.SoundId = "rbxassetid://280458062"
- Sound16.Volume = 5
- DistortionSoundEffect17.Parent = Sound16
- DistortionSoundEffect17.Level = 0.25
- Sound18.Name = "Fuse"
- Sound18.Parent = MeshPart15
- Sound18.MaxDistance = 128
- Sound18.Pitch = 1.5
- Sound18.PlaybackSpeed = 1.5
- Sound18.SoundId = "rbxassetid://258663838"
- Sound18.Volume = 3
- Sound19.Name = "Impact"
- Sound19.Parent = MeshPart15
- Sound19.MaxDistance = 150
- Sound19.Pitch = 1.5
- Sound19.PlaybackSpeed = 1.5
- Sound19.SoundId = "rbxassetid://214755079"
- Sound20.Name = "Swing"
- Sound20.Parent = MeshPart15
- Sound20.MaxDistance = 50
- Sound20.SoundId = "rbxassetid://231425197"
- Sound20.Volume = 5
- ParticleEmitter21.Name = "Sparks"
- ParticleEmitter21.Parent = MeshPart15
- ParticleEmitter21.Speed = NumberRange.new(25, 50)
- ParticleEmitter21.Color = ColorSequence.new(Color3.new(1, 0.94902, 0.560784),Color3.new(1, 0.94902, 0.560784))
- ParticleEmitter21.Enabled = false
- ParticleEmitter21.LightEmission = 1
- ParticleEmitter21.Transparency = NumberSequence.new(1,0,0.5,0.75,0.875,1)
- ParticleEmitter21.ZOffset = -1
- ParticleEmitter21.Size = NumberSequence.new(0,0)
- ParticleEmitter21.Drag = 7.5
- ParticleEmitter21.Lifetime = NumberRange.new(3, 4)
- ParticleEmitter21.Rate = 1000
- ParticleEmitter21.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter21.VelocityInheritance = 0.25
- ParticleEmitter21.VelocitySpread = 180
- ParticleEmitter22.Name = "Explosion"
- ParticleEmitter22.Parent = MeshPart15
- ParticleEmitter22.Speed = NumberRange.new(10, 20)
- ParticleEmitter22.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter22.Color = ColorSequence.new(Color3.new(0.603922, 0.603922, 0.603922),Color3.new(0.603922, 0.603922, 0.603922))
- ParticleEmitter22.Enabled = false
- ParticleEmitter22.LightInfluence = 1
- ParticleEmitter22.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter22.Transparency = NumberSequence.new(1,0,0.27499997615814,0.80000001192093,1)
- ParticleEmitter22.ZOffset = -1
- ParticleEmitter22.Size = NumberSequence.new(4,2,5)
- ParticleEmitter22.Acceleration = Vector3.new(0, 7.5, 0)
- ParticleEmitter22.Drag = 2.5
- ParticleEmitter22.Lifetime = NumberRange.new(1, 7.5)
- ParticleEmitter22.Rate = 50
- ParticleEmitter22.RotSpeed = NumberRange.new(-22.5, 22.5)
- ParticleEmitter22.SpreadAngle = Vector2.new(135, 135)
- ParticleEmitter22.VelocityInheritance = 0.25
- ParticleEmitter22.VelocitySpread = 135
- ParticleEmitter23.Parent = MeshPart15
- ParticleEmitter23.Speed = NumberRange.new(0, 0)
- ParticleEmitter23.Rotation = NumberRange.new(0, 360)
- ParticleEmitter23.Color = ColorSequence.new(Color3.new(0.27451, 0.607843, 1),Color3.new(1, 1, 1))
- ParticleEmitter23.Enabled = false
- ParticleEmitter23.LightEmission = 1
- ParticleEmitter23.Texture = "http://www.roblox.com/asset/?id=243098098"
- ParticleEmitter23.Size = NumberSequence.new(1.0429447889328,3.3742332458496,0,3.3435583114624,0,3.3742332458496,0,3.6503071784973,0.030674934387207,3.7730062007904,0,3.8036811351776,0,3.8343560695648,0,3)
- ParticleEmitter23.Lifetime = NumberRange.new(0.20000000298023, 0.20000000298023)
- ParticleEmitter23.Rate = 1000
- ParticleEmitter24.Name = "ParticleEmitter2"
- ParticleEmitter24.Parent = MeshPart15
- ParticleEmitter24.Speed = NumberRange.new(50, 50)
- ParticleEmitter24.Rotation = NumberRange.new(0, 360)
- ParticleEmitter24.Color = ColorSequence.new(Color3.new(0.27451, 0.607843, 1),Color3.new(1, 1, 1))
- ParticleEmitter24.Enabled = false
- ParticleEmitter24.LightEmission = 1
- ParticleEmitter24.Texture = "http://www.roblox.com/asset/?id=243098098"
- ParticleEmitter24.Size = NumberSequence.new(1.0429447889328,3.3742332458496,0,3.3435583114624,0,3.3742332458496,0,3.6503071784973,0.030674934387207,3.7730062007904,0,3.8036811351776,0,3.8343560695648,0,3)
- ParticleEmitter24.Lifetime = NumberRange.new(0.20000000298023, 0.20000000298023)
- ParticleEmitter24.Rate = 1000
- ParticleEmitter24.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter24.VelocitySpread = 360
- ParticleEmitter25.Name = "chidoriParticle1"
- ParticleEmitter25.Parent = MeshPart15
- ParticleEmitter25.Speed = NumberRange.new(150, 150)
- ParticleEmitter25.Color = ColorSequence.new(Color3.new(0.27451, 0.607843, 1),Color3.new(1, 1, 1))
- ParticleEmitter25.Enabled = false
- ParticleEmitter25.LightEmission = 1
- ParticleEmitter25.Texture = "http://www.roblox.com/asset/?id=243660373"
- ParticleEmitter25.Transparency = NumberSequence.new(1,0.5,0.5,1)
- ParticleEmitter25.Size = NumberSequence.new(4,4)
- ParticleEmitter25.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter25.Rate = 100
- ParticleEmitter25.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter25.VelocitySpread = 180
- Script26.Name = "PUT THIS IN THE WEAPON"
- Script26.Parent = Tool3
- table.insert(cors,sandbox(Script26,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Script27.Name = "READ ME FOR INSTRUCTIONS"
- Script27.Parent = Model1
- table.insert(cors,sandbox(Script27,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Part28.Name = "e"
- Part28.Parent = Model1
- Part28.CFrame = CFrame.new(132.925323, 4.30704927, 30.114521, 0.999942899, 0.00529471179, 0.00928669423, -0.00518771401, 0.999920368, -0.0115080643, -0.00934688561, 0.0114592304, 0.999890685)
- Part28.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part28.Position = Vector3.new(132.925323, 4.30704927, 30.114521)
- Part28.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part28.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part28.Size = Vector3.new(2.68000007, 1.20000005, 0.260000497)
- Part28.Anchored = true
- Part28.BrickColor = BrickColor.new("White")
- Part28.Reflectance = 1
- Part28.TopSurface = Enum.SurfaceType.Smooth
- Part28.brickColor = BrickColor.new("White")
- Part29.Name = "e"
- Part29.Parent = Model1
- Part29.CFrame = CFrame.new(132.881149, 4.36171627, 25.3574123, 0.999942899, 0.00529471179, 0.00928669423, -0.00518771401, 0.999920368, -0.0115080643, -0.00934688561, 0.0114592304, 0.999890685)
- Part29.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part29.Position = Vector3.new(132.881149, 4.36171627, 25.3574123)
- Part29.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part29.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part29.Size = Vector3.new(2.68000007, 1.20000005, 0.240000486)
- Part29.Anchored = true
- Part29.BrickColor = BrickColor.new("White")
- Part29.Reflectance = 1
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.brickColor = BrickColor.new("White")
- Part30.Name = "e"
- Part30.Parent = Model1
- Part30.CFrame = CFrame.new(134.313583, 4.32653666, 27.7690201, 0.999942899, 0.00529471179, 0.00928669423, -0.00518771401, 0.999920368, -0.0115080643, -0.00934688561, 0.0114592304, 0.999890685)
- Part30.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part30.Position = Vector3.new(134.313583, 4.32653666, 27.7690201)
- Part30.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part30.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part30.Size = Vector3.new(0.24000001, 1.20000005, 5.13000488)
- Part30.Anchored = true
- Part30.BrickColor = BrickColor.new("White")
- Part30.Reflectance = 1
- Part30.TopSurface = Enum.SurfaceType.Smooth
- Part30.brickColor = BrickColor.new("White")
- Part31.Name = "e"
- Part31.Parent = Model1
- Part31.CFrame = CFrame.new(132.995621, 3.75838614, 27.7747288, 0.999942899, 0.00529471179, 0.00928659923, -0.00518771494, 0.999920368, -0.0115080634, -0.00934679061, 0.0114592304, 0.999890685)
- Part31.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part31.Position = Vector3.new(132.995621, 3.75838614, 27.7747288)
- Part31.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part31.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part31.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part31.Anchored = true
- Part31.BrickColor = BrickColor.new("White")
- Part31.Reflectance = 1
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.brickColor = BrickColor.new("White")
- Part32.Name = "e"
- Part32.Parent = Model1
- Part32.CFrame = CFrame.new(133.001999, 4.96305227, 27.7885342, 0.999942899, 0.00529471179, 0.00928659923, -0.00518771494, 0.999920368, -0.0115080634, -0.00934679061, 0.0114592304, 0.999890685)
- Part32.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part32.Position = Vector3.new(133.001999, 4.96305227, 27.7885342)
- Part32.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part32.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part32.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part32.Anchored = true
- Part32.BrickColor = BrickColor.new("White")
- Part32.Reflectance = 1
- Part32.TopSurface = Enum.SurfaceType.Smooth
- Part32.brickColor = BrickColor.new("White")
- Part33.Name = "Sign"
- Part33.Parent = Model0
- Part33.CFrame = CFrame.new(131.332886, 5.86906242, 34.0824585, -0.00928103644, 0.00532765919, 0.99994272, 0.0116432691, 0.99991864, -0.00521946233, -0.999889135, 0.0115941605, -0.00934231188)
- Part33.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part33.Position = Vector3.new(131.332886, 5.86906242, 34.0824585)
- Part33.Rotation = Vector3.new(150.809998, 89.3899994, -150.139999)
- Part33.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part33.Transparency = 1
- Part33.Size = Vector3.new(3.02000451, 2, 0.0500000007)
- Part33.Anchored = true
- Part33.BrickColor = BrickColor.new("Sand red")
- Part33.CanCollide = false
- Part33.brickColor = BrickColor.new("Sand red")
- Part33.FormFactor = Enum.FormFactor.Symmetric
- Part33.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui34.Parent = Part33
- SurfaceGui34.CanvasSize = Vector2.new(200, 100)
- TextLabel35.Parent = SurfaceGui34
- TextLabel35.Size = UDim2.new(1, 0, 1, 0)
- TextLabel35.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel35.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel35.BackgroundTransparency = 1
- TextLabel35.Font = Enum.Font.SourceSansBold
- TextLabel35.FontSize = Enum.FontSize.Size48
- TextLabel35.Text = "touch for grenade"
- TextLabel35.TextColor = BrickColor.new("Institutional white")
- TextLabel35.TextColor3 = Color3.new(1, 1, 1)
- TextLabel35.TextScaled = true
- TextLabel35.TextSize = 48
- TextLabel35.TextStrokeTransparency = 0
- TextLabel35.TextWrap = true
- TextLabel35.TextWrapped = true
- Model36.Parent = Model0
- Part37.Name = "PUT THE WEAPON IN THIS BRICK"
- Part37.Parent = Model36
- Part37.CFrame = CFrame.new(131.192017, 4.19502783, 40.5358124, 0.999942899, 0.00529469736, 0.00928667001, -0.00518769957, 0.999920368, -0.0115080923, -0.00934686139, 0.0114592593, 0.999890685)
- Part37.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part37.Position = Vector3.new(131.192017, 4.19502783, 40.5358124)
- Part37.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part37.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part37.Size = Vector3.new(1, 1.20000005, 5)
- Part37.Anchored = true
- Part37.BrickColor = BrickColor.new("White")
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.brickColor = BrickColor.new("White")
- Tool38.Name = "Molotov"
- Tool38.Parent = Part37
- Tool38.CanBeDropped = false
- Tool38.Grip = CFrame.new(0.125, -0.275000006, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool38.GripPos = Vector3.new(0.125, -0.275000006, 0)
- Tool38.ToolTip = "Fire Bomb"
- Animation39.Parent = Tool38
- Animation39.AnimationId = "rbxassetid://1051400366"
- RemoteEvent40.Name = "Remote"
- RemoteEvent40.Parent = Tool38
- MeshPart41.Name = "Handle"
- MeshPart41.Parent = Tool38
- MeshPart41.CFrame = CFrame.new(132.928055, 4.06071091, 40.3306084, -0.563133538, -0.826347232, 0.00555229746, 0.0127114682, -0.00194399757, 0.999917388, -0.826268077, 0.563157618, 0.011598818)
- MeshPart41.Orientation = Vector3.new(-89.2600021, 25.5799999, 98.6999969)
- MeshPart41.Position = Vector3.new(132.928055, 4.06071091, 40.3306084)
- MeshPart41.Rotation = Vector3.new(-89.3399963, 0.319999993, 124.269997)
- MeshPart41.Size = Vector3.new(0.625, 1.5, 0.5)
- MeshPart41.Material = Enum.Material.Ice
- MeshPart41.TextureID = "rbxassetid://441590135"
- Sound42.Name = "Explode"
- Sound42.Parent = MeshPart41
- Sound42.MaxDistance = 150
- Sound42.Pitch = 1.5
- Sound42.PlaybackSpeed = 1.5
- Sound42.SoundId = "rbxassetid://156283121"
- Sound42.Volume = 1
- Sound43.Name = "Swing"
- Sound43.Parent = MeshPart41
- Sound43.MaxDistance = 50
- Sound43.SoundId = "rbxassetid://338529172"
- Sound43.Volume = 0.25
- Sound44.Name = "Impact"
- Sound44.Parent = MeshPart41
- Sound44.MaxDistance = 150
- Sound44.Pitch = 1.5
- Sound44.PlaybackSpeed = 1.5
- Sound44.SoundId = "rbxassetid://626807593"
- Sound44.Volume = 1
- ParticleEmitter45.Name = "Flames"
- ParticleEmitter45.Parent = MeshPart41
- ParticleEmitter45.Speed = NumberRange.new(0.25, 0.75)
- ParticleEmitter45.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter45.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0))
- ParticleEmitter45.Enabled = false
- ParticleEmitter45.LightEmission = 0.80000001192093
- ParticleEmitter45.Texture = "rbxassetid://522606102"
- ParticleEmitter45.Transparency = NumberSequence.new(1,0.25,0,0,1)
- ParticleEmitter45.Size = NumberSequence.new(0.375,1,1.25,1,0.25)
- ParticleEmitter45.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter45.Lifetime = NumberRange.new(0.5, 1)
- ParticleEmitter45.Rate = 12.5
- ParticleEmitter45.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter45.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter45.VelocityInheritance = 0.25
- ParticleEmitter45.VelocitySpread = 180
- ParticleEmitter46.Name = "Explosion"
- ParticleEmitter46.Parent = MeshPart41
- ParticleEmitter46.Speed = NumberRange.new(10, 15)
- ParticleEmitter46.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter46.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0))
- ParticleEmitter46.Enabled = false
- ParticleEmitter46.LightEmission = 0.80000001192093
- ParticleEmitter46.Texture = "rbxassetid://522606102"
- ParticleEmitter46.Transparency = NumberSequence.new(1,0.25,0,0,1)
- ParticleEmitter46.Size = NumberSequence.new(0.375,2,2.5,2,0.25)
- ParticleEmitter46.Acceleration = Vector3.new(0, -2.5, 0)
- ParticleEmitter46.Lifetime = NumberRange.new(0.75, 1.25)
- ParticleEmitter46.LockedToPart = true
- ParticleEmitter46.Rate = 25
- ParticleEmitter46.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter46.SpreadAngle = Vector2.new(90, 90)
- ParticleEmitter46.VelocityInheritance = 0.25
- ParticleEmitter46.VelocitySpread = 90
- ParticleEmitter47.Name = "Sparks"
- ParticleEmitter47.Parent = MeshPart41
- ParticleEmitter47.Speed = NumberRange.new(1, 2)
- ParticleEmitter47.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter47.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0))
- ParticleEmitter47.Enabled = false
- ParticleEmitter47.LightEmission = 0.80000001192093
- ParticleEmitter47.Texture = "rbxassetid://522606102"
- ParticleEmitter47.Size = NumberSequence.new(0,0.075000002980232,0)
- ParticleEmitter47.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter47.Lifetime = NumberRange.new(1, 1.25)
- ParticleEmitter47.Rate = 12.5
- ParticleEmitter47.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter47.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter47.VelocityInheritance = 0.25
- ParticleEmitter47.VelocitySpread = 180
- Script48.Name = "Server"
- Script48.Parent = Tool38
- table.insert(cors,sandbox(Script48,function()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Handle = Tool:WaitForChild("Handle")
- local DamageScript = script:WaitForChild("Damage")
- local Config = Tool:WaitForChild("Config")
- local Heartbeat = game:GetService("RunService").Heartbeat
- local FriendlyFire = Config.Teamkill.Value
- local LeftDown = false
- local AttackAble = true
- local AttackVelocity = Config.Velocity.Value
- local AttackDamage = Config.Damage.Value
- local Character = nil
- local Humanoid = nil
- --returns the wielding player of this tool
- function getPlayer()
- local char = Tool.Parent
- return game:GetService("Players"):GetPlayerFromCharacter(Character)
- end
- function Toss(direction)
- local OriginalWalkSpeed = Humanoid.WalkSpeed
- OriginalWalkSpeed = OriginalWalkSpeed
- Humanoid.WalkSpeed = 0
- local handlePos = Vector3.new(Tool.Handle.Position.X, 0, Tool.Handle.Position.Z)
- local spawnPos = Character.Head.Position
- spawnPos = spawnPos + (direction * 5)
- Tool.Handle.Transparency = 1
- local Object = Tool.Handle:Clone()
- Object.Parent = workspace
- Object.Transparency = 0
- Object.Swing.Pitch = math.random(90, 110)/100
- Object.Swing:Play()
- Object.CanCollide = true
- Object.CFrame = Tool.Handle.CFrame
- Object.Velocity = (direction*AttackVelocity) + Vector3.new(0,AttackVelocity/7.5,0)
- local rand = 11.25
- Object.RotVelocity = Vector3.new(math.random(-rand,rand),math.random(-rand,rand),math.random(-rand,rand))
- Object:SetNetworkOwner(getPlayer())
- local ScriptClone = DamageScript:Clone()
- ScriptClone.FriendlyFire.Value = FriendlyFire
- ScriptClone.Damage.Value = AttackDamage
- ScriptClone.Parent = Object
- ScriptClone.Disabled = false
- local tag = Instance.new("ObjectValue")
- tag.Value = getPlayer()
- tag.Name = "creator"
- tag.Parent = Object
- Humanoid.WalkSpeed = OriginalWalkSpeed
- Tool:Destroy()
- end
- Remote.OnServerEvent:Connect(function(player, mousePosition)
- if not AttackAble then return end
- AttackAble = false
- if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Remote:FireClient(getPlayer(), "PlayAnimation", "Animation")
- end
- local targetPos = mousePosition.p
- local lookAt = (targetPos - Character.Head.Position).unit
- Toss(lookAt)
- LeftDown = true
- end)
- function onLeftUp()
- LeftDown = false
- end
- Tool.Equipped:Connect(function()
- Character = Tool.Parent
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- end)
- Tool.Unequipped:Connect(function()
- Character = nil
- Humanoid = nil
- end)
- end))
- Script49.Name = "Damage"
- Script49.Parent = Script48
- table.insert(cors,sandbox(Script49,function()
- local Object = script.Parent
- local Used = false
- local DPS = 25
- local Time = 16
- local Radius = 32
- local Damage = script:WaitForChild("Damage").Value
- local FriendlyFire = script:WaitForChild("FriendlyFire").Value
- local Tag = Object:WaitForChild("creator")
- function Explode()
- Object.Flames.Enabled = false
- Object.Sparks.Enabled = false
- local part = Instance.new("Part")
- part.Name = "FlameArea"
- local Pos = Object.Position
- Pos=Pos
- local Point1 = Pos+Vector3.new(-Radius/2,-Radius/8,-Radius/2)
- local Point2 = Pos+Vector3.new(Radius/2,Radius/8,Radius/2)
- local FireRegion = Region3.new(Point1,Point2)
- part.Anchored = true
- part.CanCollide = false
- part.Size = Vector3.new(Radius,Radius/5,Radius)
- part.CFrame = Object.CFrame
- part.Orientation = Vector3.new(0,0,0)
- part.Transparency = 1
- local Light = Instance.new("PointLight")
- Light.Brightness = 1
- Light.Range = Radius*1.5
- Light.Shadows = true
- Light.Color = Color3.fromRGB(255, 137, 3)
- Light.Parent = part
- local Particles = script.Particles:GetChildren()
- for i=1,#Particles do
- Particles[i].Parent = part
- Particles[i].Enabled = true
- end
- part.Parent = workspace
- local BurningSound = Instance.new("Sound")
- BurningSound.SoundId = "rbxassetid://491229510"
- BurningSound.Parent = part
- BurningSound.Looped = true
- BurningSound:Play()
- for i=1, Time*10 do
- wait(1/60)
- for _,Part in pairs(game.Workspace:FindPartsInRegion3(FireRegion,nil,math.huge)) do
- if Part.Name == ("HumanoidRootPart"or"Head") and Part.Parent:FindFirstChild("Humanoid") then
- local Humanoid = Part.Parent.Humanoid
- Humanoid:TakeDamage(Humanoid.MaxHealth*(DPS*.0005))
- end
- end
- end
- BurningSound:Stop()
- Light:Destroy()
- local Children = part:GetChildren()
- for i=1,#Children do
- if Children[i]:IsA("ParticleEmitter") then
- Children[i].Enabled = false
- end
- end
- wait(5)
- part:Destroy()
- Object:Destroy()
- end
- --helpfully checks a table for a specific value
- function contains(t, v)
- for _, val in pairs(t) do
- if val == v then
- return true
- end
- end
- return false
- end
- --used by checkTeams
- function sameTeam(otherHuman)
- local player = Tag.Value
- local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
- if player and otherPlayer then
- if player == otherPlayer then
- return true
- end
- if otherPlayer.Neutral then
- return false
- end
- return player.TeamColor == otherPlayer.TeamColor
- end
- return false
- end
- function tagHuman(human)
- local tag = Tag:Clone()
- tag.Parent = human
- game:GetService("Debris"):AddItem(tag)
- end
- --use this to determine if you want this human to be harmed or not, returns boolean
- function checkTeams(otherHuman)
- return not (sameTeam(otherHuman) and not FriendlyFire==true)
- end
- function burn()
- Used = true
- Object.Impact:Play()
- Object.Orientation = Vector3.new(0,0,0)
- Object.Velocity = Vector3.new(0,0,0)
- Object.RotVelocity = Vector3.new(0,0,0)
- Object.Anchored = true
- Object.CanCollide = false
- Object.Explode:Play()
- Object.Transparency = 1
- Object.Explosion:Emit(375)
- wait(.25)
- Explode()
- end
- Object.Touched:Connect(function(part)
- if Used == true or part.Name == "Handle" then return end
- if part:IsDescendantOf(Tag.Value.Character) then return end
- if part.Parent then
- if part.Parent:FindFirstChild("Humanoid") then
- local human = part.Parent.Humanoid
- if checkTeams(human) then
- tagHuman(human)
- human:TakeDamage(Damage)
- end
- burn()
- else
- burn()
- end
- game:GetService("Debris"):AddItem(Object, 10)
- end
- end)
- end))
- Script49.Disabled = true
- BoolValue50.Name = "FriendlyFire"
- BoolValue50.Parent = Script49
- NumberValue51.Name = "Damage"
- NumberValue51.Parent = Script49
- NumberValue51.Value = 60
- Folder52.Name = "Particles"
- Folder52.Parent = Script49
- ParticleEmitter53.Name = "Smoke"
- ParticleEmitter53.Parent = Folder52
- ParticleEmitter53.Speed = NumberRange.new(1, 1)
- ParticleEmitter53.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter53.Color = ColorSequence.new(Color3.new(0.384314, 0.352941, 0.341176),Color3.new(0.384314, 0.352941, 0.341176))
- ParticleEmitter53.Enabled = false
- ParticleEmitter53.LightInfluence = 1
- ParticleEmitter53.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter53.Transparency = NumberSequence.new(1,0.25499999523163,0,0.25,1)
- ParticleEmitter53.ZOffset = -0.5
- ParticleEmitter53.Size = NumberSequence.new(12,12)
- ParticleEmitter53.Acceleration = Vector3.new(0.125, 1, 0.25)
- ParticleEmitter53.Lifetime = NumberRange.new(7.5, 10)
- ParticleEmitter53.Rate = 8
- ParticleEmitter53.RotSpeed = NumberRange.new(-22.5, 22.5)
- ParticleEmitter53.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter53.VelocityInheritance = 0.25
- ParticleEmitter53.VelocitySpread = 180
- ParticleEmitter54.Name = "Sparks"
- ParticleEmitter54.Parent = Folder52
- ParticleEmitter54.Speed = NumberRange.new(3, 9)
- ParticleEmitter54.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter54.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0))
- ParticleEmitter54.Enabled = false
- ParticleEmitter54.LightEmission = 0.80000001192093
- ParticleEmitter54.Texture = "rbxassetid://522606102"
- ParticleEmitter54.Size = NumberSequence.new(0,0.125,0)
- ParticleEmitter54.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter54.Lifetime = NumberRange.new(4, 8)
- ParticleEmitter54.Rate = 17.5
- ParticleEmitter54.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter54.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter54.VelocityInheritance = 0.25
- ParticleEmitter54.VelocitySpread = 180
- ParticleEmitter55.Name = "Flames"
- ParticleEmitter55.Parent = Folder52
- ParticleEmitter55.Speed = NumberRange.new(0.25, 0.75)
- ParticleEmitter55.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter55.Color = ColorSequence.new(Color3.new(1, 0.752941, 0.34902),Color3.new(1, 0.176471, 0.0313726))
- ParticleEmitter55.Enabled = false
- ParticleEmitter55.LightEmission = 0.80000001192093
- ParticleEmitter55.Texture = "rbxassetid://522606102"
- ParticleEmitter55.Transparency = NumberSequence.new(1,0.25,0,0,1)
- ParticleEmitter55.Size = NumberSequence.new(5,3.75,0)
- ParticleEmitter55.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter55.Lifetime = NumberRange.new(1.5, 3.75)
- ParticleEmitter55.Rate = 37.5
- ParticleEmitter55.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter55.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter55.VelocityInheritance = 0.25
- ParticleEmitter55.VelocitySpread = 180
- Configuration56.Name = "Config"
- Configuration56.Parent = Tool38
- NumberValue57.Name = "Damage"
- NumberValue57.Parent = Configuration56
- NumberValue57.Value = 30
- NumberValue58.Name = "Velocity"
- NumberValue58.Parent = Configuration56
- NumberValue58.Value = 125
- BoolValue59.Name = "Teamkill"
- BoolValue59.Parent = Configuration56
- LocalScript60.Name = "Client"
- LocalScript60.Parent = Tool38
- table.insert(cors,sandbox(LocalScript60,function()
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Tracks = {}
- local InputType = Enum.UserInputType
- local IsEquipped = false
- local BeganConnection, EndedConnection
- function playAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Play()
- else
- local anim = Tool:FindFirstChild(animName)
- if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
- Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
- playAnimation(animName)
- end
- end
- end
- function stopAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Stop()
- end
- end
- function inputBegan(input)
- if input.UserInputType == InputType.MouseButton1 then
- playAnimation("Animation")
- wait(.6)
- local lp = game.Players.LocalPlayer
- local ms = lp:GetMouse()
- if not IsEquipped then return end
- Remote:FireServer(ms.Hit)
- end
- end
- function onEquip()
- BeganConnection = UIS.InputBegan:connect(inputBegan)
- IsEquipped = true
- end
- function onUnequip()
- if BeganConnection then
- BeganConnection:disconnect()
- BeganConnection = nil
- IsEquipped = false
- end
- end
- Tool.Equipped:connect(onEquip)
- Tool.Unequipped:connect(onUnequip)
- end))
- Script61.Name = "PUT THIS IN THE WEAPON"
- Script61.Parent = Tool38
- table.insert(cors,sandbox(Script61,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Script62.Name = "READ ME FOR INSTRUCTIONS"
- Script62.Parent = Model36
- table.insert(cors,sandbox(Script62,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Part63.Name = "e"
- Part63.Parent = Model36
- Part63.CFrame = CFrame.new(133.043884, 4.1583004, 42.8885078, 0.999942899, 0.00529469689, 0.00928667374, -0.00518769911, 0.999920368, -0.0115080923, -0.00934686512, 0.0114592593, 0.999890685)
- Part63.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part63.Position = Vector3.new(133.043884, 4.1583004, 42.8885078)
- Part63.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part63.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part63.Size = Vector3.new(2.68000007, 1.20000005, 0.260000497)
- Part63.Anchored = true
- Part63.BrickColor = BrickColor.new("White")
- Part63.Reflectance = 1
- Part63.TopSurface = Enum.SurfaceType.Smooth
- Part63.brickColor = BrickColor.new("White")
- Part64.Name = "e"
- Part64.Parent = Model36
- Part64.CFrame = CFrame.new(132.99971, 4.21297312, 38.131382, 0.999942899, 0.00529469689, 0.00928660482, -0.00518770004, 0.999920368, -0.0115080923, -0.0093467962, 0.0114592593, 0.999890685)
- Part64.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part64.Position = Vector3.new(132.99971, 4.21297312, 38.131382)
- Part64.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part64.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part64.Size = Vector3.new(2.68000007, 1.20000005, 0.240000486)
- Part64.Anchored = true
- Part64.BrickColor = BrickColor.new("White")
- Part64.Reflectance = 1
- Part64.TopSurface = Enum.SurfaceType.Smooth
- Part64.brickColor = BrickColor.new("White")
- Part65.Name = "e"
- Part65.Parent = Model36
- Part65.CFrame = CFrame.new(134.432159, 4.1777873, 40.5430069, 0.999942899, 0.00529469689, 0.00928675849, -0.00518769817, 0.999920368, -0.0115080932, -0.00934694987, 0.0114592593, 0.999890685)
- Part65.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part65.Position = Vector3.new(134.432159, 4.1777873, 40.5430069)
- Part65.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part65.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part65.Size = Vector3.new(0.24000001, 1.20000005, 5.13000488)
- Part65.Anchored = true
- Part65.BrickColor = BrickColor.new("White")
- Part65.Reflectance = 1
- Part65.TopSurface = Enum.SurfaceType.Smooth
- Part65.brickColor = BrickColor.new("White")
- Part66.Name = "e"
- Part66.Parent = Model36
- Part66.CFrame = CFrame.new(133.114197, 3.60963869, 40.5487022, 0.999942899, 0.00529469643, 0.00928692706, -0.00518769585, 0.999920368, -0.0115080951, -0.00934711844, 0.0114592602, 0.999890685)
- Part66.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part66.Position = Vector3.new(133.114197, 3.60963869, 40.5487022)
- Part66.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part66.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part66.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part66.Anchored = true
- Part66.BrickColor = BrickColor.new("White")
- Part66.Reflectance = 1
- Part66.TopSurface = Enum.SurfaceType.Smooth
- Part66.brickColor = BrickColor.new("White")
- Part67.Name = "e"
- Part67.Parent = Model36
- Part67.CFrame = CFrame.new(133.120575, 4.81430292, 40.5624771, 0.999942899, 0.00529471179, 0.00928659923, -0.00518771494, 0.999920368, -0.0115080634, -0.00934679061, 0.0114592304, 0.999890685)
- Part67.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part67.Position = Vector3.new(133.120575, 4.81430292, 40.5624771)
- Part67.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part67.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part67.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part67.Anchored = true
- Part67.BrickColor = BrickColor.new("White")
- Part67.Reflectance = 1
- Part67.TopSurface = Enum.SurfaceType.Smooth
- Part67.brickColor = BrickColor.new("White")
- Part68.Name = "Sign"
- Part68.Parent = Model0
- Part68.CFrame = CFrame.new(131.391449, 5.7955904, 40.3925056, -0.00928101875, 0.00532765919, 0.99994272, 0.0116432691, 0.99991864, -0.00521946233, -0.999889135, 0.0115941614, -0.00934229419)
- Part68.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part68.Position = Vector3.new(131.391449, 5.7955904, 40.3925056)
- Part68.Rotation = Vector3.new(150.809998, 89.3899994, -150.139999)
- Part68.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part68.Transparency = 1
- Part68.Size = Vector3.new(3.02000451, 2, 0.0500000007)
- Part68.Anchored = true
- Part68.BrickColor = BrickColor.new("Sand red")
- Part68.CanCollide = false
- Part68.brickColor = BrickColor.new("Sand red")
- Part68.FormFactor = Enum.FormFactor.Symmetric
- Part68.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui69.Parent = Part68
- SurfaceGui69.CanvasSize = Vector2.new(200, 100)
- TextLabel70.Parent = SurfaceGui69
- TextLabel70.Size = UDim2.new(1, 0, 1, 0)
- TextLabel70.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel70.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel70.BackgroundTransparency = 1
- TextLabel70.Font = Enum.Font.SourceSansBold
- TextLabel70.FontSize = Enum.FontSize.Size48
- TextLabel70.Text = "touch for molotov"
- TextLabel70.TextColor = BrickColor.new("Institutional white")
- TextLabel70.TextColor3 = Color3.new(1, 1, 1)
- TextLabel70.TextScaled = true
- TextLabel70.TextSize = 48
- TextLabel70.TextStrokeTransparency = 0
- TextLabel70.TextWrap = true
- TextLabel70.TextWrapped = true
- Model71.Parent = Model0
- Part72.Name = "PUT THE WEAPON IN THIS BRICK"
- Part72.Parent = Model71
- Part72.CFrame = CFrame.new(131.133453, 4.26850605, 34.2257729, 0.999942899, 0.00529469643, 0.00928692706, -0.00518769585, 0.999920368, -0.0115080951, -0.00934711844, 0.0114592602, 0.999890685)
- Part72.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part72.Position = Vector3.new(131.133453, 4.26850605, 34.2257729)
- Part72.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part72.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part72.Size = Vector3.new(1, 1.20000005, 5)
- Part72.Anchored = true
- Part72.BrickColor = BrickColor.new("White")
- Part72.TopSurface = Enum.SurfaceType.Smooth
- Part72.brickColor = BrickColor.new("White")
- Tool73.Name = "M1 Frag"
- Tool73.Parent = Part72
- Tool73.CanBeDropped = false
- Tool73.Grip = CFrame.new(0.0811338425, -0.0370239317, 0.126978517, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool73.GripPos = Vector3.new(0.0811338425, -0.0370239317, 0.126978517)
- Tool73.ToolTip = "Explosive"
- Animation74.Parent = Tool73
- Animation74.AnimationId = "rbxassetid://1051400366"
- RemoteEvent75.Name = "Remote"
- RemoteEvent75.Parent = Tool73
- Configuration76.Name = "Config"
- Configuration76.Parent = Tool73
- NumberValue77.Name = "Damage"
- NumberValue77.Parent = Configuration76
- NumberValue77.Value = 100
- NumberValue78.Name = "Velocity"
- NumberValue78.Parent = Configuration76
- NumberValue78.Value = 80
- BoolValue79.Name = "Teamkill"
- BoolValue79.Parent = Configuration76
- Script80.Name = "Server"
- Script80.Parent = Tool73
- table.insert(cors,sandbox(Script80,function()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Handle = Tool:WaitForChild("Handle")
- local DamageScript = script:WaitForChild("Damage")
- local Config = Tool:WaitForChild("Config")
- local Heartbeat = game:GetService("RunService").Heartbeat
- local FriendlyFire = Config.Teamkill.Value
- local LeftDown = false
- local AttackAble = true
- local AttackVelocity = Config.Velocity.Value
- local AttackDamage = Config.Damage.Value
- local Character = nil
- local Humanoid = nil
- --returns the wielding player of this tool
- function getPlayer()
- local char = Tool.Parent
- return game:GetService("Players"):GetPlayerFromCharacter(Character)
- end
- function Toss(direction)
- local OriginalWalkSpeed = Humanoid.WalkSpeed
- OriginalWalkSpeed = OriginalWalkSpeed
- Humanoid.WalkSpeed = 0
- local handlePos = Vector3.new(Tool.Handle.Position.X, 0, Tool.Handle.Position.Z)
- local spawnPos = Character.Head.Position
- spawnPos = spawnPos + (direction * 5)
- Tool.Handle.Transparency = 1
- local Object = Tool.Handle:Clone()
- Object.Parent = workspace
- Object.Transparency = 0
- Object.Swing.Pitch = math.random(90, 110)/100
- Object.Swing:Play()
- Object.CanCollide = true
- Object.CFrame = Tool.Handle.CFrame
- Object.Velocity = (direction*AttackVelocity) + Vector3.new(0,AttackVelocity/7.5,0)
- Object.Fuse:Play()
- local rand = 11.25
- Object.RotVelocity = Vector3.new(math.random(-rand,rand),math.random(-rand,rand),math.random(-rand,rand))
- Object:SetNetworkOwner(getPlayer())
- local ScriptClone = DamageScript:Clone()
- ScriptClone.FriendlyFire.Value = FriendlyFire
- ScriptClone.Damage.Value = AttackDamage
- ScriptClone.Parent = Object
- ScriptClone.Disabled = false
- local tag = Instance.new("ObjectValue")
- tag.Value = getPlayer()
- tag.Name = "creator"
- tag.Parent = Object
- Humanoid.WalkSpeed = OriginalWalkSpeed
- Tool:Destroy()
- end
- Remote.OnServerEvent:Connect(function(player, mousePosition)
- if not AttackAble then return end
- AttackAble = false
- if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Remote:FireClient(getPlayer(), "PlayAnimation", "Animation")
- end
- local targetPos = mousePosition.p
- local lookAt = (targetPos - Character.Head.Position).unit
- Toss(lookAt)
- LeftDown = true
- end)
- function onLeftUp()
- LeftDown = false
- end
- Tool.Equipped:Connect(function()
- Character = Tool.Parent
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- end)
- Tool.Unequipped:Connect(function()
- Character = nil
- Humanoid = nil
- end)
- end))
- Script81.Name = "Damage"
- Script81.Parent = Script80
- table.insert(cors,sandbox(Script81,function()
- local Object = script.Parent
- local Used = false
- local SplashDamage = 100
- local Radius = 20
- local Damage = script:WaitForChild("Damage").Value
- local FriendlyFire = script:WaitForChild("FriendlyFire").Value
- local Tag = Object:WaitForChild("creator")
- local Debris = game:GetService("Debris")
- function OnExplosionHit(Character, hitDistance, blastCenter)
- local Humanoid = Character:FindFirstChild("Humanoid")
- if hitDistance and blastCenter then
- local DistanceFactor = hitDistance/Radius
- DistanceFactor = 1-DistanceFactor
- if Humanoid then
- if Humanoid.Health > 0 then
- local HitDamage = DistanceFactor*SplashDamage
- print(HitDamage)
- Humanoid:TakeDamage(HitDamage)
- end
- end
- end
- end
- function Explode()
- local Orange = Color3.fromRGB(248, 217, 109)
- local Gray = Color3.fromRGB(163, 162, 165)
- Object.Explosion.LightEmission = 1
- Object.Explosion.LightInfluence = 0
- Object.Explosion.Color = ColorSequence.new(Orange,Orange)
- local Light = Instance.new("PointLight")
- Light.Color = Color3.fromRGB(253, 234, 141)
- Light.Brightness = 3
- Light.Range = 10
- Light.Shadows = true
- Light.Parent = Object
- local Explosion = Instance.new("Explosion")
- Explosion.BlastRadius = Radius*.875
- Explosion.BlastPressure = 50000
- Explosion.Position = Object.Position
- Explosion.Parent = Object
- Explosion.Visible = false
- Explosion.Hit:Connect(function(hit, distance)
- if hit.Name == "HumanoidRootPart" and hit.Parent:FindFirstChild("Humanoid") then
- OnExplosionHit(hit.Parent, distance, Object.Position)
- end
- end)
- local Children = Object:GetChildren()
- for i=1,#Children do
- if Children[i]:IsA("ParticleEmitter") then
- Children[i].Enabled = false
- end
- end
- wait(.05)
- Object.Explosion.LightEmission = 0
- Object.Explosion.LightInfluence = 1
- Object.Explosion.Color = ColorSequence.new(Gray,Gray)
- Light:Destroy()
- wait(7.5)
- Object:Destroy()
- Object:Destroy()
- end
- --helpfully checks a table for a specific value
- function contains(t, v)
- for _, val in pairs(t) do
- if val == v then
- return true
- end
- end
- return false
- end
- --used by checkTeams
- function sameTeam(otherHuman)
- local player = Tag.Value
- local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
- if player and otherPlayer then
- if player == otherPlayer then
- return true
- end
- if otherPlayer.Neutral then
- return false
- end
- return player.TeamColor == otherPlayer.TeamColor
- end
- return false
- end
- function tagHuman(human)
- local tag = Tag:Clone()
- tag.Parent = human
- game:GetService("Debris"):AddItem(tag)
- end
- --use this to determine if you want this human to be harmed or not, returns boolean
- function checkTeams(otherHuman)
- return not (sameTeam(otherHuman) and not FriendlyFire==true)
- end
- function boom()
- Used = true
- wait (1)
- Object.Anchored = true
- Object.CanCollide = false
- Object.Sparks.Enabled = false
- Object.Orientation = Vector3.new(0,0,0)
- Object.Transparency = 1
- Object.Fuse:Stop()
- Object.Explode:Play()
- Object.Explosion:Emit(100)
- Explode()
- end
- Object.Touched:Connect(function(part)
- if Used == true or part.Name == "Handle" then return end
- if part:IsDescendantOf(Tag.Value.Character) then return end
- if part.Parent then
- if part.Parent:FindFirstChild("Humanoid") then
- local human = part.Parent.Humanoid
- if checkTeams(human) then
- tagHuman(human)
- human:TakeDamage(Damage)
- end
- end
- Used = true
- Object.Impact:Play()
- Object.Velocity = Vector3.new(Object.Velocity.x/10,Object.Velocity.y/10,Object.Velocity.z/10)
- Object.RotVelocity = Vector3.new(Object.RotVelocity.x/10,Object.RotVelocity.y/10,Object.RotVelocity.z/10)
- game:GetService("Debris"):AddItem(Object, 10)
- end
- end)
- boom()
- end))
- BoolValue82.Name = "FriendlyFire"
- BoolValue82.Parent = Script81
- BoolValue82.Value = true
- NumberValue83.Name = "Damage"
- NumberValue83.Parent = Script81
- NumberValue83.Value = 200
- LocalScript84.Name = "Client"
- LocalScript84.Parent = Tool73
- table.insert(cors,sandbox(LocalScript84,function()
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Tracks = {}
- local InputType = Enum.UserInputType
- local IsEquipped = false
- local BeganConnection, EndedConnection
- function playAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Play()
- else
- local anim = Tool:FindFirstChild(animName)
- if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
- Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
- playAnimation(animName)
- end
- end
- end
- function stopAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Stop()
- end
- end
- function inputBegan(input)
- if input.UserInputType == InputType.MouseButton1 then
- playAnimation("Animation")
- wait(.6)
- local lp = game.Players.LocalPlayer
- local ms = lp:GetMouse()
- if not IsEquipped then return end
- Remote:FireServer(ms.Hit)
- end
- end
- function onEquip()
- BeganConnection = UIS.InputBegan:connect(inputBegan)
- IsEquipped = true
- end
- function onUnequip()
- if BeganConnection then
- BeganConnection:disconnect()
- BeganConnection = nil
- IsEquipped = false
- end
- end
- Tool.Equipped:connect(onEquip)
- Tool.Unequipped:connect(onUnequip)
- end))
- MeshPart85.Name = "Handle"
- MeshPart85.Parent = Tool73
- MeshPart85.CFrame = CFrame.new(133.490906, 4.17232132, 33.8855896, -0.0743037313, 0.0338088684, 0.996662498, 0.0301322229, 0.999045014, -0.0316432565, -0.996780396, 0.0276804436, -0.0752515048)
- MeshPart85.Orientation = Vector3.new(1.80999994, 94.3199997, 1.73000002)
- MeshPart85.Position = Vector3.new(133.490906, 4.17232132, 33.8855896)
- MeshPart85.Rotation = Vector3.new(157.190002, 85.3199997, -155.529999)
- MeshPart85.Size = Vector3.new(0.738593459, 0.957657635, 0.732026637)
- MeshPart85.Material = Enum.Material.Metal
- MeshPart85.TextureID = "rbxassetid://454821354"
- Sound86.Name = "Explode"
- Sound86.Parent = MeshPart85
- Sound86.MaxDistance = 100000
- Sound86.EmitterSize = 100
- Sound86.MinDistance = 100
- Sound86.Pitch = 0.89999997615814
- Sound86.PlaybackSpeed = 0.89999997615814
- Sound86.SoundId = "rbxassetid://134626404"
- Sound86.Volume = 3
- Sound87.Name = "Fuse"
- Sound87.Parent = MeshPart85
- Sound87.MaxDistance = 128
- Sound87.Pitch = 3
- Sound87.PlaybackSpeed = 3
- Sound87.SoundId = "rbxassetid://258663838"
- Sound87.Volume = 0.10000000149012
- Sound88.Name = "Impact"
- Sound88.Parent = MeshPart85
- Sound88.MaxDistance = 150
- Sound88.Pitch = 1.5
- Sound88.PlaybackSpeed = 1.5
- Sound88.SoundId = "rbxassetid://214755079"
- Sound89.Name = "Swing"
- Sound89.Parent = MeshPart85
- Sound89.MaxDistance = 50
- Sound89.SoundId = "rbxassetid://231425197"
- Sound89.Volume = 3
- ParticleEmitter90.Name = "Explosion"
- ParticleEmitter90.Parent = MeshPart85
- ParticleEmitter90.Speed = NumberRange.new(10, 20)
- ParticleEmitter90.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter90.Color = ColorSequence.new(Color3.new(0.603922, 0.603922, 0.603922),Color3.new(0.603922, 0.603922, 0.603922))
- ParticleEmitter90.Enabled = false
- ParticleEmitter90.LightInfluence = 1
- ParticleEmitter90.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter90.Transparency = NumberSequence.new(1,0,0.27499997615814,0.80000001192093,1)
- ParticleEmitter90.ZOffset = -1
- ParticleEmitter90.Size = NumberSequence.new(4,2,5)
- ParticleEmitter90.Acceleration = Vector3.new(0, 7.5, 0)
- ParticleEmitter90.Drag = 2.5
- ParticleEmitter90.Lifetime = NumberRange.new(1, 7.5)
- ParticleEmitter90.Rate = 50
- ParticleEmitter90.RotSpeed = NumberRange.new(-22.5, 22.5)
- ParticleEmitter90.SpreadAngle = Vector2.new(135, 135)
- ParticleEmitter90.VelocityInheritance = 0.25
- ParticleEmitter90.VelocitySpread = 135
- ParticleEmitter91.Name = "Sparks"
- ParticleEmitter91.Parent = MeshPart85
- ParticleEmitter91.Speed = NumberRange.new(25, 50)
- ParticleEmitter91.Color = ColorSequence.new(Color3.new(1, 0.94902, 0.560784),Color3.new(1, 0.94902, 0.560784))
- ParticleEmitter91.Enabled = false
- ParticleEmitter91.LightEmission = 1
- ParticleEmitter91.Transparency = NumberSequence.new(1,0,0.5,0.75,0.875,1)
- ParticleEmitter91.ZOffset = -1
- ParticleEmitter91.Size = NumberSequence.new(0,0)
- ParticleEmitter91.Drag = 7.5
- ParticleEmitter91.Lifetime = NumberRange.new(3, 4)
- ParticleEmitter91.Rate = 1000
- ParticleEmitter91.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter91.VelocityInheritance = 0.25
- ParticleEmitter91.VelocitySpread = 180
- Script92.Name = "PUT THIS IN THE WEAPON"
- Script92.Parent = Tool73
- table.insert(cors,sandbox(Script92,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Script93.Name = "READ ME FOR INSTRUCTIONS"
- Script93.Parent = Model71
- table.insert(cors,sandbox(Script93,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Part94.Name = "e"
- Part94.Parent = Model71
- Part94.CFrame = CFrame.new(132.985306, 4.23177767, 36.5784683, 0.999942899, 0.00529469829, 0.00928689819, -0.00518769817, 0.999920368, -0.0115080914, -0.00934708957, 0.0114592565, 0.999890685)
- Part94.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part94.Position = Vector3.new(132.985306, 4.23177767, 36.5784683)
- Part94.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part94.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part94.Size = Vector3.new(2.68000007, 1.20000005, 0.260000497)
- Part94.Anchored = true
- Part94.BrickColor = BrickColor.new("White")
- Part94.Reflectance = 1
- Part94.TopSurface = Enum.SurfaceType.Smooth
- Part94.brickColor = BrickColor.new("White")
- Part95.Name = "e"
- Part95.Parent = Model71
- Part95.CFrame = CFrame.new(132.941147, 4.28644848, 31.8213387, 0.999942899, 0.00529471878, 0.00928685814, -0.00518771913, 0.999920368, -0.0115080867, -0.00934704952, 0.0114592519, 0.999890685)
- Part95.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part95.Position = Vector3.new(132.941147, 4.28644848, 31.8213387)
- Part95.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part95.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part95.Size = Vector3.new(2.68000007, 1.20000005, 0.240000486)
- Part95.Anchored = true
- Part95.BrickColor = BrickColor.new("White")
- Part95.Reflectance = 1
- Part95.TopSurface = Enum.SurfaceType.Smooth
- Part95.brickColor = BrickColor.new("White")
- Part96.Name = "e"
- Part96.Parent = Model71
- Part96.CFrame = CFrame.new(134.373566, 4.25126553, 34.2329674, 0.999942899, 0.00529471459, 0.00928678084, -0.00518771587, 0.999920368, -0.0115080765, -0.00934697222, 0.0114592426, 0.999890685)
- Part96.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part96.Position = Vector3.new(134.373566, 4.25126553, 34.2329674)
- Part96.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part96.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part96.Size = Vector3.new(0.24000001, 1.20000005, 5.13000488)
- Part96.Anchored = true
- Part96.BrickColor = BrickColor.new("White")
- Part96.Reflectance = 1
- Part96.TopSurface = Enum.SurfaceType.Smooth
- Part96.brickColor = BrickColor.new("White")
- Part97.Name = "e"
- Part97.Parent = Model71
- Part97.CFrame = CFrame.new(133.055603, 3.68311667, 34.2386627, 0.999942899, 0.00529469643, 0.00928692427, -0.00518769585, 0.999920368, -0.0115080932, -0.00934711564, 0.0114592584, 0.999890685)
- Part97.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part97.Position = Vector3.new(133.055603, 3.68311667, 34.2386627)
- Part97.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part97.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part97.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part97.Anchored = true
- Part97.BrickColor = BrickColor.new("White")
- Part97.Reflectance = 1
- Part97.TopSurface = Enum.SurfaceType.Smooth
- Part97.brickColor = BrickColor.new("White")
- Part98.Name = "e"
- Part98.Parent = Model71
- Part98.CFrame = CFrame.new(133.061981, 4.88778305, 34.2524757, 0.999942899, 0.00529469736, 0.00928657502, -0.0051877005, 0.999920368, -0.0115080923, -0.0093467664, 0.0114592593, 0.999890685)
- Part98.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part98.Position = Vector3.new(133.061981, 4.88778305, 34.2524757)
- Part98.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part98.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part98.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part98.Anchored = true
- Part98.BrickColor = BrickColor.new("White")
- Part98.Reflectance = 1
- Part98.TopSurface = Enum.SurfaceType.Smooth
- Part98.brickColor = BrickColor.new("White")
- Part99.Name = "Sign"
- Part99.Parent = Model0
- Part99.CFrame = CFrame.new(131.272858, 5.94433022, 27.6185284, -0.00928111654, 0.00532761775, 0.99994272, 0.0116433026, 0.99991864, -0.00521941949, -0.999889135, 0.011594194, -0.00934239104)
- Part99.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part99.Position = Vector3.new(131.272858, 5.94433022, 27.6185284)
- Part99.Rotation = Vector3.new(150.809998, 89.3899994, -150.139999)
- Part99.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part99.Transparency = 1
- Part99.Size = Vector3.new(3.02000451, 2, 0.0500000007)
- Part99.Anchored = true
- Part99.BrickColor = BrickColor.new("Sand red")
- Part99.CanCollide = false
- Part99.brickColor = BrickColor.new("Sand red")
- Part99.FormFactor = Enum.FormFactor.Symmetric
- Part99.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui100.Parent = Part99
- SurfaceGui100.CanvasSize = Vector2.new(200, 100)
- TextLabel101.Parent = SurfaceGui100
- TextLabel101.Size = UDim2.new(1, 0, 1, 0)
- TextLabel101.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel101.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel101.BackgroundTransparency = 1
- TextLabel101.Font = Enum.Font.SourceSansBold
- TextLabel101.FontSize = Enum.FontSize.Size48
- TextLabel101.Text = "touch for tesla bomb"
- TextLabel101.TextColor = BrickColor.new("Institutional white")
- TextLabel101.TextColor3 = Color3.new(1, 1, 1)
- TextLabel101.TextScaled = true
- TextLabel101.TextSize = 48
- TextLabel101.TextStrokeTransparency = 0
- TextLabel101.TextWrap = true
- TextLabel101.TextWrapped = true
- Model102.Parent = Model0
- Part103.Name = "PUT THE WEAPON IN THIS BRICK"
- Part103.Parent = Model102
- Part103.CFrame = CFrame.new(131.250671, 4.12147284, 46.8522148, 0.999942899, 0.0052946955, 0.00928657688, -0.00518769864, 0.999920368, -0.0115081109, -0.00934676826, 0.0114592779, 0.999890685)
- Part103.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part103.Position = Vector3.new(131.250671, 4.12147284, 46.8522148)
- Part103.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part103.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part103.Size = Vector3.new(1, 1.20000005, 5)
- Part103.Anchored = true
- Part103.BrickColor = BrickColor.new("White")
- Part103.TopSurface = Enum.SurfaceType.Smooth
- Part103.brickColor = BrickColor.new("White")
- Tool104.Name = "Incendiary Grenade"
- Tool104.Parent = Part103
- Tool104.CanBeDropped = false
- Tool104.Grip = CFrame.new(0.125, -0.275000006, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool104.GripPos = Vector3.new(0.125, -0.275000006, 0)
- Tool104.ToolTip = "Fire Bomb"
- Animation105.Parent = Tool104
- Animation105.AnimationId = "rbxassetid://1051400366"
- RemoteEvent106.Name = "Remote"
- RemoteEvent106.Parent = Tool104
- MeshPart107.Name = "Handle"
- MeshPart107.Parent = Tool104
- MeshPart107.CFrame = CFrame.new(133.286224, 3.96182179, 47.1203346, 0.114086971, -0.992085218, 0.052452445, 0.154911086, -0.0343866944, -0.987329781, 0.981318891, 0.120766938, 0.149761915)
- MeshPart107.Orientation = Vector3.new(80.8700027, 19.2999992, 102.519997)
- MeshPart107.Position = Vector3.new(133.286224, 3.96182179, 47.1203346)
- MeshPart107.Rotation = Vector3.new(81.3700027, 3.00999999, 83.4400024)
- MeshPart107.Size = Vector3.new(0.748666763, 1.81190896, 0.810100794)
- MeshPart107.Material = Enum.Material.Ice
- MeshPart107.TextureID = "rbxassetid://454822102"
- Sound108.Name = "Explode"
- Sound108.Parent = MeshPart107
- Sound108.TimePosition = 0.5
- Sound108.MaxDistance = 150
- Sound108.SoundId = "rbxassetid://156283121"
- Sound108.Volume = 1
- Sound109.Name = "Swing"
- Sound109.Parent = MeshPart107
- Sound109.MaxDistance = 50
- Sound109.SoundId = "rbxassetid://338529172"
- Sound109.Volume = 0.25
- ParticleEmitter110.Name = "Flames"
- ParticleEmitter110.Parent = MeshPart107
- ParticleEmitter110.Speed = NumberRange.new(0.25, 0.75)
- ParticleEmitter110.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter110.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0))
- ParticleEmitter110.Enabled = false
- ParticleEmitter110.LightEmission = 0.80000001192093
- ParticleEmitter110.Texture = "rbxassetid://522606102"
- ParticleEmitter110.Transparency = NumberSequence.new(1,0.25,0,0,1)
- ParticleEmitter110.Size = NumberSequence.new(0.375,1,1.25,1,0.25)
- ParticleEmitter110.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter110.Lifetime = NumberRange.new(0.5, 1)
- ParticleEmitter110.Rate = 12.5
- ParticleEmitter110.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter110.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter110.VelocityInheritance = 0.25
- ParticleEmitter110.VelocitySpread = 180
- ParticleEmitter111.Name = "Explosion"
- ParticleEmitter111.Parent = MeshPart107
- ParticleEmitter111.Speed = NumberRange.new(10, 15)
- ParticleEmitter111.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter111.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0))
- ParticleEmitter111.Enabled = false
- ParticleEmitter111.LightEmission = 0.80000001192093
- ParticleEmitter111.Texture = "rbxassetid://522606102"
- ParticleEmitter111.Transparency = NumberSequence.new(1,0.25,0,0,1)
- ParticleEmitter111.Size = NumberSequence.new(0.375,2,2.5,2,0.25)
- ParticleEmitter111.Acceleration = Vector3.new(0, -2.5, 0)
- ParticleEmitter111.Lifetime = NumberRange.new(0.75, 1.25)
- ParticleEmitter111.LockedToPart = true
- ParticleEmitter111.Rate = 25
- ParticleEmitter111.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter111.SpreadAngle = Vector2.new(90, 90)
- ParticleEmitter111.VelocityInheritance = 0.25
- ParticleEmitter111.VelocitySpread = 90
- ParticleEmitter112.Name = "Sparks"
- ParticleEmitter112.Parent = MeshPart107
- ParticleEmitter112.Speed = NumberRange.new(1, 2)
- ParticleEmitter112.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter112.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0))
- ParticleEmitter112.Enabled = false
- ParticleEmitter112.LightEmission = 0.80000001192093
- ParticleEmitter112.Texture = "rbxassetid://522606102"
- ParticleEmitter112.Size = NumberSequence.new(0,0.075000002980232,0)
- ParticleEmitter112.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter112.Lifetime = NumberRange.new(1, 1.25)
- ParticleEmitter112.Rate = 12.5
- ParticleEmitter112.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter112.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter112.VelocityInheritance = 0.25
- ParticleEmitter112.VelocitySpread = 180
- Sound113.Name = "Impact"
- Sound113.Parent = MeshPart107
- Sound113.MaxDistance = 150
- Sound113.Pitch = 1.5
- Sound113.PlaybackSpeed = 1.5
- Sound113.SoundId = "rbxassetid://356659053"
- Script114.Name = "Server"
- Script114.Parent = Tool104
- table.insert(cors,sandbox(Script114,function()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Handle = Tool:WaitForChild("Handle")
- local DamageScript = script:WaitForChild("Damage")
- local Config = Tool:WaitForChild("Config")
- local Heartbeat = game:GetService("RunService").Heartbeat
- local FriendlyFire = Config.Teamkill.Value
- local LeftDown = false
- local AttackAble = true
- local AttackVelocity = Config.Velocity.Value
- local AttackDamage = Config.Damage.Value
- local Character = nil
- local Humanoid = nil
- --returns the wielding player of this tool
- function getPlayer()
- local char = Tool.Parent
- return game:GetService("Players"):GetPlayerFromCharacter(Character)
- end
- function Toss(direction)
- local OriginalWalkSpeed = Humanoid.WalkSpeed
- OriginalWalkSpeed = OriginalWalkSpeed
- Humanoid.WalkSpeed = 0
- local handlePos = Vector3.new(Tool.Handle.Position.X, 0, Tool.Handle.Position.Z)
- local spawnPos = Character.Head.Position
- spawnPos = spawnPos + (direction * 5)
- Tool.Handle.Transparency = 1
- local Object = Tool.Handle:Clone()
- Object.Parent = workspace
- Object.Transparency = 0
- Object.Swing.Pitch = math.random(90, 110)/100
- Object.Swing:Play()
- Object.CanCollide = true
- Object.CFrame = Tool.Handle.CFrame
- Object.Velocity = (direction*AttackVelocity) + Vector3.new(0,AttackVelocity/7.5,0)
- local rand = 11.25
- Object.RotVelocity = Vector3.new(math.random(-rand,rand),math.random(-rand,rand),math.random(-rand,rand))
- Object:SetNetworkOwner(getPlayer())
- local ScriptClone = DamageScript:Clone()
- ScriptClone.FriendlyFire.Value = FriendlyFire
- ScriptClone.Damage.Value = AttackDamage
- ScriptClone.Parent = Object
- ScriptClone.Disabled = false
- local tag = Instance.new("ObjectValue")
- tag.Value = getPlayer()
- tag.Name = "creator"
- tag.Parent = Object
- Humanoid.WalkSpeed = OriginalWalkSpeed
- Tool:Destroy()
- end
- Remote.OnServerEvent:Connect(function(player, mousePosition)
- if not AttackAble then return end
- AttackAble = false
- if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Remote:FireClient(getPlayer(), "PlayAnimation", "Animation")
- end
- local targetPos = mousePosition.p
- local lookAt = (targetPos - Character.Head.Position).unit
- Toss(lookAt)
- LeftDown = true
- end)
- function onLeftUp()
- LeftDown = false
- end
- Tool.Equipped:Connect(function()
- Character = Tool.Parent
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- end)
- Tool.Unequipped:Connect(function()
- Character = nil
- Humanoid = nil
- end)
- end))
- Script115.Name = "Damage"
- Script115.Parent = Script114
- table.insert(cors,sandbox(Script115,function()
- local Object = script.Parent
- local Used = false
- local DPS = 28
- local Time = 30
- local Radius = 16
- local Damage = script:WaitForChild("Damage").Value
- local FriendlyFire = script:WaitForChild("FriendlyFire").Value
- local Tag = Object:WaitForChild("creator")
- function Explode()
- Object.Flames.Enabled = false
- Object.Sparks.Enabled = false
- local part = Instance.new("Part")
- part.Name = "FlameArea"
- local Pos = Object.Position
- Pos=Pos
- local Point1 = Pos+Vector3.new(-Radius/2,-Radius/8,-Radius/2)
- local Point2 = Pos+Vector3.new(Radius/2,Radius/8,Radius/2)
- local FireRegion = Region3.new(Point1,Point2)
- part.Anchored = true
- part.CanCollide = false
- part.Size = Vector3.new(Radius,Radius/5,Radius)
- part.CFrame = Object.CFrame
- part.Orientation = Vector3.new(0,0,0)
- part.Transparency = 1
- local Light = Instance.new("PointLight")
- Light.Brightness = 1
- Light.Range = Radius*1.5
- Light.Shadows = true
- Light.Color = Color3.fromRGB(255, 137, 3)
- Light.Parent = part
- local Particles = script.Particles:GetChildren()
- for i=1,#Particles do
- Particles[i].Parent = part
- Particles[i].Enabled = true
- end
- part.Parent = workspace
- local BurningSound = Instance.new("Sound")
- BurningSound.SoundId = "rbxassetid://491229510"
- BurningSound.Parent = part
- BurningSound.Looped = true
- BurningSound:Play()
- for i=1, Time*10 do
- wait(1/60)
- for _,Part in pairs(game.Workspace:FindPartsInRegion3(FireRegion,nil,math.huge)) do
- if Part.Name == ("HumanoidRootPart"or"Head") and Part.Parent:FindFirstChild("Humanoid") then
- local Humanoid = Part.Parent.Humanoid
- Humanoid:TakeDamage(Humanoid.MaxHealth*(DPS*.0005))
- end
- end
- end
- BurningSound:Stop()
- Light:Destroy()
- local Children = part:GetChildren()
- for i=1,#Children do
- if Children[i]:IsA("ParticleEmitter") then
- Children[i].Enabled = false
- end
- end
- wait(5)
- part:Destroy()
- Object:Destroy()
- end
- --helpfully checks a table for a specific value
- function contains(t, v)
- for _, val in pairs(t) do
- if val == v then
- return true
- end
- end
- return false
- end
- --used by checkTeams
- function sameTeam(otherHuman)
- local player = Tag.Value
- local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
- if player and otherPlayer then
- if player == otherPlayer then
- return true
- end
- if otherPlayer.Neutral then
- return false
- end
- return player.TeamColor == otherPlayer.TeamColor
- end
- return false
- end
- function tagHuman(human)
- local tag = Tag:Clone()
- tag.Parent = human
- game:GetService("Debris"):AddItem(tag)
- end
- --use this to determine if you want this human to be harmed or not, returns boolean
- function checkTeams(otherHuman)
- return not (sameTeam(otherHuman) and not FriendlyFire==true)
- end
- function burn()
- Used = true
- Object.Impact:Play()
- Object.Orientation = Vector3.new(0,0,0)
- Object.Velocity = Vector3.new(0,0,0)
- Object.RotVelocity = Vector3.new(0,0,0)
- Object.Anchored = true
- Object.CanCollide = false
- Object.Explode:Play()
- Object.Transparency = 1
- Object.Explosion:Emit(375)
- wait(1)
- Explode()
- end
- Object.Touched:Connect(function(part)
- if Used == true or part.Name == "Handle" then return end
- if part:IsDescendantOf(Tag.Value.Character) then return end
- if part.Parent then
- if part.Parent:FindFirstChild("Humanoid") then
- local human = part.Parent.Humanoid
- if checkTeams(human) then
- tagHuman(human)
- human:TakeDamage(Damage)
- end
- burn()
- else
- burn()
- end
- game:GetService("Debris"):AddItem(Object, 10)
- end
- end)
- end))
- Script115.Disabled = true
- BoolValue116.Name = "FriendlyFire"
- BoolValue116.Parent = Script115
- NumberValue117.Name = "Damage"
- NumberValue117.Parent = Script115
- NumberValue117.Value = 60
- Folder118.Name = "Particles"
- Folder118.Parent = Script115
- ParticleEmitter119.Name = "Smoke"
- ParticleEmitter119.Parent = Folder118
- ParticleEmitter119.Speed = NumberRange.new(1, 1)
- ParticleEmitter119.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter119.Color = ColorSequence.new(Color3.new(0.384314, 0.352941, 0.341176),Color3.new(0.384314, 0.352941, 0.341176))
- ParticleEmitter119.Enabled = false
- ParticleEmitter119.LightInfluence = 1
- ParticleEmitter119.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter119.Transparency = NumberSequence.new(1,0.25499999523163,0,0.25,1)
- ParticleEmitter119.ZOffset = -0.5
- ParticleEmitter119.Size = NumberSequence.new(12,12)
- ParticleEmitter119.Acceleration = Vector3.new(0.125, 1, 0.25)
- ParticleEmitter119.Lifetime = NumberRange.new(7.5, 10)
- ParticleEmitter119.Rate = 8
- ParticleEmitter119.RotSpeed = NumberRange.new(-22.5, 22.5)
- ParticleEmitter119.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter119.VelocityInheritance = 0.25
- ParticleEmitter119.VelocitySpread = 180
- ParticleEmitter120.Name = "Sparks"
- ParticleEmitter120.Parent = Folder118
- ParticleEmitter120.Speed = NumberRange.new(3, 9)
- ParticleEmitter120.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter120.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0))
- ParticleEmitter120.Enabled = false
- ParticleEmitter120.LightEmission = 0.80000001192093
- ParticleEmitter120.Texture = "rbxassetid://522606102"
- ParticleEmitter120.Size = NumberSequence.new(0,0.125,0)
- ParticleEmitter120.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter120.Lifetime = NumberRange.new(4, 8)
- ParticleEmitter120.Rate = 17.5
- ParticleEmitter120.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter120.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter120.VelocityInheritance = 0.25
- ParticleEmitter120.VelocitySpread = 180
- ParticleEmitter121.Name = "Flames"
- ParticleEmitter121.Parent = Folder118
- ParticleEmitter121.Speed = NumberRange.new(0.25, 0.75)
- ParticleEmitter121.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter121.Color = ColorSequence.new(Color3.new(1, 0.752941, 0.34902),Color3.new(1, 0.176471, 0.0313726))
- ParticleEmitter121.Enabled = false
- ParticleEmitter121.LightEmission = 0.80000001192093
- ParticleEmitter121.Texture = "rbxassetid://522606102"
- ParticleEmitter121.Transparency = NumberSequence.new(1,0.25,0,0,1)
- ParticleEmitter121.Size = NumberSequence.new(5,3.75,0)
- ParticleEmitter121.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter121.Lifetime = NumberRange.new(1.5, 3.75)
- ParticleEmitter121.Rate = 37.5
- ParticleEmitter121.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter121.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter121.VelocityInheritance = 0.25
- ParticleEmitter121.VelocitySpread = 180
- Configuration122.Name = "Config"
- Configuration122.Parent = Tool104
- NumberValue123.Name = "Damage"
- NumberValue123.Parent = Configuration122
- NumberValue123.Value = 30
- NumberValue124.Name = "Velocity"
- NumberValue124.Parent = Configuration122
- NumberValue124.Value = 65
- BoolValue125.Name = "Teamkill"
- BoolValue125.Parent = Configuration122
- LocalScript126.Name = "Client"
- LocalScript126.Parent = Tool104
- table.insert(cors,sandbox(LocalScript126,function()
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Tracks = {}
- local InputType = Enum.UserInputType
- local IsEquipped = false
- local BeganConnection, EndedConnection
- function playAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Play()
- else
- local anim = Tool:FindFirstChild(animName)
- if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
- Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
- playAnimation(animName)
- end
- end
- end
- function stopAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Stop()
- end
- end
- function inputBegan(input)
- if input.UserInputType == InputType.MouseButton1 then
- playAnimation("Animation")
- wait(.6)
- local lp = game.Players.LocalPlayer
- local ms = lp:GetMouse()
- if not IsEquipped then return end
- Remote:FireServer(ms.Hit)
- end
- end
- function onEquip()
- BeganConnection = UIS.InputBegan:connect(inputBegan)
- IsEquipped = true
- end
- function onUnequip()
- if BeganConnection then
- BeganConnection:disconnect()
- BeganConnection = nil
- IsEquipped = false
- end
- end
- Tool.Equipped:connect(onEquip)
- Tool.Unequipped:connect(onUnequip)
- end))
- Script127.Name = "PUT THIS IN THE WEAPON"
- Script127.Parent = Tool104
- table.insert(cors,sandbox(Script127,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Script128.Name = "READ ME FOR INSTRUCTIONS"
- Script128.Parent = Model102
- table.insert(cors,sandbox(Script128,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Part129.Name = "e"
- Part129.Parent = Model102
- Part129.CFrame = CFrame.new(133.102524, 4.08477545, 49.2048531, 0.999942839, 0.00529506989, 0.00928605255, -0.00518807629, 0.999920368, -0.0115083624, -0.00934624951, 0.0114595294, 0.999890685)
- Part129.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part129.Position = Vector3.new(133.102524, 4.08477545, 49.2048531)
- Part129.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part129.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part129.Size = Vector3.new(2.68000007, 1.20000005, 0.260000497)
- Part129.Anchored = true
- Part129.BrickColor = BrickColor.new("White")
- Part129.Reflectance = 1
- Part129.TopSurface = Enum.SurfaceType.Smooth
- Part129.brickColor = BrickColor.new("White")
- Part130.Name = "e"
- Part130.Parent = Model102
- Part130.CFrame = CFrame.new(133.058365, 4.13944054, 44.447773, 0.999942839, 0.00529506989, 0.00928605255, -0.00518807629, 0.999920368, -0.0115083624, -0.00934624951, 0.0114595294, 0.999890685)
- Part130.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part130.Position = Vector3.new(133.058365, 4.13944054, 44.447773)
- Part130.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part130.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part130.Size = Vector3.new(2.68000007, 1.20000005, 0.240000486)
- Part130.Anchored = true
- Part130.BrickColor = BrickColor.new("White")
- Part130.Reflectance = 1
- Part130.TopSurface = Enum.SurfaceType.Smooth
- Part130.brickColor = BrickColor.new("White")
- Part131.Name = "e"
- Part131.Parent = Model102
- Part131.CFrame = CFrame.new(134.490784, 4.10423994, 46.8593788, 0.999942899, 0.00529486733, 0.0092863068, -0.00518787233, 0.999920368, -0.0115082655, -0.00934650097, 0.0114594325, 0.999890685)
- Part131.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part131.Position = Vector3.new(134.490784, 4.10423994, 46.8593788)
- Part131.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part131.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part131.Size = Vector3.new(0.24000001, 1.20000005, 5.13000488)
- Part131.Anchored = true
- Part131.BrickColor = BrickColor.new("White")
- Part131.Reflectance = 1
- Part131.TopSurface = Enum.SurfaceType.Smooth
- Part131.brickColor = BrickColor.new("White")
- Part132.Name = "e"
- Part132.Parent = Model102
- Part132.CFrame = CFrame.new(133.172836, 3.53612781, 46.8650703, 0.999942839, 0.00529506989, 0.00928605255, -0.00518807629, 0.999920368, -0.0115083624, -0.00934624951, 0.0114595294, 0.999890685)
- Part132.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part132.Position = Vector3.new(133.172836, 3.53612781, 46.8650703)
- Part132.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part132.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part132.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part132.Anchored = true
- Part132.BrickColor = BrickColor.new("White")
- Part132.Reflectance = 1
- Part132.TopSurface = Enum.SurfaceType.Smooth
- Part132.brickColor = BrickColor.new("White")
- Part133.Name = "e"
- Part133.Parent = Model102
- Part133.CFrame = CFrame.new(133.179199, 4.74076462, 46.8788872, 0.999942839, 0.00529506989, 0.00928605255, -0.00518807629, 0.999920368, -0.0115083624, -0.00934624951, 0.0114595294, 0.999890685)
- Part133.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part133.Position = Vector3.new(133.179199, 4.74076462, 46.8788872)
- Part133.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part133.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part133.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part133.Anchored = true
- Part133.BrickColor = BrickColor.new("White")
- Part133.Reflectance = 1
- Part133.TopSurface = Enum.SurfaceType.Smooth
- Part133.brickColor = BrickColor.new("White")
- Part134.Name = "Sign"
- Part134.Parent = Model0
- Part134.CFrame = CFrame.new(131.451721, 6.05718374, 46.6977577, -0.00928129535, 0.00532755675, 0.99994272, 0.0116431816, 0.99991864, -0.00521935755, -0.999889135, 0.0115940729, -0.00934256893)
- Part134.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part134.Position = Vector3.new(131.451721, 6.05718374, 46.6977577)
- Part134.Rotation = Vector3.new(150.809998, 89.3899994, -150.139999)
- Part134.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part134.Transparency = 1
- Part134.Size = Vector3.new(3.63000393, 2.66999936, 0.0500000007)
- Part134.Anchored = true
- Part134.BrickColor = BrickColor.new("Sand red")
- Part134.CanCollide = false
- Part134.brickColor = BrickColor.new("Sand red")
- Part134.FormFactor = Enum.FormFactor.Symmetric
- Part134.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui135.Parent = Part134
- SurfaceGui135.CanvasSize = Vector2.new(200, 100)
- TextLabel136.Parent = SurfaceGui135
- TextLabel136.Size = UDim2.new(1, 0, 1, 0)
- TextLabel136.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel136.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel136.BackgroundTransparency = 1
- TextLabel136.Font = Enum.Font.SourceSansBold
- TextLabel136.FontSize = Enum.FontSize.Size48
- TextLabel136.Text = "touch for incendiary grenade"
- TextLabel136.TextColor = BrickColor.new("Institutional white")
- TextLabel136.TextColor3 = Color3.new(1, 1, 1)
- TextLabel136.TextScaled = true
- TextLabel136.TextSize = 48
- TextLabel136.TextStrokeTransparency = 0
- TextLabel136.TextWrap = true
- TextLabel136.TextWrapped = true
- Part137.Name = "Sign"
- Part137.Parent = Model0
- Part137.CFrame = CFrame.new(131.024246, 15.2964058, 12.9555779, -0.00928167626, 0.00532724522, 0.99994272, 0.0116430381, 0.99991864, -0.00521904323, -0.999889135, 0.0115939304, -0.00934294518)
- Part137.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part137.Position = Vector3.new(131.024246, 15.2964058, 12.9555779)
- Part137.Rotation = Vector3.new(150.809998, 89.3899994, -150.149994)
- Part137.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part137.Transparency = 1
- Part137.Size = Vector3.new(23.4600029, 10.1999989, 0.0500000007)
- Part137.Anchored = true
- Part137.BrickColor = BrickColor.new("Sand red")
- Part137.CanCollide = false
- Part137.brickColor = BrickColor.new("Sand red")
- Part137.FormFactor = Enum.FormFactor.Symmetric
- Part137.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui138.Parent = Part137
- SurfaceGui138.CanvasSize = Vector2.new(200, 100)
- TextLabel139.Parent = SurfaceGui138
- TextLabel139.Size = UDim2.new(1, 0, 1, 0)
- TextLabel139.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel139.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel139.BackgroundTransparency = 1
- TextLabel139.Font = Enum.Font.SourceSansBold
- TextLabel139.FontSize = Enum.FontSize.Size48
- TextLabel139.Text = "Atrency25's Grenade Givers"
- TextLabel139.TextColor = BrickColor.new("Institutional white")
- TextLabel139.TextColor3 = Color3.new(1, 1, 1)
- TextLabel139.TextScaled = true
- TextLabel139.TextSize = 48
- TextLabel139.TextStrokeTransparency = 0
- TextLabel139.TextWrap = true
- TextLabel139.TextWrapped = true
- Model140.Parent = Model0
- Part141.Name = "PUT THE WEAPON IN THIS BRICK"
- Part141.Parent = Model140
- Part141.CFrame = CFrame.new(131.017853, 4.41256237, 21.7779751, 0.999942839, 0.00529506989, 0.00928605255, -0.00518807629, 0.999920368, -0.0115083624, -0.00934624951, 0.0114595294, 0.999890685)
- Part141.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part141.Position = Vector3.new(131.017853, 4.41256237, 21.7779751)
- Part141.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part141.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part141.Size = Vector3.new(1, 1.20000005, 5)
- Part141.Anchored = true
- Part141.BrickColor = BrickColor.new("White")
- Part141.TopSurface = Enum.SurfaceType.Smooth
- Part141.brickColor = BrickColor.new("White")
- Tool142.Name = "Smoke Grenade"
- Tool142.Parent = Part141
- Tool142.CanBeDropped = false
- Tool142.Grip = CFrame.new(0.0811338425, -0.0370239317, 0.126978517, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool142.GripPos = Vector3.new(0.0811338425, -0.0370239317, 0.126978517)
- Tool142.ToolTip = "Explosive"
- Animation143.Parent = Tool142
- Animation143.AnimationId = "rbxassetid://1051400366"
- RemoteEvent144.Name = "Remote"
- RemoteEvent144.Parent = Tool142
- Configuration145.Name = "Config"
- Configuration145.Parent = Tool142
- NumberValue146.Name = "Damage"
- NumberValue146.Parent = Configuration145
- NumberValue146.Value = 100
- NumberValue147.Name = "Velocity"
- NumberValue147.Parent = Configuration145
- NumberValue147.Value = 80
- BoolValue148.Name = "Teamkill"
- BoolValue148.Parent = Configuration145
- Script149.Name = "Server"
- Script149.Parent = Tool142
- table.insert(cors,sandbox(Script149,function()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Handle = Tool:WaitForChild("Handle")
- local DamageScript = script:WaitForChild("Damage")
- local Config = Tool:WaitForChild("Config")
- local Heartbeat = game:GetService("RunService").Heartbeat
- local FriendlyFire = Config.Teamkill.Value
- local LeftDown = false
- local AttackAble = true
- local AttackVelocity = Config.Velocity.Value
- local AttackDamage = Config.Damage.Value
- local Character = nil
- local Humanoid = nil
- --returns the wielding player of this tool
- function getPlayer()
- local char = Tool.Parent
- return game:GetService("Players"):GetPlayerFromCharacter(Character)
- end
- function Toss(direction)
- local OriginalWalkSpeed = Humanoid.WalkSpeed
- OriginalWalkSpeed = OriginalWalkSpeed
- Humanoid.WalkSpeed = 0
- local handlePos = Vector3.new(Tool.Handle.Position.X, 0, Tool.Handle.Position.Z)
- local spawnPos = Character.Head.Position
- spawnPos = spawnPos + (direction * 5)
- Tool.Handle.Transparency = 1
- local Object = Tool.Handle:Clone()
- Object.Parent = workspace
- Object.Transparency = 0
- Object.Swing.Pitch = math.random(90, 110)/100
- Object.Swing:Play()
- Object.CanCollide = true
- Object.CFrame = Tool.Handle.CFrame
- Object.Velocity = (direction*AttackVelocity) + Vector3.new(0,AttackVelocity/7.5,0)
- Object.Fuse:Play()
- local rand = 11.25
- Object.RotVelocity = Vector3.new(math.random(-rand,rand),math.random(-rand,rand),math.random(-rand,rand))
- Object:SetNetworkOwner(getPlayer())
- local ScriptClone = DamageScript:Clone()
- ScriptClone.FriendlyFire.Value = FriendlyFire
- ScriptClone.Damage.Value = AttackDamage
- ScriptClone.Parent = Object
- ScriptClone.Disabled = false
- local tag = Instance.new("ObjectValue")
- tag.Value = getPlayer()
- tag.Name = "creator"
- tag.Parent = Object
- Humanoid.WalkSpeed = OriginalWalkSpeed
- Tool:Destroy()
- end
- Remote.OnServerEvent:Connect(function(player, mousePosition)
- if not AttackAble then return end
- AttackAble = false
- if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Remote:FireClient(getPlayer(), "PlayAnimation", "Animation")
- end
- local targetPos = mousePosition.p
- local lookAt = (targetPos - Character.Head.Position).unit
- Toss(lookAt)
- LeftDown = true
- end)
- function onLeftUp()
- LeftDown = false
- end
- Tool.Equipped:Connect(function()
- Character = Tool.Parent
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- end)
- Tool.Unequipped:Connect(function()
- Character = nil
- Humanoid = nil
- end)
- end))
- Script150.Name = "Damage"
- Script150.Parent = Script149
- table.insert(cors,sandbox(Script150,function()
- local Object = script.Parent
- local Used = false
- local SplashDamage = 100
- local Radius = 20
- local Damage = script:WaitForChild("Damage").Value
- local FriendlyFire = script:WaitForChild("FriendlyFire").Value
- local Tag = Object:WaitForChild("creator")
- local Debris = game:GetService("Debris")
- function OnExplosionHit(Character, hitDistance, blastCenter)
- local Humanoid = Character:FindFirstChild("Humanoid")
- if hitDistance and blastCenter then
- local DistanceFactor = hitDistance/Radius
- DistanceFactor = 1-DistanceFactor
- if Humanoid then
- if Humanoid.Health > 0 then
- local HitDamage = DistanceFactor*SplashDamage
- print(HitDamage)
- Humanoid:TakeDamage(HitDamage)
- end
- end
- end
- end
- function Explode()
- local Orange = Color3.fromRGB(108, 108, 108)
- local Gray = Color3.fromRGB(108, 108, 108)
- Object.Explosion.Color = ColorSequence.new(Orange,Orange)
- local Explosion = Instance.new("Explosion")
- Explosion.BlastRadius = Radius*0
- Explosion.BlastPressure = 0
- Explosion.Position = Object.Position
- Explosion.Parent = Object
- Explosion.Visible = false
- Explosion.Hit:Connect(function(hit, distance)
- if hit.Name == "HumanoidRootPart" and hit.Parent:FindFirstChild("Humanoid") then
- OnExplosionHit(hit.Parent, distance, Object.Position)
- end
- end)
- local Children = Object:GetChildren()
- for i=1,#Children do
- if Children[i]:IsA("ParticleEmitter") then
- Children[i].Enabled = false
- end
- end
- wait(.05)
- wait(7.5)
- Object:Destroy()
- end
- --helpfully checks a table for a specific value
- function contains(t, v)
- for _, val in pairs(t) do
- if val == v then
- return true
- end
- end
- return false
- end
- --used by checkTeams
- function sameTeam(otherHuman)
- local player = Tag.Value
- local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
- if player and otherPlayer then
- if player == otherPlayer then
- return true
- end
- if otherPlayer.Neutral then
- return false
- end
- return player.TeamColor == otherPlayer.TeamColor
- end
- return false
- end
- function tagHuman(human)
- local tag = Tag:Clone()
- tag.Parent = human
- game:GetService("Debris"):AddItem(tag)
- end
- --use this to determine if you want this human to be harmed or not, returns boolean
- function checkTeams(otherHuman)
- return not (sameTeam(otherHuman) and not FriendlyFire==true)
- end
- function boom()
- Used = true
- wait (1)
- Object.Anchored = true
- Object.CanCollide = false
- Object.Sparks.Enabled = false
- Object.Orientation = Vector3.new(90,90,0)
- Object.Fuse:Stop()
- Object.Explode:Play()
- Object.Explosion:Emit(100)
- wait (4)
- Explode()
- end
- Object.Touched:Connect(function(part)
- if Used == true or part.Name == "Handle" then return end
- if part:IsDescendantOf(Tag.Value.Character) then return end
- if part.Parent then
- if part.Parent:FindFirstChild("Humanoid") then
- local human = part.Parent.Humanoid
- if checkTeams(human) then
- tagHuman(human)
- human:TakeDamage(Damage)
- end
- end
- Used = true
- Object.Impact:Play()
- Object.Velocity = Vector3.new(Object.Velocity.x/10,Object.Velocity.y/10,Object.Velocity.z/10)
- Object.RotVelocity = Vector3.new(Object.RotVelocity.x/10,Object.RotVelocity.y/10,Object.RotVelocity.z/10)
- game:GetService("Debris"):AddItem(Object, 10)
- end
- end)
- boom()
- end))
- BoolValue151.Name = "FriendlyFire"
- BoolValue151.Parent = Script150
- BoolValue151.Value = true
- NumberValue152.Name = "Damage"
- NumberValue152.Parent = Script150
- LocalScript153.Name = "Client"
- LocalScript153.Parent = Tool142
- table.insert(cors,sandbox(LocalScript153,function()
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Tracks = {}
- local InputType = Enum.UserInputType
- local IsEquipped = false
- local BeganConnection, EndedConnection
- function playAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Play()
- else
- local anim = Tool:FindFirstChild(animName)
- if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
- Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
- playAnimation(animName)
- end
- end
- end
- function stopAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Stop()
- end
- end
- function inputBegan(input)
- if input.UserInputType == InputType.MouseButton1 then
- playAnimation("Animation")
- wait(.6)
- local lp = game.Players.LocalPlayer
- local ms = lp:GetMouse()
- if not IsEquipped then return end
- Remote:FireServer(ms.Hit)
- end
- end
- function onEquip()
- BeganConnection = UIS.InputBegan:connect(inputBegan)
- IsEquipped = true
- end
- function onUnequip()
- if BeganConnection then
- BeganConnection:disconnect()
- BeganConnection = nil
- IsEquipped = false
- end
- end
- Tool.Equipped:connect(onEquip)
- Tool.Unequipped:connect(onUnequip)
- end))
- MeshPart154.Name = "Handle"
- MeshPart154.Parent = Tool142
- MeshPart154.CFrame = CFrame.new(132.635712, 4.59454632, 21.7435818, 0.033809524, -0.869974613, -0.491936237, 0.999044478, 0.0430592299, -0.00748717366, 0.0276960451, -0.491213083, 0.870599031)
- MeshPart154.Orientation = Vector3.new(0.430000007, -29.4699993, 87.5299988)
- MeshPart154.Position = Vector3.new(132.635712, 4.59454632, 21.7435818)
- MeshPart154.Rotation = Vector3.new(0.49000001, -29.4699993, 87.7699966)
- MeshPart154.Size = Vector3.new(0.601475954, 1.22690988, 0.558661163)
- MeshPart154.Material = Enum.Material.Metal
- MeshPart154.TextureID = "rbxassetid://454823985"
- Sound155.Name = "Explode"
- Sound155.Parent = MeshPart154
- Sound155.MaxDistance = 100000
- Sound155.EmitterSize = 100
- Sound155.MinDistance = 100
- Sound155.Pitch = 1.1000000238419
- Sound155.PlaybackSpeed = 1.1000000238419
- Sound155.SoundId = "rbxassetid://424618966"
- Sound155.Volume = 0.25
- Sound156.Name = "Fuse"
- Sound156.Parent = MeshPart154
- Sound156.MaxDistance = 128
- Sound156.Pitch = 3
- Sound156.PlaybackSpeed = 3
- Sound156.SoundId = "rbxassetid://258663838"
- Sound156.Volume = 0.30000001192093
- Sound157.Name = "Impact"
- Sound157.Parent = MeshPart154
- Sound157.MaxDistance = 150
- Sound157.Pitch = 1.5
- Sound157.PlaybackSpeed = 1.5
- Sound157.SoundId = "rbxassetid://214755079"
- Sound158.Name = "Swing"
- Sound158.Parent = MeshPart154
- Sound158.MaxDistance = 50
- Sound158.SoundId = "rbxassetid://231425197"
- Sound158.Volume = 3
- ParticleEmitter159.Name = "Explosion"
- ParticleEmitter159.Parent = MeshPart154
- ParticleEmitter159.Speed = NumberRange.new(5, 15)
- ParticleEmitter159.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter159.Color = ColorSequence.new(Color3.new(0.423529, 0.423529, 0.423529),Color3.new(0.423529, 0.423529, 0.423529))
- ParticleEmitter159.Enabled = false
- ParticleEmitter159.LightEmission = 0.69999998807907
- ParticleEmitter159.Texture = "rbxassetid://273085464"
- ParticleEmitter159.ZOffset = -1
- ParticleEmitter159.Size = NumberSequence.new(7.625,8.5,10)
- ParticleEmitter159.Acceleration = Vector3.new(0, 1, 0)
- ParticleEmitter159.Drag = 2.5
- ParticleEmitter159.EmissionDirection = Enum.NormalId.Front
- ParticleEmitter159.Lifetime = NumberRange.new(20, 25)
- ParticleEmitter159.Rate = 250
- ParticleEmitter159.RotSpeed = NumberRange.new(-22.5, 22.5)
- ParticleEmitter159.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter159.VelocityInheritance = 0.25
- ParticleEmitter159.VelocitySpread = 180
- ParticleEmitter160.Name = "Sparks"
- ParticleEmitter160.Parent = MeshPart154
- ParticleEmitter160.Speed = NumberRange.new(40, 40)
- ParticleEmitter160.Color = ColorSequence.new(Color3.new(1, 0.94902, 0.560784),Color3.new(1, 0.94902, 0.560784))
- ParticleEmitter160.Enabled = false
- ParticleEmitter160.LightEmission = 1
- ParticleEmitter160.Transparency = NumberSequence.new(1,0,0.5,0.75,0.875,1)
- ParticleEmitter160.ZOffset = -1
- ParticleEmitter160.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
- ParticleEmitter160.Acceleration = Vector3.new(0, 1, 0)
- ParticleEmitter160.Drag = 7.5
- ParticleEmitter160.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter160.Rate = 25
- ParticleEmitter160.SpreadAngle = Vector2.new(10, 10)
- ParticleEmitter160.VelocityInheritance = 0.25
- ParticleEmitter160.VelocitySpread = 10
- Script161.Name = "PUT THIS IN THE WEAPON"
- Script161.Parent = Tool142
- table.insert(cors,sandbox(Script161,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Script162.Name = "READ ME FOR INSTRUCTIONS"
- Script162.Parent = Model140
- table.insert(cors,sandbox(Script162,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Part163.Name = "e"
- Part163.Parent = Model140
- Part163.CFrame = CFrame.new(132.869751, 4.37583971, 24.1306362, 0.999942839, 0.00529506942, 0.00928605255, -0.00518807583, 0.999920368, -0.0115083624, -0.00934624951, 0.0114595294, 0.999890685)
- Part163.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part163.Position = Vector3.new(132.869751, 4.37583971, 24.1306362)
- Part163.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part163.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part163.Size = Vector3.new(2.68000007, 1.20000005, 0.260000497)
- Part163.Anchored = true
- Part163.BrickColor = BrickColor.new("White")
- Part163.Reflectance = 1
- Part163.TopSurface = Enum.SurfaceType.Smooth
- Part163.brickColor = BrickColor.new("White")
- Part164.Name = "e"
- Part164.Parent = Model140
- Part164.CFrame = CFrame.new(132.825577, 4.43050671, 19.3735638, 0.999942839, 0.00529506989, 0.00928605255, -0.00518807629, 0.999920368, -0.0115083624, -0.00934624951, 0.0114595294, 0.999890685)
- Part164.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part164.Position = Vector3.new(132.825577, 4.43050671, 19.3735638)
- Part164.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part164.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part164.Size = Vector3.new(2.68000007, 1.20000005, 0.240000486)
- Part164.Anchored = true
- Part164.BrickColor = BrickColor.new("White")
- Part164.Reflectance = 1
- Part164.TopSurface = Enum.SurfaceType.Smooth
- Part164.brickColor = BrickColor.new("White")
- Part165.Name = "e"
- Part165.Parent = Model140
- Part165.CFrame = CFrame.new(134.258011, 4.39532661, 21.7851486, 0.999942839, 0.00529506896, 0.00928605255, -0.00518807536, 0.999920368, -0.0115083624, -0.00934624951, 0.0114595294, 0.999890685)
- Part165.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part165.Position = Vector3.new(134.258011, 4.39532661, 21.7851486)
- Part165.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part165.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part165.Size = Vector3.new(0.24000001, 1.20000005, 5.13000488)
- Part165.Anchored = true
- Part165.BrickColor = BrickColor.new("White")
- Part165.Reflectance = 1
- Part165.TopSurface = Enum.SurfaceType.Smooth
- Part165.brickColor = BrickColor.new("White")
- Part166.Name = "e"
- Part166.Parent = Model140
- Part166.CFrame = CFrame.new(132.940048, 3.82718945, 21.7908535, 0.999942839, 0.00529506942, 0.00928605255, -0.00518807583, 0.999920368, -0.0115083624, -0.00934624951, 0.0114595294, 0.999890685)
- Part166.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part166.Position = Vector3.new(132.940048, 3.82718945, 21.7908535)
- Part166.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part166.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part166.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part166.Anchored = true
- Part166.BrickColor = BrickColor.new("White")
- Part166.Reflectance = 1
- Part166.TopSurface = Enum.SurfaceType.Smooth
- Part166.brickColor = BrickColor.new("White")
- Part167.Name = "e"
- Part167.Parent = Model140
- Part167.CFrame = CFrame.new(132.946426, 5.03182697, 21.8046665, 0.999942839, 0.00529506896, 0.00928605255, -0.00518807536, 0.999920368, -0.0115083624, -0.00934624951, 0.0114595294, 0.999890685)
- Part167.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part167.Position = Vector3.new(132.946426, 5.03182697, 21.8046665)
- Part167.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part167.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part167.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part167.Anchored = true
- Part167.BrickColor = BrickColor.new("White")
- Part167.Reflectance = 1
- Part167.TopSurface = Enum.SurfaceType.Smooth
- Part167.brickColor = BrickColor.new("White")
- Part168.Name = "a"
- Part168.Parent = Model0
- Part168.CFrame = CFrame.new(133.047012, 2.0619626, 34.2201576, 0.999942839, 0.00529507454, 0.00928611215, -0.00518808048, 0.999920368, -0.0115083605, -0.00934630912, 0.0114595266, 0.999890685)
- Part168.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part168.Position = Vector3.new(133.047012, 2.0619626, 34.2201576)
- Part168.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part168.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part168.Transparency = 1
- Part168.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part168.Anchored = true
- Part168.BrickColor = BrickColor.new("White")
- Part168.CanCollide = false
- Part168.Reflectance = 1
- Part168.TopSurface = Enum.SurfaceType.Smooth
- Part168.brickColor = BrickColor.new("White")
- Part169.Name = "Sign"
- Part169.Parent = Model0
- Part169.CFrame = CFrame.new(131.218231, 6.012815, 21.7358723, -0.00928177964, 0.00532724708, 0.99994272, 0.0116430307, 0.99991864, -0.0052190437, -0.999889135, 0.011593923, -0.00934304856)
- Part169.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part169.Position = Vector3.new(131.218231, 6.012815, 21.7358723)
- Part169.Rotation = Vector3.new(150.809998, 89.3899994, -150.149994)
- Part169.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part169.Transparency = 1
- Part169.Size = Vector3.new(3.02000451, 2, 0.0500000007)
- Part169.Anchored = true
- Part169.BrickColor = BrickColor.new("Sand red")
- Part169.CanCollide = false
- Part169.brickColor = BrickColor.new("Sand red")
- Part169.FormFactor = Enum.FormFactor.Symmetric
- Part169.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui170.Parent = Part169
- SurfaceGui170.CanvasSize = Vector2.new(200, 100)
- TextLabel171.Parent = SurfaceGui170
- TextLabel171.Size = UDim2.new(1, 0, 1, 0)
- TextLabel171.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel171.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel171.BackgroundTransparency = 1
- TextLabel171.Font = Enum.Font.SourceSansBold
- TextLabel171.FontSize = Enum.FontSize.Size48
- TextLabel171.Text = "touch for smoke bomb"
- TextLabel171.TextColor = BrickColor.new("Institutional white")
- TextLabel171.TextColor3 = Color3.new(1, 1, 1)
- TextLabel171.TextScaled = true
- TextLabel171.TextSize = 48
- TextLabel171.TextStrokeTransparency = 0
- TextLabel171.TextWrap = true
- TextLabel171.TextWrapped = true
- Model172.Parent = Model0
- Part173.Name = "PUT THE WEAPON IN THIS BRICK"
- Part173.Parent = Model172
- Part173.CFrame = CFrame.new(130.96077, 4.47627592, 15.8403034, 0.999978781, 0.00243177055, 0.00604530191, -0.00238588173, 0.99996841, -0.00758646009, -0.00606355909, 0.00757187558, 0.999953032)
- Part173.Orientation = Vector3.new(0.430000007, 0.349999994, -0.140000001)
- Part173.Position = Vector3.new(130.96077, 4.47627592, 15.8403034)
- Part173.Rotation = Vector3.new(0.430000007, 0.349999994, -0.140000001)
- Part173.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part173.Size = Vector3.new(1, 1.20000005, 5)
- Part173.Anchored = true
- Part173.BrickColor = BrickColor.new("White")
- Part173.TopSurface = Enum.SurfaceType.Smooth
- Part173.brickColor = BrickColor.new("White")
- Tool174.Name = "Mini Smoke"
- Tool174.Parent = Part173
- Tool174.CanBeDropped = false
- Tool174.Grip = CFrame.new(0.0811338425, -0.0370239317, 0.126978517, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool174.GripPos = Vector3.new(0.0811338425, -0.0370239317, 0.126978517)
- Tool174.ToolTip = "Explosive"
- Configuration175.Name = "Config"
- Configuration175.Parent = Tool174
- NumberValue176.Name = "Damage"
- NumberValue176.Parent = Configuration175
- NumberValue177.Name = "Velocity"
- NumberValue177.Parent = Configuration175
- NumberValue177.Value = 30
- BoolValue178.Name = "Teamkill"
- BoolValue178.Parent = Configuration175
- Animation179.Parent = Tool174
- Animation179.AnimationId = "rbxassetid://1051400366"
- RemoteEvent180.Name = "Remote"
- RemoteEvent180.Parent = Tool174
- LocalScript181.Name = "Client"
- LocalScript181.Parent = Tool174
- table.insert(cors,sandbox(LocalScript181,function()
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Tracks = {}
- local InputType = Enum.UserInputType
- local IsEquipped = false
- local BeganConnection, EndedConnection
- function playAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Play()
- else
- local anim = Tool:FindFirstChild(animName)
- if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
- Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
- playAnimation(animName)
- end
- end
- end
- function stopAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Stop()
- end
- end
- function inputBegan(input)
- if input.UserInputType == InputType.MouseButton1 then
- playAnimation("Animation")
- wait(.6)
- local lp = game.Players.LocalPlayer
- local ms = lp:GetMouse()
- if not IsEquipped then return end
- Remote:FireServer(ms.Hit)
- end
- end
- function onEquip()
- BeganConnection = UIS.InputBegan:connect(inputBegan)
- IsEquipped = true
- end
- function onUnequip()
- if BeganConnection then
- BeganConnection:disconnect()
- BeganConnection = nil
- IsEquipped = false
- end
- end
- Tool.Equipped:connect(onEquip)
- Tool.Unequipped:connect(onUnequip)
- end))
- Script182.Name = "Server"
- Script182.Parent = Tool174
- table.insert(cors,sandbox(Script182,function()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Handle = Tool:WaitForChild("Handle")
- local DamageScript = script:WaitForChild("Damage")
- local Config = Tool:WaitForChild("Config")
- local Heartbeat = game:GetService("RunService").Heartbeat
- local FriendlyFire = Config.Teamkill.Value
- local LeftDown = false
- local AttackAble = true
- local AttackVelocity = Config.Velocity.Value
- local AttackDamage = Config.Damage.Value
- local Character = nil
- local Humanoid = nil
- --returns the wielding player of this tool
- function getPlayer()
- local char = Tool.Parent
- return game:GetService("Players"):GetPlayerFromCharacter(Character)
- end
- function Toss(direction)
- local OriginalWalkSpeed = Humanoid.WalkSpeed
- OriginalWalkSpeed = OriginalWalkSpeed
- Humanoid.WalkSpeed = 0
- local handlePos = Vector3.new(Tool.Handle.Position.X, 0, Tool.Handle.Position.Z)
- local spawnPos = Character.Head.Position
- spawnPos = spawnPos + (direction * 5)
- Tool.Handle.Transparency = 1
- local Object = Tool.Handle:Clone()
- Object.Parent = workspace
- Object.Transparency = 0
- Object.Swing.Pitch = math.random(90, 110)/100
- Object.Swing:Play()
- Object.CanCollide = true
- Object.CFrame = Tool.Handle.CFrame
- Object.Velocity = (direction*AttackVelocity) + Vector3.new(0,AttackVelocity/7.5,0)
- Object.Fuse:Play()
- local rand = 11.25
- Object.RotVelocity = Vector3.new(math.random(-rand,rand),math.random(-rand,rand),math.random(-rand,rand))
- Object:SetNetworkOwner(getPlayer())
- local ScriptClone = DamageScript:Clone()
- ScriptClone.FriendlyFire.Value = FriendlyFire
- ScriptClone.Damage.Value = AttackDamage
- ScriptClone.Parent = Object
- ScriptClone.Disabled = false
- local tag = Instance.new("ObjectValue")
- tag.Value = getPlayer()
- tag.Name = "creator"
- tag.Parent = Object
- Humanoid.WalkSpeed = OriginalWalkSpeed
- Tool:Destroy()
- end
- Remote.OnServerEvent:Connect(function(player, mousePosition)
- if not AttackAble then return end
- AttackAble = false
- if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Remote:FireClient(getPlayer(), "PlayAnimation", "Animation")
- end
- local targetPos = mousePosition.p
- local lookAt = (targetPos - Character.Head.Position).unit
- Toss(lookAt)
- LeftDown = true
- end)
- function onLeftUp()
- LeftDown = false
- end
- Tool.Equipped:Connect(function()
- Character = Tool.Parent
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- end)
- Tool.Unequipped:Connect(function()
- Character = nil
- Humanoid = nil
- end)
- end))
- Script183.Name = "Damage"
- Script183.Parent = Script182
- table.insert(cors,sandbox(Script183,function()
- local Object = script.Parent
- local Used = false
- local SplashDamage = 100
- local Radius = 20
- local Damage = script:WaitForChild("Damage").Value
- local FriendlyFire = script:WaitForChild("FriendlyFire").Value
- local Tag = Object:WaitForChild("creator")
- local Debris = game:GetService("Debris")
- function OnExplosionHit(Character, hitDistance, blastCenter)
- local Humanoid = Character:FindFirstChild("Humanoid")
- if hitDistance and blastCenter then
- local DistanceFactor = hitDistance/Radius
- DistanceFactor = 1-DistanceFactor
- if Humanoid then
- if Humanoid.Health > 0 then
- local HitDamage = DistanceFactor*SplashDamage
- print(HitDamage)
- Humanoid:TakeDamage(HitDamage)
- end
- end
- end
- end
- function Explode()
- local Orange = Color3.fromRGB(108, 108, 108)
- local Gray = Color3.fromRGB(108, 108, 108)
- Object.Explosion.Color = ColorSequence.new(Orange,Orange)
- local Explosion = Instance.new("Explosion")
- Explosion.BlastRadius = Radius*0
- Explosion.BlastPressure = 0
- Explosion.Position = Object.Position
- Explosion.Parent = Object
- Explosion.Visible = false
- Explosion.Hit:Connect(function(hit, distance)
- if hit.Name == "HumanoidRootPart" and hit.Parent:FindFirstChild("Humanoid") then
- OnExplosionHit(hit.Parent, distance, Object.Position)
- end
- end)
- local Children = Object:GetChildren()
- for i=1,#Children do
- if Children[i]:IsA("ParticleEmitter") then
- Children[i].Enabled = false
- end
- end
- wait(.05)
- wait(7.5)
- Object:Destroy()
- end
- --helpfully checks a table for a specific value
- function contains(t, v)
- for _, val in pairs(t) do
- if val == v then
- return true
- end
- end
- return false
- end
- --used by checkTeams
- function sameTeam(otherHuman)
- local player = Tag.Value
- local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
- if player and otherPlayer then
- if player == otherPlayer then
- return true
- end
- if otherPlayer.Neutral then
- return false
- end
- return player.TeamColor == otherPlayer.TeamColor
- end
- return false
- end
- function tagHuman(human)
- local tag = Tag:Clone()
- tag.Parent = human
- game:GetService("Debris"):AddItem(tag)
- end
- --use this to determine if you want this human to be harmed or not, returns boolean
- function checkTeams(otherHuman)
- return not (sameTeam(otherHuman) and not FriendlyFire==true)
- end
- function boom()
- Used = true
- wait (1)
- Object.Anchored = true
- Object.CanCollide = false
- Object.Sparks.Enabled = false
- Object.Orientation = Vector3.new(90,90,0)
- Object.Fuse:Stop()
- Object.Explode:Play()
- Object.Explosion:Emit(100)
- wait (5)
- Explode()
- end
- Object.Touched:Connect(function(part)
- if Used == true or part.Name == "Handle" then return end
- if part:IsDescendantOf(Tag.Value.Character) then return end
- if part.Parent then
- if part.Parent:FindFirstChild("Humanoid") then
- local human = part.Parent.Humanoid
- if checkTeams(human) then
- tagHuman(human)
- human:TakeDamage(Damage)
- end
- end
- Used = true
- Object.Impact:Play()
- Object.Velocity = Vector3.new(Object.Velocity.x/10,Object.Velocity.y/10,Object.Velocity.z/10)
- Object.RotVelocity = Vector3.new(Object.RotVelocity.x/10,Object.RotVelocity.y/10,Object.RotVelocity.z/10)
- game:GetService("Debris"):AddItem(Object, 10)
- end
- end)
- boom()
- end))
- BoolValue184.Name = "FriendlyFire"
- BoolValue184.Parent = Script183
- BoolValue184.Value = true
- NumberValue185.Name = "Damage"
- NumberValue185.Parent = Script183
- MeshPart186.Name = "Handle"
- MeshPart186.Parent = Tool174
- MeshPart186.CFrame = CFrame.new(132.689896, 4.49655104, 15.7848549, 0.451450348, 0.0306180567, 0.89177078, -0.887533486, -0.0877146497, 0.45231685, 0.0920704231, -0.995674968, -0.0124242585)
- MeshPart186.Orientation = Vector3.new(-26.8899994, 90.8000031, -95.6399994)
- MeshPart186.Position = Vector3.new(132.689896, 4.49655104, 15.7848549)
- MeshPart186.Rotation = Vector3.new(-91.5699997, 63.0999985, -3.88000011)
- MeshPart186.Color = Color3.new(0.929412, 0.917647, 0.917647)
- MeshPart186.Size = Vector3.new(0.813630581, 1.1748997, 0.736020148)
- MeshPart186.BrickColor = BrickColor.new("Lily white")
- MeshPart186.Material = Enum.Material.Fabric
- MeshPart186.brickColor = BrickColor.new("Lily white")
- ParticleEmitter187.Name = "Sparks"
- ParticleEmitter187.Parent = MeshPart186
- ParticleEmitter187.Speed = NumberRange.new(40, 40)
- ParticleEmitter187.Color = ColorSequence.new(Color3.new(1, 0.94902, 0.560784),Color3.new(1, 0.94902, 0.560784))
- ParticleEmitter187.Enabled = false
- ParticleEmitter187.LightEmission = 1
- ParticleEmitter187.Transparency = NumberSequence.new(1,0,0.5,0.75,0.875,1)
- ParticleEmitter187.ZOffset = -1
- ParticleEmitter187.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
- ParticleEmitter187.Acceleration = Vector3.new(0, 1, 0)
- ParticleEmitter187.Drag = 7.5
- ParticleEmitter187.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter187.Rate = 25
- ParticleEmitter187.SpreadAngle = Vector2.new(10, 10)
- ParticleEmitter187.VelocityInheritance = 0.25
- ParticleEmitter187.VelocitySpread = 10
- ParticleEmitter188.Name = "Explosion"
- ParticleEmitter188.Parent = MeshPart186
- ParticleEmitter188.Speed = NumberRange.new(5, 10)
- ParticleEmitter188.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter188.Color = ColorSequence.new(Color3.new(0.258824, 0.258824, 0.258824),Color3.new(0.258824, 0.258824, 0.258824))
- ParticleEmitter188.Enabled = false
- ParticleEmitter188.LightEmission = 0.69999998807907
- ParticleEmitter188.Texture = "rbxassetid://273085464"
- ParticleEmitter188.ZOffset = -1
- ParticleEmitter188.Size = NumberSequence.new(7.625,8.5,10)
- ParticleEmitter188.Acceleration = Vector3.new(0, 1, 0)
- ParticleEmitter188.Drag = 2.5
- ParticleEmitter188.EmissionDirection = Enum.NormalId.Front
- ParticleEmitter188.Lifetime = NumberRange.new(2, 3)
- ParticleEmitter188.Rate = 250
- ParticleEmitter188.RotSpeed = NumberRange.new(-22.5, 22.5)
- ParticleEmitter188.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter188.VelocityInheritance = 0.25
- ParticleEmitter188.VelocitySpread = 180
- Sound189.Name = "Swing"
- Sound189.Parent = MeshPart186
- Sound189.MaxDistance = 50
- Sound189.SoundId = "rbxassetid://231425197"
- Sound189.Volume = 3
- Sound190.Name = "Impact"
- Sound190.Parent = MeshPart186
- Sound190.MaxDistance = 150
- Sound190.Pitch = 1.5
- Sound190.PlaybackSpeed = 1.5
- Sound190.SoundId = "rbxassetid://214755079"
- Sound191.Name = "Fuse"
- Sound191.Parent = MeshPart186
- Sound191.MaxDistance = 128
- Sound191.Pitch = 3
- Sound191.PlaybackSpeed = 3
- Sound191.SoundId = "rbxassetid://258663838"
- Sound191.Volume = 0.30000001192093
- Sound192.Name = "Explode"
- Sound192.Parent = MeshPart186
- Sound192.MaxDistance = 100000
- Sound192.EmitterSize = 100
- Sound192.MinDistance = 100
- Sound192.Pitch = 1.2999999523163
- Sound192.PlaybackSpeed = 1.2999999523163
- Sound192.SoundId = "rbxassetid://424618966"
- Sound192.Volume = 0.10000000149012
- Script193.Name = "PUT THIS IN THE WEAPON"
- Script193.Parent = Tool174
- table.insert(cors,sandbox(Script193,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Script194.Name = "READ ME FOR INSTRUCTIONS"
- Script194.Parent = Model172
- table.insert(cors,sandbox(Script194,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Part195.Name = "e"
- Part195.Parent = Model172
- Part195.CFrame = CFrame.new(132.805054, 4.45397043, 18.1991444, 0.999978781, 0.00243177195, 0.00604476547, -0.00238588685, 0.99996841, -0.00758650247, -0.00606302265, 0.00757191936, 0.999953032)
- Part195.Orientation = Vector3.new(0.430000007, 0.349999994, -0.140000001)
- Part195.Position = Vector3.new(132.805054, 4.45397043, 18.1991444)
- Part195.Rotation = Vector3.new(0.430000007, 0.349999994, -0.140000001)
- Part195.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part195.Size = Vector3.new(2.68000007, 1.20000005, 0.260000497)
- Part195.Anchored = true
- Part195.BrickColor = BrickColor.new("White")
- Part195.Reflectance = 1
- Part195.TopSurface = Enum.SurfaceType.Smooth
- Part195.brickColor = BrickColor.new("White")
- Part196.Name = "e"
- Part196.Parent = Model172
- Part196.CFrame = CFrame.new(132.776291, 4.48999357, 13.4417381, 0.999978781, 0.00243172375, 0.00603972934, -0.00238587405, 0.99996841, -0.00758696487, -0.00605798792, 0.0075723948, 0.999952972)
- Part196.Orientation = Vector3.new(0.430000007, 0.349999994, -0.140000001)
- Part196.Position = Vector3.new(132.776291, 4.48999357, 13.4417381)
- Part196.Rotation = Vector3.new(0.430000007, 0.349999994, -0.140000001)
- Part196.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part196.Size = Vector3.new(2.68000007, 1.20000005, 0.240000486)
- Part196.Anchored = true
- Part196.BrickColor = BrickColor.new("White")
- Part196.Reflectance = 1
- Part196.TopSurface = Enum.SurfaceType.Smooth
- Part196.brickColor = BrickColor.new("White")
- Part197.Name = "e"
- Part197.Parent = Model172
- Part197.CFrame = CFrame.new(134.200958, 4.4682641, 15.858181, 0.99997884, 0.00243223272, 0.00603951886, -0.00238638651, 0.99996841, -0.00758667057, -0.00605778117, 0.0075720977, 0.999952972)
- Part197.Orientation = Vector3.new(0.430000007, 0.349999994, -0.140000001)
- Part197.Position = Vector3.new(134.200958, 4.4682641, 15.858181)
- Part197.Rotation = Vector3.new(0.430000007, 0.349999994, -0.140000001)
- Part197.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part197.Size = Vector3.new(0.24000001, 1.20000005, 5.13000488)
- Part197.Anchored = true
- Part197.BrickColor = BrickColor.new("White")
- Part197.Reflectance = 1
- Part197.TopSurface = Enum.SurfaceType.Smooth
- Part197.brickColor = BrickColor.new("White")
- Part198.Name = "e"
- Part198.Parent = Model172
- Part198.CFrame = CFrame.new(132.884552, 3.8964026, 15.8617535, 0.99997884, 0.00243175332, 0.00604269467, -0.00238588289, 0.99996841, -0.0075867041, -0.00606095232, 0.00757212611, 0.999953032)
- Part198.Orientation = Vector3.new(0.430000007, 0.349999994, -0.140000001)
- Part198.Position = Vector3.new(132.884552, 3.8964026, 15.8617535)
- Part198.Rotation = Vector3.new(0.430000007, 0.349999994, -0.140000001)
- Part198.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part198.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part198.Anchored = true
- Part198.BrickColor = BrickColor.new("White")
- Part198.Reflectance = 1
- Part198.TopSurface = Enum.SurfaceType.Smooth
- Part198.brickColor = BrickColor.new("White")
- Part199.Name = "e"
- Part199.Parent = Model172
- Part199.CFrame = CFrame.new(132.887451, 5.10111284, 15.8708763, 0.99997884, 0.00243176939, 0.00604378711, -0.00238589151, 0.99996841, -0.00758657418, -0.00606204476, 0.0075719934, 0.999953032)
- Part199.Orientation = Vector3.new(0.430000007, 0.349999994, -0.140000001)
- Part199.Position = Vector3.new(132.887451, 5.10111284, 15.8708763)
- Part199.Rotation = Vector3.new(0.430000007, 0.349999994, -0.140000001)
- Part199.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part199.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part199.Anchored = true
- Part199.BrickColor = BrickColor.new("White")
- Part199.Reflectance = 1
- Part199.TopSurface = Enum.SurfaceType.Smooth
- Part199.brickColor = BrickColor.new("White")
- Part200.Name = "Sign"
- Part200.Parent = Model0
- Part200.CFrame = CFrame.new(131.163971, 6.08084249, 15.8979492, -0.00929890852, 0.00532699376, 0.99994266, 0.0116418041, 0.999918699, -0.00521860365, -0.999889016, 0.0115926089, -0.0093601672)
- Part200.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part200.Position = Vector3.new(131.163971, 6.08084249, 15.8979492)
- Part200.Rotation = Vector3.new(150.860001, 89.3899994, -150.190002)
- Part200.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part200.Transparency = 1
- Part200.Size = Vector3.new(3.02000451, 2, 0.0500000007)
- Part200.Anchored = true
- Part200.BrickColor = BrickColor.new("Sand red")
- Part200.CanCollide = false
- Part200.brickColor = BrickColor.new("Sand red")
- Part200.FormFactor = Enum.FormFactor.Symmetric
- Part200.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui201.Parent = Part200
- SurfaceGui201.CanvasSize = Vector2.new(200, 100)
- TextLabel202.Parent = SurfaceGui201
- TextLabel202.Size = UDim2.new(1, 0, 1, 0)
- TextLabel202.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel202.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel202.BackgroundTransparency = 1
- TextLabel202.Font = Enum.Font.SourceSansBold
- TextLabel202.FontSize = Enum.FontSize.Size48
- TextLabel202.Text = "touch for mini smoke"
- TextLabel202.TextColor = BrickColor.new("Institutional white")
- TextLabel202.TextColor3 = Color3.new(1, 1, 1)
- TextLabel202.TextScaled = true
- TextLabel202.TextSize = 48
- TextLabel202.TextStrokeTransparency = 0
- TextLabel202.TextWrap = true
- TextLabel202.TextWrapped = true
- Model203.Parent = Model0
- Script204.Name = "READ ME FOR INSTRUCTIONS"
- Script204.Parent = Model203
- table.insert(cors,sandbox(Script204,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Part205.Name = "e"
- Part205.Parent = Model203
- Part205.CFrame = CFrame.new(132.733398, 4.5453701, 11.9537182, 1, -9.34932576e-09, 4.93592758e-08, 9.34931688e-09, 1, -1.21071864e-08, -4.93592687e-08, 1.21071873e-08, 1)
- Part205.Position = Vector3.new(132.733398, 4.5453701, 11.9537182)
- Part205.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part205.Size = Vector3.new(2.68000007, 1.20000005, 0.260000497)
- Part205.Anchored = true
- Part205.BrickColor = BrickColor.new("White")
- Part205.Reflectance = 1
- Part205.TopSurface = Enum.SurfaceType.Smooth
- Part205.brickColor = BrickColor.new("White")
- Part206.Name = "e"
- Part206.Parent = Model203
- Part206.CFrame = CFrame.new(132.733429, 4.54528952, 7.19606924, 1, 1.23109336e-08, -9.31333943e-09, -1.23109398e-08, 1, -7.45057882e-09, 9.31334654e-09, 7.45057882e-09, 1)
- Part206.Position = Vector3.new(132.733429, 4.54528952, 7.19606924)
- Part206.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part206.Size = Vector3.new(2.68000007, 1.20000005, 0.240000486)
- Part206.Anchored = true
- Part206.BrickColor = BrickColor.new("White")
- Part206.Reflectance = 1
- Part206.TopSurface = Enum.SurfaceType.Smooth
- Part206.brickColor = BrickColor.new("White")
- Part207.Name = "e"
- Part207.Parent = Model203
- Part207.CFrame = CFrame.new(134.143417, 4.54533052, 9.62115669, 1, 9.2259409e-09, -9.96504568e-08, -9.22594712e-09, 1, 3.72528142e-09, 9.96504639e-08, -3.72528142e-09, 1)
- Part207.Position = Vector3.new(134.143417, 4.54533052, 9.62115669)
- Part207.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part207.Size = Vector3.new(0.24000001, 1.20000005, 5.13000488)
- Part207.Anchored = true
- Part207.BrickColor = BrickColor.new("White")
- Part207.Reflectance = 1
- Part207.TopSurface = Enum.SurfaceType.Smooth
- Part207.brickColor = BrickColor.new("White")
- Part208.Name = "e"
- Part208.Parent = Model203
- Part208.CFrame = CFrame.new(132.82843, 3.97031283, 9.62113571, 1, -5.23883822e-15, 7.10542736e-15, -5.23883822e-15, 1, 0, 7.10542736e-15, 0, 1)
- Part208.Position = Vector3.new(132.82843, 3.97031283, 9.62113571)
- Part208.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part208.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part208.Anchored = true
- Part208.BrickColor = BrickColor.new("White")
- Part208.Reflectance = 1
- Part208.TopSurface = Enum.SurfaceType.Smooth
- Part208.brickColor = BrickColor.new("White")
- Part209.Name = "e"
- Part209.Parent = Model203
- Part209.CFrame = CFrame.new(132.828415, 5.17507839, 9.62114143, 1, -1.06662457e-08, -2.78462437e-07, 1.06662359e-08, 1, -1.58325086e-08, 2.78462437e-07, 1.58325051e-08, 1)
- Part209.Position = Vector3.new(132.828415, 5.17507839, 9.62114143)
- Part209.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part209.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part209.Anchored = true
- Part209.BrickColor = BrickColor.new("White")
- Part209.Reflectance = 1
- Part209.TopSurface = Enum.SurfaceType.Smooth
- Part209.brickColor = BrickColor.new("White")
- Part210.Name = "PUT THE WEAPON IN THIS BRICK"
- Part210.Parent = Model203
- Part210.CFrame = CFrame.new(130.903442, 4.54533052, 9.58366203, 1, -1.06371418e-08, 7.91612464e-08, 1.06371409e-08, 1, -1.58324731e-08, -7.91612393e-08, 1.58324749e-08, 1)
- Part210.Position = Vector3.new(130.903442, 4.54533052, 9.58366203)
- Part210.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part210.Size = Vector3.new(1, 1.20000005, 5)
- Part210.Anchored = true
- Part210.BrickColor = BrickColor.new("White")
- Part210.TopSurface = Enum.SurfaceType.Smooth
- Part210.brickColor = BrickColor.new("White")
- Tool211.Name = "Heavy Smoke"
- Tool211.Parent = Part210
- Tool211.CanBeDropped = false
- Tool211.Grip = CFrame.new(0.0811338425, -0.0370239317, 0.126978517, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool211.GripPos = Vector3.new(0.0811338425, -0.0370239317, 0.126978517)
- Tool211.ToolTip = "Explosive"
- Configuration212.Name = "Config"
- Configuration212.Parent = Tool211
- NumberValue213.Name = "Damage"
- NumberValue213.Parent = Configuration212
- NumberValue214.Name = "Velocity"
- NumberValue214.Parent = Configuration212
- NumberValue214.Value = 30
- BoolValue215.Name = "Teamkill"
- BoolValue215.Parent = Configuration212
- Animation216.Parent = Tool211
- Animation216.AnimationId = "rbxassetid://1051400366"
- RemoteEvent217.Name = "Remote"
- RemoteEvent217.Parent = Tool211
- LocalScript218.Name = "Client"
- LocalScript218.Parent = Tool211
- table.insert(cors,sandbox(LocalScript218,function()
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Tracks = {}
- local InputType = Enum.UserInputType
- local IsEquipped = false
- local BeganConnection, EndedConnection
- function playAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Play()
- else
- local anim = Tool:FindFirstChild(animName)
- if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
- Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
- playAnimation(animName)
- end
- end
- end
- function stopAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Stop()
- end
- end
- function inputBegan(input)
- if input.UserInputType == InputType.MouseButton1 then
- playAnimation("Animation")
- wait(.6)
- local lp = game.Players.LocalPlayer
- local ms = lp:GetMouse()
- if not IsEquipped then return end
- Remote:FireServer(ms.Hit)
- end
- end
- function onEquip()
- BeganConnection = UIS.InputBegan:connect(inputBegan)
- IsEquipped = true
- end
- function onUnequip()
- if BeganConnection then
- BeganConnection:disconnect()
- BeganConnection = nil
- IsEquipped = false
- end
- end
- Tool.Equipped:connect(onEquip)
- Tool.Unequipped:connect(onUnequip)
- end))
- Script219.Name = "Server"
- Script219.Parent = Tool211
- table.insert(cors,sandbox(Script219,function()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Handle = Tool:WaitForChild("Handle")
- local DamageScript = script:WaitForChild("Damage")
- local Config = Tool:WaitForChild("Config")
- local Heartbeat = game:GetService("RunService").Heartbeat
- local FriendlyFire = Config.Teamkill.Value
- local LeftDown = false
- local AttackAble = true
- local AttackVelocity = Config.Velocity.Value
- local AttackDamage = Config.Damage.Value
- local Character = nil
- local Humanoid = nil
- --returns the wielding player of this tool
- function getPlayer()
- local char = Tool.Parent
- return game:GetService("Players"):GetPlayerFromCharacter(Character)
- end
- function Toss(direction)
- local OriginalWalkSpeed = Humanoid.WalkSpeed
- OriginalWalkSpeed = OriginalWalkSpeed
- Humanoid.WalkSpeed = 0
- local handlePos = Vector3.new(Tool.Handle.Position.X, 0, Tool.Handle.Position.Z)
- local spawnPos = Character.Head.Position
- spawnPos = spawnPos + (direction * 5)
- Tool.Handle.Transparency = 1
- local Object = Tool.Handle:Clone()
- Object.Parent = workspace
- Object.Transparency = 0
- Object.Swing.Pitch = math.random(90, 110)/100
- Object.Swing:Play()
- Object.CanCollide = true
- Object.CFrame = Tool.Handle.CFrame
- Object.Velocity = (direction*AttackVelocity) + Vector3.new(0,AttackVelocity/7.5,0)
- Object.Fuse:Play()
- local rand = 11.25
- Object.RotVelocity = Vector3.new(math.random(-rand,rand),math.random(-rand,rand),math.random(-rand,rand))
- Object:SetNetworkOwner(getPlayer())
- local ScriptClone = DamageScript:Clone()
- ScriptClone.FriendlyFire.Value = FriendlyFire
- ScriptClone.Damage.Value = AttackDamage
- ScriptClone.Parent = Object
- ScriptClone.Disabled = false
- local tag = Instance.new("ObjectValue")
- tag.Value = getPlayer()
- tag.Name = "creator"
- tag.Parent = Object
- Humanoid.WalkSpeed = OriginalWalkSpeed
- Tool:Destroy()
- end
- Remote.OnServerEvent:Connect(function(player, mousePosition)
- if not AttackAble then return end
- AttackAble = false
- if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Remote:FireClient(getPlayer(), "PlayAnimation", "Animation")
- end
- local targetPos = mousePosition.p
- local lookAt = (targetPos - Character.Head.Position).unit
- Toss(lookAt)
- LeftDown = true
- end)
- function onLeftUp()
- LeftDown = false
- end
- Tool.Equipped:Connect(function()
- Character = Tool.Parent
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- end)
- Tool.Unequipped:Connect(function()
- Character = nil
- Humanoid = nil
- end)
- end))
- Script220.Name = "Damage"
- Script220.Parent = Script219
- table.insert(cors,sandbox(Script220,function()
- local Object = script.Parent
- local Used = false
- local SplashDamage = 100
- local Radius = 20
- local Damage = script:WaitForChild("Damage").Value
- local FriendlyFire = script:WaitForChild("FriendlyFire").Value
- local Tag = Object:WaitForChild("creator")
- local Debris = game:GetService("Debris")
- function OnExplosionHit(Character, hitDistance, blastCenter)
- local Humanoid = Character:FindFirstChild("Humanoid")
- if hitDistance and blastCenter then
- local DistanceFactor = hitDistance/Radius
- DistanceFactor = 1-DistanceFactor
- if Humanoid then
- if Humanoid.Health > 0 then
- local HitDamage = DistanceFactor*SplashDamage
- print(HitDamage)
- Humanoid:TakeDamage(HitDamage)
- end
- end
- end
- end
- function Explode()
- local Orange = Color3.fromRGB(66, 66, 66)
- local Gray = Color3.fromRGB(66, 66, 66)
- Object.Explosion.Color = ColorSequence.new(Orange,Orange)
- local Explosion = Instance.new("Explosion")
- Explosion.BlastRadius = Radius*0
- Explosion.BlastPressure = 0
- Explosion.Position = Object.Position
- Explosion.Parent = Object
- Explosion.Visible = false
- Explosion.Hit:Connect(function(hit, distance)
- if hit.Name == "HumanoidRootPart" and hit.Parent:FindFirstChild("Humanoid") then
- OnExplosionHit(hit.Parent, distance, Object.Position)
- end
- end)
- local Children = Object:GetChildren()
- for i=1,#Children do
- if Children[i]:IsA("ParticleEmitter") then
- Children[i].Enabled = false
- end
- end
- wait(.05)
- wait(7.5)
- Object:Destroy()
- end
- --helpfully checks a table for a specific value
- function contains(t, v)
- for _, val in pairs(t) do
- if val == v then
- return true
- end
- end
- return false
- end
- --used by checkTeams
- function sameTeam(otherHuman)
- local player = Tag.Value
- local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
- if player and otherPlayer then
- if player == otherPlayer then
- return true
- end
- if otherPlayer.Neutral then
- return false
- end
- return player.TeamColor == otherPlayer.TeamColor
- end
- return false
- end
- function tagHuman(human)
- local tag = Tag:Clone()
- tag.Parent = human
- game:GetService("Debris"):AddItem(tag)
- end
- --use this to determine if you want this human to be harmed or not, returns boolean
- function checkTeams(otherHuman)
- return not (sameTeam(otherHuman) and not FriendlyFire==true)
- end
- function boom()
- Used = true
- wait (1)
- Object.Anchored = true
- Object.CanCollide = false
- Object.Sparks.Enabled = false
- Object.Orientation = Vector3.new(90,90,0)
- Object.Fuse:Stop()
- Object.Explode:Play()
- Object.Explosion:Emit(1250)
- wait (10)
- Explode()
- end
- Object.Touched:Connect(function(part)
- if Used == true or part.Name == "Handle" then return end
- if part:IsDescendantOf(Tag.Value.Character) then return end
- if part.Parent then
- if part.Parent:FindFirstChild("Humanoid") then
- local human = part.Parent.Humanoid
- if checkTeams(human) then
- tagHuman(human)
- human:TakeDamage(Damage)
- end
- end
- Used = true
- Object.Impact:Play()
- Object.Velocity = Vector3.new(Object.Velocity.x/10,Object.Velocity.y/10,Object.Velocity.z/10)
- Object.RotVelocity = Vector3.new(Object.RotVelocity.x/10,Object.RotVelocity.y/10,Object.RotVelocity.z/10)
- game:GetService("Debris"):AddItem(Object, 10)
- end
- end)
- boom()
- end))
- BoolValue221.Name = "FriendlyFire"
- BoolValue221.Parent = Script220
- BoolValue221.Value = true
- NumberValue222.Name = "Damage"
- NumberValue222.Parent = Script220
- MeshPart223.Name = "Handle"
- MeshPart223.Parent = Tool211
- MeshPart223.CFrame = CFrame.new(132.502182, 4.42676401, 9.31924248, 0.0138054956, -0.858197749, -0.513133466, 0.997781515, -0.0216010958, 0.0629716739, -0.0651264042, -0.51286447, 0.855995655)
- MeshPart223.Orientation = Vector3.new(-3.6099999, -30.9400005, 91.2399979)
- MeshPart223.Position = Vector3.new(132.502182, 4.42676401, 9.31924248)
- MeshPart223.Rotation = Vector3.new(-4.21000004, -30.8700008, 89.0800018)
- MeshPart223.Color = Color3.new(0.929412, 0.917647, 0.917647)
- MeshPart223.Size = Vector3.new(0.567485988, 1.5979085, 0.79812336)
- MeshPart223.BrickColor = BrickColor.new("Lily white")
- MeshPart223.Material = Enum.Material.Fabric
- MeshPart223.brickColor = BrickColor.new("Lily white")
- MeshPart223.TextureID = "rbxassetid://437001024"
- ParticleEmitter224.Name = "Sparks"
- ParticleEmitter224.Parent = MeshPart223
- ParticleEmitter224.Speed = NumberRange.new(40, 40)
- ParticleEmitter224.Color = ColorSequence.new(Color3.new(1, 0.94902, 0.560784),Color3.new(1, 0.94902, 0.560784))
- ParticleEmitter224.Enabled = false
- ParticleEmitter224.LightEmission = 1
- ParticleEmitter224.Transparency = NumberSequence.new(1,0,0.5,0.75,0.875,1)
- ParticleEmitter224.ZOffset = -1
- ParticleEmitter224.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
- ParticleEmitter224.Acceleration = Vector3.new(0, 1, 0)
- ParticleEmitter224.Drag = 7.5
- ParticleEmitter224.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter224.Rate = 25
- ParticleEmitter224.SpreadAngle = Vector2.new(10, 10)
- ParticleEmitter224.VelocityInheritance = 0.25
- ParticleEmitter224.VelocitySpread = 10
- Sound225.Name = "Swing"
- Sound225.Parent = MeshPart223
- Sound225.MaxDistance = 50
- Sound225.SoundId = "rbxassetid://231425197"
- Sound225.Volume = 3
- Sound226.Name = "Impact"
- Sound226.Parent = MeshPart223
- Sound226.MaxDistance = 150
- Sound226.Pitch = 1.5
- Sound226.PlaybackSpeed = 1.5
- Sound226.SoundId = "rbxassetid://214755079"
- Sound227.Name = "Fuse"
- Sound227.Parent = MeshPart223
- Sound227.MaxDistance = 128
- Sound227.Pitch = 3
- Sound227.PlaybackSpeed = 3
- Sound227.SoundId = "rbxassetid://258663838"
- Sound227.Volume = 0.30000001192093
- Sound228.Name = "Explode"
- Sound228.Parent = MeshPart223
- Sound228.MaxDistance = 100000
- Sound228.EmitterSize = 100
- Sound228.MinDistance = 100
- Sound228.Pitch = 1.1000000238419
- Sound228.PlaybackSpeed = 1.1000000238419
- Sound228.SoundId = "rbxassetid://424618966"
- Sound228.Volume = 0.10000000149012
- ParticleEmitter229.Name = "Explosion"
- ParticleEmitter229.Parent = MeshPart223
- ParticleEmitter229.Speed = NumberRange.new(8, 30)
- ParticleEmitter229.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter229.Color = ColorSequence.new(Color3.new(0.258824, 0.258824, 0.258824),Color3.new(0.258824, 0.258824, 0.258824))
- ParticleEmitter229.Enabled = false
- ParticleEmitter229.LightEmission = 0.69999998807907
- ParticleEmitter229.Texture = "rbxassetid://273085464"
- ParticleEmitter229.ZOffset = -1
- ParticleEmitter229.Size = NumberSequence.new(8.5625,9.3125,10)
- ParticleEmitter229.Acceleration = Vector3.new(0, 0.5, 0)
- ParticleEmitter229.Drag = 2.5
- ParticleEmitter229.EmissionDirection = Enum.NormalId.Front
- ParticleEmitter229.Lifetime = NumberRange.new(20, 25)
- ParticleEmitter229.Rate = 500
- ParticleEmitter229.RotSpeed = NumberRange.new(-22.5, 22.5)
- ParticleEmitter229.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter229.VelocityInheritance = 0.25
- ParticleEmitter229.VelocitySpread = 180
- Script230.Name = "PUT THIS IN THE WEAPON"
- Script230.Parent = Tool211
- table.insert(cors,sandbox(Script230,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Part231.Name = "Sign"
- Part231.Parent = Model0
- Part231.CFrame = CFrame.new(131.104355, 6.15572166, 9.46473122, -0.00928111654, 0.00532761775, 0.99994272, 0.0116433026, 0.99991864, -0.00521941949, -0.999889135, 0.011594194, -0.00934239104)
- Part231.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part231.Position = Vector3.new(131.104355, 6.15572166, 9.46473122)
- Part231.Rotation = Vector3.new(150.809998, 89.3899994, -150.139999)
- Part231.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part231.Transparency = 1
- Part231.Size = Vector3.new(3.02000451, 2, 0.0500000007)
- Part231.Anchored = true
- Part231.BrickColor = BrickColor.new("Sand red")
- Part231.CanCollide = false
- Part231.brickColor = BrickColor.new("Sand red")
- Part231.FormFactor = Enum.FormFactor.Symmetric
- Part231.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui232.Parent = Part231
- SurfaceGui232.CanvasSize = Vector2.new(200, 100)
- TextLabel233.Parent = SurfaceGui232
- TextLabel233.Size = UDim2.new(1, 0, 1, 0)
- TextLabel233.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel233.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel233.BackgroundTransparency = 1
- TextLabel233.Font = Enum.Font.SourceSansBold
- TextLabel233.FontSize = Enum.FontSize.Size48
- TextLabel233.Text = "touch for heavy smoke"
- TextLabel233.TextColor = BrickColor.new("Institutional white")
- TextLabel233.TextColor3 = Color3.new(1, 1, 1)
- TextLabel233.TextScaled = true
- TextLabel233.TextSize = 48
- TextLabel233.TextStrokeTransparency = 0
- TextLabel233.TextWrap = true
- TextLabel233.TextWrapped = true
- Part234.Name = "Sign"
- Part234.Parent = Model0
- Part234.CFrame = CFrame.new(131.050049, 6.22405481, 3.60198784, -0.00928111654, 0.00532761775, 0.99994272, 0.0116433026, 0.99991864, -0.00521941949, -0.999889135, 0.011594194, -0.00934239104)
- Part234.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part234.Position = Vector3.new(131.050049, 6.22405481, 3.60198784)
- Part234.Rotation = Vector3.new(150.809998, 89.3899994, -150.139999)
- Part234.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part234.Transparency = 1
- Part234.Size = Vector3.new(3.02000451, 2, 0.0500000007)
- Part234.Anchored = true
- Part234.BrickColor = BrickColor.new("Sand red")
- Part234.CanCollide = false
- Part234.brickColor = BrickColor.new("Sand red")
- Part234.FormFactor = Enum.FormFactor.Symmetric
- Part234.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui235.Parent = Part234
- SurfaceGui235.CanvasSize = Vector2.new(200, 100)
- TextLabel236.Parent = SurfaceGui235
- TextLabel236.Size = UDim2.new(1, 0, 1, 0)
- TextLabel236.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel236.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel236.BackgroundTransparency = 1
- TextLabel236.Font = Enum.Font.SourceSansBold
- TextLabel236.FontSize = Enum.FontSize.Size48
- TextLabel236.Text = "touch for mustard gas"
- TextLabel236.TextColor = BrickColor.new("Institutional white")
- TextLabel236.TextColor3 = Color3.new(1, 1, 1)
- TextLabel236.TextScaled = true
- TextLabel236.TextSize = 48
- TextLabel236.TextStrokeTransparency = 0
- TextLabel236.TextWrap = true
- TextLabel236.TextWrapped = true
- Model237.Parent = Model0
- Script238.Name = "READ ME FOR INSTRUCTIONS"
- Script238.Parent = Model237
- table.insert(cors,sandbox(Script238,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Part239.Name = "e"
- Part239.Parent = Model237
- Part239.CFrame = CFrame.new(132.679077, 4.61370134, 6.09098196, 1, -9.34932576e-09, 4.93592758e-08, 9.34931688e-09, 1, -1.21071864e-08, -4.93592687e-08, 1.21071873e-08, 1)
- Part239.Position = Vector3.new(132.679077, 4.61370134, 6.09098196)
- Part239.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part239.Size = Vector3.new(2.68000007, 1.20000005, 0.260000497)
- Part239.Anchored = true
- Part239.BrickColor = BrickColor.new("White")
- Part239.Reflectance = 1
- Part239.TopSurface = Enum.SurfaceType.Smooth
- Part239.brickColor = BrickColor.new("White")
- Part240.Name = "e"
- Part240.Parent = Model237
- Part240.CFrame = CFrame.new(132.679123, 4.61362076, 1.33332634, 1, 1.23109336e-08, -9.31333943e-09, -1.23109398e-08, 1, -7.45057882e-09, 9.31334654e-09, 7.45057882e-09, 1)
- Part240.Position = Vector3.new(132.679123, 4.61362076, 1.33332634)
- Part240.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part240.Size = Vector3.new(2.68000007, 1.20000005, 0.240000486)
- Part240.Anchored = true
- Part240.BrickColor = BrickColor.new("White")
- Part240.Reflectance = 1
- Part240.TopSurface = Enum.SurfaceType.Smooth
- Part240.brickColor = BrickColor.new("White")
- Part241.Name = "e"
- Part241.Parent = Model237
- Part241.CFrame = CFrame.new(134.089111, 4.61366081, 3.7584095, 1, 9.2259409e-09, -9.96504568e-08, -9.22594712e-09, 1, 3.72528142e-09, 9.96504639e-08, -3.72528142e-09, 1)
- Part241.Position = Vector3.new(134.089111, 4.61366081, 3.7584095)
- Part241.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part241.Size = Vector3.new(0.24000001, 1.20000005, 5.13000488)
- Part241.Anchored = true
- Part241.BrickColor = BrickColor.new("White")
- Part241.Reflectance = 1
- Part241.TopSurface = Enum.SurfaceType.Smooth
- Part241.brickColor = BrickColor.new("White")
- Part242.Name = "e"
- Part242.Parent = Model237
- Part242.CFrame = CFrame.new(132.774124, 4.03864336, 3.75839806, 1, -5.23883822e-15, 7.10542736e-15, -5.23883822e-15, 1, 0, 7.10542736e-15, 0, 1)
- Part242.Position = Vector3.new(132.774124, 4.03864336, 3.75839806)
- Part242.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part242.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part242.Anchored = true
- Part242.BrickColor = BrickColor.new("White")
- Part242.Reflectance = 1
- Part242.TopSurface = Enum.SurfaceType.Smooth
- Part242.brickColor = BrickColor.new("White")
- Part243.Name = "e"
- Part243.Parent = Model237
- Part243.CFrame = CFrame.new(132.774109, 5.24340963, 3.75840187, 1, -1.06662457e-08, -2.78462437e-07, 1.06662359e-08, 1, -1.58325086e-08, 2.78462437e-07, 1.58325051e-08, 1)
- Part243.Position = Vector3.new(132.774109, 5.24340963, 3.75840187)
- Part243.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part243.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part243.Anchored = true
- Part243.BrickColor = BrickColor.new("White")
- Part243.Reflectance = 1
- Part243.TopSurface = Enum.SurfaceType.Smooth
- Part243.brickColor = BrickColor.new("White")
- Part244.Name = "PUT THE WEAPON IN THIS BRICK"
- Part244.Parent = Model237
- Part244.CFrame = CFrame.new(130.849136, 4.6136632, 3.72091675, 1, -1.06371418e-08, 7.91612464e-08, 1.06371409e-08, 1, -1.58324731e-08, -7.91612393e-08, 1.58324749e-08, 1)
- Part244.Position = Vector3.new(130.849136, 4.6136632, 3.72091675)
- Part244.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part244.Size = Vector3.new(1, 1.20000005, 5)
- Part244.Anchored = true
- Part244.BrickColor = BrickColor.new("White")
- Part244.TopSurface = Enum.SurfaceType.Smooth
- Part244.brickColor = BrickColor.new("White")
- Tool245.Name = "Mustard Gas"
- Tool245.Parent = Part244
- Tool245.CanBeDropped = false
- Tool245.Grip = CFrame.new(0.125, -0.275000006, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool245.GripPos = Vector3.new(0.125, -0.275000006, 0)
- Tool245.ToolTip = "Fire Bomb"
- Animation246.Parent = Tool245
- Animation246.AnimationId = "rbxassetid://1051400366"
- RemoteEvent247.Name = "Remote"
- RemoteEvent247.Parent = Tool245
- MeshPart248.Name = "Handle"
- MeshPart248.Parent = Tool245
- MeshPart248.CFrame = CFrame.new(133.0047, 4.54415083, 3.86137199, -0.00926353596, -0.999941587, 0.00556681957, 0.011662011, 0.00545864506, 0.99991709, -0.999889076, 0.00932768825, 0.0116107631)
- MeshPart248.Orientation = Vector3.new(-89.2600021, 25.6200008, 64.9199982)
- MeshPart248.Position = Vector3.new(133.0047, 4.54415083, 3.86137199)
- MeshPart248.Rotation = Vector3.new(-89.3300018, 0.319999993, 90.5299988)
- MeshPart248.Size = Vector3.new(0.801872194, 1.37148869, 0.602110684)
- MeshPart248.Material = Enum.Material.Ice
- MeshPart248.TextureID = "rbxassetid://1388254191"
- Sound249.Name = "Explode"
- Sound249.Parent = MeshPart248
- Sound249.MaxDistance = 150
- Sound249.Pitch = 0.5
- Sound249.PlaybackSpeed = 0.5
- Sound249.SoundId = "rbxassetid://336780084"
- Sound249.Volume = 1
- Sound250.Name = "Swing"
- Sound250.Parent = MeshPart248
- Sound250.MaxDistance = 50
- Sound250.SoundId = "rbxassetid://338529172"
- Sound250.Volume = 0.25
- Sound251.Name = "Impact"
- Sound251.Parent = MeshPart248
- Sound251.MaxDistance = 150
- Sound251.Pitch = 1.5
- Sound251.PlaybackSpeed = 1.5
- Sound251.SoundId = "rbxassetid://626807593"
- Sound251.Volume = 1
- ParticleEmitter252.Name = "Flames"
- ParticleEmitter252.Parent = MeshPart248
- ParticleEmitter252.Speed = NumberRange.new(0.25, 0.75)
- ParticleEmitter252.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter252.Color = ColorSequence.new(Color3.new(0.533333, 0.352941, 0.0117647),Color3.new(0.533333, 0.352941, 0.0117647))
- ParticleEmitter252.Enabled = false
- ParticleEmitter252.LightEmission = 0.80000001192093
- ParticleEmitter252.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter252.Transparency = NumberSequence.new(1,0.25,0,0,1)
- ParticleEmitter252.Size = NumberSequence.new(1.7500001192093,3.75,7.8125,8.25,7.625,10)
- ParticleEmitter252.Rate = 60
- ParticleEmitter252.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter252.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter252.VelocityInheritance = 0.25
- ParticleEmitter252.VelocitySpread = 180
- ParticleEmitter253.Name = "Explosion"
- ParticleEmitter253.Parent = MeshPart248
- ParticleEmitter253.Speed = NumberRange.new(10, 15)
- ParticleEmitter253.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter253.Color = ColorSequence.new(Color3.new(0.533333, 0.352941, 0.0117647),Color3.new(0.533333, 0.352941, 0.0117647))
- ParticleEmitter253.Enabled = false
- ParticleEmitter253.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter253.Transparency = NumberSequence.new(1,0.25,0,0,1)
- ParticleEmitter253.Size = NumberSequence.new(0.375,2,2.5,2,0.25)
- ParticleEmitter253.Acceleration = Vector3.new(0, -2.5, 0)
- ParticleEmitter253.Lifetime = NumberRange.new(0.75, 1.25)
- ParticleEmitter253.LockedToPart = true
- ParticleEmitter253.Rate = 25
- ParticleEmitter253.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter253.SpreadAngle = Vector2.new(90, 90)
- ParticleEmitter253.VelocityInheritance = 0.25
- ParticleEmitter253.VelocitySpread = 90
- ParticleEmitter254.Name = "Sparks"
- ParticleEmitter254.Parent = MeshPart248
- ParticleEmitter254.Speed = NumberRange.new(1, 2)
- ParticleEmitter254.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter254.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0))
- ParticleEmitter254.Enabled = false
- ParticleEmitter254.LightEmission = 0.80000001192093
- ParticleEmitter254.Texture = "rbxassetid://0"
- ParticleEmitter254.Size = NumberSequence.new(0,0)
- ParticleEmitter254.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter254.Lifetime = NumberRange.new(1, 1.25)
- ParticleEmitter254.Rate = 12.5
- ParticleEmitter254.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter254.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter254.VelocityInheritance = 0.25
- ParticleEmitter254.VelocitySpread = 180
- Script255.Name = "Server"
- Script255.Parent = Tool245
- table.insert(cors,sandbox(Script255,function()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Handle = Tool:WaitForChild("Handle")
- local DamageScript = script:WaitForChild("Damage")
- local Config = Tool:WaitForChild("Config")
- local Heartbeat = game:GetService("RunService").Heartbeat
- local FriendlyFire = Config.Teamkill.Value
- local LeftDown = false
- local AttackAble = true
- local AttackVelocity = Config.Velocity.Value
- local AttackDamage = Config.Damage.Value
- local Character = nil
- local Humanoid = nil
- --returns the wielding player of this tool
- function getPlayer()
- local char = Tool.Parent
- return game:GetService("Players"):GetPlayerFromCharacter(Character)
- end
- function Toss(direction)
- local OriginalWalkSpeed = Humanoid.WalkSpeed
- OriginalWalkSpeed = OriginalWalkSpeed
- Humanoid.WalkSpeed = 0
- local handlePos = Vector3.new(Tool.Handle.Position.X, 0, Tool.Handle.Position.Z)
- local spawnPos = Character.Head.Position
- spawnPos = spawnPos + (direction * 5)
- Tool.Handle.Transparency = 1
- local Object = Tool.Handle:Clone()
- Object.Parent = workspace
- Object.Transparency = 0
- Object.Swing.Pitch = math.random(90, 110)/100
- Object.Swing:Play()
- Object.CanCollide = true
- Object.CFrame = Tool.Handle.CFrame
- Object.Velocity = (direction*AttackVelocity) + Vector3.new(0,AttackVelocity/7.5,0)
- local rand = 11.25
- Object.RotVelocity = Vector3.new(math.random(-rand,rand),math.random(-rand,rand),math.random(-rand,rand))
- Object:SetNetworkOwner(getPlayer())
- local ScriptClone = DamageScript:Clone()
- ScriptClone.FriendlyFire.Value = FriendlyFire
- ScriptClone.Damage.Value = AttackDamage
- ScriptClone.Parent = Object
- ScriptClone.Disabled = false
- local tag = Instance.new("ObjectValue")
- tag.Value = getPlayer()
- tag.Name = "creator"
- tag.Parent = Object
- Humanoid.WalkSpeed = OriginalWalkSpeed
- Tool:Destroy()
- end
- Remote.OnServerEvent:Connect(function(player, mousePosition)
- if not AttackAble then return end
- AttackAble = false
- if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Remote:FireClient(getPlayer(), "PlayAnimation", "Animation")
- end
- local targetPos = mousePosition.p
- local lookAt = (targetPos - Character.Head.Position).unit
- Toss(lookAt)
- LeftDown = true
- end)
- function onLeftUp()
- LeftDown = false
- end
- Tool.Equipped:Connect(function()
- Character = Tool.Parent
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- end)
- Tool.Unequipped:Connect(function()
- Character = nil
- Humanoid = nil
- end)
- end))
- Script256.Name = "Damage"
- Script256.Parent = Script255
- table.insert(cors,sandbox(Script256,function()
- local Object = script.Parent
- local Used = false
- local DPS = 55
- local Time = 45
- local Radius = 20
- local Damage = script:WaitForChild("Damage").Value
- local FriendlyFire = script:WaitForChild("FriendlyFire").Value
- local Tag = Object:WaitForChild("creator")
- function Explode()
- Object.Flames.Enabled = false
- Object.Sparks.Enabled = false
- local part = Instance.new("Part")
- part.Name = "FlameArea"
- local Pos = Object.Position
- Pos=Pos
- local Point1 = Pos+Vector3.new(-Radius/2,-Radius/8,-Radius/2)
- local Point2 = Pos+Vector3.new(Radius/2,Radius/8,Radius/2)
- local FireRegion = Region3.new(Point1,Point2)
- part.Anchored = true
- part.CanCollide = false
- part.Size = Vector3.new(Radius,Radius/5,Radius)
- part.CFrame = Object.CFrame
- part.Orientation = Vector3.new(0,0,0)
- part.Transparency = 1
- local Light = Instance.new("PointLight")
- Light.Brightness = 1
- Light.Range = Radius*0
- Light.Shadows = true
- Light.Color = Color3.fromRGB(0,0,0)
- Light.Parent = part
- local Particles = script.Particles:GetChildren()
- for i=1,#Particles do
- Particles[i].Parent = part
- Particles[i].Enabled = true
- end
- part.Parent = workspace
- local BurningSound = Instance.new("Sound")
- BurningSound.SoundId = "rbxassetid://0"
- BurningSound.Parent = part
- BurningSound.Looped = true
- BurningSound:Play()
- for i=1, Time*10 do
- wait(1/60)
- for _,Part in pairs(game.Workspace:FindPartsInRegion3(FireRegion,nil,math.huge)) do
- if Part.Name == ("HumanoidRootPart"or"Head") and Part.Parent:FindFirstChild("Humanoid") then
- local Humanoid = Part.Parent.Humanoid
- Humanoid:TakeDamage(Humanoid.MaxHealth*(DPS*.0005))
- end
- end
- end
- BurningSound:Stop()
- Light:Destroy()
- local Children = part:GetChildren()
- for i=1,#Children do
- if Children[i]:IsA("ParticleEmitter") then
- Children[i].Enabled = false
- end
- end
- wait(5)
- part:Destroy()
- Object:Destroy()
- end
- --helpfully checks a table for a specific value
- function contains(t, v)
- for _, val in pairs(t) do
- if val == v then
- return true
- end
- end
- return false
- end
- --used by checkTeams
- function sameTeam(otherHuman)
- local player = Tag.Value
- local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
- if player and otherPlayer then
- if player == otherPlayer then
- return true
- end
- if otherPlayer.Neutral then
- return false
- end
- return player.TeamColor == otherPlayer.TeamColor
- end
- return false
- end
- function tagHuman(human)
- local tag = Tag:Clone()
- tag.Parent = human
- game:GetService("Debris"):AddItem(tag)
- end
- --use this to determine if you want this human to be harmed or not, returns boolean
- function checkTeams(otherHuman)
- return not (sameTeam(otherHuman) and not FriendlyFire==true)
- end
- function burn()
- Used = true
- Object.Impact:Play()
- Object.Orientation = Vector3.new(0,0,0)
- Object.Velocity = Vector3.new(0,0,0)
- Object.RotVelocity = Vector3.new(0,0,0)
- Object.Anchored = true
- Object.CanCollide = false
- Object.Explode:Play()
- Object.Transparency = 1
- Object.Explosion:Emit(375)
- wait(.25)
- Explode()
- end
- Object.Touched:Connect(function(part)
- if Used == true or part.Name == "Handle" then return end
- if part:IsDescendantOf(Tag.Value.Character) then return end
- if part.Parent then
- if part.Parent:FindFirstChild("Humanoid") then
- local human = part.Parent.Humanoid
- if checkTeams(human) then
- tagHuman(human)
- human:TakeDamage(Damage)
- end
- burn()
- else
- burn()
- end
- game:GetService("Debris"):AddItem(Object, 10)
- end
- end)
- end))
- Script256.Disabled = true
- BoolValue257.Name = "FriendlyFire"
- BoolValue257.Parent = Script256
- NumberValue258.Name = "Damage"
- NumberValue258.Parent = Script256
- NumberValue258.Value = 60
- Folder259.Name = "Particles"
- Folder259.Parent = Script256
- ParticleEmitter260.Name = "Smoke"
- ParticleEmitter260.Parent = Folder259
- ParticleEmitter260.Speed = NumberRange.new(1, 1)
- ParticleEmitter260.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter260.Color = ColorSequence.new(Color3.new(0.384314, 0.352941, 0.341176),Color3.new(0.384314, 0.352941, 0.341176))
- ParticleEmitter260.Enabled = false
- ParticleEmitter260.LightInfluence = 1
- ParticleEmitter260.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter260.Transparency = NumberSequence.new(1,0.25499999523163,0,0.25,1)
- ParticleEmitter260.ZOffset = -0.5
- ParticleEmitter260.Size = NumberSequence.new(0,0)
- ParticleEmitter260.Acceleration = Vector3.new(0.125, 1, 0.25)
- ParticleEmitter260.Lifetime = NumberRange.new(7.5, 10)
- ParticleEmitter260.Rate = 8
- ParticleEmitter260.RotSpeed = NumberRange.new(-22.5, 22.5)
- ParticleEmitter260.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter260.VelocityInheritance = 0.25
- ParticleEmitter260.VelocitySpread = 180
- ParticleEmitter261.Name = "Sparks"
- ParticleEmitter261.Parent = Folder259
- ParticleEmitter261.Speed = NumberRange.new(3, 9)
- ParticleEmitter261.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter261.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0))
- ParticleEmitter261.Enabled = false
- ParticleEmitter261.LightEmission = 0.80000001192093
- ParticleEmitter261.Texture = "rbxassetid://522606102"
- ParticleEmitter261.Size = NumberSequence.new(0,0)
- ParticleEmitter261.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter261.Lifetime = NumberRange.new(4, 8)
- ParticleEmitter261.Rate = 17.5
- ParticleEmitter261.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter261.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter261.VelocityInheritance = 0.25
- ParticleEmitter261.VelocitySpread = 180
- ParticleEmitter262.Name = "Flames"
- ParticleEmitter262.Parent = Folder259
- ParticleEmitter262.Speed = NumberRange.new(0.25, 0.75)
- ParticleEmitter262.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter262.Color = ColorSequence.new(Color3.new(0.533333, 0.352941, 0.0117647),Color3.new(0.533333, 0.352941, 0.0117647))
- ParticleEmitter262.Enabled = false
- ParticleEmitter262.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter262.Transparency = NumberSequence.new(1,0.25,0,0,1)
- ParticleEmitter262.Size = NumberSequence.new(1.7500001192093,3.75,7.8125,8.25,7.625,10)
- ParticleEmitter262.Rate = 60
- ParticleEmitter262.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter262.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter262.VelocityInheritance = 0.25
- ParticleEmitter262.VelocitySpread = 180
- Configuration263.Name = "Config"
- Configuration263.Parent = Tool245
- NumberValue264.Name = "Damage"
- NumberValue264.Parent = Configuration263
- NumberValue264.Value = 30
- NumberValue265.Name = "Velocity"
- NumberValue265.Parent = Configuration263
- NumberValue265.Value = 125
- BoolValue266.Name = "Teamkill"
- BoolValue266.Parent = Configuration263
- LocalScript267.Name = "Client"
- LocalScript267.Parent = Tool245
- table.insert(cors,sandbox(LocalScript267,function()
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Tracks = {}
- local InputType = Enum.UserInputType
- local IsEquipped = false
- local BeganConnection, EndedConnection
- function playAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Play()
- else
- local anim = Tool:FindFirstChild(animName)
- if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
- Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
- playAnimation(animName)
- end
- end
- end
- function stopAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Stop()
- end
- end
- function inputBegan(input)
- if input.UserInputType == InputType.MouseButton1 then
- playAnimation("Animation")
- wait(.6)
- local lp = game.Players.LocalPlayer
- local ms = lp:GetMouse()
- if not IsEquipped then return end
- Remote:FireServer(ms.Hit)
- end
- end
- function onEquip()
- BeganConnection = UIS.InputBegan:connect(inputBegan)
- IsEquipped = true
- end
- function onUnequip()
- if BeganConnection then
- BeganConnection:disconnect()
- BeganConnection = nil
- IsEquipped = false
- end
- end
- Tool.Equipped:connect(onEquip)
- Tool.Unequipped:connect(onUnequip)
- end))
- Script268.Name = "PUT THIS IN THE WEAPON"
- Script268.Parent = Tool245
- table.insert(cors,sandbox(Script268,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Model269.Parent = Model0
- Script270.Name = "READ ME FOR INSTRUCTIONS"
- Script270.Parent = Model269
- table.insert(cors,sandbox(Script270,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Part271.Name = "e"
- Part271.Parent = Model269
- Part271.CFrame = CFrame.new(132.625336, 4.68130875, 0.290518761, 1, -9.34932576e-09, 4.93592758e-08, 9.34931688e-09, 1, -1.21071864e-08, -4.93592687e-08, 1.21071873e-08, 1)
- Part271.Position = Vector3.new(132.625336, 4.68130875, 0.290518761)
- Part271.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part271.Size = Vector3.new(2.68000007, 1.20000005, 0.260000497)
- Part271.Anchored = true
- Part271.BrickColor = BrickColor.new("White")
- Part271.Reflectance = 1
- Part271.TopSurface = Enum.SurfaceType.Smooth
- Part271.brickColor = BrickColor.new("White")
- Part272.Name = "e"
- Part272.Parent = Model269
- Part272.CFrame = CFrame.new(132.625366, 4.68122959, -4.46713924, 1, 1.23109336e-08, -9.31333943e-09, -1.23109398e-08, 1, -7.45057882e-09, 9.31334654e-09, 7.45057882e-09, 1)
- Part272.Position = Vector3.new(132.625366, 4.68122959, -4.46713924)
- Part272.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part272.Size = Vector3.new(2.68000007, 1.20000005, 0.240000486)
- Part272.Anchored = true
- Part272.BrickColor = BrickColor.new("White")
- Part272.Reflectance = 1
- Part272.TopSurface = Enum.SurfaceType.Smooth
- Part272.brickColor = BrickColor.new("White")
- Part273.Name = "e"
- Part273.Parent = Model269
- Part273.CFrame = CFrame.new(134.03537, 4.68126774, -2.04205036, 1, 9.2259409e-09, -9.96504568e-08, -9.22594712e-09, 1, 3.72528142e-09, 9.96504639e-08, -3.72528142e-09, 1)
- Part273.Position = Vector3.new(134.03537, 4.68126774, -2.04205036)
- Part273.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part273.Size = Vector3.new(0.24000001, 1.20000005, 5.13000488)
- Part273.Anchored = true
- Part273.BrickColor = BrickColor.new("White")
- Part273.Reflectance = 1
- Part273.TopSurface = Enum.SurfaceType.Smooth
- Part273.brickColor = BrickColor.new("White")
- Part274.Name = "e"
- Part274.Parent = Model269
- Part274.CFrame = CFrame.new(132.720383, 4.10624933, -2.04206657, 1, -5.23883822e-15, 7.10542736e-15, -5.23883822e-15, 1, 0, 7.10542736e-15, 0, 1)
- Part274.Position = Vector3.new(132.720383, 4.10624933, -2.04206657)
- Part274.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part274.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part274.Anchored = true
- Part274.BrickColor = BrickColor.new("White")
- Part274.Reflectance = 1
- Part274.TopSurface = Enum.SurfaceType.Smooth
- Part274.brickColor = BrickColor.new("White")
- Part275.Name = "e"
- Part275.Parent = Model269
- Part275.CFrame = CFrame.new(132.720367, 5.31101608, -2.04205894, 1, -1.06662457e-08, -2.78462437e-07, 1.06662359e-08, 1, -1.58325086e-08, 2.78462437e-07, 1.58325051e-08, 1)
- Part275.Position = Vector3.new(132.720367, 5.31101608, -2.04205894)
- Part275.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part275.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part275.Anchored = true
- Part275.BrickColor = BrickColor.new("White")
- Part275.Reflectance = 1
- Part275.TopSurface = Enum.SurfaceType.Smooth
- Part275.brickColor = BrickColor.new("White")
- Part276.Name = "PUT THE WEAPON IN THIS BRICK"
- Part276.Parent = Model269
- Part276.CFrame = CFrame.new(130.795395, 4.68126917, -2.07954597, 1, -1.06371418e-08, 7.91612464e-08, 1.06371409e-08, 1, -1.58324731e-08, -7.91612393e-08, 1.58324749e-08, 1)
- Part276.Position = Vector3.new(130.795395, 4.68126917, -2.07954597)
- Part276.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part276.Size = Vector3.new(1, 1.20000005, 5)
- Part276.Anchored = true
- Part276.BrickColor = BrickColor.new("White")
- Part276.TopSurface = Enum.SurfaceType.Smooth
- Part276.brickColor = BrickColor.new("White")
- Tool277.Name = "Unstable Fission Cell"
- Tool277.Parent = Part276
- Tool277.CanBeDropped = false
- Tool277.Grip = CFrame.new(0.0811338425, -0.0370239317, 0.126978517, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool277.GripPos = Vector3.new(0.0811338425, -0.0370239317, 0.126978517)
- Tool277.ToolTip = "Explosive"
- Animation278.Parent = Tool277
- Animation278.AnimationId = "rbxassetid://1051400366"
- RemoteEvent279.Name = "Remote"
- RemoteEvent279.Parent = Tool277
- Configuration280.Name = "Config"
- Configuration280.Parent = Tool277
- NumberValue281.Name = "Damage"
- NumberValue281.Parent = Configuration280
- NumberValue281.Value = 200
- NumberValue282.Name = "Velocity"
- NumberValue282.Parent = Configuration280
- NumberValue282.Value = 120
- BoolValue283.Name = "Teamkill"
- BoolValue283.Parent = Configuration280
- Script284.Name = "Server"
- Script284.Parent = Tool277
- table.insert(cors,sandbox(Script284,function()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Handle = Tool:WaitForChild("Handle")
- local DamageScript = script:WaitForChild("Damage")
- local Config = Tool:WaitForChild("Config")
- local Heartbeat = game:GetService("RunService").Heartbeat
- local FriendlyFire = Config.Teamkill.Value
- local LeftDown = false
- local AttackAble = true
- local AttackVelocity = Config.Velocity.Value
- local AttackDamage = Config.Damage.Value
- local Character = nil
- local Humanoid = nil
- --returns the wielding player of this tool
- function getPlayer()
- local char = Tool.Parent
- return game:GetService("Players"):GetPlayerFromCharacter(Character)
- end
- function Toss(direction)
- local OriginalWalkSpeed = Humanoid.WalkSpeed
- OriginalWalkSpeed = OriginalWalkSpeed
- Humanoid.WalkSpeed = 0
- local handlePos = Vector3.new(Tool.Handle.Position.X, 0, Tool.Handle.Position.Z)
- local spawnPos = Character.Head.Position
- spawnPos = spawnPos + (direction * 5)
- Tool.Handle.Transparency = 1
- local Object = Tool.Handle:Clone()
- Object.Parent = workspace
- Object.Transparency = 0
- Object.Swing.Pitch = math.random(90, 110)/100
- Object.Swing:Play()
- Object.CanCollide = true
- Object.CFrame = Tool.Handle.CFrame
- Object.Velocity = (direction*AttackVelocity) + Vector3.new(0,AttackVelocity/7.5,0)
- Object.Fuse:Play()
- local rand = 11.25
- Object.RotVelocity = Vector3.new(math.random(-rand,rand),math.random(-rand,rand),math.random(-rand,rand))
- Object:SetNetworkOwner(getPlayer())
- local ScriptClone = DamageScript:Clone()
- ScriptClone.FriendlyFire.Value = FriendlyFire
- ScriptClone.Damage.Value = AttackDamage
- ScriptClone.Parent = Object
- ScriptClone.Disabled = false
- local tag = Instance.new("ObjectValue")
- tag.Value = getPlayer()
- tag.Name = "creator"
- tag.Parent = Object
- Humanoid.WalkSpeed = OriginalWalkSpeed
- Tool:Destroy()
- end
- Remote.OnServerEvent:Connect(function(player, mousePosition)
- if not AttackAble then return end
- AttackAble = false
- if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Remote:FireClient(getPlayer(), "PlayAnimation", "Animation")
- end
- local targetPos = mousePosition.p
- local lookAt = (targetPos - Character.Head.Position).unit
- Toss(lookAt)
- LeftDown = true
- end)
- function onLeftUp()
- LeftDown = false
- end
- Tool.Equipped:Connect(function()
- Character = Tool.Parent
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- end)
- Tool.Unequipped:Connect(function()
- Character = nil
- Humanoid = nil
- end)
- end))
- Script285.Name = "Damage"
- Script285.Parent = Script284
- table.insert(cors,sandbox(Script285,function()
- local Object = script.Parent
- local Used = false
- local SplashDamage = 200
- local Radius = 30
- local Damage = script:WaitForChild("Damage").Value
- local FriendlyFire = script:WaitForChild("FriendlyFire").Value
- local Tag = Object:WaitForChild("creator")
- local Debris = game:GetService("Debris")
- function OnExplosionHit(Character, hitDistance, blastCenter)
- local Humanoid = Character:FindFirstChild("Humanoid")
- if hitDistance and blastCenter then
- local DistanceFactor = hitDistance/Radius
- DistanceFactor = 1-DistanceFactor
- if Humanoid then
- if Humanoid.Health > 0 then
- local HitDamage = DistanceFactor*SplashDamage
- print(HitDamage)
- Humanoid:TakeDamage(HitDamage)
- end
- end
- end
- end
- function Explode()
- local Orange = Color3.fromRGB(128, 187, 219)
- local Gray = Color3.fromRGB(154, 154, 154)
- Object.Explosion.LightEmission = 1
- Object.Explosion.LightInfluence = 0
- Object.Explosion.Color = ColorSequence.new(Orange,Orange)
- local Light = Instance.new("PointLight")
- Light.Color = Color3.fromRGB(128, 187, 219)
- Light.Brightness = 3
- Light.Range = 10
- Light.Shadows = true
- Light.Parent = Object
- local Explosion = Instance.new("Explosion")
- Explosion.BlastRadius = Radius*.875
- Explosion.BlastPressure = 0
- Explosion.Position = Object.Position
- Explosion.Parent = Object
- Explosion.Visible = false
- Explosion.Hit:Connect(function(hit, distance)
- if hit.Name == "HumanoidRootPart" and hit.Parent:FindFirstChild("Humanoid") then
- OnExplosionHit(hit.Parent, distance, Object.Position)
- end
- end)
- local Children = Object:GetChildren()
- for i=1,#Children do
- if Children[i]:IsA("ParticleEmitter") then
- Children[i].Enabled = false
- end
- end
- wait(.05)
- Object.Explosion.LightEmission = 0
- Object.Explosion.LightInfluence = 1
- Object.Explosion.Color = ColorSequence.new(Gray,Gray)
- Light:Destroy()
- wait(7.5)
- Object:Destroy()
- Object:Destroy()
- end
- --helpfully checks a table for a specific value
- function contains(t, v)
- for _, val in pairs(t) do
- if val == v then
- return true
- end
- end
- return false
- end
- --used by checkTeams
- function sameTeam(otherHuman)
- local player = Tag.Value
- local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
- if player and otherPlayer then
- if player == otherPlayer then
- return true
- end
- if otherPlayer.Neutral then
- return false
- end
- return player.TeamColor == otherPlayer.TeamColor
- end
- return false
- end
- function tagHuman(human)
- local tag = Tag:Clone()
- tag.Parent = human
- game:GetService("Debris"):AddItem(tag)
- end
- --use this to determine if you want this human to be harmed or not, returns boolean
- function checkTeams(otherHuman)
- return not (sameTeam(otherHuman) and not FriendlyFire==true)
- end
- function boom()
- Used = true
- wait (1)
- Object.Anchored = true
- Object.CanCollide = false
- Object.Sparks.Enabled = false
- Object.Orientation = Vector3.new(0,0,0)
- Object.Transparency = 1
- Object.Fuse:Stop()
- Object.Explode:Play()
- Object.Explosion:Emit(100)
- Object.ParticleEmitter:Emit(25)
- Object.ParticleEmitter2:Emit(100)
- Object.chidoriParticle1:Emit(100)
- Explode()
- end
- Object.Touched:Connect(function(part)
- if Used == true or part.Name == "Handle" then return end
- if part:IsDescendantOf(Tag.Value.Character) then return end
- if part.Parent then
- if part.Parent:FindFirstChild("Humanoid") then
- local human = part.Parent.Humanoid
- if checkTeams(human) then
- tagHuman(human)
- human:TakeDamage(Damage)
- end
- end
- Used = true
- Object.Impact:Play()
- Object.Velocity = Vector3.new(Object.Velocity.x/10,Object.Velocity.y/10,Object.Velocity.z/10)
- Object.RotVelocity = Vector3.new(Object.RotVelocity.x/10,Object.RotVelocity.y/10,Object.RotVelocity.z/10)
- game:GetService("Debris"):AddItem(Object, 10)
- end
- end)
- boom()
- end))
- BoolValue286.Name = "FriendlyFire"
- BoolValue286.Parent = Script285
- BoolValue286.Value = true
- NumberValue287.Name = "Damage"
- NumberValue287.Parent = Script285
- NumberValue287.Value = 200
- LocalScript288.Name = "Client"
- LocalScript288.Parent = Tool277
- table.insert(cors,sandbox(LocalScript288,function()
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Tracks = {}
- local InputType = Enum.UserInputType
- local IsEquipped = false
- local BeganConnection, EndedConnection
- function playAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Play()
- else
- local anim = Tool:FindFirstChild(animName)
- if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
- Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
- playAnimation(animName)
- end
- end
- end
- function stopAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Stop()
- end
- end
- function inputBegan(input)
- if input.UserInputType == InputType.MouseButton1 then
- playAnimation("Animation")
- wait(.6)
- local lp = game.Players.LocalPlayer
- local ms = lp:GetMouse()
- if not IsEquipped then return end
- Remote:FireServer(ms.Hit)
- end
- end
- function onEquip()
- BeganConnection = UIS.InputBegan:connect(inputBegan)
- IsEquipped = true
- end
- function onUnequip()
- if BeganConnection then
- BeganConnection:disconnect()
- BeganConnection = nil
- IsEquipped = false
- end
- end
- Tool.Equipped:connect(onEquip)
- Tool.Unequipped:connect(onUnequip)
- end))
- MeshPart289.Name = "Handle"
- MeshPart289.Parent = Tool277
- MeshPart289.CFrame = CFrame.new(131.945908, 4.83313084, -4.02122784, -0.0295733847, -0.999519646, 0.00926280022, 0.999491811, -0.0296803191, -0.0116281528, 0.0118974894, 0.00891420711, 0.999889493)
- MeshPart289.Orientation = Vector3.new(0.670000017, 0.529999971, 91.6999969)
- MeshPart289.Position = Vector3.new(131.945908, 4.83313084, -4.02122784)
- MeshPart289.Rotation = Vector3.new(0.670000017, 0.529999971, 91.6900024)
- MeshPart289.Size = Vector3.new(0.701855004, 1.20635474, 0.701854944)
- MeshPart289.Material = Enum.Material.Metal
- MeshPart289.TextureID = "rbxassetid://869572342"
- Sound290.Name = "Explode"
- Sound290.Parent = MeshPart289
- Sound290.MaxDistance = 100000
- Sound290.EmitterSize = 100
- Sound290.MinDistance = 100
- Sound290.SoundId = "rbxassetid://280458062"
- Sound290.Volume = 10
- DistortionSoundEffect291.Parent = Sound290
- DistortionSoundEffect291.Level = 0.25
- Sound292.Name = "Fuse"
- Sound292.Parent = MeshPart289
- Sound292.MaxDistance = 128
- Sound292.SoundId = "rbxassetid://258663838"
- Sound292.Volume = 3
- Sound293.Name = "Impact"
- Sound293.Parent = MeshPart289
- Sound293.MaxDistance = 150
- Sound293.Pitch = 1.5
- Sound293.PlaybackSpeed = 1.5
- Sound293.SoundId = "rbxassetid://214755079"
- Sound294.Name = "Swing"
- Sound294.Parent = MeshPart289
- Sound294.MaxDistance = 50
- Sound294.SoundId = "rbxassetid://231425197"
- Sound294.Volume = 5
- ParticleEmitter295.Name = "Sparks"
- ParticleEmitter295.Parent = MeshPart289
- ParticleEmitter295.Speed = NumberRange.new(25, 50)
- ParticleEmitter295.Color = ColorSequence.new(Color3.new(1, 0.94902, 0.560784),Color3.new(1, 0.94902, 0.560784))
- ParticleEmitter295.Enabled = false
- ParticleEmitter295.LightEmission = 1
- ParticleEmitter295.Transparency = NumberSequence.new(1,0,0.5,0.75,0.875,1)
- ParticleEmitter295.ZOffset = -1
- ParticleEmitter295.Size = NumberSequence.new(0,0)
- ParticleEmitter295.Drag = 7.5
- ParticleEmitter295.Lifetime = NumberRange.new(3, 4)
- ParticleEmitter295.Rate = 1000
- ParticleEmitter295.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter295.VelocityInheritance = 0.25
- ParticleEmitter295.VelocitySpread = 180
- ParticleEmitter296.Name = "Explosion"
- ParticleEmitter296.Parent = MeshPart289
- ParticleEmitter296.Speed = NumberRange.new(10, 20)
- ParticleEmitter296.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter296.Color = ColorSequence.new(Color3.new(0.603922, 0.603922, 0.603922),Color3.new(0.603922, 0.603922, 0.603922))
- ParticleEmitter296.Enabled = false
- ParticleEmitter296.LightInfluence = 1
- ParticleEmitter296.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter296.Transparency = NumberSequence.new(1,0,0.27499997615814,0.80000001192093,1)
- ParticleEmitter296.ZOffset = -1
- ParticleEmitter296.Size = NumberSequence.new(4,2,5)
- ParticleEmitter296.Acceleration = Vector3.new(0, 7.5, 0)
- ParticleEmitter296.Drag = 2.5
- ParticleEmitter296.Lifetime = NumberRange.new(1, 7.5)
- ParticleEmitter296.Rate = 50
- ParticleEmitter296.RotSpeed = NumberRange.new(-22.5, 22.5)
- ParticleEmitter296.SpreadAngle = Vector2.new(135, 135)
- ParticleEmitter296.VelocityInheritance = 0.25
- ParticleEmitter296.VelocitySpread = 135
- ParticleEmitter297.Parent = MeshPart289
- ParticleEmitter297.Speed = NumberRange.new(0, 0)
- ParticleEmitter297.Rotation = NumberRange.new(0, 360)
- ParticleEmitter297.Color = ColorSequence.new(Color3.new(0.27451, 0.607843, 1),Color3.new(1, 1, 1))
- ParticleEmitter297.Enabled = false
- ParticleEmitter297.LightEmission = 1
- ParticleEmitter297.Texture = "http://www.roblox.com/asset/?id=243098098"
- ParticleEmitter297.Size = NumberSequence.new(1.0429447889328,3.3742332458496,0,3.3435583114624,0,3.3742332458496,0,3.6503071784973,0.030674934387207,3.7730062007904,0,3.8036811351776,0,3.8343560695648,0,3)
- ParticleEmitter297.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter297.Rate = 1000
- ParticleEmitter298.Name = "ParticleEmitter2"
- ParticleEmitter298.Parent = MeshPart289
- ParticleEmitter298.Speed = NumberRange.new(50, 50)
- ParticleEmitter298.Rotation = NumberRange.new(0, 360)
- ParticleEmitter298.Color = ColorSequence.new(Color3.new(0.27451, 0.607843, 1),Color3.new(1, 1, 1))
- ParticleEmitter298.Enabled = false
- ParticleEmitter298.LightEmission = 1
- ParticleEmitter298.Texture = "http://www.roblox.com/asset/?id=243098098"
- ParticleEmitter298.Size = NumberSequence.new(1.0429447889328,3.3742332458496,0,3.3435583114624,0,3.3742332458496,0,3.6503071784973,0.030674934387207,3.7730062007904,0,3.8036811351776,0,3.8343560695648,0,3)
- ParticleEmitter298.Lifetime = NumberRange.new(0.5, 0.5)
- ParticleEmitter298.Rate = 2000
- ParticleEmitter298.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter298.VelocitySpread = 360
- ParticleEmitter299.Name = "chidoriParticle1"
- ParticleEmitter299.Parent = MeshPart289
- ParticleEmitter299.Speed = NumberRange.new(150, 150)
- ParticleEmitter299.Color = ColorSequence.new(Color3.new(0.27451, 0.607843, 1),Color3.new(1, 1, 1))
- ParticleEmitter299.Enabled = false
- ParticleEmitter299.LightEmission = 1
- ParticleEmitter299.Texture = "http://www.roblox.com/asset/?id=243660373"
- ParticleEmitter299.Transparency = NumberSequence.new(1,0.5,0.5,1)
- ParticleEmitter299.Size = NumberSequence.new(4,4)
- ParticleEmitter299.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter299.Rate = 100
- ParticleEmitter299.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter299.VelocitySpread = 180
- Script300.Name = "PUT THIS IN THE WEAPON"
- Script300.Parent = Tool277
- table.insert(cors,sandbox(Script300,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Part301.Name = "Sign"
- Part301.Parent = Model0
- Part301.CFrame = CFrame.new(130.996307, 6.29166126, -2.19847488, -0.00928111654, 0.00532761775, 0.99994272, 0.0116433026, 0.99991864, -0.00521941949, -0.999889135, 0.011594194, -0.00934239104)
- Part301.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part301.Position = Vector3.new(130.996307, 6.29166126, -2.19847488)
- Part301.Rotation = Vector3.new(150.809998, 89.3899994, -150.139999)
- Part301.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part301.Transparency = 1
- Part301.Size = Vector3.new(3.02000451, 2, 0.0500000007)
- Part301.Anchored = true
- Part301.BrickColor = BrickColor.new("Sand red")
- Part301.CanCollide = false
- Part301.brickColor = BrickColor.new("Sand red")
- Part301.FormFactor = Enum.FormFactor.Symmetric
- Part301.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui302.Parent = Part301
- SurfaceGui302.CanvasSize = Vector2.new(200, 100)
- TextLabel303.Parent = SurfaceGui302
- TextLabel303.Size = UDim2.new(1, 0, 1, 0)
- TextLabel303.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel303.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel303.BackgroundTransparency = 1
- TextLabel303.Font = Enum.Font.SourceSansBold
- TextLabel303.FontSize = Enum.FontSize.Size48
- TextLabel303.Text = "touch for power cell"
- TextLabel303.TextColor = BrickColor.new("Institutional white")
- TextLabel303.TextColor3 = Color3.new(1, 1, 1)
- TextLabel303.TextScaled = true
- TextLabel303.TextSize = 48
- TextLabel303.TextStrokeTransparency = 0
- TextLabel303.TextWrap = true
- TextLabel303.TextWrapped = true
- Model304.Parent = Model0
- Part305.Name = "PUT THE WEAPON IN THIS BRICK"
- Part305.Parent = Model304
- Part305.CFrame = CFrame.new(130.62999, 4.89324713, -19.9835129, 0.999942899, 0.00529469736, 0.00928667001, -0.00518769957, 0.999920368, -0.0115080923, -0.00934686139, 0.0114592593, 0.999890685)
- Part305.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part305.Position = Vector3.new(130.62999, 4.89324713, -19.9835129)
- Part305.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part305.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part305.Size = Vector3.new(1, 1.20000005, 5)
- Part305.Anchored = true
- Part305.BrickColor = BrickColor.new("White")
- Part305.TopSurface = Enum.SurfaceType.Smooth
- Part305.brickColor = BrickColor.new("White")
- Tool306.Name = "Emergency Flare"
- Tool306.Parent = Part305
- Tool306.CanBeDropped = false
- Tool306.Grip = CFrame.new(0.125, -0.275000006, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool306.GripPos = Vector3.new(0.125, -0.275000006, 0)
- Tool306.ToolTip = "Fire Bomb"
- Animation307.Parent = Tool306
- Animation307.AnimationId = "rbxassetid://1051400366"
- RemoteEvent308.Name = "Remote"
- RemoteEvent308.Parent = Tool306
- MeshPart309.Name = "Handle"
- MeshPart309.Parent = Tool306
- MeshPart309.CFrame = CFrame.new(132.235565, 5.08960867, -19.9573593, -0.999952495, 0.00926482398, 0.00535157649, 0.00524554588, -0.0114327902, 0.999921143, 0.00932517741, 0.999901414, 0.0113836098)
- MeshPart309.Orientation = Vector3.new(-89.2799988, 25.1800003, 155.350006)
- MeshPart309.Position = Vector3.new(132.235565, 5.08960867, -19.9573593)
- MeshPart309.Rotation = Vector3.new(-89.3499985, 0.310000002, -179.470001)
- MeshPart309.Size = Vector3.new(0.317999989, 1.52999997, 0.312999994)
- MeshPart309.Material = Enum.Material.Ice
- MeshPart309.TextureID = "rbxassetid://436199403"
- Sound310.Name = "Explode"
- Sound310.Parent = MeshPart309
- Sound310.Looped = true
- Sound310.MaxDistance = 150
- Sound310.Pitch = 12
- Sound310.PlaybackSpeed = 12
- Sound310.SoundId = "rbxassetid://158853971"
- Sound310.Volume = 0.050000000745058
- Sound311.Name = "Swing"
- Sound311.Parent = MeshPart309
- Sound311.MaxDistance = 50
- Sound311.SoundId = "rbxassetid://626807593"
- Sound311.Volume = 0.10000000149012
- Sound312.Name = "Impact"
- Sound312.Parent = MeshPart309
- Sound312.MaxDistance = 150
- Sound312.Pitch = 1.5
- Sound312.PlaybackSpeed = 1.5
- Sound312.SoundId = "rbxassetid://214755079"
- Sound312.Volume = 0.25
- ParticleEmitter313.Name = "Flames"
- ParticleEmitter313.Parent = MeshPart309
- ParticleEmitter313.Speed = NumberRange.new(0.25, 0.75)
- ParticleEmitter313.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter313.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0))
- ParticleEmitter313.Enabled = false
- ParticleEmitter313.LightEmission = 0.80000001192093
- ParticleEmitter313.Texture = "rbxassetid://522606102"
- ParticleEmitter313.Transparency = NumberSequence.new(1,0.25,0,0,1)
- ParticleEmitter313.Size = NumberSequence.new(0,0)
- ParticleEmitter313.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter313.Lifetime = NumberRange.new(0.5, 1)
- ParticleEmitter313.Rate = 12.5
- ParticleEmitter313.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter313.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter313.VelocityInheritance = 0.25
- ParticleEmitter313.VelocitySpread = 180
- ParticleEmitter314.Name = "Explosion"
- ParticleEmitter314.Parent = MeshPart309
- ParticleEmitter314.Speed = NumberRange.new(10, 15)
- ParticleEmitter314.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter314.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0))
- ParticleEmitter314.Enabled = false
- ParticleEmitter314.LightEmission = 0.80000001192093
- ParticleEmitter314.Texture = "rbxassetid://522606102"
- ParticleEmitter314.Transparency = NumberSequence.new(1,0.25,0,0,1)
- ParticleEmitter314.Size = NumberSequence.new(0.375,2,2.5,2,0.25)
- ParticleEmitter314.Acceleration = Vector3.new(0, -2.5, 0)
- ParticleEmitter314.Lifetime = NumberRange.new(0.75, 1.25)
- ParticleEmitter314.LockedToPart = true
- ParticleEmitter314.Rate = 25
- ParticleEmitter314.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter314.SpreadAngle = Vector2.new(90, 90)
- ParticleEmitter314.VelocityInheritance = 0.25
- ParticleEmitter314.VelocitySpread = 90
- ParticleEmitter315.Name = "Sparks"
- ParticleEmitter315.Parent = MeshPart309
- ParticleEmitter315.Speed = NumberRange.new(4, 4)
- ParticleEmitter315.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter315.Color = ColorSequence.new(Color3.new(1, 0.0784314, 0.0784314),Color3.new(1, 0.0784314, 0.0784314))
- ParticleEmitter315.Enabled = false
- ParticleEmitter315.LightEmission = 1
- ParticleEmitter315.Texture = "rbxassetid://522606102"
- ParticleEmitter315.Size = NumberSequence.new(0,1.25,1.6249996423721,0)
- ParticleEmitter315.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter315.Lifetime = NumberRange.new(1, 1.25)
- ParticleEmitter315.Rate = 30
- ParticleEmitter315.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter315.SpreadAngle = Vector2.new(10, 10)
- ParticleEmitter315.VelocityInheritance = 0.25
- ParticleEmitter315.VelocitySpread = 10
- PointLight316.Parent = MeshPart309
- PointLight316.Color = Color3.new(1, 0, 0)
- PointLight316.Enabled = false
- PointLight316.Range = 16
- PointLight316.Brightness = 15
- PointLight316.Shadows = true
- Script317.Name = "Server"
- Script317.Parent = Tool306
- table.insert(cors,sandbox(Script317,function()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Handle = Tool:WaitForChild("Handle")
- local DamageScript = script:WaitForChild("Damage")
- local Config = Tool:WaitForChild("Config")
- local Heartbeat = game:GetService("RunService").Heartbeat
- local FriendlyFire = Config.Teamkill.Value
- local LeftDown = false
- local AttackAble = true
- local AttackVelocity = Config.Velocity.Value
- local AttackDamage = Config.Damage.Value
- local Character = nil
- local Humanoid = nil
- --returns the wielding player of this tool
- function getPlayer()
- local char = Tool.Parent
- return game:GetService("Players"):GetPlayerFromCharacter(Character)
- end
- function Toss(direction)
- local OriginalWalkSpeed = Humanoid.WalkSpeed
- OriginalWalkSpeed = OriginalWalkSpeed
- Humanoid.WalkSpeed = 0
- local handlePos = Vector3.new(Tool.Handle.Position.X, 0, Tool.Handle.Position.Z)
- local spawnPos = Character.Head.Position
- spawnPos = spawnPos + (direction * 5)
- Tool.Handle.Transparency = 1
- local Object = Tool.Handle:Clone()
- Object.Parent = workspace
- Object.Transparency = 0
- Object.Swing.Pitch = math.random(90, 110)/100
- Object.Swing:Play()
- Object.CanCollide = true
- Object.CFrame = Tool.Handle.CFrame
- Object.Velocity = (direction*AttackVelocity) + Vector3.new(0,AttackVelocity/7.5,0)
- local rand = 11.25
- Object.RotVelocity = Vector3.new(math.random(-rand,rand),math.random(-rand,rand),math.random(-rand,rand))
- Object:SetNetworkOwner(getPlayer())
- local ScriptClone = DamageScript:Clone()
- ScriptClone.FriendlyFire.Value = FriendlyFire
- ScriptClone.Damage.Value = AttackDamage
- ScriptClone.Parent = Object
- ScriptClone.Disabled = false
- local tag = Instance.new("ObjectValue")
- tag.Value = getPlayer()
- tag.Name = "creator"
- tag.Parent = Object
- Humanoid.WalkSpeed = OriginalWalkSpeed
- Tool:Destroy()
- end
- Remote.OnServerEvent:Connect(function(player, mousePosition)
- if not AttackAble then return end
- AttackAble = false
- if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Remote:FireClient(getPlayer(), "PlayAnimation", "Animation")
- end
- local targetPos = mousePosition.p
- local lookAt = (targetPos - Character.Head.Position).unit
- Toss(lookAt)
- LeftDown = true
- end)
- function onLeftUp()
- LeftDown = false
- end
- Tool.Equipped:Connect(function()
- Character = Tool.Parent
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- end)
- Tool.Unequipped:Connect(function()
- Character = nil
- Humanoid = nil
- end)
- end))
- Script318.Name = "Damage"
- Script318.Parent = Script317
- table.insert(cors,sandbox(Script318,function()
- local Object = script.Parent
- local Used = false
- local DPS = 0
- local Time = 60
- local Radius = 0
- local Damage = script:WaitForChild("Damage").Value
- local FriendlyFire = script:WaitForChild("FriendlyFire").Value
- local Tag = Object:WaitForChild("creator")
- function Explode()
- Object.Flames.Enabled = false
- Object.Sparks.Enabled = false
- local part = Instance.new("Part")
- part.Name = "FlameArea"
- local Pos = Object.Position
- Pos=Pos
- local Point1 = Pos+Vector3.new(-Radius/2,-Radius/8,-Radius/2)
- local Point2 = Pos+Vector3.new(Radius/2,Radius/8,Radius/2)
- local FireRegion = Region3.new(Point1,Point2)
- part.Anchored = true
- part.CanCollide = false
- part.Size = Vector3.new(Radius,Radius/5,Radius)
- part.CFrame = Object.CFrame
- part.Orientation = Vector3.new(0,0,0)
- part.Transparency = 0
- local Particles = script.Particles:GetChildren()
- for i=1,#Particles do
- Particles[i].Parent = part
- Particles[i].Enabled = true
- end
- part.Parent = workspace
- wait(1)
- Object.BurningSound:Stop()
- Object.PointLight.Enabled = false
- Object.Sparks.Enabled = false
- local Children = part:GetChildren()
- for i=1,#Children do
- if Children[i]:IsA("ParticleEmitter") then
- Children[i].Enabled = false
- end
- end
- wait(3)
- part:Destroy()
- Object:Destroy()
- end
- --helpfully checks a table for a specific value
- function contains(t, v)
- for _, val in pairs(t) do
- if val == v then
- return true
- end
- end
- return false
- end
- --used by checkTeams
- function sameTeam(otherHuman)
- local player = Tag.Value
- local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
- if player and otherPlayer then
- if player == otherPlayer then
- return true
- end
- if otherPlayer.Neutral then
- return false
- end
- return player.TeamColor == otherPlayer.TeamColor
- end
- return false
- end
- function tagHuman(human)
- local tag = Tag:Clone()
- tag.Parent = human
- game:GetService("Debris"):AddItem(tag)
- end
- --use this to determine if you want this human to be harmed or not, returns boolean
- function checkTeams(otherHuman)
- return not (sameTeam(otherHuman) and not FriendlyFire==true)
- end
- function burn()
- Used = true
- Object.Impact:Play()
- Object.Explode:Play()
- Object.Sparks.Enabled = true
- Object.Orientation = Vector3.new(90,0,0)
- Object.Velocity = Vector3.new(0,0,0)
- Object.RotVelocity = Vector3.new(0,0,0)
- Object.CanCollide = true
- Object.Anchored = true
- Object.PointLight.Enabled = true
- wait(25)
- Explode()
- end
- Object.Touched:Connect(function(part)
- if Used == true or part.Name == "Handle" then return end
- if part:IsDescendantOf(Tag.Value.Character) then return end
- if part.Parent then
- if part.Parent:FindFirstChild("Humanoid") then
- local human = part.Parent.Humanoid
- if checkTeams(human) then
- tagHuman(human)
- human:TakeDamage(Damage)
- end
- burn()
- else
- burn()
- end
- game:GetService("Debris"):AddItem(Object, 10)
- end
- end)
- end))
- Script318.Disabled = true
- BoolValue319.Name = "FriendlyFire"
- BoolValue319.Parent = Script318
- NumberValue320.Name = "Damage"
- NumberValue320.Parent = Script318
- Folder321.Name = "Particles"
- Folder321.Parent = Script318
- ParticleEmitter322.Name = "Smoke"
- ParticleEmitter322.Parent = Folder321
- ParticleEmitter322.Speed = NumberRange.new(1, 1)
- ParticleEmitter322.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter322.Color = ColorSequence.new(Color3.new(0.384314, 0.352941, 0.341176),Color3.new(0.384314, 0.352941, 0.341176))
- ParticleEmitter322.Enabled = false
- ParticleEmitter322.LightInfluence = 1
- ParticleEmitter322.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter322.Transparency = NumberSequence.new(1,0.25499999523163,0,0.25,1)
- ParticleEmitter322.ZOffset = -0.5
- ParticleEmitter322.Size = NumberSequence.new(0,0)
- ParticleEmitter322.Acceleration = Vector3.new(0.125, 1, 0.25)
- ParticleEmitter322.Lifetime = NumberRange.new(7.5, 10)
- ParticleEmitter322.Rate = 8
- ParticleEmitter322.RotSpeed = NumberRange.new(-22.5, 22.5)
- ParticleEmitter322.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter322.VelocityInheritance = 0.25
- ParticleEmitter322.VelocitySpread = 180
- ParticleEmitter323.Name = "Flames"
- ParticleEmitter323.Parent = Folder321
- ParticleEmitter323.Speed = NumberRange.new(0.25, 0.75)
- ParticleEmitter323.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter323.Color = ColorSequence.new(Color3.new(1, 0.752941, 0.34902),Color3.new(1, 0.176471, 0.0313726))
- ParticleEmitter323.Enabled = false
- ParticleEmitter323.LightEmission = 0.80000001192093
- ParticleEmitter323.Texture = "rbxassetid://522606102"
- ParticleEmitter323.Transparency = NumberSequence.new(1,0.25,0,0,1)
- ParticleEmitter323.Size = NumberSequence.new(0,0)
- ParticleEmitter323.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter323.Lifetime = NumberRange.new(1.5, 3.75)
- ParticleEmitter323.Rate = 37.5
- ParticleEmitter323.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter323.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter323.VelocityInheritance = 0.25
- ParticleEmitter323.VelocitySpread = 180
- ParticleEmitter324.Name = "Sparks"
- ParticleEmitter324.Parent = Folder321
- ParticleEmitter324.Speed = NumberRange.new(4, 4)
- ParticleEmitter324.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter324.Color = ColorSequence.new(Color3.new(1, 0.0784314, 0.0784314),Color3.new(1, 0.0784314, 0.0784314))
- ParticleEmitter324.Enabled = false
- ParticleEmitter324.LightEmission = 1
- ParticleEmitter324.Texture = "rbxassetid://522606102"
- ParticleEmitter324.Size = NumberSequence.new(0,1.25,1.6249996423721,0)
- ParticleEmitter324.Acceleration = Vector3.new(0, 3.75, 0)
- ParticleEmitter324.Lifetime = NumberRange.new(1, 1.25)
- ParticleEmitter324.Rate = 30
- ParticleEmitter324.RotSpeed = NumberRange.new(-180, 180)
- ParticleEmitter324.SpreadAngle = Vector2.new(10, 10)
- ParticleEmitter324.VelocityInheritance = 0.25
- ParticleEmitter324.VelocitySpread = 10
- Configuration325.Name = "Config"
- Configuration325.Parent = Tool306
- NumberValue326.Name = "Damage"
- NumberValue326.Parent = Configuration325
- NumberValue327.Name = "Velocity"
- NumberValue327.Parent = Configuration325
- NumberValue327.Value = 50
- BoolValue328.Name = "Teamkill"
- BoolValue328.Parent = Configuration325
- LocalScript329.Name = "Client"
- LocalScript329.Parent = Tool306
- table.insert(cors,sandbox(LocalScript329,function()
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Tracks = {}
- local InputType = Enum.UserInputType
- local IsEquipped = false
- local BeganConnection, EndedConnection
- function playAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Play()
- else
- local anim = Tool:FindFirstChild(animName)
- if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
- Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
- playAnimation(animName)
- end
- end
- end
- function stopAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Stop()
- end
- end
- function inputBegan(input)
- if input.UserInputType == InputType.MouseButton1 then
- playAnimation("Animation")
- wait(.6)
- local lp = game.Players.LocalPlayer
- local ms = lp:GetMouse()
- if not IsEquipped then return end
- Remote:FireServer(ms.Hit)
- end
- end
- function onEquip()
- BeganConnection = UIS.InputBegan:connect(inputBegan)
- IsEquipped = true
- end
- function onUnequip()
- if BeganConnection then
- BeganConnection:disconnect()
- BeganConnection = nil
- IsEquipped = false
- end
- end
- Tool.Equipped:connect(onEquip)
- Tool.Unequipped:connect(onUnequip)
- end))
- Script330.Name = "PUT THIS IN THE WEAPON"
- Script330.Parent = Tool306
- table.insert(cors,sandbox(Script330,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Script331.Name = "READ ME FOR INSTRUCTIONS"
- Script331.Parent = Model304
- table.insert(cors,sandbox(Script331,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Part332.Name = "e"
- Part332.Parent = Model304
- Part332.CFrame = CFrame.new(132.481873, 4.85652018, -17.6308212, 0.999942899, 0.00529471179, 0.00928669423, -0.00518771401, 0.999920368, -0.0115080643, -0.00934688561, 0.0114592304, 0.999890685)
- Part332.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part332.Position = Vector3.new(132.481873, 4.85652018, -17.6308212)
- Part332.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part332.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part332.Size = Vector3.new(2.68000007, 1.20000005, 0.260000497)
- Part332.Anchored = true
- Part332.BrickColor = BrickColor.new("White")
- Part332.Reflectance = 1
- Part332.TopSurface = Enum.SurfaceType.Smooth
- Part332.brickColor = BrickColor.new("White")
- Part333.Name = "e"
- Part333.Parent = Model304
- Part333.CFrame = CFrame.new(132.437683, 4.9111867, -22.387928, 0.999942899, 0.00529471179, 0.00928669423, -0.00518771401, 0.999920368, -0.0115080643, -0.00934688561, 0.0114592304, 0.999890685)
- Part333.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part333.Position = Vector3.new(132.437683, 4.9111867, -22.387928)
- Part333.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part333.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part333.Size = Vector3.new(2.68000007, 1.20000005, 0.240000486)
- Part333.Anchored = true
- Part333.BrickColor = BrickColor.new("White")
- Part333.Reflectance = 1
- Part333.TopSurface = Enum.SurfaceType.Smooth
- Part333.brickColor = BrickColor.new("White")
- Part334.Name = "e"
- Part334.Parent = Model304
- Part334.CFrame = CFrame.new(133.870132, 4.8760066, -19.9763184, 0.999942899, 0.00529471179, 0.00928669423, -0.00518771401, 0.999920368, -0.0115080643, -0.00934688561, 0.0114592304, 0.999890685)
- Part334.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part334.Position = Vector3.new(133.870132, 4.8760066, -19.9763184)
- Part334.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part334.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part334.Size = Vector3.new(0.24000001, 1.20000005, 5.13000488)
- Part334.Anchored = true
- Part334.BrickColor = BrickColor.new("White")
- Part334.Reflectance = 1
- Part334.TopSurface = Enum.SurfaceType.Smooth
- Part334.brickColor = BrickColor.new("White")
- Part335.Name = "e"
- Part335.Parent = Model304
- Part335.CFrame = CFrame.new(132.55217, 4.30785561, -19.9706001, 0.999942899, 0.00529471179, 0.00928659923, -0.00518771494, 0.999920368, -0.0115080634, -0.00934679061, 0.0114592304, 0.999890685)
- Part335.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part335.Position = Vector3.new(132.55217, 4.30785561, -19.9706001)
- Part335.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part335.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part335.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part335.Anchored = true
- Part335.BrickColor = BrickColor.new("White")
- Part335.Reflectance = 1
- Part335.TopSurface = Enum.SurfaceType.Smooth
- Part335.brickColor = BrickColor.new("White")
- Part336.Name = "e"
- Part336.Parent = Model304
- Part336.CFrame = CFrame.new(132.558533, 5.51252222, -19.9568062, 0.999942899, 0.00529471179, 0.00928659923, -0.00518771494, 0.999920368, -0.0115080634, -0.00934679061, 0.0114592304, 0.999890685)
- Part336.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part336.Position = Vector3.new(132.558533, 5.51252222, -19.9568062)
- Part336.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part336.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part336.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part336.Anchored = true
- Part336.BrickColor = BrickColor.new("White")
- Part336.Reflectance = 1
- Part336.TopSurface = Enum.SurfaceType.Smooth
- Part336.brickColor = BrickColor.new("White")
- Model337.Parent = Model0
- Part338.Name = "PUT THE WEAPON IN THIS BRICK"
- Part338.Parent = Model337
- Part338.CFrame = CFrame.new(130.685577, 4.82332087, -13.9841185, 0.999942899, 0.00529469736, 0.00928667001, -0.00518769957, 0.999920368, -0.0115080923, -0.00934686139, 0.0114592593, 0.999890685)
- Part338.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part338.Position = Vector3.new(130.685577, 4.82332087, -13.9841185)
- Part338.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part338.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part338.Size = Vector3.new(1, 1.20000005, 5)
- Part338.Anchored = true
- Part338.BrickColor = BrickColor.new("White")
- Part338.TopSurface = Enum.SurfaceType.Smooth
- Part338.brickColor = BrickColor.new("White")
- Tool339.Name = "Defective Firework"
- Tool339.Parent = Part338
- Tool339.CanBeDropped = false
- Tool339.Grip = CFrame.new(0.0811338425, -0.0370239317, 0.126978517, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool339.GripPos = Vector3.new(0.0811338425, -0.0370239317, 0.126978517)
- Tool339.ToolTip = "Explosive"
- Animation340.Parent = Tool339
- Animation340.AnimationId = "rbxassetid://1051400366"
- RemoteEvent341.Name = "Remote"
- RemoteEvent341.Parent = Tool339
- MeshPart342.Name = "Handle"
- MeshPart342.Parent = Tool339
- MeshPart342.CFrame = CFrame.new(132.534683, 4.84984207, -14.7365122, 0.00902549829, 0.0295538343, 0.999522448, -0.011692672, -0.999491692, 0.0296585076, 0.999890924, -0.0119547695, -0.00867534522)
- MeshPart342.Orientation = Vector3.new(-1.70000005, 90.5, -179.330002)
- MeshPart342.Position = Vector3.new(132.534683, 4.84984207, -14.7365122)
- MeshPart342.Rotation = Vector3.new(-106.300003, 88.2300034, -73.0199966)
- MeshPart342.Size = Vector3.new(0.472407997, 0.472407997, 2.41158509)
- MeshPart342.CustomPhysicalProperties = 7.8499999, 2, 0.25, 1, 1
- MeshPart342.Material = Enum.Material.Metal
- MeshPart342.TextureID = "rbxassetid://29931503"
- Sound343.Name = "Impact"
- Sound343.Parent = MeshPart342
- Sound343.MaxDistance = 150
- Sound343.Pitch = 0.60000002384186
- Sound343.PlaybackSpeed = 0.60000002384186
- Sound343.SoundId = "rbxassetid://214755079"
- Sound344.Name = "Fuse"
- Sound344.Parent = MeshPart342
- Sound344.MaxDistance = 128
- Sound344.Pitch = 2
- Sound344.PlaybackSpeed = 2
- Sound344.SoundId = "rbxassetid://138931042"
- Sound344.Volume = 0.125
- ParticleEmitter345.Name = "Sparks"
- ParticleEmitter345.Parent = MeshPart342
- ParticleEmitter345.Speed = NumberRange.new(25, 25)
- ParticleEmitter345.Color = ColorSequence.new(Color3.new(1, 0.756863, 0.411765),Color3.new(1, 0.756863, 0.411765))
- ParticleEmitter345.Enabled = false
- ParticleEmitter345.LightEmission = 1
- ParticleEmitter345.Transparency = NumberSequence.new(1,0,0.5,0.75,0.875,1)
- ParticleEmitter345.ZOffset = -1
- ParticleEmitter345.Size = NumberSequence.new(0.25,0)
- ParticleEmitter345.Drag = 7.5
- ParticleEmitter345.Lifetime = NumberRange.new(0.5, 0.625)
- ParticleEmitter345.Rate = 50
- ParticleEmitter345.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter345.VelocityInheritance = 0.25
- ParticleEmitter345.VelocitySpread = 180
- Sound346.Name = "Explode"
- Sound346.Parent = MeshPart342
- Sound346.MaxDistance = 100000
- Sound346.EmitterSize = 100
- Sound346.MinDistance = 100
- Sound346.Pitch = 1.5
- Sound346.PlaybackSpeed = 1.5
- Sound346.SoundId = "rbxassetid://242458749"
- Sound346.Volume = 5
- Sound347.Name = "Swing"
- Sound347.Parent = MeshPart342
- Sound347.MaxDistance = 50
- Sound347.Pitch = 1.75
- Sound347.PlaybackSpeed = 1.75
- Sound347.SoundId = "rbxassetid://231425197"
- Sound347.Volume = 1.5
- ParticleEmitter348.Name = "Explosion"
- ParticleEmitter348.Parent = MeshPart342
- ParticleEmitter348.Speed = NumberRange.new(25, 75)
- ParticleEmitter348.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter348.Color = ColorSequence.new(Color3.new(0.819608, 0.45098, 0),Color3.new(0.819608, 0.45098, 0))
- ParticleEmitter348.Enabled = false
- ParticleEmitter348.LightEmission = 1
- ParticleEmitter348.LightInfluence = 1
- ParticleEmitter348.Texture = "rbxassetid://1082139505"
- ParticleEmitter348.Transparency = NumberSequence.new(1,0,0.27499997615814,0.80000001192093,1)
- ParticleEmitter348.ZOffset = -1
- ParticleEmitter348.Size = NumberSequence.new(2.1249997615814,0.99999964237213,0.87499976158142,3.3125)
- ParticleEmitter348.Drag = 2.5
- ParticleEmitter348.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter348.Rate = 99999
- ParticleEmitter348.RotSpeed = NumberRange.new(-22.5, 22.5)
- ParticleEmitter348.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter348.VelocityInheritance = 0.25
- ParticleEmitter348.VelocitySpread = 360
- Configuration349.Name = "Config"
- Configuration349.Parent = Tool339
- NumberValue350.Name = "Damage"
- NumberValue350.Parent = Configuration349
- NumberValue350.Value = 75
- NumberValue351.Name = "Velocity"
- NumberValue351.Parent = Configuration349
- NumberValue351.Value = 200
- BoolValue352.Name = "Teamkill"
- BoolValue352.Parent = Configuration349
- BoolValue352.Value = true
- Script353.Name = "Server"
- Script353.Parent = Tool339
- table.insert(cors,sandbox(Script353,function()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Handle = Tool:WaitForChild("Handle")
- local DamageScript = script:WaitForChild("Damage")
- local Config = Tool:WaitForChild("Config")
- local Heartbeat = game:GetService("RunService").Heartbeat
- local FriendlyFire = Config.Teamkill.Value
- local LeftDown = false
- local AttackAble = true
- local AttackVelocity = Config.Velocity.Value
- local AttackDamage = Config.Damage.Value
- local Character = nil
- local Humanoid = nil
- --returns the wielding player of this tool
- function getPlayer()
- local char = Tool.Parent
- return game:GetService("Players"):GetPlayerFromCharacter(Character)
- end
- function Toss(direction)
- local OriginalWalkSpeed = Humanoid.WalkSpeed
- OriginalWalkSpeed = OriginalWalkSpeed
- Humanoid.WalkSpeed = 0
- local handlePos = Vector3.new(Tool.Handle.Position.X, 0, Tool.Handle.Position.Z)
- local spawnPos = Character.Head.Position
- spawnPos = spawnPos + (direction * 5)
- Tool.Handle.Transparency = 1
- local Object = Tool.Handle:Clone()
- Object.Parent = workspace
- Object.Transparency = 0
- Object.Swing.Pitch = math.random(90, 110)/100
- Object.Swing:Play()
- Object.CanCollide = true
- Object.CFrame = Tool.Handle.CFrame
- Object.Velocity = (direction*AttackVelocity) + Vector3.new(0,AttackVelocity/7.5,0)
- Object.Fuse:Play()
- Object.Sparks.Enabled = true
- local rand = 11.25
- Object.RotVelocity = Vector3.new(math.random(-rand,rand),math.random(-rand,rand),math.random(-rand,rand))
- Object:SetNetworkOwner(getPlayer())
- local ScriptClone = DamageScript:Clone()
- ScriptClone.FriendlyFire.Value = FriendlyFire
- ScriptClone.Damage.Value = AttackDamage
- ScriptClone.Parent = Object
- ScriptClone.Disabled = false
- local tag = Instance.new("ObjectValue")
- tag.Value = getPlayer()
- tag.Name = "creator"
- tag.Parent = Object
- Humanoid.WalkSpeed = OriginalWalkSpeed
- Tool:Destroy()
- end
- Remote.OnServerEvent:Connect(function(player, mousePosition)
- if not AttackAble then return end
- AttackAble = false
- if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Remote:FireClient(getPlayer(), "PlayAnimation", "Animation")
- end
- local targetPos = mousePosition.p
- local lookAt = (targetPos - Character.Head.Position).unit
- Toss(lookAt)
- LeftDown = true
- end)
- function onLeftUp()
- LeftDown = false
- end
- Tool.Equipped:Connect(function()
- Character = Tool.Parent
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- end)
- Tool.Unequipped:Connect(function()
- Character = nil
- Humanoid = nil
- end)
- end))
- Script354.Name = "Damage"
- Script354.Parent = Script353
- table.insert(cors,sandbox(Script354,function()
- local Object = script.Parent
- local Used = false
- local SplashDamage = 75
- local Radius = 5
- local Damage = script:WaitForChild("Damage").Value
- local FriendlyFire = script:WaitForChild("FriendlyFire").Value
- local Tag = Object:WaitForChild("creator")
- local Debris = game:GetService("Debris")
- function OnExplosionHit(Character, hitDistance, blastCenter)
- local Humanoid = Character:FindFirstChild("Humanoid")
- if hitDistance and blastCenter then
- local DistanceFactor = hitDistance/Radius
- DistanceFactor = 1-DistanceFactor
- if Humanoid then
- if Humanoid.Health > 0 then
- local HitDamage = DistanceFactor*SplashDamage
- print(HitDamage)
- Humanoid:TakeDamage(HitDamage)
- end
- end
- end
- end
- function Explode()
- local Orange = Color3.fromRGB(209, 115, 0)
- local Gray = Color3.fromRGB(255, 255, 255)
- Object.Explosion.LightEmission = 1
- Object.Explosion.LightInfluence = 0
- Object.Explosion.Color = ColorSequence.new(Orange,Orange)
- local Light = Instance.new("PointLight")
- Light.Color = Color3.fromRGB(255, 233, 187)
- Light.Brightness = 1
- Light.Range = 30
- Light.Shadows = true
- Light.Parent = Object
- local Explosion = Instance.new("Explosion")
- Explosion.BlastRadius = Radius*3
- Explosion.BlastPressure = 50
- Explosion.Position = Object.Position
- Explosion.Parent = Object
- Explosion.Visible = false
- Explosion.Hit:Connect(function(hit, distance)
- if hit.Name == "HumanoidRootPart" and hit.Parent:FindFirstChild("Humanoid") then
- OnExplosionHit(hit.Parent, distance, Object.Position)
- end
- end)
- local Children = Object:GetChildren()
- for i=1,#Children do
- if Children[i]:IsA("ParticleEmitter") then
- Children[i].Enabled = false
- end
- end
- wait(.05)
- Object.Explosion.LightEmission = 0
- Object.Explosion.LightInfluence = 1
- Object.Explosion.Color = ColorSequence.new(Gray,Gray)
- Light:Destroy()
- wait(7.5)
- Object:Destroy()
- Object:Destroy()
- end
- --helpfully checks a table for a specific value
- function contains(t, v)
- for _, val in pairs(t) do
- if val == v then
- return true
- end
- end
- return false
- end
- --used by checkTeams
- function sameTeam(otherHuman)
- local player = Tag.Value
- local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
- if player and otherPlayer then
- if player == otherPlayer then
- return true
- end
- if otherPlayer.Neutral then
- return false
- end
- return player.TeamColor == otherPlayer.TeamColor
- end
- return false
- end
- function tagHuman(human)
- local tag = Tag:Clone()
- tag.Parent = human
- game:GetService("Debris"):AddItem(tag)
- end
- --use this to determine if you want this human to be harmed or not, returns boolean
- function checkTeams(otherHuman)
- return not (sameTeam(otherHuman) and not FriendlyFire==true)
- end
- function boom()
- wait(3)
- Used = true
- Object.Anchored = true
- Object.CanCollide = false
- Object.Sparks.Enabled = false
- Object.Orientation = Vector3.new(0,0,0)
- Object.Transparency = 1
- Object.Fuse:Stop()
- Object.Explode:Play()
- Object.Explosion:Emit(100)
- Explode()
- end
- Object.Touched:Connect(function(part)
- if Used == true or part.Name == "Handle" then return end
- if part:IsDescendantOf(Tag.Value.Character) then return end
- if part.Parent then
- if part.Parent:FindFirstChild("Humanoid") then
- local human = part.Parent.Humanoid
- if checkTeams(human) then
- tagHuman(human)
- human:TakeDamage(Damage)
- end
- end
- Used = true
- Object.Impact:Play()
- Object.Velocity = Vector3.new(Object.Velocity.x/10,Object.Velocity.y/10,Object.Velocity.z/10)
- Object.RotVelocity = Vector3.new(Object.RotVelocity.x/10,Object.RotVelocity.y/10,Object.RotVelocity.z/10)
- game:GetService("Debris"):AddItem(Object, 10)
- end
- end)
- boom()
- end))
- Script354.Disabled = true
- BoolValue355.Name = "FriendlyFire"
- BoolValue355.Parent = Script354
- BoolValue355.Value = true
- NumberValue356.Name = "Damage"
- NumberValue356.Parent = Script354
- NumberValue356.Value = 75
- LocalScript357.Name = "Client"
- LocalScript357.Parent = Tool339
- table.insert(cors,sandbox(LocalScript357,function()
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Tracks = {}
- local InputType = Enum.UserInputType
- local IsEquipped = false
- local BeganConnection, EndedConnection
- function playAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Play()
- else
- local anim = Tool:FindFirstChild(animName)
- if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
- Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
- playAnimation(animName)
- end
- end
- end
- function stopAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Stop()
- end
- end
- function inputBegan(input)
- if input.UserInputType == InputType.MouseButton1 then
- playAnimation("Animation")
- wait(.6)
- local lp = game.Players.LocalPlayer
- local ms = lp:GetMouse()
- if not IsEquipped then return end
- Remote:FireServer(ms.Hit)
- end
- end
- function onEquip()
- BeganConnection = UIS.InputBegan:connect(inputBegan)
- IsEquipped = true
- end
- function onUnequip()
- if BeganConnection then
- BeganConnection:disconnect()
- BeganConnection = nil
- IsEquipped = false
- end
- end
- Tool.Equipped:connect(onEquip)
- Tool.Unequipped:connect(onUnequip)
- end))
- Script358.Name = "PUT THIS IN THE WEAPON"
- Script358.Parent = Tool339
- table.insert(cors,sandbox(Script358,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Script359.Name = "READ ME FOR INSTRUCTIONS"
- Script359.Parent = Model337
- table.insert(cors,sandbox(Script359,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Part360.Name = "e"
- Part360.Parent = Model337
- Part360.CFrame = CFrame.new(132.537445, 4.78659248, -11.631423, 0.999942899, 0.00529471179, 0.00928669423, -0.00518771401, 0.999920368, -0.0115080643, -0.00934688561, 0.0114592304, 0.999890685)
- Part360.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part360.Position = Vector3.new(132.537445, 4.78659248, -11.631423)
- Part360.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part360.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part360.Size = Vector3.new(2.68000007, 1.20000005, 0.260000497)
- Part360.Anchored = true
- Part360.BrickColor = BrickColor.new("White")
- Part360.Reflectance = 1
- Part360.TopSurface = Enum.SurfaceType.Smooth
- Part360.brickColor = BrickColor.new("White")
- Part361.Name = "e"
- Part361.Parent = Model337
- Part361.CFrame = CFrame.new(132.493271, 4.84126282, -16.3885307, 0.999942899, 0.00529471179, 0.00928669423, -0.00518771401, 0.999920368, -0.0115080643, -0.00934688561, 0.0114592304, 0.999890685)
- Part361.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part361.Position = Vector3.new(132.493271, 4.84126282, -16.3885307)
- Part361.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part361.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part361.Size = Vector3.new(2.68000007, 1.20000005, 0.240000486)
- Part361.Anchored = true
- Part361.BrickColor = BrickColor.new("White")
- Part361.Reflectance = 1
- Part361.TopSurface = Enum.SurfaceType.Smooth
- Part361.brickColor = BrickColor.new("White")
- Part362.Name = "e"
- Part362.Parent = Model337
- Part362.CFrame = CFrame.new(133.92572, 4.80607986, -13.976922, 0.999942899, 0.00529471179, 0.00928669423, -0.00518771401, 0.999920368, -0.0115080643, -0.00934688561, 0.0114592304, 0.999890685)
- Part362.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part362.Position = Vector3.new(133.92572, 4.80607986, -13.976922)
- Part362.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part362.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part362.Size = Vector3.new(0.24000001, 1.20000005, 5.13000488)
- Part362.Anchored = true
- Part362.BrickColor = BrickColor.new("White")
- Part362.Reflectance = 1
- Part362.TopSurface = Enum.SurfaceType.Smooth
- Part362.brickColor = BrickColor.new("White")
- Part363.Name = "e"
- Part363.Parent = Model337
- Part363.CFrame = CFrame.new(132.607758, 4.23793077, -13.9712133, 0.999942899, 0.00529471179, 0.00928659923, -0.00518771494, 0.999920368, -0.0115080634, -0.00934679061, 0.0114592304, 0.999890685)
- Part363.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part363.Position = Vector3.new(132.607758, 4.23793077, -13.9712133)
- Part363.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part363.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part363.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part363.Anchored = true
- Part363.BrickColor = BrickColor.new("White")
- Part363.Reflectance = 1
- Part363.TopSurface = Enum.SurfaceType.Smooth
- Part363.brickColor = BrickColor.new("White")
- Part364.Name = "e"
- Part364.Parent = Model337
- Part364.CFrame = CFrame.new(132.61412, 5.44259834, -13.9574137, 0.999942899, 0.00529471179, 0.00928659923, -0.00518771494, 0.999920368, -0.0115080634, -0.00934679061, 0.0114592304, 0.999890685)
- Part364.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part364.Position = Vector3.new(132.61412, 5.44259834, -13.9574137)
- Part364.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part364.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part364.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part364.Anchored = true
- Part364.BrickColor = BrickColor.new("White")
- Part364.Reflectance = 1
- Part364.TopSurface = Enum.SurfaceType.Smooth
- Part364.brickColor = BrickColor.new("White")
- Part365.Name = "Sign"
- Part365.Parent = Model0
- Part365.CFrame = CFrame.new(130.942825, 6.35853958, -7.94791889, -0.00928111654, 0.00532761775, 0.99994272, 0.0116433026, 0.99991864, -0.00521941949, -0.999889135, 0.011594194, -0.00934239104)
- Part365.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part365.Position = Vector3.new(130.942825, 6.35853958, -7.94791889)
- Part365.Rotation = Vector3.new(150.809998, 89.3899994, -150.139999)
- Part365.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part365.Transparency = 1
- Part365.Size = Vector3.new(3.02000451, 2, 0.0500000007)
- Part365.Anchored = true
- Part365.BrickColor = BrickColor.new("Sand red")
- Part365.CanCollide = false
- Part365.brickColor = BrickColor.new("Sand red")
- Part365.FormFactor = Enum.FormFactor.Symmetric
- Part365.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui366.Parent = Part365
- SurfaceGui366.CanvasSize = Vector2.new(200, 100)
- TextLabel367.Parent = SurfaceGui366
- TextLabel367.Size = UDim2.new(1, 0, 1, 0)
- TextLabel367.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel367.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel367.BackgroundTransparency = 1
- TextLabel367.Font = Enum.Font.SourceSansBold
- TextLabel367.FontSize = Enum.FontSize.Size48
- TextLabel367.Text = "touch for giant firecracker"
- TextLabel367.TextColor = BrickColor.new("Institutional white")
- TextLabel367.TextColor3 = Color3.new(1, 1, 1)
- TextLabel367.TextScaled = true
- TextLabel367.TextSize = 48
- TextLabel367.TextStrokeTransparency = 0
- TextLabel367.TextWrap = true
- TextLabel367.TextWrapped = true
- Model368.Parent = Model0
- Part369.Name = "PUT THE WEAPON IN THIS BRICK"
- Part369.Parent = Model368
- Part369.CFrame = CFrame.new(130.741287, 4.75427532, -7.98470974, 0.999942899, 0.00529469736, 0.00928667001, -0.00518769957, 0.999920368, -0.0115080923, -0.00934686139, 0.0114592593, 0.999890685)
- Part369.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part369.Position = Vector3.new(130.741287, 4.75427532, -7.98470974)
- Part369.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part369.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part369.Size = Vector3.new(1, 1.20000005, 5)
- Part369.Anchored = true
- Part369.BrickColor = BrickColor.new("White")
- Part369.TopSurface = Enum.SurfaceType.Smooth
- Part369.brickColor = BrickColor.new("White")
- Tool370.Name = "M-80"
- Tool370.Parent = Part369
- Tool370.CanBeDropped = false
- Tool370.Grip = CFrame.new(0.0811338425, -0.0370239317, 0.126978517, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool370.GripPos = Vector3.new(0.0811338425, -0.0370239317, 0.126978517)
- Tool370.ToolTip = "Explosive"
- Animation371.Parent = Tool370
- Animation371.AnimationId = "rbxassetid://1051400366"
- RemoteEvent372.Name = "Remote"
- RemoteEvent372.Parent = Tool370
- MeshPart373.Name = "Handle"
- MeshPart373.Parent = Tool370
- MeshPart373.CFrame = CFrame.new(132.143112, 4.48826265, -8.16068745, -0.00557762338, -0.999941528, -0.00926328637, -0.999916732, 0.00546914572, 0.0116947442, -0.0116433986, 0.00932774227, -0.999888718)
- MeshPart373.Orientation = Vector3.new(-0.670000017, -179.470001, -89.6900024)
- MeshPart373.Position = Vector3.new(132.143112, 4.48826265, -8.16068745)
- MeshPart373.Rotation = Vector3.new(-179.330002, -0.529999971, 90.3199997)
- MeshPart373.Size = Vector3.new(0.600000024, 1.60000002, 0.600000024)
- MeshPart373.CustomPhysicalProperties = 7.8499999, 2, 0.25, 1, 1
- MeshPart373.Material = Enum.Material.Metal
- MeshPart373.TextureID = "rbxassetid://12551163"
- ParticleEmitter374.Name = "Explosion"
- ParticleEmitter374.Parent = MeshPart373
- ParticleEmitter374.Speed = NumberRange.new(10, 20)
- ParticleEmitter374.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter374.Color = ColorSequence.new(Color3.new(0.756863, 0.698039, 0.67451),Color3.new(0.756863, 0.698039, 0.67451))
- ParticleEmitter374.Enabled = false
- ParticleEmitter374.LightInfluence = 1
- ParticleEmitter374.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter374.Transparency = NumberSequence.new(1,0,0.27499997615814,0.80000001192093,1)
- ParticleEmitter374.ZOffset = -1
- ParticleEmitter374.Size = NumberSequence.new(4,2,5)
- ParticleEmitter374.Acceleration = Vector3.new(0, 7.5, 0)
- ParticleEmitter374.Drag = 2.5
- ParticleEmitter374.Lifetime = NumberRange.new(1, 7.5)
- ParticleEmitter374.Rate = 50
- ParticleEmitter374.RotSpeed = NumberRange.new(-22.5, 22.5)
- ParticleEmitter374.SpreadAngle = Vector2.new(135, 135)
- ParticleEmitter374.VelocityInheritance = 0.25
- ParticleEmitter374.VelocitySpread = 135
- Sound375.Name = "Swing"
- Sound375.Parent = MeshPart373
- Sound375.MaxDistance = 50
- Sound375.Pitch = 1.75
- Sound375.PlaybackSpeed = 1.75
- Sound375.SoundId = "rbxassetid://231425197"
- Sound375.Volume = 1.5
- Sound376.Name = "Impact"
- Sound376.Parent = MeshPart373
- Sound376.MaxDistance = 150
- Sound376.Pitch = 0.60000002384186
- Sound376.PlaybackSpeed = 0.60000002384186
- Sound376.SoundId = "rbxassetid://214755079"
- Sound377.Name = "Fuse"
- Sound377.Parent = MeshPart373
- Sound377.MaxDistance = 128
- Sound377.Pitch = 1.75
- Sound377.PlaybackSpeed = 1.75
- Sound377.SoundId = "rbxassetid://138931042"
- Sound377.Volume = 0.125
- ParticleEmitter378.Name = "Sparks"
- ParticleEmitter378.Parent = MeshPart373
- ParticleEmitter378.Speed = NumberRange.new(25, 25)
- ParticleEmitter378.Color = ColorSequence.new(Color3.new(1, 0.756863, 0.411765),Color3.new(1, 0.756863, 0.411765))
- ParticleEmitter378.Enabled = false
- ParticleEmitter378.LightEmission = 1
- ParticleEmitter378.Transparency = NumberSequence.new(1,0,0.5,0.75,0.875,1)
- ParticleEmitter378.ZOffset = -1
- ParticleEmitter378.Size = NumberSequence.new(0.25,0)
- ParticleEmitter378.Drag = 7.5
- ParticleEmitter378.Lifetime = NumberRange.new(0.5, 0.625)
- ParticleEmitter378.Rate = 50
- ParticleEmitter378.SpreadAngle = Vector2.new(180, 180)
- ParticleEmitter378.VelocityInheritance = 0.25
- ParticleEmitter378.VelocitySpread = 180
- Sound379.Name = "Explode"
- Sound379.Parent = MeshPart373
- Sound379.MaxDistance = 100000
- Sound379.EmitterSize = 100
- Sound379.MinDistance = 100
- Sound379.Pitch = 1.5
- Sound379.PlaybackSpeed = 1.5
- Sound379.SoundId = "rbxassetid://134626404"
- Sound379.Volume = 5
- Configuration380.Name = "Config"
- Configuration380.Parent = Tool370
- NumberValue381.Name = "Damage"
- NumberValue381.Parent = Configuration380
- NumberValue381.Value = 30
- NumberValue382.Name = "Velocity"
- NumberValue382.Parent = Configuration380
- NumberValue382.Value = 100
- BoolValue383.Name = "Teamkill"
- BoolValue383.Parent = Configuration380
- Script384.Name = "Server"
- Script384.Parent = Tool370
- table.insert(cors,sandbox(Script384,function()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Handle = Tool:WaitForChild("Handle")
- local DamageScript = script:WaitForChild("Damage")
- local Config = Tool:WaitForChild("Config")
- local Heartbeat = game:GetService("RunService").Heartbeat
- local FriendlyFire = Config.Teamkill.Value
- local LeftDown = false
- local AttackAble = true
- local AttackVelocity = Config.Velocity.Value
- local AttackDamage = Config.Damage.Value
- local Character = nil
- local Humanoid = nil
- --returns the wielding player of this tool
- function getPlayer()
- local char = Tool.Parent
- return game:GetService("Players"):GetPlayerFromCharacter(Character)
- end
- function Toss(direction)
- local OriginalWalkSpeed = Humanoid.WalkSpeed
- OriginalWalkSpeed = OriginalWalkSpeed
- Humanoid.WalkSpeed = 0
- local handlePos = Vector3.new(Tool.Handle.Position.X, 0, Tool.Handle.Position.Z)
- local spawnPos = Character.Head.Position
- spawnPos = spawnPos + (direction * 5)
- Tool.Handle.Transparency = 1
- local Object = Tool.Handle:Clone()
- Object.Parent = workspace
- Object.Transparency = 0
- Object.Swing.Pitch = math.random(90, 110)/100
- Object.Swing:Play()
- Object.CanCollide = true
- Object.CFrame = Tool.Handle.CFrame
- Object.Velocity = (direction*AttackVelocity) + Vector3.new(0,AttackVelocity/7.5,0)
- Object.Fuse:Play()
- Object.Sparks.Enabled = true
- local rand = 11.25
- Object.RotVelocity = Vector3.new(math.random(-rand,rand),math.random(-rand,rand),math.random(-rand,rand))
- Object:SetNetworkOwner(getPlayer())
- local ScriptClone = DamageScript:Clone()
- ScriptClone.FriendlyFire.Value = FriendlyFire
- ScriptClone.Damage.Value = AttackDamage
- ScriptClone.Parent = Object
- ScriptClone.Disabled = false
- local tag = Instance.new("ObjectValue")
- tag.Value = getPlayer()
- tag.Name = "creator"
- tag.Parent = Object
- Humanoid.WalkSpeed = OriginalWalkSpeed
- Tool:Destroy()
- end
- Remote.OnServerEvent:Connect(function(player, mousePosition)
- if not AttackAble then return end
- AttackAble = false
- if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Remote:FireClient(getPlayer(), "PlayAnimation", "Animation")
- end
- local targetPos = mousePosition.p
- local lookAt = (targetPos - Character.Head.Position).unit
- Toss(lookAt)
- LeftDown = true
- end)
- function onLeftUp()
- LeftDown = false
- end
- Tool.Equipped:Connect(function()
- Character = Tool.Parent
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- end)
- Tool.Unequipped:Connect(function()
- Character = nil
- Humanoid = nil
- end)
- end))
- Script385.Name = "Damage"
- Script385.Parent = Script384
- table.insert(cors,sandbox(Script385,function()
- local Object = script.Parent
- local Used = false
- local SplashDamage = 150
- local Radius = 20
- local Damage = script:WaitForChild("Damage").Value
- local FriendlyFire = script:WaitForChild("FriendlyFire").Value
- local Tag = Object:WaitForChild("creator")
- local Debris = game:GetService("Debris")
- function OnExplosionHit(Character, hitDistance, blastCenter)
- local Humanoid = Character:FindFirstChild("Humanoid")
- if hitDistance and blastCenter then
- local DistanceFactor = hitDistance/Radius
- DistanceFactor = 1-DistanceFactor
- if Humanoid then
- if Humanoid.Health > 0 then
- local HitDamage = DistanceFactor*SplashDamage
- print(HitDamage)
- Humanoid:TakeDamage(HitDamage)
- end
- end
- end
- end
- function Explode()
- local Orange = Color3.fromRGB(255, 193, 105)
- local Gray = Color3.fromRGB(193, 178, 172)
- Object.Explosion.LightEmission = 1
- Object.Explosion.LightInfluence = 0
- Object.Explosion.Color = ColorSequence.new(Orange,Orange)
- local Light = Instance.new("PointLight")
- Light.Color = Color3.fromRGB(255, 233, 187)
- Light.Brightness = 1
- Light.Range = 15
- Light.Shadows = true
- Light.Parent = Object
- local Explosion = Instance.new("Explosion")
- Explosion.BlastRadius = Radius*.875
- Explosion.BlastPressure = 0
- Explosion.Position = Object.Position
- Explosion.Parent = Object
- Explosion.Visible = false
- Explosion.Hit:Connect(function(hit, distance)
- if hit.Name == "HumanoidRootPart" and hit.Parent:FindFirstChild("Humanoid") then
- OnExplosionHit(hit.Parent, distance, Object.Position)
- end
- end)
- local Children = Object:GetChildren()
- for i=1,#Children do
- if Children[i]:IsA("ParticleEmitter") then
- Children[i].Enabled = false
- end
- end
- wait(.05)
- Object.Explosion.LightEmission = 0
- Object.Explosion.LightInfluence = 1
- Object.Explosion.Color = ColorSequence.new(Gray,Gray)
- Light:Destroy()
- wait(7.5)
- Object:Destroy()
- Object:Destroy()
- end
- --helpfully checks a table for a specific value
- function contains(t, v)
- for _, val in pairs(t) do
- if val == v then
- return true
- end
- end
- return false
- end
- --used by checkTeams
- function sameTeam(otherHuman)
- local player = Tag.Value
- local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
- if player and otherPlayer then
- if player == otherPlayer then
- return true
- end
- if otherPlayer.Neutral then
- return false
- end
- return player.TeamColor == otherPlayer.TeamColor
- end
- return false
- end
- function tagHuman(human)
- local tag = Tag:Clone()
- tag.Parent = human
- game:GetService("Debris"):AddItem(tag)
- end
- --use this to determine if you want this human to be harmed or not, returns boolean
- function checkTeams(otherHuman)
- return not (sameTeam(otherHuman) and not FriendlyFire==true)
- end
- function boom()
- wait(1.5)
- Used = true
- Object.Anchored = true
- Object.CanCollide = false
- Object.Sparks.Enabled = false
- Object.Orientation = Vector3.new(0,0,0)
- Object.Transparency = 1
- Object.Fuse:Stop()
- Object.Explode:Play()
- Object.Explosion:Emit(100)
- Explode()
- end
- Object.Touched:Connect(function(part)
- if Used == true or part.Name == "Handle" then return end
- if part:IsDescendantOf(Tag.Value.Character) then return end
- if part.Parent then
- if part.Parent:FindFirstChild("Humanoid") then
- local human = part.Parent.Humanoid
- if checkTeams(human) then
- tagHuman(human)
- human:TakeDamage(Damage)
- end
- end
- Used = true
- Object.Impact:Play()
- Object.Velocity = Vector3.new(Object.Velocity.x/10,Object.Velocity.y/10,Object.Velocity.z/10)
- Object.RotVelocity = Vector3.new(Object.RotVelocity.x/10,Object.RotVelocity.y/10,Object.RotVelocity.z/10)
- game:GetService("Debris"):AddItem(Object, 10)
- end
- end)
- boom()
- end))
- Script385.Disabled = true
- BoolValue386.Name = "FriendlyFire"
- BoolValue386.Parent = Script385
- BoolValue386.Value = true
- NumberValue387.Name = "Damage"
- NumberValue387.Parent = Script385
- NumberValue387.Value = 60
- LocalScript388.Name = "Client"
- LocalScript388.Parent = Tool370
- table.insert(cors,sandbox(LocalScript388,function()
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Remote = Tool:WaitForChild("Remote")
- local Tracks = {}
- local InputType = Enum.UserInputType
- local IsEquipped = false
- local BeganConnection, EndedConnection
- function playAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Play()
- else
- local anim = Tool:FindFirstChild(animName)
- if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
- Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
- playAnimation(animName)
- end
- end
- end
- function stopAnimation(animName)
- if Tracks[animName] then
- Tracks[animName]:Stop()
- end
- end
- function inputBegan(input)
- if input.UserInputType == InputType.MouseButton1 then
- playAnimation("Animation")
- wait(.6)
- local lp = game.Players.LocalPlayer
- local ms = lp:GetMouse()
- if not IsEquipped then return end
- Remote:FireServer(ms.Hit)
- end
- end
- function onEquip()
- BeganConnection = UIS.InputBegan:connect(inputBegan)
- IsEquipped = true
- end
- function onUnequip()
- if BeganConnection then
- BeganConnection:disconnect()
- BeganConnection = nil
- IsEquipped = false
- end
- end
- Tool.Equipped:connect(onEquip)
- Tool.Unequipped:connect(onUnequip)
- end))
- Script389.Name = "PUT THIS IN THE WEAPON"
- Script389.Parent = Tool370
- table.insert(cors,sandbox(Script389,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Script390.Name = "READ ME FOR INSTRUCTIONS"
- Script390.Parent = Model368
- table.insert(cors,sandbox(Script390,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Part391.Name = "e"
- Part391.Parent = Model368
- Part391.CFrame = CFrame.new(132.59317, 4.71754694, -5.63200474, 0.999942899, 0.00529471179, 0.00928669423, -0.00518771401, 0.999920368, -0.0115080643, -0.00934688561, 0.0114592304, 0.999890685)
- Part391.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part391.Position = Vector3.new(132.59317, 4.71754694, -5.63200474)
- Part391.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part391.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part391.Size = Vector3.new(2.68000007, 1.20000005, 0.260000497)
- Part391.Anchored = true
- Part391.BrickColor = BrickColor.new("White")
- Part391.Reflectance = 1
- Part391.TopSurface = Enum.SurfaceType.Smooth
- Part391.brickColor = BrickColor.new("White")
- Part392.Name = "e"
- Part392.Parent = Model368
- Part392.CFrame = CFrame.new(132.548996, 4.77221489, -10.3891172, 0.999942899, 0.00529471179, 0.00928669423, -0.00518771401, 0.999920368, -0.0115080643, -0.00934688561, 0.0114592304, 0.999890685)
- Part392.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part392.Position = Vector3.new(132.548996, 4.77221489, -10.3891172)
- Part392.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part392.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part392.Size = Vector3.new(2.68000007, 1.20000005, 0.240000486)
- Part392.Anchored = true
- Part392.BrickColor = BrickColor.new("White")
- Part392.Reflectance = 1
- Part392.TopSurface = Enum.SurfaceType.Smooth
- Part392.brickColor = BrickColor.new("White")
- Part393.Name = "e"
- Part393.Parent = Model368
- Part393.CFrame = CFrame.new(133.981415, 4.73703432, -7.97750187, 0.999942899, 0.00529471179, 0.00928669423, -0.00518771401, 0.999920368, -0.0115080643, -0.00934688561, 0.0114592304, 0.999890685)
- Part393.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part393.Position = Vector3.new(133.981415, 4.73703432, -7.97750187)
- Part393.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part393.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part393.Size = Vector3.new(0.24000001, 1.20000005, 5.13000488)
- Part393.Anchored = true
- Part393.BrickColor = BrickColor.new("White")
- Part393.Reflectance = 1
- Part393.TopSurface = Enum.SurfaceType.Smooth
- Part393.brickColor = BrickColor.new("White")
- Part394.Name = "e"
- Part394.Parent = Model368
- Part394.CFrame = CFrame.new(132.663467, 4.16888285, -7.97180271, 0.999942899, 0.00529471179, 0.00928659923, -0.00518771494, 0.999920368, -0.0115080634, -0.00934679061, 0.0114592304, 0.999890685)
- Part394.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part394.Position = Vector3.new(132.663467, 4.16888285, -7.97180271)
- Part394.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part394.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part394.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part394.Anchored = true
- Part394.BrickColor = BrickColor.new("White")
- Part394.Reflectance = 1
- Part394.TopSurface = Enum.SurfaceType.Smooth
- Part394.brickColor = BrickColor.new("White")
- Part395.Name = "e"
- Part395.Parent = Model368
- Part395.CFrame = CFrame.new(132.66983, 5.37354994, -7.95799351, 0.999942899, 0.00529471179, 0.00928659923, -0.00518771494, 0.999920368, -0.0115080634, -0.00934679061, 0.0114592304, 0.999890685)
- Part395.Orientation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part395.Position = Vector3.new(132.66983, 5.37354994, -7.95799351)
- Part395.Rotation = Vector3.new(0.660000026, 0.529999971, -0.300000012)
- Part395.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part395.Size = Vector3.new(2.86999917, 0.0500000007, 5.13000488)
- Part395.Anchored = true
- Part395.BrickColor = BrickColor.new("White")
- Part395.Reflectance = 1
- Part395.TopSurface = Enum.SurfaceType.Smooth
- Part395.brickColor = BrickColor.new("White")
- Part396.Name = "Sign"
- Part396.Parent = Model0
- Part396.CFrame = CFrame.new(130.831573, 6.49832869, -19.9467125, -0.00928111654, 0.00532761775, 0.99994272, 0.0116433026, 0.99991864, -0.00521941949, -0.999889135, 0.011594194, -0.00934239104)
- Part396.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part396.Position = Vector3.new(130.831573, 6.49832869, -19.9467125)
- Part396.Rotation = Vector3.new(150.809998, 89.3899994, -150.139999)
- Part396.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part396.Transparency = 1
- Part396.Size = Vector3.new(3.02000451, 2, 0.0500000007)
- Part396.Anchored = true
- Part396.BrickColor = BrickColor.new("Sand red")
- Part396.CanCollide = false
- Part396.brickColor = BrickColor.new("Sand red")
- Part396.FormFactor = Enum.FormFactor.Symmetric
- Part396.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui397.Parent = Part396
- SurfaceGui397.CanvasSize = Vector2.new(200, 100)
- TextLabel398.Parent = SurfaceGui397
- TextLabel398.Size = UDim2.new(1, 0, 1, 0)
- TextLabel398.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel398.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel398.BackgroundTransparency = 1
- TextLabel398.Font = Enum.Font.SourceSansBold
- TextLabel398.FontSize = Enum.FontSize.Size48
- TextLabel398.Text = "touch for road flare"
- TextLabel398.TextColor = BrickColor.new("Institutional white")
- TextLabel398.TextColor3 = Color3.new(1, 1, 1)
- TextLabel398.TextScaled = true
- TextLabel398.TextSize = 48
- TextLabel398.TextStrokeTransparency = 0
- TextLabel398.TextWrap = true
- TextLabel398.TextWrapped = true
- Part399.Name = "Sign"
- Part399.Parent = Model0
- Part399.CFrame = CFrame.new(130.887131, 6.42840385, -13.9473219, -0.00928111654, 0.00532761775, 0.99994272, 0.0116433026, 0.99991864, -0.00521941949, -0.999889135, 0.011594194, -0.00934239104)
- Part399.Orientation = Vector3.new(0.300000012, 90.5400009, 0.670000017)
- Part399.Position = Vector3.new(130.887131, 6.42840385, -13.9473219)
- Part399.Rotation = Vector3.new(150.809998, 89.3899994, -150.139999)
- Part399.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part399.Transparency = 1
- Part399.Size = Vector3.new(3.02000451, 2, 0.0500000007)
- Part399.Anchored = true
- Part399.BrickColor = BrickColor.new("Sand red")
- Part399.CanCollide = false
- Part399.brickColor = BrickColor.new("Sand red")
- Part399.FormFactor = Enum.FormFactor.Symmetric
- Part399.formFactor = Enum.FormFactor.Symmetric
- SurfaceGui400.Parent = Part399
- SurfaceGui400.CanvasSize = Vector2.new(200, 100)
- TextLabel401.Parent = SurfaceGui400
- TextLabel401.Size = UDim2.new(1, 0, 1, 0)
- TextLabel401.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel401.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel401.BackgroundTransparency = 1
- TextLabel401.Font = Enum.Font.SourceSansBold
- TextLabel401.FontSize = Enum.FontSize.Size48
- TextLabel401.Text = "touch for defective firework"
- TextLabel401.TextColor = BrickColor.new("Institutional white")
- TextLabel401.TextColor3 = Color3.new(1, 1, 1)
- TextLabel401.TextScaled = true
- TextLabel401.TextSize = 48
- TextLabel401.TextStrokeTransparency = 0
- TextLabel401.TextWrap = true
- TextLabel401.TextWrapped = true
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Add Comment
Please, Sign In to add comment