SHOW:
|
|
- or go back to the newest paste.
| 1 | ||
| 2 | --Converted with ttyyuu12345's model to script plugin v4 | |
| 3 | function sandbox(var,func) | |
| 4 | local env = getfenv(func) | |
| 5 | local newenv = setmetatable({},{
| |
| 6 | __index = function(self,k) | |
| 7 | if k=="script" then | |
| 8 | return var | |
| 9 | else | |
| 10 | return env[k] | |
| 11 | end | |
| 12 | end, | |
| 13 | }) | |
| 14 | setfenv(func,newenv) | |
| 15 | return func | |
| 16 | end | |
| 17 | cors = {}
| |
| 18 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 19 | Tool0 = Instance.new("Tool")
| |
| 20 | Script1 = Instance.new("Script")
| |
| 21 | - | Script2 = Instance.new("Script")
|
| 21 | + | Part2 = Instance.new("Part")
|
| 22 | - | BoolValue3 = Instance.new("BoolValue")
|
| 22 | + | SpecialMesh3 = Instance.new("SpecialMesh")
|
| 23 | - | LocalScript4 = Instance.new("LocalScript")
|
| 23 | + | ManualWeld4 = Instance.new("ManualWeld")
|
| 24 | - | ScreenGui5 = Instance.new("ScreenGui")
|
| 24 | + | LocalScript5 = Instance.new("LocalScript")
|
| 25 | - | Frame6 = Instance.new("Frame")
|
| 25 | + | Script6 = Instance.new("Script")
|
| 26 | - | Frame7 = Instance.new("Frame")
|
| 26 | + | Part7 = Instance.new("Part")
|
| 27 | - | Frame8 = Instance.new("Frame")
|
| 27 | + | Script8 = Instance.new("Script")
|
| 28 | - | NumberValue9 = Instance.new("NumberValue")
|
| 28 | + | RotateP9 = Instance.new("RotateP")
|
| 29 | - | NumberValue10 = Instance.new("NumberValue")
|
| 29 | + | Part10 = Instance.new("Part")
|
| 30 | - | LocalScript11 = Instance.new("LocalScript")
|
| 30 | + | CylinderMesh11 = Instance.new("CylinderMesh")
|
| 31 | - | Frame12 = Instance.new("Frame")
|
| 31 | + | ManualWeld12 = Instance.new("ManualWeld")
|
| 32 | - | Frame13 = Instance.new("Frame")
|
| 32 | + | Part13 = Instance.new("Part")
|
| 33 | - | ImageLabel14 = Instance.new("ImageLabel")
|
| 33 | + | ManualWeld14 = Instance.new("ManualWeld")
|
| 34 | - | Frame15 = Instance.new("Frame")
|
| 34 | + | ManualWeld15 = Instance.new("ManualWeld")
|
| 35 | - | TextLabel16 = Instance.new("TextLabel")
|
| 35 | + | Part16 = Instance.new("Part")
|
| 36 | - | LocalScript17 = Instance.new("LocalScript")
|
| 36 | + | Part17 = Instance.new("Part")
|
| 37 | - | Part18 = Instance.new("Part")
|
| 37 | + | ManualWeld18 = Instance.new("ManualWeld")
|
| 38 | - | Configuration19 = Instance.new("Configuration")
|
| 38 | + | Part19 = Instance.new("Part")
|
| 39 | - | IntValue20 = Instance.new("IntValue")
|
| 39 | + | Part20 = Instance.new("Part")
|
| 40 | - | Fire21 = Instance.new("Fire")
|
| 40 | + | Part21 = Instance.new("Part")
|
| 41 | - | NumberValue22 = Instance.new("NumberValue")
|
| 41 | + | Part22 = Instance.new("Part")
|
| 42 | - | NumberValue23 = Instance.new("NumberValue")
|
| 42 | + | ManualWeld23 = Instance.new("ManualWeld")
|
| 43 | - | NumberValue24 = Instance.new("NumberValue")
|
| 43 | + | Part24 = Instance.new("Part")
|
| 44 | - | NumberValue25 = Instance.new("NumberValue")
|
| 44 | + | CylinderMesh25 = Instance.new("CylinderMesh")
|
| 45 | - | BoolValue26 = Instance.new("BoolValue")
|
| 45 | + | Part26 = Instance.new("Part")
|
| 46 | - | BoolValue27 = Instance.new("BoolValue")
|
| 46 | + | Part27 = Instance.new("Part")
|
| 47 | - | BoolValue28 = Instance.new("BoolValue")
|
| 47 | + | ManualWeld28 = Instance.new("ManualWeld")
|
| 48 | - | IntValue29 = Instance.new("IntValue")
|
| 48 | + | Part29 = Instance.new("Part")
|
| 49 | - | IntValue30 = Instance.new("IntValue")
|
| 49 | + | Part30 = Instance.new("Part")
|
| 50 | - | LocalScript31 = Instance.new("LocalScript")
|
| 50 | + | Part31 = Instance.new("Part")
|
| 51 | - | Sound32 = Instance.new("Sound")
|
| 51 | + | CylinderMesh32 = Instance.new("CylinderMesh")
|
| 52 | - | Fire33 = Instance.new("Fire")
|
| 52 | + | Part33 = Instance.new("Part")
|
| 53 | - | Script34 = Instance.new("Script")
|
| 53 | + | CylinderMesh34 = Instance.new("CylinderMesh")
|
| 54 | - | SpecialMesh35 = Instance.new("SpecialMesh")
|
| 54 | + | Part35 = Instance.new("Part")
|
| 55 | - | Weld36 = Instance.new("Weld")
|
| 55 | + | SpecialMesh36 = Instance.new("SpecialMesh")
|
| 56 | - | Weld37 = Instance.new("Weld")
|
| 56 | + | Part37 = Instance.new("Part")
|
| 57 | - | Weld38 = Instance.new("Weld")
|
| 57 | + | CylinderMesh38 = Instance.new("CylinderMesh")
|
| 58 | - | Weld39 = Instance.new("Weld")
|
| 58 | + | ManualWeld39 = Instance.new("ManualWeld")
|
| 59 | - | Weld40 = Instance.new("Weld")
|
| 59 | + | Part40 = Instance.new("Part")
|
| 60 | - | Weld41 = Instance.new("Weld")
|
| 60 | + | SpecialMesh41 = Instance.new("SpecialMesh")
|
| 61 | - | Weld42 = Instance.new("Weld")
|
| 61 | + | ManualWeld42 = Instance.new("ManualWeld")
|
| 62 | - | Weld43 = Instance.new("Weld")
|
| 62 | + | Camera43 = Instance.new("Camera")
|
| 63 | - | Weld44 = Instance.new("Weld")
|
| 63 | + | Tool0.Name = "Powerjack" |
| 64 | - | Weld45 = Instance.new("Weld")
|
| 64 | + | |
| 65 | - | Weld46 = Instance.new("Weld")
|
| 65 | + | Tool0.Grip = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0) |
| 66 | - | Weld47 = Instance.new("Weld")
|
| 66 | + | Tool0.GripForward = Vector3.new(-1, -0, -0) |
| 67 | - | Weld48 = Instance.new("Weld")
|
| 67 | + | Tool0.GripPos = Vector3.new(0, 0, -1.5) |
| 68 | - | Weld49 = Instance.new("Weld")
|
| 68 | + | Tool0.GripRight = Vector3.new(0, 1, 0) |
| 69 | - | Weld50 = Instance.new("Weld")
|
| 69 | + | Tool0.GripUp = Vector3.new(0, 0, 1) |
| 70 | - | Weld51 = Instance.new("Weld")
|
| 70 | + | Script1.Name = "SwordScript" |
| 71 | - | Weld52 = Instance.new("Weld")
|
| 71 | + | |
| 72 | - | Weld53 = Instance.new("Weld")
|
| 72 | + | |
| 73 | - | Weld54 = Instance.new("Weld")
|
| 73 | + | --rbxsig%SvOCRfs4MS09DiFeZ9ryb0KVTZKM2pYFaz18031HaaiHrZnjsJ+iWsDsSxTs3c1kYMSB0HlSbgzhXXww3xOBUhW0xm1/5mi4O0KnHYGSc4eBTonK6ryFiCwTrBSmrG59TVp2eG6uctncdw9z3Eo/RyJSCFHXct6N9imKE9Qsdco=% |
| 74 | - | Weld55 = Instance.new("Weld")
|
| 74 | + | --rbxassetid%1014475% |
| 75 | - | Weld56 = Instance.new("Weld")
|
| 75 | + | -------- OMG HAX |
| 76 | - | Weld57 = Instance.new("Weld")
|
| 76 | + | |
| 77 | - | Weld58 = Instance.new("Weld")
|
| 77 | + | r = game:service("RunService")
|
| 78 | - | Weld59 = Instance.new("Weld")
|
| 78 | + | |
| 79 | - | Weld60 = Instance.new("Weld")
|
| 79 | + | |
| 80 | - | Weld61 = Instance.new("Weld")
|
| 80 | + | local damage = 5 |
| 81 | - | Weld62 = Instance.new("Weld")
|
| 81 | + | |
| 82 | - | Weld63 = Instance.new("Weld")
|
| 82 | + | |
| 83 | - | Weld64 = Instance.new("Weld")
|
| 83 | + | local slash_damage = 10 |
| 84 | - | Weld65 = Instance.new("Weld")
|
| 84 | + | local lunge_damage = 30 |
| 85 | - | Weld66 = Instance.new("Weld")
|
| 85 | + | |
| 86 | - | Weld67 = Instance.new("Weld")
|
| 86 | + | sword = script.Parent.Handle |
| 87 | - | Weld68 = Instance.new("Weld")
|
| 87 | + | Tool = script.Parent |
| 88 | - | Weld69 = Instance.new("Weld")
|
| 88 | + | |
| 89 | - | Weld70 = Instance.new("Weld")
|
| 89 | + | local Jarate = Tool.Damagevuln |
| 90 | - | Weld71 = Instance.new("Weld")
|
| 90 | + | local JarateClone = Jarate:Clone() |
| 91 | - | Weld72 = Instance.new("Weld")
|
| 91 | + | |
| 92 | - | Weld73 = Instance.new("Weld")
|
| 92 | + | |
| 93 | - | Weld74 = Instance.new("Weld")
|
| 93 | + | local SlashSound = Instance.new("Sound")
|
| 94 | - | Weld75 = Instance.new("Weld")
|
| 94 | + | SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" |
| 95 | - | Weld76 = Instance.new("Weld")
|
| 95 | + | SlashSound.Parent = sword |
| 96 | - | Weld77 = Instance.new("Weld")
|
| 96 | + | SlashSound.Volume = .7 |
| 97 | - | Weld78 = Instance.new("Weld")
|
| 97 | + | |
| 98 | - | Weld79 = Instance.new("Weld")
|
| 98 | + | local LungeSound = Instance.new("Sound")
|
| 99 | - | Weld80 = Instance.new("Weld")
|
| 99 | + | LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" |
| 100 | - | Weld81 = Instance.new("Weld")
|
| 100 | + | LungeSound.Parent = sword |
| 101 | - | Weld82 = Instance.new("Weld")
|
| 101 | + | LungeSound.Volume = .6 |
| 102 | - | Weld83 = Instance.new("Weld")
|
| 102 | + | |
| 103 | - | Weld84 = Instance.new("Weld")
|
| 103 | + | local UnsheathSound = Instance.new("Sound")
|
| 104 | - | Weld85 = Instance.new("Weld")
|
| 104 | + | UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" |
| 105 | - | Weld86 = Instance.new("Weld")
|
| 105 | + | UnsheathSound.Parent = sword |
| 106 | - | Weld87 = Instance.new("Weld")
|
| 106 | + | UnsheathSound.Volume = 1 |
| 107 | - | Weld88 = Instance.new("Weld")
|
| 107 | + | |
| 108 | - | Weld89 = Instance.new("Weld")
|
| 108 | + | |
| 109 | - | Weld90 = Instance.new("Weld")
|
| 109 | + | function blow(hit) |
| 110 | - | Weld91 = Instance.new("Weld")
|
| 110 | + | if (hit.Parent == nil) then return end -- happens when bullet hits sword |
| 111 | - | Weld92 = Instance.new("Weld")
|
| 111 | + | |
| 112 | - | Weld93 = Instance.new("Weld")
|
| 112 | + | local humanoid = hit.Parent:findFirstChild("Humanoid")
|
| 113 | - | Weld94 = Instance.new("Weld")
|
| 113 | + | local vCharacter = Tool.Parent |
| 114 | - | Weld95 = Instance.new("Weld")
|
| 114 | + | local vPlayer = game.Players:playerFromCharacter(vCharacter) |
| 115 | - | Weld96 = Instance.new("Weld")
|
| 115 | + | local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
|
| 116 | - | Weld97 = Instance.new("Weld")
|
| 116 | + | if humanoid~=nil and humanoid ~= hum and hum ~= nil then |
| 117 | - | Weld98 = Instance.new("Weld")
|
| 117 | + | -- final check, make sure sword is in-hand |
| 118 | - | Weld99 = Instance.new("Weld")
|
| 118 | + | |
| 119 | - | Weld100 = Instance.new("Weld")
|
| 119 | + | local right_arm = vCharacter:FindFirstChild("Right Arm")
|
| 120 | - | Weld101 = Instance.new("Weld")
|
| 120 | + | if (right_arm ~= nil) then |
| 121 | - | Weld102 = Instance.new("Weld")
|
| 121 | + | local joint = right_arm:FindFirstChild("RightGrip")
|
| 122 | - | Weld103 = Instance.new("Weld")
|
| 122 | + | if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then |
| 123 | - | Weld104 = Instance.new("Weld")
|
| 123 | + | tagHumanoid(humanoid, vPlayer) |
| 124 | - | Weld105 = Instance.new("Weld")
|
| 124 | + | humanoid:TakeDamage(damage) |
| 125 | - | Weld106 = Instance.new("Weld")
|
| 125 | + | wait(1) |
| 126 | - | Weld107 = Instance.new("Weld")
|
| 126 | + | untagHumanoid(humanoid) |
| 127 | - | Weld108 = Instance.new("Weld")
|
| 127 | + | if (humanoid.Health <= 0) then |
| 128 | - | Weld109 = Instance.new("Weld")
|
| 128 | + | hum:TakeDamage(75) |
| 129 | - | Weld110 = Instance.new("Weld")
|
| 129 | + | end |
| 130 | - | Weld111 = Instance.new("Weld")
|
| 130 | + | |
| 131 | - | Weld112 = Instance.new("Weld")
|
| 131 | + | |
| 132 | - | Weld113 = Instance.new("Weld")
|
| 132 | + | |
| 133 | - | Weld114 = Instance.new("Weld")
|
| 133 | + | |
| 134 | - | Weld115 = Instance.new("Weld")
|
| 134 | + | |
| 135 | - | Weld116 = Instance.new("Weld")
|
| 135 | + | |
| 136 | - | Weld117 = Instance.new("Weld")
|
| 136 | + | |
| 137 | - | Weld118 = Instance.new("Weld")
|
| 137 | + | |
| 138 | - | Weld119 = Instance.new("Weld")
|
| 138 | + | function tagHumanoid(humanoid, player) |
| 139 | - | Weld120 = Instance.new("Weld")
|
| 139 | + | local creator_tag = Instance.new("ObjectValue")
|
| 140 | - | Weld121 = Instance.new("Weld")
|
| 140 | + | creator_tag.Value = player |
| 141 | - | Weld122 = Instance.new("Weld")
|
| 141 | + | creator_tag.Name = "creator" |
| 142 | - | Weld123 = Instance.new("Weld")
|
| 142 | + | creator_tag.Parent = humanoid |
| 143 | - | Weld124 = Instance.new("Weld")
|
| 143 | + | |
| 144 | - | Weld125 = Instance.new("Weld")
|
| 144 | + | |
| 145 | - | Weld126 = Instance.new("Weld")
|
| 145 | + | function untagHumanoid(humanoid) |
| 146 | - | Weld127 = Instance.new("Weld")
|
| 146 | + | if humanoid ~= nil then |
| 147 | - | Weld128 = Instance.new("Weld")
|
| 147 | + | local tag = humanoid:findFirstChild("creator")
|
| 148 | - | Weld129 = Instance.new("Weld")
|
| 148 | + | if tag ~= nil then |
| 149 | - | Weld130 = Instance.new("Weld")
|
| 149 | + | tag.Parent = nil |
| 150 | - | Weld131 = Instance.new("Weld")
|
| 150 | + | |
| 151 | - | Weld132 = Instance.new("Weld")
|
| 151 | + | |
| 152 | - | Weld133 = Instance.new("Weld")
|
| 152 | + | |
| 153 | - | Weld134 = Instance.new("Weld")
|
| 153 | + | |
| 154 | - | Weld135 = Instance.new("Weld")
|
| 154 | + | |
| 155 | - | Weld136 = Instance.new("Weld")
|
| 155 | + | function attack() |
| 156 | - | Weld137 = Instance.new("Weld")
|
| 156 | + | damage = slash_damage |
| 157 | - | Weld138 = Instance.new("Weld")
|
| 157 | + | SlashSound:play() |
| 158 | - | Weld139 = Instance.new("Weld")
|
| 158 | + | local anim = Instance.new("StringValue")
|
| 159 | - | Weld140 = Instance.new("Weld")
|
| 159 | + | anim.Name = "toolanim" |
| 160 | - | Weld141 = Instance.new("Weld")
|
| 160 | + | anim.Value = "Slash" |
| 161 | - | Weld142 = Instance.new("Weld")
|
| 161 | + | anim.Parent = Tool |
| 162 | - | Weld143 = Instance.new("Weld")
|
| 162 | + | |
| 163 | - | Weld144 = Instance.new("Weld")
|
| 163 | + | |
| 164 | - | Weld145 = Instance.new("Weld")
|
| 164 | + | function lunge() |
| 165 | - | Weld146 = Instance.new("Weld")
|
| 165 | + | damage = lunge_damage |
| 166 | - | Weld147 = Instance.new("Weld")
|
| 166 | + | |
| 167 | - | Weld148 = Instance.new("Weld")
|
| 167 | + | LungeSound:play() |
| 168 | - | Weld149 = Instance.new("Weld")
|
| 168 | + | |
| 169 | - | Weld150 = Instance.new("Weld")
|
| 169 | + | local anim = Instance.new("StringValue")
|
| 170 | - | Weld151 = Instance.new("Weld")
|
| 170 | + | anim.Name = "toolanim" |
| 171 | - | Weld152 = Instance.new("Weld")
|
| 171 | + | anim.Value = "Lunge" |
| 172 | - | Weld153 = Instance.new("Weld")
|
| 172 | + | anim.Parent = Tool |
| 173 | - | Weld154 = Instance.new("Weld")
|
| 173 | + | |
| 174 | - | Weld155 = Instance.new("Weld")
|
| 174 | + | |
| 175 | - | Weld156 = Instance.new("Weld")
|
| 175 | + | force = Instance.new("BodyVelocity")
|
| 176 | - | Weld157 = Instance.new("Weld")
|
| 176 | + | force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80 |
| 177 | - | Weld158 = Instance.new("Weld")
|
| 177 | + | force.Parent = Tool.Parent.Torso |
| 178 | - | Weld159 = Instance.new("Weld")
|
| 178 | + | wait(.25) |
| 179 | - | Weld160 = Instance.new("Weld")
|
| 179 | + | swordOut() |
| 180 | - | Weld161 = Instance.new("Weld")
|
| 180 | + | wait(.25) |
| 181 | - | Weld162 = Instance.new("Weld")
|
| 181 | + | force.Parent = nil |
| 182 | - | Weld163 = Instance.new("Weld")
|
| 182 | + | wait(.5) |
| 183 | - | Weld164 = Instance.new("Weld")
|
| 183 | + | swordUp() |
| 184 | - | Weld165 = Instance.new("Weld")
|
| 184 | + | |
| 185 | - | Weld166 = Instance.new("Weld")
|
| 185 | + | damage = slash_damage |
| 186 | - | Weld167 = Instance.new("Weld")
|
| 186 | + | |
| 187 | - | Weld168 = Instance.new("Weld")
|
| 187 | + | |
| 188 | - | Weld169 = Instance.new("Weld")
|
| 188 | + | function swordUp() |
| 189 | - | Weld170 = Instance.new("Weld")
|
| 189 | + | Tool.GripForward = Vector3.new(-1,0,0) |
| 190 | - | Weld171 = Instance.new("Weld")
|
| 190 | + | Tool.GripRight = Vector3.new(0,1,0) |
| 191 | - | Weld172 = Instance.new("Weld")
|
| 191 | + | Tool.GripUp = Vector3.new(0,0,1) |
| 192 | - | Weld173 = Instance.new("Weld")
|
| 192 | + | |
| 193 | - | Weld174 = Instance.new("Weld")
|
| 193 | + | |
| 194 | - | Weld175 = Instance.new("Weld")
|
| 194 | + | function swordOut() |
| 195 | - | Script176 = Instance.new("Script")
|
| 195 | + | Tool.GripForward = Vector3.new(0,0,1) |
| 196 | - | Script177 = Instance.new("Script")
|
| 196 | + | Tool.GripRight = Vector3.new(0,-1,0) |
| 197 | - | LocalScript178 = Instance.new("LocalScript")
|
| 197 | + | Tool.GripUp = Vector3.new(-1,0,0) |
| 198 | - | LocalScript179 = Instance.new("LocalScript")
|
| 198 | + | |
| 199 | - | LocalScript180 = Instance.new("LocalScript")
|
| 199 | + | |
| 200 | - | LocalScript181 = Instance.new("LocalScript")
|
| 200 | + | function swordAcross() |
| 201 | - | LocalScript182 = Instance.new("LocalScript")
|
| 201 | + | -- parry |
| 202 | - | LocalScript183 = Instance.new("LocalScript")
|
| 202 | + | |
| 203 | - | LocalScript184 = Instance.new("LocalScript")
|
| 203 | + | |
| 204 | - | LocalScript185 = Instance.new("LocalScript")
|
| 204 | + | |
| 205 | - | LocalScript186 = Instance.new("LocalScript")
|
| 205 | + | Tool.Enabled = true |
| 206 | - | Tool0.Name = "Pyro-Shot" |
| 206 | + | local last_attack = 0 |
| 207 | function onActivated() | |
| 208 | - | Tool0.Grip = CFrame.new(0, 0, 2, 0.999998987, -0.000999999465, 0.000999999465, 0.000999999, 0.999999464, 9.99999543e-07, -0.000999999931, 0, 0.999999523) |
| 208 | + | |
| 209 | - | Tool0.GripForward = Vector3.new(-0.000999999465, -9.99999543e-07, -0.999999523) |
| 209 | + | if not Tool.Enabled then |
| 210 | - | Tool0.GripPos = Vector3.new(0, 0, 2) |
| 210 | + | return |
| 211 | - | Tool0.GripRight = Vector3.new(0.999998987, 0.000999999, -0.000999999931) |
| 211 | + | |
| 212 | - | Tool0.GripUp = Vector3.new(-0.000999999465, 0.999999464, 0) |
| 212 | + | |
| 213 | - | Script1.Name = "WelderScript" |
| 213 | + | Tool.Enabled = false |
| 214 | ||
| 215 | local character = Tool.Parent; | |
| 216 | - | local Tool = script.Parent |
| 216 | + | local humanoid = character.Humanoid |
| 217 | - | local welds = {}
|
| 217 | + | if humanoid == nil then |
| 218 | print("Humanoid not found")
| |
| 219 | - | function clearWelds() |
| 219 | + | return |
| 220 | - | for i,child in pairs(welds) do |
| 220 | + | |
| 221 | - | child:remove() |
| 221 | + | |
| 222 | t = r.Stepped:wait() | |
| 223 | ||
| 224 | if (t - last_attack < .2) then | |
| 225 | lunge() | |
| 226 | - | local torso = Tool.Parent:findFirstChild("Torso")--created by Malvaviscos
|
| 226 | + | |
| 227 | - | if torso == nil then return end |
| 227 | + | attack() |
| 228 | - | clearWelds() |
| 228 | + | |
| 229 | - | local T1 = Instance.new("Weld")
|
| 229 | + | |
| 230 | - | T1.Part0 = torso |
| 230 | + | last_attack = t |
| 231 | - | T1.Part1 = Tool.Tank1 |
| 231 | + | |
| 232 | - | T1.C1 = CFrame.new(-0.5,0,-1) |
| 232 | + | --wait(.5) |
| 233 | - | T1.Parent = Tool.Tank1 |
| 233 | + | |
| 234 | - | table.insert(welds,T1) |
| 234 | + | Tool.Enabled = true |
| 235 | end | |
| 236 | - | local T1C1 = Instance.new("Weld")
|
| 236 | + | |
| 237 | - | T1C1.Part0 = Tool.Tank1 |
| 237 | + | |
| 238 | - | T1C1.Part1 = Tool.Tank1Circle1 |
| 238 | + | |
| 239 | - | T1C1.C1 = CFrame.new(0,Tool.Tank1.Size.y/4,0) |
| 239 | + | UnsheathSound:play() |
| 240 | - | T1C1.Parent = Tool.Tank1Circle1 |
| 240 | + | if Tool.Parent.Head ~= nil then |
| 241 | - | table.insert(welds,T1C1) |
| 241 | + | JarateClone.Parent = Tool.Parent.Humanoid |
| 242 | JarateClone.Disabled = false | |
| 243 | - | local T1C2 = Instance.new("Weld")
|
| 243 | + | |
| 244 | - | T1C2.Part0 = Tool.Tank1 |
| 244 | + | |
| 245 | - | T1C2.Part1 = Tool.Tank1Circle2 |
| 245 | + | |
| 246 | - | T1C2.C1 = CFrame.new(0,-Tool.Tank1.Size.y/4,0) |
| 246 | + | |
| 247 | - | T1C2.Parent = Tool.Tank1Circle2 |
| 247 | + | script.Parent.Activated:connect(onActivated) |
| 248 | - | table.insert(welds,T1C2) |
| 248 | + | |
| 249 | ||
| 250 | ||
| 251 | - | local T2 = Instance.new("Weld")
|
| 251 | + | connection = sword.Touched:connect(blow) |
| 252 | - | T2.Part0 = torso |
| 252 | + | |
| 253 | - | T2.Part1 = Tool.Tank2 |
| 253 | + | |
| 254 | - | T2.C1 = CFrame.new(0.5,0,-1) |
| 254 | + | |
| 255 | - | T2.Parent = Tool.Tank2 |
| 255 | + | |
| 256 | - | table.insert(welds,T2) |
| 256 | + | Part2.Name = "Handle" |
| 257 | Part2.Parent = Tool0 | |
| 258 | - | local T2C1 = Instance.new("Weld")
|
| 258 | + | Part2.CFrame = CFrame.new(-4.42699814, 2.24855804, -3.26099801, -0.931543052, 0.278013945, -0.234380454, -0.224591956, 0.0670283288, 0.972143292, 0.285979867, 0.95823431, -1.65005218e-07) |
| 259 | - | T2C1.Part0 = Tool.Tank2 |
| 259 | + | Part2.Orientation = Vector3.new(-76.4399948, -90, -73.3799973) |
| 260 | - | T2C1.Part1 = Tool.Tank2Circle1 |
| 260 | + | Part2.Position = Vector3.new(-4.42699814, 2.24855804, -3.26099801) |
| 261 | - | T2C1.C1 = CFrame.new(0,Tool.Tank2.Size.y/4,0) |
| 261 | + | Part2.Rotation = Vector3.new(-90, -13.5599995, -163.37999) |
| 262 | - | T2C1.Parent = Tool.Tank2Circle1 |
| 262 | + | Part2.Color = Color3.new(0.388235, 0.372549, 0.384314) |
| 263 | - | table.insert(welds,T2C1) |
| 263 | + | Part2.Transparency = 1 |
| 264 | - | --created by Malvaviscos |
| 264 | + | Part2.Size = Vector3.new(1, 0.800000012, 4) |
| 265 | - | local T2C2 = Instance.new("Weld")
|
| 265 | + | Part2.BottomSurface = Enum.SurfaceType.Smooth |
| 266 | - | T2C2.Part0 = Tool.Tank2 |
| 266 | + | Part2.BrickColor = BrickColor.new("Dark stone grey")
|
| 267 | - | T2C2.Part1 = Tool.Tank2Circle2 |
| 267 | + | Part2.Reflectance = 0.40000000596046 |
| 268 | - | T2C2.C1 = CFrame.new(0,-Tool.Tank2.Size.y/4,0) |
| 268 | + | Part2.TopSurface = Enum.SurfaceType.Smooth |
| 269 | - | T2C2.Parent = Tool.Tank2Circle2 |
| 269 | + | Part2.brickColor = BrickColor.new("Dark stone grey")
|
| 270 | - | table.insert(welds,T2C2) |
| 270 | + | Part2.FormFactor = Enum.FormFactor.Plate |
| 271 | Part2.formFactor = Enum.FormFactor.Plate | |
| 272 | SpecialMesh3.Parent = Part2 | |
| 273 | - | Tool.Equipped:connect(onEquipped) |
| 273 | + | SpecialMesh3.MeshId = "http://www.roblox.com/asset/?id=12592754" |
| 274 | SpecialMesh3.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 275 | - | function onUnequipped() |
| 275 | + | SpecialMesh3.TextureId = "http://www.roblox.com/asset/?id=12592745" |
| 276 | - | clearWelds() |
| 276 | + | SpecialMesh3.MeshType = Enum.MeshType.FileMesh |
| 277 | - | local T1C1 = Instance.new("Weld")
|
| 277 | + | ManualWeld4.Name = "Handle-to-Part Strong Joint" |
| 278 | - | T1C1.Part0 = Tool.Tank1 |
| 278 | + | ManualWeld4.Parent = Part2 |
| 279 | - | T1C1.Part1 = Tool.Tank1Circle1--created by Malvaviscos |
| 279 | + | ManualWeld4.C0 = CFrame.new(-0.5, -0.400000006, 2, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 280 | - | T1C1.C1 = CFrame.new(0,Tool.Tank1.Size.y/4,0) |
| 280 | + | ManualWeld4.C1 = CFrame.new(-0.39598465, -0.110012054, -0.615955353, 5.74564979e-07, 0.999997497, -3.2175339e-07, -9.24373396e-08, 1.93046276e-07, 0.999996781, 0.999998808, -1.26374459e-06, -8.90991387e-08) |
| 281 | - | T1C1.Parent = Tool.Tank1Circle1 |
| 281 | + | ManualWeld4.Part0 = Part2 |
| 282 | - | table.insert(welds,T1C1) |
| 282 | + | ManualWeld4.Part1 = Part16 |
| 283 | ManualWeld4.part1 = Part16 | |
| 284 | - | local T1C2 = Instance.new("Weld")
|
| 284 | + | LocalScript5.Name = "Local Gui" |
| 285 | - | T1C2.Part0 = Tool.Tank1 |
| 285 | + | LocalScript5.Parent = Tool0 |
| 286 | - | T1C2.Part1 = Tool.Tank1Circle2 |
| 286 | + | LocalScript5.LinkedSource = "http://www.roblox.com/asset/?id=1014476" |
| 287 | - | T1C2.C1 = CFrame.new(0,-Tool.Tank1.Size.y/4,0) |
| 287 | + | Script6.Name = "Damagevuln" |
| 288 | - | T1C2.Parent = Tool.Tank1Circle2 |
| 288 | + | Script6.Parent = Tool0 |
| 289 | - | table.insert(welds,T1C2) |
| 289 | + | table.insert(cors,sandbox(Script6,function() |
| 290 | --This is the localscript that's dumped into other players' characters | |
| 291 | --when they get hit by jarate | |
| 292 | - | local T2 = Instance.new("Weld")
|
| 292 | + | DamageMag=1.2 --default 1.5, sets how much more damage |
| 293 | - | T2.Part0 = Tool.Tank1 |
| 293 | + | JarateTime=15 --jarate length |
| 294 | - | T2.Part1 = Tool.Tank2--created by Malvaviscos |
| 294 | + | Humanoid=script.Parent |
| 295 | - | T2.C1 = CFrame.new(1,0,0) |
| 295 | + | Connections={}
|
| 296 | - | T2.Parent = Tool.Tank2 |
| 296 | + | Colors={}
|
| 297 | - | table.insert(welds,T2) |
| 297 | + | --script.Changed:connect(function() |
| 298 | -- if script.Parent~=Humanoid then | |
| 299 | - | local T2C1 = Instance.new("Weld")
|
| 299 | + | -- for _,v in pairs(Connections) do |
| 300 | - | T2C1.Part0 = Tool.Tank2 |
| 300 | + | -- v:disconnect() |
| 301 | - | T2C1.Part1 = Tool.Tank2Circle1 |
| 301 | + | -- end |
| 302 | - | T2C1.C1 = CFrame.new(0,Tool.Tank2.Size.y/4,0) |
| 302 | + | -- end |
| 303 | - | T2C1.Parent = Tool.Tank2Circle1 |
| 303 | + | --end) |
| 304 | - | table.insert(welds,T2C1) |
| 304 | + | |
| 305 | local isthere = false | |
| 306 | - | local T2C2 = Instance.new("Weld")
|
| 306 | + | local Dude = script.Parent |
| 307 | - | T2C2.Part0 = Tool.Tank2--created by Malvaviscos |
| 307 | + | local DudeSpeed = Dude.WalkSpeed |
| 308 | - | T2C2.Part1 = Tool.Tank2Circle2 |
| 308 | + | |
| 309 | - | T2C2.C1 = CFrame.new(0,-Tool.Tank2.Size.y/4,0) |
| 309 | + | function check() |
| 310 | - | T2C2.Parent = Tool.Tank2Circle2 |
| 310 | + | if isthere == true then |
| 311 | - | table.insert(welds,T2C2) |
| 311 | + | |
| 312 | end | |
| 313 | - | Tool.Unequipped:connect(onUnequipped)--created by Malvaviscos |
| 313 | + | |
| 314 | while wait(0.1) do | |
| 315 | local Potion = script.Parent.Parent:FindFirstChild("Powerjack")
| |
| 316 | - | Script2.Name = "FireFlameScript" |
| 316 | + | if not Potion then |
| 317 | - | Script2.Parent = Tool0 |
| 317 | + | isthere = false |
| 318 | - | table.insert(cors,sandbox(Script2,function() |
| 318 | + | Dude.WalkSpeed = DudeSpeed |
| 319 | - | local maxMass = (12*12*12) |
| 319 | + | script:remove() |
| 320 | - | local burnTime = 10 |
| 320 | + | |
| 321 | isthere = true | |
| 322 | - | function getFire(obj) |
| 322 | + | Dude.WalkSpeed = DudeSpeed * 1.15 |
| 323 | - | for i,child in pairs(obj:getChildren()) do--created by Malvaviscos |
| 323 | + | check() |
| 324 | - | if child.className == "Fire" then |
| 324 | + | |
| 325 | - | return true |
| 325 | + | |
| 326 | ||
| 327 | ||
| 328 | ||
| 329 | lasthealth=Humanoid.Health | |
| 330 | - | if getFire(script.Parent) or script.Parent:GetMass() > maxMass or script.Parent.Anchored or script.Parent.Transparency >= 1 then script:remove() end |
| 330 | + | table.insert(Connections, |
| 331 | Humanoid.HealthChanged:connect(function(health) | |
| 332 | - | local fire = Instance.new("Fire")--created by Malvaviscos
|
| 332 | + | print(health,lasthealth) |
| 333 | - | fire.Color = Color3.new(1, 165/255, 0) |
| 333 | + | if lasthealth~=math.floor(health) then |
| 334 | - | fire.SecondaryColor = Color3.new(1,0,0) |
| 334 | + | local Damage=lasthealth-health |
| 335 | - | fire.Heat = 10 |
| 335 | + | if Damage>0 then |
| 336 | - | fire.Size = ((script.Parent.Size.x + script.Parent.Size.y + script.Parent.Size.z)/3 )* 2 |
| 336 | + | lasthealth=math.floor(lasthealth-Damage*DamageMag) |
| 337 | - | fire.Parent = script.Parent |
| 337 | + | Humanoid.Health=lasthealth |
| 338 | else | |
| 339 | - | function spread(hit) |
| 339 | + | lasthealth=math.floor(Humanoid.Health) |
| 340 | - | if hit.Anchored or getFire(hit) then return end |
| 340 | + | check() |
| 341 | - | script:clone().Parent = hit |
| 341 | + | |
| 342 | end | |
| 343 | end)) | |
| 344 | - | connection = script.Parent.Touched:connect(spread) |
| 344 | + | function scan(a) |
| 345 | if a:IsA("BasePart") then
| |
| 346 | - | local count = 30 -- frames of fading--created by Malvaviscos |
| 346 | + | Colors[a]=a.Color |
| 347 | table.insert(Connections,a.Changed:connect(function(prop) | |
| 348 | - | for i=1, count do |
| 348 | + | if prop=="Color" then |
| 349 | - | --script.Parent.Color = (Color3.new(script.Parent.BrickColor.Color.r - R, script.Parent.BrickColor.Color.g - G, script.Parent.BrickColor.Color.b - B)) |
| 349 | + | |
| 350 | - | script.Parent.Color = Color3.new(script.Parent.Color.r * (1 - (i/count)), script.Parent.Color.g * (1 - (i/count)), script.Parent.Color.b * (1 - (i/count))) |
| 350 | + | end)) |
| 351 | - | if i == count/2 then |
| 351 | + | |
| 352 | - | connection:disconnect() |
| 352 | + | for _,v in pairs(a:GetChildren()) do |
| 353 | - | script.Parent:BreakJoints() |
| 353 | + | check() |
| 354 | end | |
| 355 | - | wait(burnTime/count)--created by Malvaviscos |
| 355 | + | |
| 356 | scan(Humanoid.Parent) | |
| 357 | ||
| 358 | - | for i=1, 10 do |
| 358 | + | |
| 359 | - | wait() |
| 359 | + | |
| 360 | - | script.Parent.Transparency = script.Parent.Transparency + 0.1 |
| 360 | + | |
| 361 | end)) | |
| 362 | Script6.Disabled = true | |
| 363 | - | script.Parent:remove()--created by Malvaviscos |
| 363 | + | Part7.Parent = Tool0 |
| 364 | Part7.CFrame = CFrame.new(-3.99699807, 0.305559009, -3.23000312, -0.931542099, -0.23437959, -0.278011382, -0.224592015, 0.972138524, -0.0670277104, 0.285976768, 6.1065973e-14, -0.958231091) | |
| 365 | - | Script2.Disabled = true |
| 365 | + | Part7.Orientation = Vector3.new(3.83999991, -163.819992, -13.0099993) |
| 366 | - | BoolValue3.Name = "Firing" |
| 366 | + | Part7.Position = Vector3.new(-3.99699807, 0.305559009, -3.23000312) |
| 367 | - | BoolValue3.Parent = Tool0 |
| 367 | + | Part7.Rotation = Vector3.new(176, -16.1399994, 165.87999) |
| 368 | - | LocalScript4.Name = "FuelScript" |
| 368 | + | Part7.Color = Color3.new(0.388235, 0.372549, 0.384314) |
| 369 | - | LocalScript4.Parent = Tool0 |
| 369 | + | Part7.Size = Vector3.new(1.10000193, 0.340000153, 0.499999791) |
| 370 | - | table.insert(cors,sandbox(LocalScript4,function() |
| 370 | + | Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 371 | - | local gui = script.FuelGui:clone()--created by Malvaviscos |
| 371 | + | Part7.BrickColor = BrickColor.new("Dark stone grey")
|
| 372 | - | local settings = script.Parent.Handle.Settings |
| 372 | + | Part7.Material = Enum.Material.SmoothPlastic |
| 373 | Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 374 | - | local fuel = settings.Fuel--created by Malvaviscos |
| 374 | + | Part7.brickColor = BrickColor.new("Dark stone grey")
|
| 375 | - | local guifuel = gui.Tray.SpecialBar.CurrentValue |
| 375 | + | Part7.FormFactor = Enum.FormFactor.Custom |
| 376 | Part7.formFactor = Enum.FormFactor.Custom | |
| 377 | - | local rate = 0.1--created by Malvaviscos |
| 377 | + | Script8.Name = "Weld" |
| 378 | - | local addval = 1 |
| 378 | + | Script8.Parent = Tool0 |
| 379 | table.insert(cors,sandbox(Script8,function() | |
| 380 | - | gui.Tray.SpecialBar.MaxValue.Value = settings.FuelMax.Value |
| 380 | + | --Simply put it inside any model with bricks inside |
| 381 | ||
| 382 | - | function onEquipped()--created by Malvaviscos |
| 382 | + | |
| 383 | - | if settings.FuelUsed.Value == false then return end |
| 383 | + | local prev |
| 384 | - | gui.Parent = game.Players.LocalPlayer.PlayerGui |
| 384 | + | local parts = script.Parent:GetChildren() |
| 385 | ||
| 386 | for i = 1,#parts do | |
| 387 | if parts[i]:IsA("BasePart") then
| |
| 388 | - | function onUnequipped() |
| 388 | + | if (prev ~= nil)then |
| 389 | - | gui.Parent = nil |
| 389 | + | local weld = Instance.new("Weld")
|
| 390 | weld.Part0 = prev | |
| 391 | - | script.Parent.Unequipped:connect(onUnequipped)--created by Malvaviscos |
| 391 | + | weld.Part1 = parts[i] |
| 392 | weld.C0 = prev.CFrame:inverse() | |
| 393 | - | while settings.FuelUsed.Value do |
| 393 | + | weld.C1 = parts[i].CFrame:inverse() |
| 394 | - | if script.Parent.Firing.Value == false and fuel.Value < script.Parent.Handle.Settings.FuelMax.Value and settings.FuelRegens.Value == true then |
| 394 | + | weld.Parent = prev |
| 395 | - | fuel.Value = fuel.Value + addval |
| 395 | + | end |
| 396 | prev = parts[i] | |
| 397 | - | guifuel.Value = fuel.Value |
| 397 | + | end |
| 398 | - | wait(rate)--created by Malvaviscos |
| 398 | + | |
| 399 | ||
| 400 | - | --created by Malvaviscos |
| 400 | + | --Credits to NyroKoSu and OrientalAura |
| 401 | end)) | |
| 402 | - | ScreenGui5.Name = "FuelGui" |
| 402 | + | RotateP9.Name = "d��������������ng.........you got owned..." |
| 403 | - | ScreenGui5.Parent = LocalScript4 |
| 403 | + | RotateP9.Parent = Script8 |
| 404 | - | Frame6.Name = "Tray" |
| 404 | + | RotateP9.BaseAngle = 0.25 |
| 405 | - | Frame6.Parent = ScreenGui5 |
| 405 | + | Part10.Parent = Tool0 |
| 406 | - | Frame6.Position = UDim2.new(0.5, -250, 0, 0) |
| 406 | + | Part10.CFrame = CFrame.new(-4.7538538, 4.44400549, -3.69968867, 0.278012097, -0.234381184, -0.931544006, 0.0670278668, 0.972144842, -0.224592462, 0.958236098, 0, 0.285978109) |
| 407 | - | Frame6.Transparency = 0.5 |
| 407 | + | Part10.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) |
| 408 | - | Frame6.Size = UDim2.new(0, 500, 0, 70) |
| 408 | + | Part10.Position = Vector3.new(-4.7538538, 4.44400549, -3.69968867) |
| 409 | - | Frame6.BackgroundColor = BrickColor.new("Deep orange")
|
| 409 | + | Part10.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) |
| 410 | - | Frame6.BackgroundColor3 = Color3.new(1, 0.4, 0) |
| 410 | + | Part10.Color = Color3.new(0.470588, 0.564706, 0.509804) |
| 411 | - | Frame6.BackgroundTransparency = 0.5 |
| 411 | + | Part10.Size = Vector3.new(0.200000003, 0.200000003, 0.359999925) |
| 412 | - | Frame6.BorderColor = BrickColor.new("Really red")
|
| 412 | + | Part10.BottomSurface = Enum.SurfaceType.Smooth |
| 413 | - | Frame6.BorderColor3 = Color3.new(1, 0, 0) |
| 413 | + | Part10.BrickColor = BrickColor.new("Sand green")
|
| 414 | - | Frame7.Name = "SpecialBar" |
| 414 | + | Part10.Material = Enum.Material.CorrodedMetal |
| 415 | - | Frame7.Parent = Frame6 |
| 415 | + | Part10.TopSurface = Enum.SurfaceType.Smooth |
| 416 | - | Frame7.Position = UDim2.new(0, 70, 0, 15) |
| 416 | + | Part10.brickColor = BrickColor.new("Sand green")
|
| 417 | - | Frame7.Size = UDim2.new(1, -85, 1, -30) |
| 417 | + | Part10.FormFactor = Enum.FormFactor.Custom |
| 418 | - | Frame7.BackgroundColor = BrickColor.new("Really red")
|
| 418 | + | Part10.formFactor = Enum.FormFactor.Custom |
| 419 | - | Frame7.BackgroundColor3 = Color3.new(1, 0, 0) |
| 419 | + | CylinderMesh11.Parent = Part10 |
| 420 | - | Frame7.BorderColor = BrickColor.new("Bright red")
|
| 420 | + | ManualWeld12.Name = "Part-to-Part Strong Joint" |
| 421 | - | Frame7.BorderColor3 = Color3.new(1, 0.156863, 0.109804) |
| 421 | + | ManualWeld12.Parent = Part10 |
| 422 | - | Frame7.BorderSizePixel = 0 |
| 422 | + | ManualWeld12.C0 = CFrame.new(-0.100000001, -0.100000001, 0.179999962, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 423 | - | Frame8.Name = "FullMeter" |
| 423 | + | ManualWeld12.C1 = CFrame.new(-0.464996338, 0.409988403, -0.11000061, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 424 | - | Frame8.Parent = Frame7 |
| 424 | + | ManualWeld12.Part0 = Part10 |
| 425 | - | Frame8.Size = UDim2.new(0, 415, 1, 0) |
| 425 | + | ManualWeld12.Part1 = Part19 |
| 426 | - | Frame8.BackgroundColor = BrickColor.new("Deep orange")
|
| 426 | + | ManualWeld12.part1 = Part19 |
| 427 | - | Frame8.BackgroundColor3 = Color3.new(1, 0.4, 0) |
| 427 | + | Part13.Parent = Tool0 |
| 428 | - | Frame8.BorderColor = BrickColor.new("Deep orange")
|
| 428 | + | Part13.CFrame = CFrame.new(-5.01799679, 4.29754019, -3.24200392, 0.278012097, -0.234381184, -0.931544006, 0.0670278668, 0.972144842, -0.224592462, 0.958236098, 0, 0.285978109) |
| 429 | - | Frame8.BorderColor3 = Color3.new(1, 0.686275, 0) |
| 429 | + | Part13.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) |
| 430 | - | Frame8.BorderSizePixel = 0 |
| 430 | + | Part13.Position = Vector3.new(-5.01799679, 4.29754019, -3.24200392) |
| 431 | - | Frame8.ZIndex = 2 |
| 431 | + | Part13.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) |
| 432 | - | NumberValue9.Name = "MaxValue" |
| 432 | + | Part13.Color = Color3.new(0.470588, 0.564706, 0.509804) |
| 433 | - | NumberValue9.Parent = Frame7 |
| 433 | + | Part13.Size = Vector3.new(0.909999728, 0.200000003, 0.419999808) |
| 434 | - | NumberValue9.Value = 100 |
| 434 | + | Part13.BottomSurface = Enum.SurfaceType.Smooth |
| 435 | - | NumberValue10.Name = "CurrentValue" |
| 435 | + | Part13.BrickColor = BrickColor.new("Sand green")
|
| 436 | - | NumberValue10.Parent = Frame7 |
| 436 | + | Part13.Material = Enum.Material.CorrodedMetal |
| 437 | - | NumberValue10.Value = 100 |
| 437 | + | Part13.TopSurface = Enum.SurfaceType.Smooth |
| 438 | - | LocalScript11.Parent = Frame7 |
| 438 | + | Part13.brickColor = BrickColor.new("Sand green")
|
| 439 | - | table.insert(cors,sandbox(LocalScript11,function() |
| 439 | + | Part13.FormFactor = Enum.FormFactor.Custom |
| 440 | - | local fullMeter = script.Parent.FullMeter |
| 440 | + | Part13.formFactor = Enum.FormFactor.Custom |
| 441 | - | local emptyMeter = script.Parent |
| 441 | + | ManualWeld14.Name = "Part-to-Part Strong Joint" |
| 442 | - | local maxVal = script.Parent.MaxValue |
| 442 | + | ManualWeld14.Parent = Part13 |
| 443 | - | local curVal = script.Parent.CurrentValue |
| 443 | + | ManualWeld14.C0 = CFrame.new(-0.454999864, -0.100000001, 0.209999904, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 444 | ManualWeld14.C1 = CFrame.new(-0.769973755, -0.17999649, -0.189968109, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 445 | - | function convert(val, maxVal, maxBarWidth) -- Cross multiplying actually has a "practical" use! |
| 445 | + | ManualWeld14.Part0 = Part13 |
| 446 | - | return (val * maxBarWidth)/maxVal |
| 446 | + | ManualWeld14.Part1 = Part24 |
| 447 | ManualWeld14.part1 = Part24 | |
| 448 | ManualWeld15.Name = "Part-to-Part Strong Joint" | |
| 449 | - | function update() |
| 449 | + | ManualWeld15.Parent = Part13 |
| 450 | - | if curVal.Value > maxVal.Value then |
| 450 | + | ManualWeld15.C0 = CFrame.new(-0.454999864, -0.100000001, 0.209999904, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 451 | - | curVal.Value = maxVal.Value |
| 451 | + | ManualWeld15.C1 = CFrame.new(-0.455005646, -0.0999994278, -0.214996338, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 452 | - | elseif curVal.Value < 0 then |
| 452 | + | ManualWeld15.Part0 = Part13 |
| 453 | - | curVal.Value = 0 |
| 453 | + | ManualWeld15.Part1 = Part21 |
| 454 | ManualWeld15.part1 = Part21 | |
| 455 | - | if curVal.Value == 0 then |
| 455 | + | Part16.Parent = Tool0 |
| 456 | - | fullMeter.BorderColor = emptyMeter.BorderColor |
| 456 | + | Part16.CFrame = CFrame.new(-5.03067732, 4.27347946, -3.23168683, 0.278012812, -0.23437956, -0.931542277, 0.0670277178, 0.972140253, -0.224591866, 0.958232105, -6.45634657e-09, 0.285978317) |
| 457 | Part16.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) | |
| 458 | - | fullMeter.BorderColor = fullMeter.BackgroundColor |
| 458 | + | Part16.Position = Vector3.new(-5.03067732, 4.27347946, -3.23168683) |
| 459 | Part16.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) | |
| 460 | - | local width = convert(curVal.Value, maxVal.Value, emptyMeter.AbsoluteSize.x) |
| 460 | + | Part16.Color = Color3.new(0.639216, 0.294118, 0.294118) |
| 461 | - | fullMeter.Size = UDim2.new(0, width, 1, 0) |
| 461 | + | Part16.Size = Vector3.new(0.959999979, 0.200000003, 1.27999878) |
| 462 | Part16.BottomSurface = Enum.SurfaceType.Smooth | |
| 463 | - | curVal.Changed:connect(update) |
| 463 | + | Part16.BrickColor = BrickColor.new("Dusty Rose")
|
| 464 | - | maxVal.Changed:connect(update) |
| 464 | + | Part16.Material = Enum.Material.SmoothPlastic |
| 465 | - | update() |
| 465 | + | Part16.TopSurface = Enum.SurfaceType.Smooth |
| 466 | Part16.brickColor = BrickColor.new("Dusty Rose")
| |
| 467 | - | Frame12.Name = "IconBin" |
| 467 | + | Part16.FormFactor = Enum.FormFactor.Custom |
| 468 | - | Frame12.Parent = Frame6 |
| 468 | + | Part16.formFactor = Enum.FormFactor.Custom |
| 469 | - | Frame12.Position = UDim2.new(0, 15, 0, 15) |
| 469 | + | Part17.Parent = Tool0 |
| 470 | - | Frame12.Transparency = 0.5 |
| 470 | + | Part17.CFrame = CFrame.new(-4.64109564, 4.40946674, -3.35951495, 0.278012097, -0.234381184, -0.931544006, 0.0670278668, 0.972144842, -0.224592462, 0.958236098, 0, 0.285978109) |
| 471 | - | Frame12.Size = UDim2.new(0, 40, 1, -30) |
| 471 | + | Part17.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) |
| 472 | - | Frame12.BackgroundColor = BrickColor.new("Deep orange")
|
| 472 | + | Part17.Position = Vector3.new(-4.64109564, 4.40946674, -3.35951495) |
| 473 | - | Frame12.BackgroundColor3 = Color3.new(1, 0.4, 0) |
| 473 | + | Part17.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) |
| 474 | - | Frame12.BackgroundTransparency = 0.5 |
| 474 | + | Part17.Color = Color3.new(0.470588, 0.564706, 0.509804) |
| 475 | - | Frame12.BorderColor = BrickColor.new("Really red")
|
| 475 | + | Part17.Size = Vector3.new(0.909999728, 0.200000003, 0.359999925) |
| 476 | - | Frame12.BorderColor3 = Color3.new(1, 0, 0) |
| 476 | + | Part17.BottomSurface = Enum.SurfaceType.Smooth |
| 477 | - | Frame13.Name = "Mask" |
| 477 | + | Part17.BrickColor = BrickColor.new("Sand green")
|
| 478 | - | Frame13.Parent = Frame12 |
| 478 | + | Part17.Material = Enum.Material.CorrodedMetal |
| 479 | - | Frame13.Visible = false |
| 479 | + | Part17.TopSurface = Enum.SurfaceType.Smooth |
| 480 | - | Frame13.Transparency = 0.5 |
| 480 | + | Part17.brickColor = BrickColor.new("Sand green")
|
| 481 | - | Frame13.Size = UDim2.new(1, 0, 1, 0) |
| 481 | + | Part17.FormFactor = Enum.FormFactor.Custom |
| 482 | - | Frame13.BackgroundColor = BrickColor.new("Toothpaste")
|
| 482 | + | Part17.formFactor = Enum.FormFactor.Custom |
| 483 | - | Frame13.BackgroundColor3 = Color3.new(0, 1, 1) |
| 483 | + | ManualWeld18.Name = "Part-to-Part Strong Joint" |
| 484 | - | Frame13.BackgroundTransparency = 0.5 |
| 484 | + | ManualWeld18.Parent = Part17 |
| 485 | - | Frame13.BorderColor = BrickColor.new("Really blue")
|
| 485 | + | ManualWeld18.C0 = CFrame.new(-0.454999864, -0.100000001, 0.179999962, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 486 | - | Frame13.BorderColor3 = Color3.new(0, 0, 1) |
| 486 | + | ManualWeld18.C1 = CFrame.new(-0.464996338, 0.349983215, -0.11000061, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 487 | - | Frame13.ZIndex = 3 |
| 487 | + | ManualWeld18.Part0 = Part17 |
| 488 | - | ImageLabel14.Name = "Icon" |
| 488 | + | ManualWeld18.Part1 = Part19 |
| 489 | - | ImageLabel14.Parent = Frame12 |
| 489 | + | ManualWeld18.part1 = Part19 |
| 490 | - | ImageLabel14.Position = UDim2.new(-0.25, 0, -0.25, 0) |
| 490 | + | Part19.Parent = Tool0 |
| 491 | - | ImageLabel14.Transparency = 1 |
| 491 | + | Part19.CFrame = CFrame.new(-4.80299711, 3.90755606, -3.26700211, 0.278012097, -0.234381184, -0.931544006, 0.0670278668, 0.972144842, -0.224592462, 0.958236098, 0, 0.285978109) |
| 492 | - | ImageLabel14.Size = UDim2.new(1.5, 0, 1.5, 0) |
| 492 | + | Part19.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) |
| 493 | - | ImageLabel14.BackgroundColor = BrickColor.new("Institutional white")
|
| 493 | + | Part19.Position = Vector3.new(-4.80299711, 3.90755606, -3.26700211) |
| 494 | - | ImageLabel14.BackgroundColor3 = Color3.new(1, 1, 1) |
| 494 | + | Part19.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) |
| 495 | - | ImageLabel14.BackgroundTransparency = 1 |
| 495 | + | Part19.Color = Color3.new(0.886275, 0.607843, 0.25098) |
| 496 | - | ImageLabel14.BorderSizePixel = 0 |
| 496 | + | Part19.Size = Vector3.new(1.12999916, 1.13999975, 0.200000003) |
| 497 | - | ImageLabel14.ZIndex = 2 |
| 497 | + | Part19.BottomSurface = Enum.SurfaceType.Smooth |
| 498 | - | ImageLabel14.Image = "rbxasset://Textures/Flamethrower.png" |
| 498 | + | Part19.BrickColor = BrickColor.new("Br. yellowish orange")
|
| 499 | - | Frame15.Name = "Border" |
| 499 | + | Part19.Material = Enum.Material.SmoothPlastic |
| 500 | - | Frame15.Parent = Frame12 |
| 500 | + | Part19.TopSurface = Enum.SurfaceType.Smooth |
| 501 | - | Frame15.Position = UDim2.new(0, -5, 0, -5) |
| 501 | + | Part19.brickColor = BrickColor.new("Br. yellowish orange")
|
| 502 | - | Frame15.Visible = false |
| 502 | + | Part19.FormFactor = Enum.FormFactor.Custom |
| 503 | - | Frame15.Size = UDim2.new(1, 10, 1, 10) |
| 503 | + | Part19.formFactor = Enum.FormFactor.Custom |
| 504 | - | Frame15.BackgroundColor = BrickColor.new("Really red")
|
| 504 | + | Part20.Parent = Tool0 |
| 505 | - | Frame15.BackgroundColor3 = Color3.new(1, 0, 0) |
| 505 | + | Part20.CFrame = CFrame.new(-4.92899895, 3.86655307, -3.23800302, 0.278012097, -0.234381184, -0.931544006, 0.0670278668, 0.972144842, -0.224592462, 0.958236098, 0, 0.285978109) |
| 506 | - | Frame15.BorderColor = BrickColor.new("Really red")
|
| 506 | + | Part20.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) |
| 507 | - | Frame15.BorderColor3 = Color3.new(1, 0, 0) |
| 507 | + | Part20.Position = Vector3.new(-4.92899895, 3.86655307, -3.23800302) |
| 508 | - | Frame15.BorderSizePixel = 0 |
| 508 | + | Part20.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) |
| 509 | - | TextLabel16.Name = "CurrentAttack" |
| 509 | + | Part20.Color = Color3.new(0.105882, 0.164706, 0.207843) |
| 510 | - | TextLabel16.Parent = Frame6 |
| 510 | + | Part20.Size = Vector3.new(1.08999991, 1.01999986, 1.44999921) |
| 511 | - | TextLabel16.Position = UDim2.new(0.5, -150, 1, -14) |
| 511 | + | Part20.BottomSurface = Enum.SurfaceType.Smooth |
| 512 | - | TextLabel16.Visible = false |
| 512 | + | Part20.BrickColor = BrickColor.new("Black")
|
| 513 | - | TextLabel16.Transparency = 0.5 |
| 513 | + | Part20.Material = Enum.Material.SmoothPlastic |
| 514 | - | TextLabel16.Size = UDim2.new(0, 300, 0, 12) |
| 514 | + | Part20.TopSurface = Enum.SurfaceType.Smooth |
| 515 | - | TextLabel16.BackgroundColor = BrickColor.new("Deep orange")
|
| 515 | + | Part20.brickColor = BrickColor.new("Black")
|
| 516 | - | TextLabel16.BackgroundColor3 = Color3.new(1, 0.4, 0) |
| 516 | + | Part20.FormFactor = Enum.FormFactor.Custom |
| 517 | - | TextLabel16.BackgroundTransparency = 0.5 |
| 517 | + | Part20.formFactor = Enum.FormFactor.Custom |
| 518 | - | TextLabel16.BorderColor = BrickColor.new("Really red")
|
| 518 | + | Part21.Parent = Tool0 |
| 519 | - | TextLabel16.BorderColor3 = Color3.new(1, 0, 0) |
| 519 | + | Part21.CFrame = CFrame.new(-5.41389799, 4.20208883, -3.12045884, 0.278012097, -0.234381184, -0.931544006, 0.0670278668, 0.972144842, -0.224592462, 0.958236098, 0, 0.285978109) |
| 520 | - | TextLabel16.Text = "Blast of Super Awesomeness" |
| 520 | + | Part21.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) |
| 521 | - | TextLabel16.TextColor = BrickColor.new("Toothpaste")
|
| 521 | + | Part21.Position = Vector3.new(-5.41389799, 4.20208883, -3.12045884) |
| 522 | - | TextLabel16.TextColor3 = Color3.new(0, 1, 1) |
| 522 | + | Part21.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) |
| 523 | - | LocalScript17.Name = "MainScript" |
| 523 | + | Part21.Color = Color3.new(0.470588, 0.564706, 0.509804) |
| 524 | - | LocalScript17.Parent = Tool0 |
| 524 | + | Part21.Size = Vector3.new(0.909999728, 0.200000003, 0.389999926) |
| 525 | - | table.insert(cors,sandbox(LocalScript17,function() |
| 525 | + | Part21.BottomSurface = Enum.SurfaceType.Smooth |
| 526 | - | local Tool = script.Parent; |
| 526 | + | Part21.BrickColor = BrickColor.new("Sand green")
|
| 527 | - | local bin = Instance.new("Model")--created by Malvaviscos
|
| 527 | + | Part21.Material = Enum.Material.CorrodedMetal |
| 528 | - | bin.Name = "MalvaviscosFireBallBin" |
| 528 | + | Part21.TopSurface = Enum.SurfaceType.Smooth |
| 529 | - | local settings = Tool.Handle.Settings |
| 529 | + | Part21.brickColor = BrickColor.new("Sand green")
|
| 530 | - | local fuel = settings.Fuel |
| 530 | + | Part21.FormFactor = Enum.FormFactor.Custom |
| 531 | - | local fuelDrainValue = 5 |
| 531 | + | Part21.formFactor = Enum.FormFactor.Custom |
| 532 | - | local tagname = "Malvaviscos PyroShot Burning" |
| 532 | + | Part22.Parent = Tool0 |
| 533 | - | local ballname = "Malvaviscos PyroShot Ball"--created by Malvaviscos |
| 533 | + | Part22.CFrame = CFrame.new(-5.29160452, 3.77909422, -3.11545777, 0.278012097, -0.273779929, -0.92073524, 0.0670278668, 0.961715579, -0.265726477, 0.958236098, 0.0121602481, 0.285719454) |
| 534 | Part22.Orientation = Vector3.new(15.4099998, -72.7600021, 3.99000001) | |
| 535 | - | function getHumanoid(model) |
| 535 | + | Part22.Position = Vector3.new(-5.29160452, 3.77909422, -3.11545777) |
| 536 | - | for i,child in pairs(model:getChildren()) do |
| 536 | + | Part22.Rotation = Vector3.new(42.9199982, -67.0299988, 44.5599976) |
| 537 | - | if child.className == "Humanoid" then |
| 537 | + | Part22.Color = Color3.new(0.886275, 0.607843, 0.25098) |
| 538 | - | return child |
| 538 | + | Part22.Size = Vector3.new(1.12999916, 1.13999939, 0.200000003) |
| 539 | Part22.BottomSurface = Enum.SurfaceType.Smooth | |
| 540 | - | end--created by Malvaviscos |
| 540 | + | Part22.BrickColor = BrickColor.new("Br. yellowish orange")
|
| 541 | Part22.Material = Enum.Material.SmoothPlastic | |
| 542 | Part22.TopSurface = Enum.SurfaceType.Smooth | |
| 543 | - | function tagHuman(human, time) |
| 543 | + | Part22.brickColor = BrickColor.new("Br. yellowish orange")
|
| 544 | - | local tag = Instance.new("ObjectValue")
|
| 544 | + | Part22.FormFactor = Enum.FormFactor.Custom |
| 545 | - | tag.Name = "creator" |
| 545 | + | Part22.formFactor = Enum.FormFactor.Custom |
| 546 | - | tag.Value = game.Players.LocalPlayer |
| 546 | + | ManualWeld23.Name = "Part-to-Part Strong Joint" |
| 547 | - | game:getService("Debris"):addItem(tag, time)
|
| 547 | + | ManualWeld23.Parent = Part22 |
| 548 | - | tag.Parent = human--created by Malvaviscos |
| 548 | + | ManualWeld23.C0 = CFrame.new(-0.56499958, -0.569999695, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 549 | ManualWeld23.C1 = CFrame.new(-0.564975739, -0.573699951, -0.0868453979, 1, 0, 0, 0, 0.999095559, -0.0425216034, 0, 0.0425216034, 0.999095559) | |
| 550 | ManualWeld23.Part0 = Part22 | |
| 551 | - | function burnDeath(char) |
| 551 | + | ManualWeld23.Part1 = Part29 |
| 552 | - | for i=1, 10 do |
| 552 | + | ManualWeld23.part1 = Part29 |
| 553 | - | for x,child in pairs(char:getChildren()) do |
| 553 | + | Part24.Parent = Tool0 |
| 554 | - | if child.className == "Part" then |
| 554 | + | Part24.CFrame = CFrame.new(-5.32176781, 4.30659056, -2.82580233, 0.278012097, -0.234381184, -0.931544006, 0.0670278668, 0.972144842, -0.224592462, 0.958236098, 0, 0.285978109) |
| 555 | - | if child.Name == "Torso" and child.Transparency == 1 then return end |
| 555 | + | Part24.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) |
| 556 | - | child.Transparency = 0.1 * i |
| 556 | + | Part24.Position = Vector3.new(-5.32176781, 4.30659056, -2.82580233) |
| 557 | - | elseif child.className == "Hat" or child.className == "Tool" then |
| 557 | + | Part24.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) |
| 558 | - | child.Handle.Transparency = 0.1 * i--created by Malvaviscos |
| 558 | + | Part24.Color = Color3.new(0.470588, 0.564706, 0.509804) |
| 559 | Part24.Size = Vector3.new(0.200000003, 0.200000003, 0.359999925) | |
| 560 | Part24.BottomSurface = Enum.SurfaceType.Smooth | |
| 561 | - | wait() |
| 561 | + | Part24.BrickColor = BrickColor.new("Sand green")
|
| 562 | Part24.Material = Enum.Material.CorrodedMetal | |
| 563 | Part24.TopSurface = Enum.SurfaceType.Smooth | |
| 564 | Part24.brickColor = BrickColor.new("Sand green")
| |
| 565 | - | function burn(hit, ball) |
| 565 | + | Part24.FormFactor = Enum.FormFactor.Custom |
| 566 | - | if hit.Name == ballname or hit.Parent == game.Players.LocalPlayer.Character or hit.Parent == script.Parent or hit.Parent.Parent == game.Players.LocalPlayer.Character then return end |
| 566 | + | Part24.formFactor = Enum.FormFactor.Custom |
| 567 | - | ball.Anchored = true |
| 567 | + | CylinderMesh25.Parent = Part24 |
| 568 | - | ball.ShotFire.Enabled = false |
| 568 | + | Part26.Parent = Tool0 |
| 569 | - | ball.Transparency = 1--created by Malvaviscos |
| 569 | + | Part26.CFrame = CFrame.new(-4.77399778, 3.47655606, -3.252002, -0.931542099, -0.23437959, -0.278011382, -0.224592015, 0.972138524, -0.0670277104, 0.285976768, 6.1065973e-14, -0.958231091) |
| 570 | - | local h = getHumanoid(hit.Parent) |
| 570 | + | Part26.Orientation = Vector3.new(3.83999991, -163.819992, -13.0099993) |
| 571 | - | if h ~= nil and h:findFirstChild(tagname) == nil and h.Health > 0 then |
| 571 | + | Part26.Position = Vector3.new(-4.77399778, 3.47655606, -3.252002) |
| 572 | - | local tag = Instance.new("IntValue")
|
| 572 | + | Part26.Rotation = Vector3.new(176, -16.1399994, 165.87999) |
| 573 | - | tag.Name = tagname |
| 573 | + | Part26.Color = Color3.new(0.388235, 0.372549, 0.384314) |
| 574 | - | tag.Parent = h--created by Malvaviscos |
| 574 | + | Part26.Size = Vector3.new(1.29000139, 0.270000249, 1.06999934) |
| 575 | - | game:getService("Debris"):addItem(tag, settings.BurnTime.Value + settings.BurnDB.Value)
|
| 575 | + | Part26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 576 | Part26.BrickColor = BrickColor.new("Dark stone grey")
| |
| 577 | - | for i,child in pairs(h.Parent:getChildren()) do |
| 577 | + | Part26.Material = Enum.Material.SmoothPlastic |
| 578 | - | if child.className == "Part" then |
| 578 | + | Part26.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 579 | - | local personfire = ball.ShotFire:clone() |
| 579 | + | Part26.brickColor = BrickColor.new("Dark stone grey")
|
| 580 | - | personfire.Enabled = true |
| 580 | + | Part26.FormFactor = Enum.FormFactor.Custom |
| 581 | - | personfire.Size = (child:getMass()/3) * 2 |
| 581 | + | Part26.formFactor = Enum.FormFactor.Custom |
| 582 | - | personfire.Parent = child |
| 582 | + | Part27.Parent = Tool0 |
| 583 | - | game:getService("Debris"):addItem(personfire, settings.BurnTime.Value + 0.1)--created by Malvaviscos
|
| 583 | + | Part27.CFrame = CFrame.new(-4.61331463, 3.00147843, -3.27384472, 0.278011888, -0.234381005, -0.93154341, 0.0670278147, 0.972144127, -0.224592328, 0.958235264, 2.98427949e-13, 0.28597796) |
| 584 | Part27.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) | |
| 585 | Part27.Position = Vector3.new(-4.61331463, 3.00147843, -3.27384472) | |
| 586 | - | |
| 586 | + | Part27.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) |
| 587 | - | tagHuman(h, settings.BurnTime.Value + 0.5) |
| 587 | + | Part27.Color = Color3.new(0.388235, 0.372549, 0.384314) |
| 588 | - | for i=1,20 do |
| 588 | + | Part27.Size = Vector3.new(0.319999993, 1.19000006, 0.310000271) |
| 589 | - | h:takeDamage(settings.Damage.Value/20) |
| 589 | + | Part27.BottomSurface = Enum.SurfaceType.Smooth |
| 590 | - | if h.Health <= 0 then |
| 590 | + | Part27.BrickColor = BrickColor.new("Dark stone grey")
|
| 591 | - | burnDeath(h.Parent) |
| 591 | + | Part27.Material = Enum.Material.SmoothPlastic |
| 592 | - | end--created by Malvaviscos |
| 592 | + | Part27.TopSurface = Enum.SurfaceType.Smooth |
| 593 | - | wait(settings.BurnTime.Value/20) |
| 593 | + | Part27.brickColor = BrickColor.new("Dark stone grey")
|
| 594 | Part27.FormFactor = Enum.FormFactor.Custom | |
| 595 | - | elseif h == nil and settings.BurnsNormalBricks.Value == true then |
| 595 | + | Part27.formFactor = Enum.FormFactor.Custom |
| 596 | - | local flames = script.Parent.FireFlameScript:clone() |
| 596 | + | ManualWeld28.Name = "Part-to-Part Strong Joint" |
| 597 | - | flames.Disabled = false |
| 597 | + | ManualWeld28.Parent = Part27 |
| 598 | - | flames.Parent = hit |
| 598 | + | ManualWeld28.C0 = CFrame.new(-0.159999996, -0.595000029, -0.155000135, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 599 | ManualWeld28.C1 = CFrame.new(-0.226734638, 0.119976044, 0.349365234, -8.30531292e-07, 0.999999642, -7.28046963e-13, -1.08592212e-06, -1.60760294e-12, -0.999999642, -0.999999762, -8.30532088e-07, 1.09151006e-06) | |
| 600 | - | wait() |
| 600 | + | ManualWeld28.Part0 = Part27 |
| 601 | - | ball:remove() |
| 601 | + | ManualWeld28.Part1 = Part31 |
| 602 | - | end |
| 602 | + | ManualWeld28.part1 = Part31 |
| 603 | Part29.Parent = Tool0 | |
| 604 | - | function onButton1Down(mouse) |
| 604 | + | Part29.CFrame = CFrame.new(-5.44299507, 3.74255705, -3.06900406, 0.278012097, -0.234381184, -0.931544006, 0.0670278668, 0.972144842, -0.224592462, 0.958236098, 0, 0.285978109) |
| 605 | - | down = true |
| 605 | + | Part29.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) |
| 606 | - | Tool.Handle.Swoosh:play() |
| 606 | + | Part29.Position = Vector3.new(-5.44299507, 3.74255705, -3.06900406) |
| 607 | - | while down and fuel.Value - 5 >= 0 and settings.FuelUsed.Value == true or down and settings.FuelUsed.Value == false do |
| 607 | + | Part29.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) |
| 608 | - | script.Parent.Firing.Value = true |
| 608 | + | Part29.Color = Color3.new(0.886275, 0.607843, 0.25098) |
| 609 | - | local ball = Instance.new("Part")--created by Malvaviscos
|
| 609 | + | Part29.Size = Vector3.new(1.12999916, 1.19999969, 0.200000003) |
| 610 | - | ball.Name = ballname |
| 610 | + | Part29.BottomSurface = Enum.SurfaceType.Smooth |
| 611 | - | ball.Shape = "Ball" |
| 611 | + | Part29.BrickColor = BrickColor.new("Br. yellowish orange")
|
| 612 | - | ball.Transparency = 1 |
| 612 | + | Part29.Material = Enum.Material.SmoothPlastic |
| 613 | - | ball.BrickColor = BrickColor.new("Toothpaste")
|
| 613 | + | Part29.TopSurface = Enum.SurfaceType.Smooth |
| 614 | - | ball.Size = Vector3.new(3,3,3) |
| 614 | + | Part29.brickColor = BrickColor.new("Br. yellowish orange")
|
| 615 | - | ball.TopSurface = 0 |
| 615 | + | Part29.FormFactor = Enum.FormFactor.Custom |
| 616 | - | ball.BottomSurface = 0 |
| 616 | + | Part29.formFactor = Enum.FormFactor.Custom |
| 617 | - | ball.CFrame = CFrame.new(Tool.Handle.Position + (mouse.Hit.p - Tool.Handle.Position).unit * 3, mouse.Hit.p) |
| 617 | + | Part30.Parent = Tool0 |
| 618 | - | ball.CFrame = ball.CFrame * CFrame.new(0.1 * math.random(-10,10), 0.1 * math.random(-10,10), 0) --* CFrame.fromEulerAnglesXYZ(math.rad(math.random(-30,30)),math.rad(math.random(-30,30)),0) |
| 618 | + | Part30.CFrame = CFrame.new(-5.25299788, 2.70955706, -3.44400406, 0.278012097, -0.808565378, -0.518585861, 0.0670278668, 0.55488205, -0.829224408, 0.958236098, 0.195774809, 0.208460435) |
| 619 | - | ball.CanCollide = false |
| 619 | + | Part30.Orientation = Vector3.new(56.0200005, -68.0999985, 6.88999987) |
| 620 | - | |
| 620 | + | Part30.Position = Vector3.new(-5.25299788, 2.70955706, -3.44400406) |
| 621 | - | local mesh = Instance.new("SpecialMesh")
|
| 621 | + | Part30.Rotation = Vector3.new(75.8899994, -31.2399998, 71.0299988) |
| 622 | - | mesh.MeshType = "Sphere" |
| 622 | + | Part30.Color = Color3.new(0.388235, 0.372549, 0.384314) |
| 623 | - | mesh.Parent = ball |
| 623 | + | Part30.Size = Vector3.new(0.200000003, 1.19000006, 0.200000003) |
| 624 | Part30.BottomSurface = Enum.SurfaceType.Smooth | |
| 625 | - | local velo = Instance.new("BodyVelocity")
|
| 625 | + | Part30.BrickColor = BrickColor.new("Dark stone grey")
|
| 626 | - | velo.maxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 626 | + | Part30.Material = Enum.Material.SmoothPlastic |
| 627 | - | velo.velocity = ball.CFrame.lookVector * settings.Speed.Value--created by Malvaviscos |
| 627 | + | Part30.TopSurface = Enum.SurfaceType.Smooth |
| 628 | - | velo.Parent = ball |
| 628 | + | Part30.brickColor = BrickColor.new("Dark stone grey")
|
| 629 | Part30.FormFactor = Enum.FormFactor.Custom | |
| 630 | - | settings.ShotFire:clone().Parent = ball |
| 630 | + | Part30.formFactor = Enum.FormFactor.Custom |
| 631 | Part31.Parent = Tool0 | |
| 632 | - | ball.Touched:connect(function(hit) burn(hit, ball) end) |
| 632 | + | Part31.CFrame = CFrame.new(-4.7858963, 2.58105278, -3.48654318, -0.23438032, 0.278012991, 0.931543529, 0.972144663, 0.0670280829, 0.224591509, -2.37513035e-07, 0.958235323, -0.285979062) |
| 633 | Part31.Orientation = Vector3.new(-12.9799995, 107.07, 86.0599976) | |
| 634 | - | ball.Parent = bin |
| 634 | + | Part31.Position = Vector3.new(-4.7858963, 2.58105278, -3.48654318) |
| 635 | - | |
| 635 | + | Part31.Rotation = Vector3.new(-141.860001, 68.6800003, -130.12999) |
| 636 | - | game:getService("Debris"):addItem(ball, settings.ShotExpireTime.Value)
|
| 636 | + | Part31.Color = Color3.new(0.388235, 0.372549, 0.384314) |
| 637 | - | if settings.FuelUsed.Value then |
| 637 | + | Part31.Size = Vector3.new(0.7099998, 0.200000003, 0.819999993) |
| 638 | - | fuel.Value = fuel.Value - fuelDrainValue |
| 638 | + | Part31.BottomSurface = Enum.SurfaceType.Smooth |
| 639 | Part31.BrickColor = BrickColor.new("Dark stone grey")
| |
| 640 | - | wait(0.1) |
| 640 | + | Part31.Material = Enum.Material.SmoothPlastic |
| 641 | Part31.TopSurface = Enum.SurfaceType.Smooth | |
| 642 | - | script.Parent.Firing.Value = false |
| 642 | + | Part31.brickColor = BrickColor.new("Dark stone grey")
|
| 643 | - | Tool.Handle.Swoosh:stop() |
| 643 | + | Part31.FormFactor = Enum.FormFactor.Custom |
| 644 | Part31.formFactor = Enum.FormFactor.Custom | |
| 645 | CylinderMesh32.Parent = Part31 | |
| 646 | - | function onButton1Up(mouse) |
| 646 | + | Part33.Parent = Tool0 |
| 647 | - | down = false |
| 647 | + | Part33.CFrame = CFrame.new(-4.5019989, 2.44655704, -3.293998, 0.278012097, -0.234381184, -0.931544006, 0.0670278668, 0.972144842, -0.224592462, 0.958236098, 0, 0.285978109) |
| 648 | - | Tool.Handle.Swoosh:stop()--created by Malvaviscos |
| 648 | + | Part33.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) |
| 649 | Part33.Position = Vector3.new(-4.5019989, 2.44655704, -3.293998) | |
| 650 | Part33.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) | |
| 651 | - | local credits = false |
| 651 | + | Part33.Color = Color3.new(0.388235, 0.372549, 0.384314) |
| 652 | - | function onEquipped(mouse) |
| 652 | + | Part33.Size = Vector3.new(0.7099998, 0.200000003, 0.819999993) |
| 653 | - | mouse.Button1Down:connect(function() onButton1Down(mouse) end) |
| 653 | + | Part33.BottomSurface = Enum.SurfaceType.Smooth |
| 654 | - | mouse.Button1Up:connect(function() onButton1Up(mouse) end) |
| 654 | + | Part33.BrickColor = BrickColor.new("Dark stone grey")
|
| 655 | - | mouse.Icon = "rbxasset://textures/GunCursor.png" |
| 655 | + | Part33.Material = Enum.Material.SmoothPlastic |
| 656 | - | bin.Parent = Tool.Parent |
| 656 | + | Part33.TopSurface = Enum.SurfaceType.Smooth |
| 657 | - | if credits == false then |
| 657 | + | Part33.brickColor = BrickColor.new("Dark stone grey")
|
| 658 | - | credits = true |
| 658 | + | Part33.FormFactor = Enum.FormFactor.Custom |
| 659 | - | local msg = Instance.new("Message")
|
| 659 | + | Part33.formFactor = Enum.FormFactor.Custom |
| 660 | - | msg.Text = "Pyro-Shot by Malvaviscos" |
| 660 | + | CylinderMesh34.Parent = Part33 |
| 661 | - | msg.Parent = game.Players.LocalPlayer |
| 661 | + | Part35.Parent = Tool0 |
| 662 | - | game:getService("Debris"):addItem(msg, 3)
|
| 662 | + | Part35.CFrame = CFrame.new(-4.33699799, 1.61255896, -3.23600411, 0.278012097, -0.234381184, -0.931544006, 0.0670278668, 0.972144842, -0.224592462, 0.958236098, 0, 0.285978109) |
| 663 | Part35.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) | |
| 664 | Part35.Position = Vector3.new(-4.33699799, 1.61255896, -3.23600411) | |
| 665 | - | script.Parent.Equipped:connect(onEquipped)--created by Malvaviscos |
| 665 | + | Part35.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) |
| 666 | Part35.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
| 667 | Part35.Size = Vector3.new(0.200000003, 0.760000348, 0.200000003) | |
| 668 | Part35.BottomSurface = Enum.SurfaceType.Smooth | |
| 669 | - | --created by Malvaviscos |
| 669 | + | Part35.BrickColor = BrickColor.new("Dark stone grey")
|
| 670 | - | --created by Malvaviscos |
| 670 | + | Part35.Material = Enum.Material.SmoothPlastic |
| 671 | - | --created by Malvaviscos |
| 671 | + | Part35.TopSurface = Enum.SurfaceType.Smooth |
| 672 | - | --created by Malvaviscos |
| 672 | + | Part35.brickColor = BrickColor.new("Dark stone grey")
|
| 673 | Part35.FormFactor = Enum.FormFactor.Custom | |
| 674 | - | Part18.Name = "Handle" |
| 674 | + | Part35.formFactor = Enum.FormFactor.Custom |
| 675 | - | Part18.Parent = Tool0 |
| 675 | + | SpecialMesh36.Parent = Part35 |
| 676 | - | Part18.CFrame = CFrame.new(-12.4997587, 0.499758393, -1.99999976, -0.999999881, 0.000483092153, -2.98023224e-08, 0.000483092183, 0.999999881, -1.09139364e-11, 8.94069672e-08, -7.27595761e-11, -1) |
| 676 | + | SpecialMesh36.MeshId = "http://www.roblox.com/Asset/?id=9753878" |
| 677 | - | Part18.Orientation = Vector3.new(0, -180, 0.0299999993) |
| 677 | + | SpecialMesh36.Scale = Vector3.new(1, 2, 1) |
| 678 | - | Part18.Position = Vector3.new(-12.4997587, 0.499758393, -1.99999976) |
| 678 | + | SpecialMesh36.MeshType = Enum.MeshType.FileMesh |
| 679 | - | Part18.Rotation = Vector3.new(180, 0, -179.970001) |
| 679 | + | Part37.Parent = Tool0 |
| 680 | - | Part18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 680 | + | Part37.CFrame = CFrame.new(-4.21599817, 1.31255901, -3.27100301, 0.278012097, -0.234381184, -0.931544006, 0.0670278668, 0.972144842, -0.224592462, 0.958236098, 0, 0.285978109) |
| 681 | - | Part18.Size = Vector3.new(1, 1, 4) |
| 681 | + | Part37.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) |
| 682 | - | Part18.BottomParamA = 0 |
| 682 | + | Part37.Position = Vector3.new(-4.21599817, 1.31255901, -3.27100301) |
| 683 | - | Part18.BottomParamB = 0 |
| 683 | + | Part37.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) |
| 684 | - | Part18.BottomSurface = Enum.SurfaceType.Smooth |
| 684 | + | Part37.Color = Color3.new(0.388235, 0.372549, 0.384314) |
| 685 | - | Part18.BrickColor = BrickColor.new("Really black")
|
| 685 | + | Part37.Size = Vector3.new(0.319999993, 2.31999993, 0.470000207) |
| 686 | - | Part18.TopSurface = Enum.SurfaceType.Smooth |
| 686 | + | Part37.BottomSurface = Enum.SurfaceType.Smooth |
| 687 | - | Part18.brickColor = BrickColor.new("Really black")
|
| 687 | + | Part37.BrickColor = BrickColor.new("Dark stone grey")
|
| 688 | - | Part18.FormFactor = Enum.FormFactor.Symmetric |
| 688 | + | Part37.Material = Enum.Material.SmoothPlastic |
| 689 | - | Part18.formFactor = Enum.FormFactor.Symmetric |
| 689 | + | Part37.TopSurface = Enum.SurfaceType.Smooth |
| 690 | - | Configuration19.Name = "Settings" |
| 690 | + | Part37.brickColor = BrickColor.new("Dark stone grey")
|
| 691 | - | Configuration19.Parent = Part18 |
| 691 | + | Part37.FormFactor = Enum.FormFactor.Custom |
| 692 | - | IntValue20.Name = "Damage" |
| 692 | + | Part37.formFactor = Enum.FormFactor.Custom |
| 693 | - | IntValue20.Parent = Configuration19 |
| 693 | + | CylinderMesh38.Parent = Part37 |
| 694 | - | IntValue20.Value = 60 |
| 694 | + | ManualWeld39.Name = "Part-to-Part Strong Joint" |
| 695 | - | Fire21.Name = "ShotFire" |
| 695 | + | ManualWeld39.Parent = Part37 |
| 696 | - | Fire21.Parent = Configuration19 |
| 696 | + | ManualWeld39.C0 = CFrame.new(-0.159999996, -1.15999997, -0.235000104, -0, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, -0) |
| 697 | - | Fire21.Color = Color3.new(1, 0, 0) |
| 697 | + | ManualWeld39.C1 = CFrame.new(-2.5267334, 0.119953156, 0.419353485, -8.30531235e-07, 0.999999642, -7.28046909e-13, -1.08592201e-06, -1.60760294e-12, -0.999999583, -0.999999702, -8.30532088e-07, 1.09150994e-06) |
| 698 | - | Fire21.Size = 6 |
| 698 | + | ManualWeld39.Part0 = Part37 |
| 699 | - | Fire21.Heat = 10 |
| 699 | + | ManualWeld39.Part1 = Part31 |
| 700 | - | Fire21.SecondaryColor = Color3.new(1, 0.74902, 0) |
| 700 | + | ManualWeld39.part1 = Part31 |
| 701 | - | Fire21.size = 6 |
| 701 | + | Part40.Parent = Tool0 |
| 702 | - | NumberValue22.Name = "Speed" |
| 702 | + | Part40.CFrame = CFrame.new(-4.14905596, 0.834652781, -3.23684716, 0.278011382, -0.23437959, -0.931542099, 0.0670277104, 0.972138524, -0.224592015, 0.958231091, 6.1065973e-14, 0.285976768) |
| 703 | - | NumberValue22.Parent = Configuration19 |
| 703 | + | Part40.Orientation = Vector3.new(12.9799995, -72.9300003, 3.93999982) |
| 704 | - | NumberValue22.Value = 50 |
| 704 | + | Part40.Position = Vector3.new(-4.14905596, 0.834652781, -3.23684716) |
| 705 | - | NumberValue23.Name = "ShotExpireTime" |
| 705 | + | Part40.Rotation = Vector3.new(38.1399994, -68.6800003, 40.1299973) |
| 706 | - | NumberValue23.Parent = Configuration19 |
| 706 | + | Part40.Color = Color3.new(0.388235, 0.372549, 0.384314) |
| 707 | - | NumberValue23.Value = 5 |
| 707 | + | Part40.Size = Vector3.new(0.200000003, 0.760000348, 0.200000003) |
| 708 | - | NumberValue24.Name = "BurnTime" |
| 708 | + | Part40.BottomSurface = Enum.SurfaceType.Smooth |
| 709 | - | NumberValue24.Parent = Configuration19 |
| 709 | + | Part40.BrickColor = BrickColor.new("Dark stone grey")
|
| 710 | - | NumberValue24.Value = 5 |
| 710 | + | Part40.Material = Enum.Material.SmoothPlastic |
| 711 | - | NumberValue25.Name = "BurnDB" |
| 711 | + | Part40.TopSurface = Enum.SurfaceType.Smooth |
| 712 | - | NumberValue25.Parent = Configuration19 |
| 712 | + | Part40.brickColor = BrickColor.new("Dark stone grey")
|
| 713 | - | NumberValue25.Value = 1 |
| 713 | + | Part40.FormFactor = Enum.FormFactor.Custom |
| 714 | - | BoolValue26.Name = "BurnsNormalBricks" |
| 714 | + | Part40.formFactor = Enum.FormFactor.Custom |
| 715 | - | BoolValue26.Parent = Configuration19 |
| 715 | + | SpecialMesh41.Parent = Part40 |
| 716 | - | BoolValue26.Value = true |
| 716 | + | SpecialMesh41.MeshId = "http://www.roblox.com/Asset/?id=9753878" |
| 717 | - | BoolValue27.Name = "FuelRegens" |
| 717 | + | SpecialMesh41.Scale = Vector3.new(1, 2, 1) |
| 718 | - | BoolValue27.Parent = Configuration19 |
| 718 | + | SpecialMesh41.MeshType = Enum.MeshType.FileMesh |
| 719 | - | BoolValue27.Value = true |
| 719 | + | ManualWeld42.Name = "Part-to-Part Strong Joint" |
| 720 | - | BoolValue28.Name = "FuelUsed" |
| 720 | + | ManualWeld42.Parent = Part40 |
| 721 | - | BoolValue28.Parent = Configuration19 |
| 721 | + | ManualWeld42.C0 = CFrame.new(0.100000001, -0.380000174, 0.100000001, 1, 0, 0, 0, 0, -1, 0, 1, 0) |
| 722 | - | BoolValue28.Value = true |
| 722 | + | ManualWeld42.C1 = CFrame.new(0.120861053, 0.169998646, -0.0866317749, 0, 1, 0, 0, 0, -1, -1, 0, 0) |
| 723 | - | IntValue29.Name = "Fuel" |
| 723 | + | ManualWeld42.Part0 = Part40 |
| 724 | - | IntValue29.Parent = Configuration19 |
| 724 | + | ManualWeld42.Part1 = Part7 |
| 725 | - | IntValue29.Value = 99814 |
| 725 | + | ManualWeld42.part1 = Part7 |
| 726 | - | IntValue30.Name = "FuelMax" |
| 726 | + | Camera43.Name = "ThumbnailCamera" |
| 727 | - | IntValue30.Parent = Configuration19 |
| 727 | + | Camera43.Parent = Tool0 |
| 728 | - | IntValue30.Value = 100000 |
| 728 | + | Camera43.CFrame = CFrame.new(39.8479538, 4.50750256, -54.3884926, 0.999047756, 0.0206688531, -0.0384253263, -0, 0.880678773, 0.473714083, 0.043631494, -0.473262995, 0.879840016) |
| 729 | - | LocalScript31.Name = "README" |
| 729 | + | Camera43.CoordinateFrame = CFrame.new(39.8479538, 4.50750256, -54.3884926, 0.999047756, 0.0206688531, -0.0384253263, -0, 0.880678773, 0.473714083, 0.043631494, -0.473262995, 0.879840016) |
| 730 | - | LocalScript31.Parent = Configuration19 |
| 730 | + | Camera43.Focus = CFrame.new(39.9248047, 3.56007147, -56.1481781, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 731 | - | table.insert(cors,sandbox(LocalScript31,function() |
| 731 | + | Camera43.focus = CFrame.new(39.9248047, 3.56007147, -56.1481781, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 732 | - | --Each one of these values has a different effect on how the Pyro-Shot flamethrower works. |
| 732 | + | |
| 733 | v.Parent = game:GetService("Players").LocalPlayer.Backpack
| |
| 734 | - | --I will explain them here. |
| 734 | + | |
| 735 | end | |
| 736 | mas:Destroy() | |
| 737 | - | --[[ |
| 737 | + | |
| 738 | spawn(function() | |
| 739 | - | BurnDB - When a character is set on fire, this amount of time must pass after it has stopped burning before it can catch on fire again. |
| 739 | + | |
| 740 | end) | |
| 741 | - | BurnTime - The amount of time a person stays on fire. |
| 741 | + |