Advertisement
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"))
- Tool0 = Instance.new("Tool")
- Script1 = Instance.new("Script")
- Part2 = Instance.new("Part")
- Fire3 = Instance.new("Fire")
- Script4 = Instance.new("Script")
- Weld5 = Instance.new("Weld")
- Weld6 = Instance.new("Weld")
- Weld7 = Instance.new("Weld")
- Weld8 = Instance.new("Weld")
- Weld9 = Instance.new("Weld")
- Weld10 = Instance.new("Weld")
- Weld11 = Instance.new("Weld")
- Weld12 = Instance.new("Weld")
- Weld13 = Instance.new("Weld")
- Weld14 = Instance.new("Weld")
- Weld15 = Instance.new("Weld")
- Weld16 = Instance.new("Weld")
- Weld17 = Instance.new("Weld")
- Weld18 = Instance.new("Weld")
- Weld19 = Instance.new("Weld")
- Weld20 = Instance.new("Weld")
- Weld21 = Instance.new("Weld")
- Weld22 = Instance.new("Weld")
- Weld23 = Instance.new("Weld")
- Weld24 = Instance.new("Weld")
- Weld25 = Instance.new("Weld")
- Weld26 = Instance.new("Weld")
- Weld27 = Instance.new("Weld")
- Weld28 = Instance.new("Weld")
- Weld29 = Instance.new("Weld")
- Weld30 = Instance.new("Weld")
- Weld31 = Instance.new("Weld")
- Weld32 = Instance.new("Weld")
- Weld33 = Instance.new("Weld")
- Weld34 = Instance.new("Weld")
- Weld35 = Instance.new("Weld")
- Weld36 = Instance.new("Weld")
- Weld37 = Instance.new("Weld")
- Weld38 = Instance.new("Weld")
- Weld39 = Instance.new("Weld")
- Weld40 = Instance.new("Weld")
- Weld41 = Instance.new("Weld")
- Weld42 = Instance.new("Weld")
- Weld43 = Instance.new("Weld")
- Weld44 = Instance.new("Weld")
- Weld45 = Instance.new("Weld")
- Weld46 = Instance.new("Weld")
- Weld47 = Instance.new("Weld")
- Weld48 = Instance.new("Weld")
- Weld49 = Instance.new("Weld")
- Weld50 = Instance.new("Weld")
- Weld51 = Instance.new("Weld")
- Weld52 = Instance.new("Weld")
- Weld53 = Instance.new("Weld")
- Weld54 = Instance.new("Weld")
- Weld55 = Instance.new("Weld")
- Weld56 = Instance.new("Weld")
- Weld57 = Instance.new("Weld")
- Weld58 = Instance.new("Weld")
- Weld59 = Instance.new("Weld")
- Weld60 = Instance.new("Weld")
- Weld61 = Instance.new("Weld")
- Weld62 = Instance.new("Weld")
- Weld63 = Instance.new("Weld")
- Weld64 = Instance.new("Weld")
- Weld65 = Instance.new("Weld")
- Weld66 = Instance.new("Weld")
- Weld67 = Instance.new("Weld")
- Weld68 = Instance.new("Weld")
- Weld69 = Instance.new("Weld")
- Weld70 = Instance.new("Weld")
- Weld71 = Instance.new("Weld")
- Weld72 = Instance.new("Weld")
- Weld73 = Instance.new("Weld")
- Weld74 = Instance.new("Weld")
- Weld75 = Instance.new("Weld")
- Weld76 = Instance.new("Weld")
- Weld77 = Instance.new("Weld")
- Sound78 = Instance.new("Sound")
- SpecialMesh79 = Instance.new("SpecialMesh")
- LocalScript80 = Instance.new("LocalScript")
- Script81 = Instance.new("Script")
- Tool82 = Instance.new("Tool")
- Script83 = Instance.new("Script")
- Part84 = Instance.new("Part")
- Decal85 = Instance.new("Decal")
- LocalScript86 = Instance.new("LocalScript")
- Tool87 = Instance.new("Tool")
- Part88 = Instance.new("Part")
- Fire89 = Instance.new("Fire")
- Script90 = Instance.new("Script")
- Weld91 = Instance.new("Weld")
- Weld92 = Instance.new("Weld")
- Weld93 = Instance.new("Weld")
- Weld94 = Instance.new("Weld")
- Weld95 = Instance.new("Weld")
- Weld96 = Instance.new("Weld")
- Weld97 = Instance.new("Weld")
- Weld98 = Instance.new("Weld")
- Weld99 = Instance.new("Weld")
- Weld100 = Instance.new("Weld")
- Weld101 = Instance.new("Weld")
- Weld102 = Instance.new("Weld")
- Weld103 = Instance.new("Weld")
- Weld104 = Instance.new("Weld")
- Weld105 = Instance.new("Weld")
- Weld106 = Instance.new("Weld")
- Weld107 = Instance.new("Weld")
- Weld108 = Instance.new("Weld")
- Weld109 = Instance.new("Weld")
- Weld110 = Instance.new("Weld")
- Weld111 = Instance.new("Weld")
- Weld112 = Instance.new("Weld")
- Weld113 = Instance.new("Weld")
- Weld114 = Instance.new("Weld")
- Weld115 = Instance.new("Weld")
- Weld116 = Instance.new("Weld")
- Weld117 = Instance.new("Weld")
- Weld118 = Instance.new("Weld")
- Weld119 = Instance.new("Weld")
- Weld120 = Instance.new("Weld")
- Weld121 = Instance.new("Weld")
- Weld122 = Instance.new("Weld")
- Weld123 = Instance.new("Weld")
- Weld124 = Instance.new("Weld")
- Weld125 = Instance.new("Weld")
- Weld126 = Instance.new("Weld")
- Weld127 = Instance.new("Weld")
- Weld128 = Instance.new("Weld")
- Weld129 = Instance.new("Weld")
- Weld130 = Instance.new("Weld")
- Weld131 = Instance.new("Weld")
- Weld132 = Instance.new("Weld")
- Weld133 = Instance.new("Weld")
- Weld134 = Instance.new("Weld")
- Weld135 = Instance.new("Weld")
- Weld136 = Instance.new("Weld")
- Weld137 = Instance.new("Weld")
- Weld138 = Instance.new("Weld")
- Weld139 = Instance.new("Weld")
- Weld140 = Instance.new("Weld")
- Weld141 = Instance.new("Weld")
- Weld142 = Instance.new("Weld")
- Weld143 = Instance.new("Weld")
- Weld144 = Instance.new("Weld")
- Weld145 = Instance.new("Weld")
- Weld146 = Instance.new("Weld")
- Weld147 = Instance.new("Weld")
- Weld148 = Instance.new("Weld")
- Weld149 = Instance.new("Weld")
- Weld150 = Instance.new("Weld")
- Weld151 = Instance.new("Weld")
- Weld152 = Instance.new("Weld")
- Weld153 = Instance.new("Weld")
- Weld154 = Instance.new("Weld")
- Weld155 = Instance.new("Weld")
- Weld156 = Instance.new("Weld")
- Weld157 = Instance.new("Weld")
- Weld158 = Instance.new("Weld")
- Weld159 = Instance.new("Weld")
- Weld160 = Instance.new("Weld")
- Weld161 = Instance.new("Weld")
- Weld162 = Instance.new("Weld")
- Weld163 = Instance.new("Weld")
- Sound164 = Instance.new("Sound")
- Sound165 = Instance.new("Sound")
- SpecialMesh166 = Instance.new("SpecialMesh")
- Script167 = Instance.new("Script")
- Tool168 = Instance.new("Tool")
- Script169 = Instance.new("Script")
- Part170 = Instance.new("Part")
- Sound171 = Instance.new("Sound")
- Sound172 = Instance.new("Sound")
- Sound173 = Instance.new("Sound")
- Sound174 = Instance.new("Sound")
- Sound175 = Instance.new("Sound")
- Sound176 = Instance.new("Sound")
- Fire177 = Instance.new("Fire")
- Script178 = Instance.new("Script")
- Decal179 = Instance.new("Decal")
- Decal180 = Instance.new("Decal")
- Script181 = Instance.new("Script")
- Script182 = Instance.new("Script")
- NumberValue183 = Instance.new("NumberValue")
- NumberValue184 = Instance.new("NumberValue")
- Script185 = Instance.new("Script")
- LocalScript186 = Instance.new("LocalScript")
- ScreenGui187 = Instance.new("ScreenGui")
- ImageButton188 = Instance.new("ImageButton")
- ImageButton189 = Instance.new("ImageButton")
- ImageButton190 = Instance.new("ImageButton")
- ImageButton191 = Instance.new("ImageButton")
- ImageButton192 = Instance.new("ImageButton")
- ImageLabel193 = Instance.new("ImageLabel")
- ImageLabel194 = Instance.new("ImageLabel")
- ImageLabel195 = Instance.new("ImageLabel")
- ImageLabel196 = Instance.new("ImageLabel")
- ImageLabel197 = Instance.new("ImageLabel")
- ImageLabel198 = Instance.new("ImageLabel")
- ImageLabel199 = Instance.new("ImageLabel")
- ImageLabel200 = Instance.new("ImageLabel")
- ImageLabel201 = Instance.new("ImageLabel")
- ImageLabel202 = Instance.new("ImageLabel")
- ImageLabel203 = Instance.new("ImageLabel")
- ImageLabel204 = Instance.new("ImageLabel")
- ImageLabel205 = Instance.new("ImageLabel")
- ImageLabel206 = Instance.new("ImageLabel")
- Tool207 = Instance.new("Tool")
- Part208 = Instance.new("Part")
- Fire209 = Instance.new("Fire")
- Script210 = Instance.new("Script")
- SpecialMesh211 = Instance.new("SpecialMesh")
- LocalScript212 = Instance.new("LocalScript")
- Sound213 = Instance.new("Sound")
- Animation214 = Instance.new("Animation")
- Script215 = Instance.new("Script")
- Tool216 = Instance.new("Tool")
- Part217 = Instance.new("Part")
- SpecialMesh218 = Instance.new("SpecialMesh")
- Script219 = Instance.new("Script")
- Script220 = Instance.new("Script")
- LocalScript221 = Instance.new("LocalScript")
- Tool222 = Instance.new("Tool")
- Part223 = Instance.new("Part")
- Sound224 = Instance.new("Sound")
- Sound225 = Instance.new("Sound")
- Fire226 = Instance.new("Fire")
- Script227 = Instance.new("Script")
- SpecialMesh228 = Instance.new("SpecialMesh")
- Script229 = Instance.new("Script")
- Tool0.Name = "Caltrops"
- Tool0.Parent = mas
- Tool0.TextureId = "http://www.roblox.com/asset/?id=15174734"
- Tool0.GripForward = Vector3.new(1, -0, -0)
- Tool0.GripPos = Vector3.new(-0.5, 0, 0)
- Tool0.GripRight = Vector3.new(0, -0, 1)
- Script1.Name = "Spikey"
- Script1.Parent = Tool0
- Script1.Disabled = true
- table.insert(cors,sandbox(Script1,function()
- debris = game:GetService("Debris")
- local damage = 10
- wait(.5)
- function newSound(id)
- local sound = Instance.new("Sound")
- sound.Name = "Died"
- sound.SoundId = id
- sound.archivable = false
- return sound
- end
- -- declarations
- local sDied = newSound("rbxasset://sounds/uuhhh.wav")
- function playOuch(char)
- local sound = char.Head:FindFirstChild("CaltropOw")
- if (sound == nil) then
- sound = newSound("rbxasset://sounds/uuhhh.wav")
- sound.Parent = char.Head
- end
- sound:Play()
- end
- function onTouched(hit)
- humanoid = hit.Parent:findFirstChild("Humanoid")
- if humanoid~=nil then
- tagHumanoid(humanoid)
- humanoid:TakeDamage(damage)
- playOuch(humanoid.Parent)
- end
- end
- function tagHumanoid(humanoid, creator)
- -- tag does not need to expire iff all explosions lethal
- if creator ~= nil then
- local new_tag = creator:clone()
- new_tag.Parent = humanoid
- debris:AddItem(new_tag, 1)
- end
- end
- connection = script.Parent.Touched:connect(onTouched)
- debris:AddItem(script.Parent, 240)
- end))
- Part2.Name = "Handle"
- Part2.Parent = Tool0
- Part2.BrickColor = BrickColor.new("Bright yellow")
- Part2.Rotation = Vector3.new(90, -89.9399948, -90.0099945)
- Part2.FormFactor = Enum.FormFactor.Plate
- Part2.Size = Vector3.new(1, 0.400000006, 1)
- Part2.CFrame = CFrame.new(-12.5001802, 0.200658903, 17.5000839, -1.89989805e-07, 0.00089815032, -0.999999464, 0.000419955235, -0.999999285, -0.000898150436, -0.999999821, -0.000419955293, -1.11758709e-08)
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part2.Position = Vector3.new(-12.5001802, 0.200658903, 17.5000839)
- Part2.Orientation = Vector3.new(0.049999997, -90, 179.979996)
- Part2.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Fire3.Parent = Part2
- Fire3.Size = 30
- Fire3.Color = Color3.new(0, 0, 0)
- Fire3.Enabled = false
- Fire3.Heat = 25
- Fire3.SecondaryColor = Color3.new(0, 0, 0)
- Fire3.Color = Color3.new(0, 0, 0)
- Script4.Name = "Spread"
- Script4.Parent = Fire3
- table.insert(cors,sandbox(Script4,function()
- function Spread(part)
- check = part:findFirstChild("Fire")
- if check == nil then
- script.Parent:Clone().Parent = part
- elseif check ~= nil then
- check.Size = check.Size + 1
- check.Heat = check.Heat +1
- end
- end
- script.Parent.Parent.Touched:connect(Spread)
- end))
- Weld5.Parent = Part2
- Weld5.C0 = CFrame.new(-4.71828389e-06, -1.06949216e-07, 6.73912837e-08, -1.96380037e-10, -7.15101578e-06, 1, -3.45956111e-11, 1, 9.53468771e-06, -1, 4.01852024e-11, -2.64911593e-10)
- Weld5.C1 = CFrame.new(-4.71828389e-06, -1.06949216e-07, 6.73912837e-08, -1.96380037e-10, -7.15101578e-06, 1, -3.45956111e-11, 1, 9.53468771e-06, -1, 4.01852024e-11, -2.64911593e-10)
- Weld6.Parent = Part2
- Weld6.C0 = CFrame.new(-1.34138972e-07, -6.91051537e-06, 0, -3.91537502e-21, 0.999999106, -0.00133771845, 2.81109586e-22, 0.00133771845, 0.999999106, 1, 3.91499535e-21, -2.86346992e-22)
- Weld6.C1 = CFrame.new(-1.34138972e-07, -6.91051537e-06, 0, -3.91537502e-21, 0.999999106, -0.00133771845, 2.81109586e-22, 0.00133771845, 0.999999106, 1, 3.91499535e-21, -2.86346992e-22)
- Weld7.Parent = Part2
- Weld7.C0 = CFrame.new(3.64912034e-06, -1.13236744e-07, -2.01656292e-08, -7.08486672e-11, 0.000798657886, -0.999999702, 1.55140234e-10, 0.999999702, 0.000793890678, 1, 1.55083765e-10, 7.09721865e-11)
- Weld7.C1 = CFrame.new(3.64912034e-06, -1.13236744e-07, -2.01656292e-08, -7.08486672e-11, 0.000798657886, -0.999999702, 1.55140234e-10, 0.999999702, 0.000793890678, 1, 1.55083765e-10, 7.09721865e-11)
- Weld8.Parent = Part2
- Weld8.C0 = CFrame.new(1.6321755e-07, 3.49538391e-06, 0, -3.9252309e-21, 0.996502578, -0.0835621059, -4.1799742e-23, 0.0835621059, 0.996502578, 1, 3.91499535e-21, -2.86346992e-22)
- Weld8.C1 = CFrame.new(1.6321755e-07, 3.49538391e-06, 0, -3.9252309e-21, 0.996502578, -0.0835621059, -4.1799742e-23, 0.0835621059, 0.996502578, 1, 3.91499535e-21, -2.86346992e-22)
- Weld9.Parent = Part2
- Weld9.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld9.C1 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld10.Parent = Part2
- Weld10.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld10.C1 = CFrame.new(0.533214211, 4.09488493e-05, -0.399536163, -6.19143847e-10, 0.000817726948, -0.999999702, 8.15887191e-10, 0.999999702, 0.000817726948, 1, -8.15380652e-10, -6.19810758e-10)
- Weld11.Parent = Part2
- Weld11.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld11.C1 = CFrame.new(-1.12273511e-07, 2.60849974e-05, -0.533189535, 1, -8.33252689e-10, -3.96865235e-10, 8.3357371e-10, 0.999999702, 0.000809622463, 3.96190469e-10, -0.000809622463, 0.999999702)
- Weld12.Parent = Part2
- Weld12.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld12.C1 = CFrame.new(0.533214211, 0.373362005, -4.18045545e-08, -6.20301976e-10, 0.000817726948, -0.999999702, 8.56068161e-10, 0.999999702, 0.000817726948, 1, -8.55560567e-10, -6.21001806e-10)
- Weld13.Parent = Part2
- Weld13.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld13.C1 = CFrame.new(-5.43287024e-06, 0.132771105, 0.400390655, 8.48401349e-10, 0.999999702, 0.000801041257, -6.20273943e-10, 0.000801041257, -0.999999702, -1, 8.47904247e-10, 6.20953344e-10)
- Weld14.Parent = Part2
- Weld14.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld14.C1 = CFrame.new(-2.92850495e-06, -0.400390595, -0.132823572, 8.56068161e-10, 0.999999702, 0.000817726948, -1, 8.55560678e-10, 6.21001806e-10, 6.20301976e-10, -0.000817726948, 0.999999702)
- Weld15.Parent = Part2
- Weld15.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld15.C1 = CFrame.new(1.20404536e-07, 1.7940567e-05, 0.132805407, -1, 8.50133963e-10, 4.23458879e-10, 8.50476911e-10, 0.999999702, 0.000810576021, -4.22769625e-10, 0.000810576021, -0.999999702)
- Weld16.Parent = Part2
- Weld16.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld16.C1 = CFrame.new(5.96581813e-05, -0.400390744, 0.9335953, 8.14806722e-10, 0.999999702, 0.000811847276, 1, -8.1443452e-10, -4.58876631e-10, -4.58215271e-10, 0.000811847276, -0.999999702)
- Weld17.Parent = Part2
- Weld17.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld17.C1 = CFrame.new(2.33017072e-05, -0.933604836, 0.400390595, 8.35977676e-10, 0.999999702, 0.000817726948, 6.19722884e-10, -0.000817726948, 0.999999702, 1, -8.35470693e-10, -6.20406282e-10)
- Weld18.Parent = Part2
- Weld18.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld18.C1 = CFrame.new(-1.52226988e-07, -0.373301029, -0.533214867, 1, -9.17886822e-10, -2.52556698e-10, 9.18089604e-10, 0.999999702, 0.000804378418, 2.51818288e-10, -0.000804378418, 0.999999702)
- Weld19.Parent = Part2
- Weld19.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld19.C1 = CFrame.new(-0.533214211, 4.09488493e-05, -0.400390595, 6.19143847e-10, -0.000817726948, 0.999999702, 8.15887191e-10, 0.999999702, 0.000817726948, -1, 8.15380652e-10, 6.19810758e-10)
- Weld20.Parent = Part2
- Weld20.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld20.C1 = CFrame.new(3.85732619e-08, 1.708794e-06, -0.933600962, 1, 2.30016242e-10, -1.24190033e-10, 2.3550692e-10, 0.999999702, 0.000801041722, 3.36916911e-10, -0.000808192533, 0.999999702)
- Weld21.Parent = Part2
- Weld21.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld21.C1 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld22.Parent = Part2
- Weld22.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld22.C1 = CFrame.new(0.533207953, 4.02465412e-05, -0.399536252, -4.0660561e-10, 0.997999609, 0.0632200539, 3.50466517e-10, -0.0632200539, 0.997999668, 1, 4.2794876e-10, -3.24059835e-10)
- Weld23.Parent = Part2
- Weld23.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld23.C1 = CFrame.new(-3.86806875e-07, 4.67300815e-05, -0.533184648, 1, 6.89605151e-10, -1.25792432e-09, 1.29899103e-09, -0.0631973371, 0.998001039, 6.08729123e-10, -0.998001099, -0.0631973371)
- Weld24.Parent = Part2
- Weld24.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld24.C1 = CFrame.new(0.533224404, 0.373393357, -3.90072529e-07, -8.32836911e-10, 0.998000622, 0.0632058904, 1.32148736e-09, -0.0632058978, 0.998000503, 1, 9.1469754e-10, -1.26620492e-09)
- Weld25.Parent = Part2
- Weld25.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld25.C1 = CFrame.new(-1.24499784e-05, 0.132795051, 0.400390744, 3.829842e-10, -0.0632034019, 0.998000741, -4.07727963e-10, 0.998000681, 0.0632034019, -1, -4.31118696e-10, 3.56448732e-10)
- Weld26.Parent = Part2
- Weld26.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld26.C1 = CFrame.new(9.7206248e-06, -0.400390506, -0.132816374, 3.90647487e-10, -0.0632200539, 0.997999668, -1, -4.31644803e-10, 3.64087233e-10, 4.07763739e-10, -0.997999609, -0.0632200539)
- Weld27.Parent = Part2
- Weld27.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld27.C1 = CFrame.new(1.12741731e-07, 1.47659775e-05, 0.132799253, -1, -2.34147424e-10, 3.70999564e-10, 3.85058263e-10, -0.0632105544, 0.998000205, -2.10228071e-10, 0.998000264, 0.0632105544)
- Weld28.Parent = Part2
- Weld28.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld28.C1 = CFrame.new(3.39694889e-05, -0.400390744, 0.933587611, 3.49388324e-10, -0.0632092953, 0.998000324, 1, 2.67267597e-10, -3.33160693e-10, -2.45674314e-10, 0.998000324, 0.0632092878)
- Weld29.Parent = Part2
- Weld29.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld29.C1 = CFrame.new(9.72479302e-06, -0.933596671, 0.400390506, 3.70557002e-10, -0.0632200539, 0.997999668, 4.07184675e-10, -0.997999609, -0.0632200539, 1, 4.29796781e-10, -3.44073547e-10)
- Weld30.Parent = Part2
- Weld30.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld30.C1 = CFrame.new(-9.38037488e-08, -0.37332812, -0.533202708, 1, 6.78072321e-11, -4.49284138e-10, 4.52671733e-10, -0.0632067397, 0.998000443, 3.92738446e-11, -0.998000562, -0.0632067248)
- Weld31.Parent = Part2
- Weld31.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld31.C1 = CFrame.new(-0.533207953, 4.02465412e-05, -0.400390506, 4.0660561e-10, -0.997999609, -0.0632200539, 3.50466517e-10, -0.0632200539, 0.997999668, -1, -4.2794876e-10, 3.24059835e-10)
- Weld32.Parent = Part2
- Weld32.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld32.C1 = CFrame.new(-7.07679817e-08, 2.65414451e-06, -0.933581531, 1, 1.09589553e-10, 2.37319969e-10, 2.3550692e-10, -0.0632223934, 0.997999489, 3.36916911e-10, -0.997999012, -0.0632295236)
- Weld33.Parent = Part2
- Weld33.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld33.C1 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld34.Parent = Part2
- Weld34.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld34.C1 = CFrame.new(0.533212543, 4.33809255e-05, -0.399536133, -4.77452022e-10, 0.000812952989, -0.999999702, 5.0560689e-10, 0.999999702, 0.000812952989, 1, -5.05218589e-10, -4.77862916e-10)
- Weld35.Parent = Part2
- Weld35.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld35.C1 = CFrame.new(-2.3357552e-07, 5.55160077e-05, -0.533165157, 1, -1.76372972e-09, -8.22718005e-10, 1.76440684e-09, 0.999999702, 0.000823921058, 8.21264445e-10, -0.000823920942, 0.999999762)
- Weld36.Parent = Part2
- Weld36.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld36.C1 = CFrame.new(0.533225417, 0.37339133, -1.62893741e-07, -1.04536846e-09, 0.000832025486, -0.999999642, 1.78690496e-09, 0.999999702, 0.000832025427, 1, -1.78603476e-09, -1.04685483e-09)
- Weld37.Parent = Part2
- Weld37.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld37.C1 = CFrame.new(-4.40306758e-06, 0.132771388, 0.400390655, 8.48401349e-10, 0.999999702, 0.000801038579, -6.20273943e-10, 0.000801038579, -0.999999702, -1, 8.47904247e-10, 6.20953344e-10)
- Weld38.Parent = Part2
- Weld38.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld38.C1 = CFrame.new(1.28626851e-07, -0.400390595, -0.13282387, 8.56068161e-10, 0.999999702, 0.000817724678, -1, 8.55560678e-10, 6.21001806e-10, 6.20301976e-10, -0.000817724678, 0.999999702)
- Weld39.Parent = Part2
- Weld39.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld39.C1 = CFrame.new(1.20785018e-07, 3.03727884e-05, 0.132775158, -1, 8.50133963e-10, 4.23458851e-10, 8.50476911e-10, 0.999999702, 0.000810569618, -4.22769625e-10, 0.000810569618, -0.999999702)
- Weld40.Parent = Part2
- Weld40.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld40.C1 = CFrame.new(6.63429382e-05, -0.400390744, 0.933595598, 8.14806722e-10, 0.999999702, 0.000811841746, 1, -8.14434464e-10, -4.58876631e-10, -4.58215271e-10, 0.000811841746, -0.999999702)
- Weld41.Parent = Part2
- Weld41.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld41.C1 = CFrame.new(2.15904674e-05, -0.933605134, 0.400390595, 8.35977676e-10, 0.999999702, 0.000817724678, 6.19722884e-10, -0.000817724678, 0.999999702, 1, -8.35470693e-10, -6.20406337e-10)
- Weld42.Parent = Part2
- Weld42.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld42.C1 = CFrame.new(-1.52702455e-07, -0.373297483, -0.533215165, 1, -9.17886822e-10, -2.52556753e-10, 9.18089604e-10, 0.999999702, 0.000804377254, 2.51818288e-10, -0.000804377254, 0.999999702)
- Weld43.Parent = Part2
- Weld43.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld43.C1 = CFrame.new(-0.533214509, 4.16217954e-05, -0.400390595, 6.19143847e-10, -0.000817724678, 0.999999702, 8.15887191e-10, 0.999999702, 0.000817724678, -1, 8.15380652e-10, 6.19810814e-10)
- Weld44.Parent = Part2
- Weld44.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld44.C1 = CFrame.new(3.86851866e-08, 1.33582325e-05, -0.93360126, 1, 2.30016242e-10, -1.24190033e-10, 2.3550692e-10, 0.999999702, 0.000801045971, 3.36916911e-10, -0.000808193639, 0.999999702)
- Weld45.Parent = Part2
- Weld45.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld45.C1 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld46.Parent = Part2
- Weld46.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld46.C1 = CFrame.new(0.533207655, 4.00506069e-05, -0.399536133, -2.64911593e-10, 0.997566879, -0.069715552, 4.01852024e-11, 0.0697179288, 0.9975667, 1, 1.98314268e-10, 2.08188033e-11)
- Weld47.Parent = Part2
- Weld47.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld47.C1 = CFrame.new(-4.09776021e-07, 5.64174661e-05, -0.533183694, 1, 5.16648224e-10, -1.33828371e-09, 1.29899103e-09, 0.0697453171, 0.997564912, 6.08729123e-10, -0.997564912, 0.0697453246)
- Weld48.Parent = Part2
- Weld48.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld48.C1 = CFrame.new(0.53322345, 0.373397857, -4.03579065e-07, -8.32836911e-10, 0.997565448, -0.0697367489, 1.32148736e-09, 0.0697367489, 0.997565448, 1, 7.38653139e-10, -1.37634937e-09)
- Weld49.Parent = Part2
- Weld49.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld49.C1 = CFrame.new(-9.81253652e-06, 0.132794693, 0.400390744, 3.829842e-10, 0.0697392747, 0.997565329, -4.07727963e-10, 0.997565329, -0.0697392747, -1, -3.80026233e-10, 4.10486423e-10)
- Weld50.Parent = Part2
- Weld50.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld50.C1 = CFrame.new(2.00291402e-06, -0.400390506, -0.132815465, 3.90647487e-10, 0.0697226226, 0.997566521, -1, -3.79534459e-10, 4.18127227e-10, 4.07763739e-10, -0.997566402, 0.0697226301)
- Weld51.Parent = Part2
- Weld51.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld51.C1 = CFrame.new(1.20755828e-07, 4.99412226e-06, 0.132797584, -1, -1.82865389e-10, 3.9878062e-10, 3.85058263e-10, 0.0697321221, 0.997565806, -2.10228071e-10, 0.997565746, -0.0697321221)
- Weld52.Parent = Part2
- Weld52.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld52.C1 = CFrame.new(4.74962835e-05, -0.400390744, 0.933588088, 3.49388324e-10, 0.0697333813, 0.997565746, 1, 2.20712254e-10, -3.65669495e-10, -2.45674314e-10, 0.997565746, -0.0697333887)
- Weld53.Parent = Part2
- Weld53.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld53.C1 = CFrame.new(2.00708268e-06, -0.933598638, 0.400390506, 3.70557002e-10, 0.0697226226, 0.997566521, 4.07184675e-10, -0.997566402, 0.0697226301, 1, 3.80357551e-10, -3.98045263e-10)
- Weld54.Parent = Part2
- Weld54.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld54.C1 = CFrame.new(-1.0609989e-07, -0.373298496, -0.533198833, 1, 7.61074016e-12, -4.54308563e-10, 4.52671733e-10, 0.0697359443, 0.997565567, 3.92738446e-11, -0.997565567, 0.0697359443)
- Weld55.Parent = Part2
- Weld55.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld55.C1 = CFrame.new(-0.533206105, 3.25288311e-05, -0.400390536, 4.0660561e-10, -0.997566402, 0.0697226301, 3.50466517e-10, 0.0697226226, 0.997566521, -1, -3.8118067e-10, 3.77963272e-10)
- Weld56.Parent = Part2
- Weld56.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld56.C1 = CFrame.new(-6.55530812e-08, 2.72896377e-05, -0.933581114, 1, 1.40101444e-10, 2.20685789e-10, 2.3550692e-10, 0.0697202981, 0.997566581, 3.36916911e-10, -0.997567058, 0.0697131678)
- Weld57.Parent = Part2
- Weld57.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld57.C1 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld58.Parent = Part2
- Weld58.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld58.C1 = CFrame.new(0.5332008, 8.52442608e-05, -0.399536431, -1.4692636e-09, 0.000846330251, -0.999999642, 2.67755484e-09, 0.999999702, 0.000846330193, 1, -2.67631073e-09, -1.47152912e-09)
- Weld59.Parent = Part2
- Weld59.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld59.C1 = CFrame.new(-3.54604822e-07, 7.10747918e-05, -0.533170998, 1, -2.69418865e-09, -1.24858379e-09, 2.69523404e-09, 0.999999702, 0.000838225707, 1.24632515e-09, -0.000838225707, 0.999999642)
- Weld60.Parent = Part2
- Weld60.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld60.C1 = CFrame.new(0.533231318, 0.373406291, -2.83906502e-07, -1.47042167e-09, 0.000846330251, -0.999999642, 2.71773581e-09, 0.999999702, 0.000846330193, 1, -2.71649037e-09, -1.47272128e-09)
- Weld61.Parent = Part2
- Weld61.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld61.C1 = CFrame.new(5.93345294e-06, 0.132752568, 0.400390923, 2.71005463e-09, 0.999999702, 0.000829644501, -1.47042467e-09, 0.000829644501, -0.999999642, -1, 2.70883382e-09, 1.47267265e-09)
- Weld62.Parent = Part2
- Weld62.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld62.C1 = CFrame.new(8.4651374e-06, -0.400390327, -0.132810175, 2.71773581e-09, 0.999999702, 0.000846330193, -1, 2.71649037e-09, 1.47272128e-09, 1.47042167e-09, -0.000846330251, 0.999999642)
- Weld63.Parent = Part2
- Weld63.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld63.C1 = CFrame.new(3.62762336e-07, 2.95230384e-05, 0.132817402, -1, 2.71106715e-09, 1.27517807e-09, 2.71213629e-09, 0.999999702, 0.000839179265, -1.27290256e-09, 0.000839179265, -0.999999642)
- Weld64.Parent = Part2
- Weld64.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld64.C1 = CFrame.new(0.000142092002, -0.400391012, 0.93360728, 2.67646505e-09, 0.999999702, 0.000840450521, 1, -2.6753646e-09, -1.31059485e-09, -1.30834588e-09, 0.000840450521, -0.999999642)
- Weld65.Parent = Part2
- Weld65.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld65.C1 = CFrame.new(0.000101452555, -0.933591425, 0.400390327, 2.69764522e-09, 0.999999702, 0.000846330193, 1.46984258e-09, -0.000846330251, 0.999999642, 1, -2.69640044e-09, -1.47212509e-09)
- Weld66.Parent = Part2
- Weld66.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld66.C1 = CFrame.new(-3.94687646e-07, -0.373256177, -0.533165812, 1, -2.77882695e-09, -1.10427789e-09, 2.77974577e-09, 0.999999702, 0.000832981663, 1.10196274e-09, -0.000832981663, 0.999999642)
- Weld67.Parent = Part2
- Weld67.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld67.C1 = CFrame.new(-0.5332008, 8.52442608e-05, -0.400390327, 1.4692636e-09, -0.000846330251, 0.999999642, 2.67755484e-09, 0.999999702, 0.000846330193, -1, 2.67631073e-09, 1.47152912e-09)
- Weld68.Parent = Part2
- Weld68.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld68.C1 = CFrame.new(-2.17958132e-08, 2.16124681e-05, -0.933588922, 1, -7.00479896e-10, -5.50027579e-10, 7.00928149e-10, 0.999999702, 0.000815343345, 5.49456258e-10, -0.000815343345, 0.999999702)
- Weld69.Parent = Part2
- Weld69.C0 = CFrame.new(2.73681553e-06, -7.9203943e-08, -1.32984567e-07, -1, 4.29049651e-05, 1.27289645e-09, 4.29049651e-05, 1, -2.71216405e-09, -1.27303168e-09, -2.7121092e-09, -1)
- Weld69.C1 = CFrame.new(2.73681553e-06, -7.9203943e-08, -1.32984567e-07, -1, 4.29049651e-05, 1.27289645e-09, 4.29049651e-05, 1, -2.71216405e-09, -1.27303168e-09, -2.7121092e-09, -1)
- Weld69.Part0 = Part2
- Weld69.Part1 = Part2
- Weld70.Parent = Part2
- Weld70.C0 = CFrame.new(2.58500165e-07, 1.47510104e-06, 9.1201764e-07, -0.0304826926, -0.998224854, 0.0511664115, -0.997482359, 0.027100971, -0.0655324385, 0.0640294328, -0.0530351698, -0.996537805)
- Weld70.C1 = CFrame.new(2.58500165e-07, 1.47510104e-06, 9.1201764e-07, -0.0304826926, -0.998224854, 0.0511664115, -0.997482359, 0.027100971, -0.0655324385, 0.0640294328, -0.0530351698, -0.996537805)
- Weld70.Part0 = Part2
- Weld70.Part1 = Part2
- Weld71.Parent = Part2
- Weld71.C0 = CFrame.new(5.81937775e-06, 3.66444342e-09, 4.0117655e-07, -1, 1.83190277e-05, 1.62574338e-07, 1.82680233e-05, 1, -5.43802935e-06, -1.05692934e-07, -5.39845632e-06, -1.00000012)
- Weld71.C1 = CFrame.new(5.81937775e-06, 3.66444342e-09, 4.0117655e-07, -1, 1.83190277e-05, 1.62574338e-07, 1.82680233e-05, 1, -5.43802935e-06, -1.05692934e-07, -5.39845632e-06, -1.00000012)
- Weld71.Part0 = Part2
- Weld71.Part1 = Part2
- Weld72.Parent = Part2
- Weld72.C0 = CFrame.new(5.19993637e-06, -2.07580495e-08, -4.3925632e-09, -0.99999994, -7.85102384e-06, 1.626222e-07, -7.9020283e-06, 1, -7.75445642e-06, -1.05581343e-07, -7.71488703e-06, -1.00000012)
- Weld72.C1 = CFrame.new(5.19993637e-06, -2.07580495e-08, -4.3925632e-09, -0.99999994, -7.85102384e-06, 1.626222e-07, -7.9020283e-06, 1, -7.75445642e-06, -1.05581343e-07, -7.71488703e-06, -1.00000012)
- Weld72.Part0 = Part2
- Weld72.Part1 = Part2
- Weld73.Parent = Part2
- Weld73.C0 = CFrame.new(-4.51719643e-07, 1.87397453e-09, -3.76758157e-06, -0.999999821, -3.77100787e-06, -6.00899241e-09, -3.82201188e-06, 1, -4.80523522e-06, 6.30072776e-08, -4.76566538e-06, -1.00000012)
- Weld73.C1 = CFrame.new(-4.51719643e-07, 1.87397453e-09, -3.76758157e-06, -0.999999821, -3.77100787e-06, -6.00899241e-09, -3.82201188e-06, 1, -4.80523522e-06, 6.30072776e-08, -4.76566538e-06, -1.00000012)
- Weld73.Part0 = Part2
- Weld73.Part1 = Part2
- Weld74.Parent = Part2
- Weld74.C0 = CFrame.new(1.26816673e-07, -2.34453221e-08, 5.90223294e-07, -0.999999762, -1.85550198e-05, -5.83594151e-09, -1.86060279e-05, 1, -8.11173049e-06, 6.29660306e-08, -8.07215929e-06, -1.00000012)
- Weld74.C1 = CFrame.new(1.26816673e-07, -2.34453221e-08, 5.90223294e-07, -0.999999762, -1.85550198e-05, -5.83594151e-09, -1.86060279e-05, 1, -8.11173049e-06, 6.29660306e-08, -8.07215929e-06, -1.00000012)
- Weld74.Part0 = Part2
- Weld74.Part1 = Part2
- Weld75.Parent = Part2
- Weld75.C0 = CFrame.new(8.01678993e-07, -1.1426212e-08, -1.10775409e-06, -0.999999702, -1.59489209e-05, -5.85270321e-09, -1.5999929e-05, 1, -9.83655082e-06, 6.29892654e-08, -9.79697961e-06, -1.00000012)
- Weld75.C1 = CFrame.new(8.01678993e-07, -1.1426212e-08, -1.10775409e-06, -0.999999702, -1.59489209e-05, -5.85270321e-09, -1.5999929e-05, 1, -9.83655082e-06, 6.29892654e-08, -9.79697961e-06, -1.00000012)
- Weld75.Part0 = Part2
- Weld75.Part1 = Part2
- Weld76.Parent = Part2
- Weld76.C0 = CFrame.new(1.07855703e-06, -1.98978043e-08, -4.36352309e-07, -0.999999642, -1.87142232e-05, -3.42939558e-07, -1.87652277e-05, 1, -1.32089617e-05, 4.00166499e-07, -1.31693841e-05, -1.00000012)
- Weld76.C1 = CFrame.new(1.07855703e-06, -1.98978043e-08, -4.36352309e-07, -0.999999642, -1.87142232e-05, -3.42939558e-07, -1.87652277e-05, 1, -1.32089617e-05, 4.00166499e-07, -1.31693841e-05, -1.00000012)
- Weld76.Part0 = Part2
- Weld76.Part1 = Part2
- Weld77.Parent = Part2
- Weld77.C0 = CFrame.new(-2.96131202e-06, 1.15200116e-08, -5.08313747e-08, -0.999999583, -2.1935306e-05, -3.42888029e-07, -2.19863105e-05, 1, -1.28208176e-05, 4.00148849e-07, -1.27812382e-05, -1.00000012)
- Weld77.C1 = CFrame.new(-2.96131202e-06, 1.15200116e-08, -5.08313747e-08, -0.999999583, -2.1935306e-05, -3.42888029e-07, -2.19863105e-05, 1, -1.28208176e-05, 4.00148849e-07, -1.27812382e-05, -1.00000012)
- Weld77.Part0 = Part2
- Weld77.Part1 = Part2
- Sound78.Name = "OpenSound"
- Sound78.Parent = Part2
- Sound78.SoundId = "http://www.roblox.com/asset/?id=15174250"
- Sound78.Volume = 0.20000000298023
- SpecialMesh79.Parent = Part2
- SpecialMesh79.MeshId = "http://www.roblox.com/asset/?id=20939848"
- SpecialMesh79.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- SpecialMesh79.TextureId = "http://www.roblox.com/asset/?id=21456464"
- SpecialMesh79.MeshType = Enum.MeshType.FileMesh
- SpecialMesh79.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- LocalScript80.Name = "Local Gui"
- LocalScript80.Parent = Tool0
- table.insert(cors,sandbox(LocalScript80,function()
- local Tool = script.Parent;
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = false
- mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"
- wait(.5)
- mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
- enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- Tool.Equipped:connect(onEquippedLocal)
- end))
- Script81.Name = "PlantBomb"
- Script81.Parent = Tool0
- table.insert(cors,sandbox(Script81,function()
- bombScript = script.Parent.Spikey
- Tool = script.Parent
- function plant(pos)
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local dir = vCharacter.Torso.CFrame.lookVector
- local bomb = Tool.Handle:Clone()
- bomb.RotVelocity = Vector3.new(math.random() - .5, math.random() - .5, math.random() - .5) * 5
- bomb.Velocity = dir * 5
- bomb.CanCollide = true
- bomb.Transparency = 0
- bomb.Position = pos
- bomb.Size = Vector3.new(1,1,1)
- bomb.Name = "Caltrop"
- bomb.Locked = true
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = bomb
- bomb.Parent = game.Workspace
- local new_script = bombScript:clone()
- new_script.Disabled = false
- new_script.Parent = bomb
- Tool.Handle.OpenSound:Play()
- end
- Tool.Enabled = true
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local targetPos = humanoid.TargetPoint
- Tool.Handle.Transparency = 1
- plant(Tool.Handle.Position)
- wait(.5)
- Tool.Handle.Transparency = 0
- Tool.Enabled = true
- end
- script.Parent.Activated:connect(onActivated)
- end))
- Tool82.Name = "BlackIronMace"
- Tool82.Parent = mas
- Tool82.TextureId = "http://www.roblox.com/asset/?id=10730469"
- Tool82.GripForward = Vector3.new(-1, -0, -0)
- Tool82.GripPos = Vector3.new(0, 0, -1.60000002)
- Tool82.GripRight = Vector3.new(0, 1, 0)
- Tool82.GripUp = Vector3.new(0, 0, 1)
- Script83.Name = "SwordScript"
- Script83.Parent = Tool82
- table.insert(cors,sandbox(Script83,function()
- -------- OMG HAX
- r = game:service("RunService")
- local damage = 18
- local slash_damage = 18
- sword = script.Parent.Handle
- Tool = script.Parent
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=10730819"
- SlashSound.Parent = sword
- SlashSound.Volume = 1
- local UnsheathSound = Instance.new("Sound")
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Parent = sword
- UnsheathSound.Volume = 1
- function blow(hit)
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
- if humanoid~=nil and humanoid ~= hum and hum ~= nil then
- -- final check, make sure sword is in-hand
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm ~= nil) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- function swordUp()
- Tool.GripForward = Vector3.new(-1,0,0)
- Tool.GripRight = Vector3.new(0,1,0)
- Tool.GripUp = Vector3.new(0,0,1)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(0,0,1)
- Tool.GripRight = Vector3.new(0,-1,0)
- Tool.GripUp = Vector3.new(-1,0,0)
- end
- Tool.Enabled = true
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- attack()
- wait(1)
- Tool.Enabled = true
- end
- function onEquipped()
- UnsheathSound:play()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- connection = sword.Touched:connect(blow)
- end))
- Part84.Name = "Handle"
- Part84.Parent = Tool82
- Part84.BrickColor = BrickColor.new("White")
- Part84.Rotation = Vector3.new(180, 0, 0.0299999993)
- Part84.FormFactor = Enum.FormFactor.Plate
- Part84.Size = Vector3.new(2, 0.400000006, 3)
- Part84.CFrame = CFrame.new(-16.9999046, 0.199523747, 17.5, 0.999999881, -0.00047619571, -1.1920929e-07, -0.000476195768, -0.999999702, -2.91038305e-11, 0, 7.27595761e-11, -0.999999881)
- Part84.BottomSurface = Enum.SurfaceType.Smooth
- Part84.TopSurface = Enum.SurfaceType.Smooth
- Part84.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part84.Position = Vector3.new(-16.9999046, 0.199523747, 17.5)
- Part84.Orientation = Vector3.new(0, -180, -179.970001)
- Part84.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Decal85.Parent = Part84
- Decal85.Texture = "http://www.roblox.com/asset/?id=20718802"
- Decal85.Face = Enum.NormalId.Bottom
- LocalScript86.Name = "Local Gui"
- LocalScript86.Parent = Tool82
- table.insert(cors,sandbox(LocalScript86,function()
- local Tool = script.Parent;
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = false
- mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
- wait(1)
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- Tool.Equipped:connect(onEquippedLocal)
- end))
- Tool87.Name = "Cola"
- Tool87.Parent = mas
- Tool87.TextureId = "http://www.roblox.com/asset/?id=11471800"
- Tool87.GripForward = Vector3.new(-0.976163507, 0, -0.217036337)
- Tool87.GripPos = Vector3.new(0.0299999993, 0, 0)
- Tool87.GripRight = Vector3.new(0.217036337, 0, -0.976163507)
- Part88.Name = "Handle"
- Part88.Parent = Tool87
- Part88.BrickColor = BrickColor.new("Mid gray")
- Part88.Rotation = Vector3.new(-180, 0, -180)
- Part88.FormFactor = Enum.FormFactor.Plate
- Part88.Size = Vector3.new(1, 1.20000005, 1)
- Part88.CFrame = CFrame.new(-9.5, 0.600000024, 17.5, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part88.BottomSurface = Enum.SurfaceType.Weld
- Part88.TopSurface = Enum.SurfaceType.Smooth
- Part88.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part88.Position = Vector3.new(-9.5, 0.600000024, 17.5)
- Part88.Orientation = Vector3.new(0, 180, 0)
- Part88.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Fire89.Parent = Part88
- Fire89.Size = 30
- Fire89.Color = Color3.new(0, 0, 0)
- Fire89.Enabled = false
- Fire89.Heat = 25
- Fire89.SecondaryColor = Color3.new(0, 0, 0)
- Fire89.Color = Color3.new(0, 0, 0)
- Script90.Name = "Spread"
- Script90.Parent = Fire89
- table.insert(cors,sandbox(Script90,function()
- function Spread(part)
- check = part:findFirstChild("Fire")
- if check == nil then
- script.Parent:Clone().Parent = part
- elseif check ~= nil then
- check.Size = check.Size + 1
- check.Heat = check.Heat +1
- end
- end
- script.Parent.Parent.Touched:connect(Spread)
- end))
- Weld91.Parent = Part88
- Weld91.C0 = CFrame.new(-4.71828389e-06, -1.06949216e-07, 6.73912837e-08, -1.96380037e-10, -7.15101578e-06, 1, -3.45956111e-11, 1, 9.53468771e-06, -1, 4.01852024e-11, -2.64911593e-10)
- Weld91.C1 = CFrame.new(-4.71828389e-06, -1.06949216e-07, 6.73912837e-08, -1.96380037e-10, -7.15101578e-06, 1, -3.45956111e-11, 1, 9.53468771e-06, -1, 4.01852024e-11, -2.64911593e-10)
- Weld92.Parent = Part88
- Weld92.C0 = CFrame.new(-1.34138972e-07, -6.91051537e-06, 0, -3.91537502e-21, 0.999999106, -0.00133771845, 2.81109586e-22, 0.00133771845, 0.999999106, 1, 3.91499535e-21, -2.86346992e-22)
- Weld92.C1 = CFrame.new(-1.34138972e-07, -6.91051537e-06, 0, -3.91537502e-21, 0.999999106, -0.00133771845, 2.81109586e-22, 0.00133771845, 0.999999106, 1, 3.91499535e-21, -2.86346992e-22)
- Weld93.Parent = Part88
- Weld93.C0 = CFrame.new(3.64912034e-06, -1.13236744e-07, -2.01656292e-08, -7.08486672e-11, 0.000798657886, -0.999999702, 1.55140234e-10, 0.999999702, 0.000793890678, 1, 1.55083765e-10, 7.09721865e-11)
- Weld93.C1 = CFrame.new(3.64912034e-06, -1.13236744e-07, -2.01656292e-08, -7.08486672e-11, 0.000798657886, -0.999999702, 1.55140234e-10, 0.999999702, 0.000793890678, 1, 1.55083765e-10, 7.09721865e-11)
- Weld94.Parent = Part88
- Weld94.C0 = CFrame.new(1.6321755e-07, 3.49538391e-06, 0, -3.9252309e-21, 0.996502578, -0.0835621059, -4.1799742e-23, 0.0835621059, 0.996502578, 1, 3.91499535e-21, -2.86346992e-22)
- Weld94.C1 = CFrame.new(1.6321755e-07, 3.49538391e-06, 0, -3.9252309e-21, 0.996502578, -0.0835621059, -4.1799742e-23, 0.0835621059, 0.996502578, 1, 3.91499535e-21, -2.86346992e-22)
- Weld95.Parent = Part88
- Weld95.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld95.C1 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld96.Parent = Part88
- Weld96.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld96.C1 = CFrame.new(0.533214211, 4.09488493e-05, -0.399536163, -6.19143847e-10, 0.000817726948, -0.999999702, 8.15887191e-10, 0.999999702, 0.000817726948, 1, -8.15380652e-10, -6.19810758e-10)
- Weld97.Parent = Part88
- Weld97.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld97.C1 = CFrame.new(-1.12273511e-07, 2.60849974e-05, -0.533189535, 1, -8.33252689e-10, -3.96865235e-10, 8.3357371e-10, 0.999999702, 0.000809622463, 3.96190469e-10, -0.000809622463, 0.999999702)
- Weld98.Parent = Part88
- Weld98.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld98.C1 = CFrame.new(0.533214211, 0.373362005, -4.18045545e-08, -6.20301976e-10, 0.000817726948, -0.999999702, 8.56068161e-10, 0.999999702, 0.000817726948, 1, -8.55560567e-10, -6.21001806e-10)
- Weld99.Parent = Part88
- Weld99.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld99.C1 = CFrame.new(-5.43287024e-06, 0.132771105, 0.400390655, 8.48401349e-10, 0.999999702, 0.000801041257, -6.20273943e-10, 0.000801041257, -0.999999702, -1, 8.47904247e-10, 6.20953344e-10)
- Weld100.Parent = Part88
- Weld100.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld100.C1 = CFrame.new(-2.92850495e-06, -0.400390595, -0.132823572, 8.56068161e-10, 0.999999702, 0.000817726948, -1, 8.55560678e-10, 6.21001806e-10, 6.20301976e-10, -0.000817726948, 0.999999702)
- Weld101.Parent = Part88
- Weld101.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld101.C1 = CFrame.new(1.20404536e-07, 1.7940567e-05, 0.132805407, -1, 8.50133963e-10, 4.23458879e-10, 8.50476911e-10, 0.999999702, 0.000810576021, -4.22769625e-10, 0.000810576021, -0.999999702)
- Weld102.Parent = Part88
- Weld102.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld102.C1 = CFrame.new(5.96581813e-05, -0.400390744, 0.9335953, 8.14806722e-10, 0.999999702, 0.000811847276, 1, -8.1443452e-10, -4.58876631e-10, -4.58215271e-10, 0.000811847276, -0.999999702)
- Weld103.Parent = Part88
- Weld103.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld103.C1 = CFrame.new(2.33017072e-05, -0.933604836, 0.400390595, 8.35977676e-10, 0.999999702, 0.000817726948, 6.19722884e-10, -0.000817726948, 0.999999702, 1, -8.35470693e-10, -6.20406282e-10)
- Weld104.Parent = Part88
- Weld104.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld104.C1 = CFrame.new(-1.52226988e-07, -0.373301029, -0.533214867, 1, -9.17886822e-10, -2.52556698e-10, 9.18089604e-10, 0.999999702, 0.000804378418, 2.51818288e-10, -0.000804378418, 0.999999702)
- Weld105.Parent = Part88
- Weld105.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld105.C1 = CFrame.new(-0.533214211, 4.09488493e-05, -0.400390595, 6.19143847e-10, -0.000817726948, 0.999999702, 8.15887191e-10, 0.999999702, 0.000817726948, -1, 8.15380652e-10, 6.19810758e-10)
- Weld106.Parent = Part88
- Weld106.C0 = CFrame.new(5.25072437e-06, -9.04979558e-08, -6.02840373e-08, -2.12544884e-10, 0.000803425093, -0.999999702, 4.65420175e-10, 0.999999702, 0.000803425093, 1, -4.65249311e-10, -2.12918752e-10)
- Weld106.C1 = CFrame.new(3.85732619e-08, 1.708794e-06, -0.933600962, 1, 2.30016242e-10, -1.24190033e-10, 2.3550692e-10, 0.999999702, 0.000801041722, 3.36916911e-10, -0.000808192533, 0.999999702)
- Weld107.Parent = Part88
- Weld107.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld107.C1 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld108.Parent = Part88
- Weld108.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld108.C1 = CFrame.new(0.533207953, 4.02465412e-05, -0.399536252, -4.0660561e-10, 0.997999609, 0.0632200539, 3.50466517e-10, -0.0632200539, 0.997999668, 1, 4.2794876e-10, -3.24059835e-10)
- Weld109.Parent = Part88
- Weld109.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld109.C1 = CFrame.new(-3.86806875e-07, 4.67300815e-05, -0.533184648, 1, 6.89605151e-10, -1.25792432e-09, 1.29899103e-09, -0.0631973371, 0.998001039, 6.08729123e-10, -0.998001099, -0.0631973371)
- Weld110.Parent = Part88
- Weld110.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld110.C1 = CFrame.new(0.533224404, 0.373393357, -3.90072529e-07, -8.32836911e-10, 0.998000622, 0.0632058904, 1.32148736e-09, -0.0632058978, 0.998000503, 1, 9.1469754e-10, -1.26620492e-09)
- Weld111.Parent = Part88
- Weld111.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld111.C1 = CFrame.new(-1.24499784e-05, 0.132795051, 0.400390744, 3.829842e-10, -0.0632034019, 0.998000741, -4.07727963e-10, 0.998000681, 0.0632034019, -1, -4.31118696e-10, 3.56448732e-10)
- Weld112.Parent = Part88
- Weld112.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld112.C1 = CFrame.new(9.7206248e-06, -0.400390506, -0.132816374, 3.90647487e-10, -0.0632200539, 0.997999668, -1, -4.31644803e-10, 3.64087233e-10, 4.07763739e-10, -0.997999609, -0.0632200539)
- Weld113.Parent = Part88
- Weld113.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld113.C1 = CFrame.new(1.12741731e-07, 1.47659775e-05, 0.132799253, -1, -2.34147424e-10, 3.70999564e-10, 3.85058263e-10, -0.0632105544, 0.998000205, -2.10228071e-10, 0.998000264, 0.0632105544)
- Weld114.Parent = Part88
- Weld114.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld114.C1 = CFrame.new(3.39694889e-05, -0.400390744, 0.933587611, 3.49388324e-10, -0.0632092953, 0.998000324, 1, 2.67267597e-10, -3.33160693e-10, -2.45674314e-10, 0.998000324, 0.0632092878)
- Weld115.Parent = Part88
- Weld115.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld115.C1 = CFrame.new(9.72479302e-06, -0.933596671, 0.400390506, 3.70557002e-10, -0.0632200539, 0.997999668, 4.07184675e-10, -0.997999609, -0.0632200539, 1, 4.29796781e-10, -3.44073547e-10)
- Weld116.Parent = Part88
- Weld116.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld116.C1 = CFrame.new(-9.38037488e-08, -0.37332812, -0.533202708, 1, 6.78072321e-11, -4.49284138e-10, 4.52671733e-10, -0.0632067397, 0.998000443, 3.92738446e-11, -0.998000562, -0.0632067248)
- Weld117.Parent = Part88
- Weld117.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld117.C1 = CFrame.new(-0.533207953, 4.02465412e-05, -0.400390506, 4.0660561e-10, -0.997999609, -0.0632200539, 3.50466517e-10, -0.0632200539, 0.997999668, -1, -4.2794876e-10, 3.24059835e-10)
- Weld118.Parent = Part88
- Weld118.C0 = CFrame.new(4.58660736e-07, -1.05566846e-06, 0, -3.88906235e-21, 0.997999787, 0.0632176325, 5.33270982e-22, -0.0632176325, 0.997999787, 1, 3.91499535e-21, -2.86346992e-22)
- Weld118.C1 = CFrame.new(-7.07679817e-08, 2.65414451e-06, -0.933581531, 1, 1.09589553e-10, 2.37319969e-10, 2.3550692e-10, -0.0632223934, 0.997999489, 3.36916911e-10, -0.997999012, -0.0632295236)
- Weld119.Parent = Part88
- Weld119.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld119.C1 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld120.Parent = Part88
- Weld120.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld120.C1 = CFrame.new(0.533212543, 4.33809255e-05, -0.399536133, -4.77452022e-10, 0.000812952989, -0.999999702, 5.0560689e-10, 0.999999702, 0.000812952989, 1, -5.05218589e-10, -4.77862916e-10)
- Weld121.Parent = Part88
- Weld121.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld121.C1 = CFrame.new(-2.3357552e-07, 5.55160077e-05, -0.533165157, 1, -1.76372972e-09, -8.22718005e-10, 1.76440684e-09, 0.999999702, 0.000823921058, 8.21264445e-10, -0.000823920942, 0.999999762)
- Weld122.Parent = Part88
- Weld122.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld122.C1 = CFrame.new(0.533225417, 0.37339133, -1.62893741e-07, -1.04536846e-09, 0.000832025486, -0.999999642, 1.78690496e-09, 0.999999702, 0.000832025427, 1, -1.78603476e-09, -1.04685483e-09)
- Weld123.Parent = Part88
- Weld123.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld123.C1 = CFrame.new(-4.40306758e-06, 0.132771388, 0.400390655, 8.48401349e-10, 0.999999702, 0.000801038579, -6.20273943e-10, 0.000801038579, -0.999999702, -1, 8.47904247e-10, 6.20953344e-10)
- Weld124.Parent = Part88
- Weld124.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld124.C1 = CFrame.new(1.28626851e-07, -0.400390595, -0.13282387, 8.56068161e-10, 0.999999702, 0.000817724678, -1, 8.55560678e-10, 6.21001806e-10, 6.20301976e-10, -0.000817724678, 0.999999702)
- Weld125.Parent = Part88
- Weld125.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld125.C1 = CFrame.new(1.20785018e-07, 3.03727884e-05, 0.132775158, -1, 8.50133963e-10, 4.23458851e-10, 8.50476911e-10, 0.999999702, 0.000810569618, -4.22769625e-10, 0.000810569618, -0.999999702)
- Weld126.Parent = Part88
- Weld126.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld126.C1 = CFrame.new(6.63429382e-05, -0.400390744, 0.933595598, 8.14806722e-10, 0.999999702, 0.000811841746, 1, -8.14434464e-10, -4.58876631e-10, -4.58215271e-10, 0.000811841746, -0.999999702)
- Weld127.Parent = Part88
- Weld127.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld127.C1 = CFrame.new(2.15904674e-05, -0.933605134, 0.400390595, 8.35977676e-10, 0.999999702, 0.000817724678, 6.19722884e-10, -0.000817724678, 0.999999702, 1, -8.35470693e-10, -6.20406337e-10)
- Weld128.Parent = Part88
- Weld128.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld128.C1 = CFrame.new(-1.52702455e-07, -0.373297483, -0.533215165, 1, -9.17886822e-10, -2.52556753e-10, 9.18089604e-10, 0.999999702, 0.000804377254, 2.51818288e-10, -0.000804377254, 0.999999702)
- Weld129.Parent = Part88
- Weld129.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld129.C1 = CFrame.new(-0.533214509, 4.16217954e-05, -0.400390595, 6.19143847e-10, -0.000817724678, 0.999999702, 8.15887191e-10, 0.999999702, 0.000817724678, -1, 8.15380652e-10, 6.19810814e-10)
- Weld130.Parent = Part88
- Weld130.C0 = CFrame.new(5.53692553e-06, 2.04514564e-07, -6.04753154e-08, -2.12544884e-10, 0.00080342195, -0.999999702, 4.65420175e-10, 0.999999702, 0.00080342195, 1, -4.65249311e-10, -2.12918766e-10)
- Weld130.C1 = CFrame.new(3.86851866e-08, 1.33582325e-05, -0.93360126, 1, 2.30016242e-10, -1.24190033e-10, 2.3550692e-10, 0.999999702, 0.000801045971, 3.36916911e-10, -0.000808193639, 0.999999702)
- Weld131.Parent = Part88
- Weld131.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld131.C1 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld132.Parent = Part88
- Weld132.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld132.C1 = CFrame.new(0.533207655, 4.00506069e-05, -0.399536133, -2.64911593e-10, 0.997566879, -0.069715552, 4.01852024e-11, 0.0697179288, 0.9975667, 1, 1.98314268e-10, 2.08188033e-11)
- Weld133.Parent = Part88
- Weld133.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld133.C1 = CFrame.new(-4.09776021e-07, 5.64174661e-05, -0.533183694, 1, 5.16648224e-10, -1.33828371e-09, 1.29899103e-09, 0.0697453171, 0.997564912, 6.08729123e-10, -0.997564912, 0.0697453246)
- Weld134.Parent = Part88
- Weld134.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld134.C1 = CFrame.new(0.53322345, 0.373397857, -4.03579065e-07, -8.32836911e-10, 0.997565448, -0.0697367489, 1.32148736e-09, 0.0697367489, 0.997565448, 1, 7.38653139e-10, -1.37634937e-09)
- Weld135.Parent = Part88
- Weld135.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld135.C1 = CFrame.new(-9.81253652e-06, 0.132794693, 0.400390744, 3.829842e-10, 0.0697392747, 0.997565329, -4.07727963e-10, 0.997565329, -0.0697392747, -1, -3.80026233e-10, 4.10486423e-10)
- Weld136.Parent = Part88
- Weld136.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld136.C1 = CFrame.new(2.00291402e-06, -0.400390506, -0.132815465, 3.90647487e-10, 0.0697226226, 0.997566521, -1, -3.79534459e-10, 4.18127227e-10, 4.07763739e-10, -0.997566402, 0.0697226301)
- Weld137.Parent = Part88
- Weld137.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld137.C1 = CFrame.new(1.20755828e-07, 4.99412226e-06, 0.132797584, -1, -1.82865389e-10, 3.9878062e-10, 3.85058263e-10, 0.0697321221, 0.997565806, -2.10228071e-10, 0.997565746, -0.0697321221)
- Weld138.Parent = Part88
- Weld138.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld138.C1 = CFrame.new(4.74962835e-05, -0.400390744, 0.933588088, 3.49388324e-10, 0.0697333813, 0.997565746, 1, 2.20712254e-10, -3.65669495e-10, -2.45674314e-10, 0.997565746, -0.0697333887)
- Weld139.Parent = Part88
- Weld139.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld139.C1 = CFrame.new(2.00708268e-06, -0.933598638, 0.400390506, 3.70557002e-10, 0.0697226226, 0.997566521, 4.07184675e-10, -0.997566402, 0.0697226301, 1, 3.80357551e-10, -3.98045263e-10)
- Weld140.Parent = Part88
- Weld140.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld140.C1 = CFrame.new(-1.0609989e-07, -0.373298496, -0.533198833, 1, 7.61074016e-12, -4.54308563e-10, 4.52671733e-10, 0.0697359443, 0.997565567, 3.92738446e-11, -0.997565567, 0.0697359443)
- Weld141.Parent = Part88
- Weld141.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld141.C1 = CFrame.new(-0.533206105, 3.25288311e-05, -0.400390536, 4.0660561e-10, -0.997566402, 0.0697226301, 3.50466517e-10, 0.0697226226, 0.997566521, -1, -3.8118067e-10, 3.77963272e-10)
- Weld142.Parent = Part88
- Weld142.C0 = CFrame.new(-3.95431243e-07, 7.30769489e-06, 0, -3.92543285e-21, 0.997566223, -0.069725059, 1.26768054e-23, 0.069725059, 0.997566223, 1, 3.91499535e-21, -2.86346992e-22)
- Weld142.C1 = CFrame.new(-6.55530812e-08, 2.72896377e-05, -0.933581114, 1, 1.40101444e-10, 2.20685789e-10, 2.3550692e-10, 0.0697202981, 0.997566581, 3.36916911e-10, -0.997567058, 0.0697131678)
- Weld143.Parent = Part88
- Weld143.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld143.C1 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld144.Parent = Part88
- Weld144.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld144.C1 = CFrame.new(0.5332008, 8.52442608e-05, -0.399536431, -1.4692636e-09, 0.000846330251, -0.999999642, 2.67755484e-09, 0.999999702, 0.000846330193, 1, -2.67631073e-09, -1.47152912e-09)
- Weld145.Parent = Part88
- Weld145.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld145.C1 = CFrame.new(-3.54604822e-07, 7.10747918e-05, -0.533170998, 1, -2.69418865e-09, -1.24858379e-09, 2.69523404e-09, 0.999999702, 0.000838225707, 1.24632515e-09, -0.000838225707, 0.999999642)
- Weld146.Parent = Part88
- Weld146.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld146.C1 = CFrame.new(0.533231318, 0.373406291, -2.83906502e-07, -1.47042167e-09, 0.000846330251, -0.999999642, 2.71773581e-09, 0.999999702, 0.000846330193, 1, -2.71649037e-09, -1.47272128e-09)
- Weld147.Parent = Part88
- Weld147.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld147.C1 = CFrame.new(5.93345294e-06, 0.132752568, 0.400390923, 2.71005463e-09, 0.999999702, 0.000829644501, -1.47042467e-09, 0.000829644501, -0.999999642, -1, 2.70883382e-09, 1.47267265e-09)
- Weld148.Parent = Part88
- Weld148.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld148.C1 = CFrame.new(8.4651374e-06, -0.400390327, -0.132810175, 2.71773581e-09, 0.999999702, 0.000846330193, -1, 2.71649037e-09, 1.47272128e-09, 1.47042167e-09, -0.000846330251, 0.999999642)
- Weld149.Parent = Part88
- Weld149.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld149.C1 = CFrame.new(3.62762336e-07, 2.95230384e-05, 0.132817402, -1, 2.71106715e-09, 1.27517807e-09, 2.71213629e-09, 0.999999702, 0.000839179265, -1.27290256e-09, 0.000839179265, -0.999999642)
- Weld150.Parent = Part88
- Weld150.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld150.C1 = CFrame.new(0.000142092002, -0.400391012, 0.93360728, 2.67646505e-09, 0.999999702, 0.000840450521, 1, -2.6753646e-09, -1.31059485e-09, -1.30834588e-09, 0.000840450521, -0.999999642)
- Weld151.Parent = Part88
- Weld151.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld151.C1 = CFrame.new(0.000101452555, -0.933591425, 0.400390327, 2.69764522e-09, 0.999999702, 0.000846330193, 1.46984258e-09, -0.000846330251, 0.999999642, 1, -2.69640044e-09, -1.47212509e-09)
- Weld152.Parent = Part88
- Weld152.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld152.C1 = CFrame.new(-3.94687646e-07, -0.373256177, -0.533165812, 1, -2.77882695e-09, -1.10427789e-09, 2.77974577e-09, 0.999999702, 0.000832981663, 1.10196274e-09, -0.000832981663, 0.999999642)
- Weld153.Parent = Part88
- Weld153.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld153.C1 = CFrame.new(-0.5332008, 8.52442608e-05, -0.400390327, 1.4692636e-09, -0.000846330251, 0.999999642, 2.67755484e-09, 0.999999702, 0.000846330193, -1, 2.67631073e-09, 1.47152912e-09)
- Weld154.Parent = Part88
- Weld154.C0 = CFrame.new(1.14122267e-05, 2.31042439e-08, -1.81467669e-07, -6.37624675e-10, 0.000817726715, -0.999999762, 1.396256e-09, 0.999999702, 0.000817726832, 1, -1.39573431e-09, -6.38766207e-10)
- Weld154.C1 = CFrame.new(-2.17958132e-08, 2.16124681e-05, -0.933588922, 1, -7.00479896e-10, -5.50027579e-10, 7.00928149e-10, 0.999999702, 0.000815343345, 5.49456258e-10, -0.000815343345, 0.999999702)
- Weld155.Parent = Part88
- Weld155.C0 = CFrame.new(2.73681553e-06, -7.9203943e-08, -1.32984567e-07, -1, 4.29049651e-05, 1.27289645e-09, 4.29049651e-05, 1, -2.71216405e-09, -1.27303168e-09, -2.7121092e-09, -1)
- Weld155.C1 = CFrame.new(2.73681553e-06, -7.9203943e-08, -1.32984567e-07, -1, 4.29049651e-05, 1.27289645e-09, 4.29049651e-05, 1, -2.71216405e-09, -1.27303168e-09, -2.7121092e-09, -1)
- Weld156.Parent = Part88
- Weld156.C0 = CFrame.new(2.58500165e-07, 1.47510104e-06, 9.1201764e-07, -0.0304826926, -0.998224854, 0.0511664115, -0.997482359, 0.027100971, -0.0655324385, 0.0640294328, -0.0530351698, -0.996537805)
- Weld156.C1 = CFrame.new(2.58500165e-07, 1.47510104e-06, 9.1201764e-07, -0.0304826926, -0.998224854, 0.0511664115, -0.997482359, 0.027100971, -0.0655324385, 0.0640294328, -0.0530351698, -0.996537805)
- Weld157.Parent = Part88
- Weld157.C0 = CFrame.new(5.81937775e-06, 3.66444342e-09, 4.0117655e-07, -1, 1.83190277e-05, 1.62574338e-07, 1.82680233e-05, 1, -5.43802935e-06, -1.05692934e-07, -5.39845632e-06, -1.00000012)
- Weld157.C1 = CFrame.new(5.81937775e-06, 3.66444342e-09, 4.0117655e-07, -1, 1.83190277e-05, 1.62574338e-07, 1.82680233e-05, 1, -5.43802935e-06, -1.05692934e-07, -5.39845632e-06, -1.00000012)
- Weld158.Parent = Part88
- Weld158.C0 = CFrame.new(5.19993637e-06, -2.07580495e-08, -4.3925632e-09, -0.99999994, -7.85102384e-06, 1.626222e-07, -7.9020283e-06, 1, -7.75445642e-06, -1.05581343e-07, -7.71488703e-06, -1.00000012)
- Weld158.C1 = CFrame.new(5.19993637e-06, -2.07580495e-08, -4.3925632e-09, -0.99999994, -7.85102384e-06, 1.626222e-07, -7.9020283e-06, 1, -7.75445642e-06, -1.05581343e-07, -7.71488703e-06, -1.00000012)
- Weld159.Parent = Part88
- Weld159.C0 = CFrame.new(-4.51719643e-07, 1.87397453e-09, -3.76758157e-06, -0.999999821, -3.77100787e-06, -6.00899241e-09, -3.82201188e-06, 1, -4.80523522e-06, 6.30072776e-08, -4.76566538e-06, -1.00000012)
- Weld159.C1 = CFrame.new(-4.51719643e-07, 1.87397453e-09, -3.76758157e-06, -0.999999821, -3.77100787e-06, -6.00899241e-09, -3.82201188e-06, 1, -4.80523522e-06, 6.30072776e-08, -4.76566538e-06, -1.00000012)
- Weld160.Parent = Part88
- Weld160.C0 = CFrame.new(1.26816673e-07, -2.34453221e-08, 5.90223294e-07, -0.999999762, -1.85550198e-05, -5.83594151e-09, -1.86060279e-05, 1, -8.11173049e-06, 6.29660306e-08, -8.07215929e-06, -1.00000012)
- Weld160.C1 = CFrame.new(1.26816673e-07, -2.34453221e-08, 5.90223294e-07, -0.999999762, -1.85550198e-05, -5.83594151e-09, -1.86060279e-05, 1, -8.11173049e-06, 6.29660306e-08, -8.07215929e-06, -1.00000012)
- Weld161.Parent = Part88
- Weld161.C0 = CFrame.new(8.01678993e-07, -1.1426212e-08, -1.10775409e-06, -0.999999702, -1.59489209e-05, -5.85270321e-09, -1.5999929e-05, 1, -9.83655082e-06, 6.29892654e-08, -9.79697961e-06, -1.00000012)
- Weld161.C1 = CFrame.new(8.01678993e-07, -1.1426212e-08, -1.10775409e-06, -0.999999702, -1.59489209e-05, -5.85270321e-09, -1.5999929e-05, 1, -9.83655082e-06, 6.29892654e-08, -9.79697961e-06, -1.00000012)
- Weld162.Parent = Part88
- Weld162.C0 = CFrame.new(1.07855703e-06, -1.98978043e-08, -4.36352309e-07, -0.999999642, -1.87142232e-05, -3.42939558e-07, -1.87652277e-05, 1, -1.32089617e-05, 4.00166499e-07, -1.31693841e-05, -1.00000012)
- Weld162.C1 = CFrame.new(1.07855703e-06, -1.98978043e-08, -4.36352309e-07, -0.999999642, -1.87142232e-05, -3.42939558e-07, -1.87652277e-05, 1, -1.32089617e-05, 4.00166499e-07, -1.31693841e-05, -1.00000012)
- Weld163.Parent = Part88
- Weld163.C0 = CFrame.new(-2.96131202e-06, 1.15200116e-08, -5.08313747e-08, -0.999999583, -2.1935306e-05, -3.42888029e-07, -2.19863105e-05, 1, -1.28208176e-05, 4.00148849e-07, -1.27812382e-05, -1.00000012)
- Weld163.C1 = CFrame.new(-2.96131202e-06, 1.15200116e-08, -5.08313747e-08, -0.999999583, -2.1935306e-05, -3.42888029e-07, -2.19863105e-05, 1, -1.28208176e-05, 4.00148849e-07, -1.27812382e-05, -1.00000012)
- Sound164.Name = "OpenSound"
- Sound164.Parent = Part88
- Sound164.SoundId = "http://www.roblox.com/asset/?id=10721950"
- Sound165.Name = "DrinkSound"
- Sound165.Parent = Part88
- Sound165.SoundId = "http://www.roblox.com/asset/?id=10722059"
- SpecialMesh166.Parent = Part88
- SpecialMesh166.MeshId = "http://www.roblox.com/asset/?id=10470609"
- SpecialMesh166.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
- SpecialMesh166.TextureId = "http://www.roblox.com/asset/?id=10470600"
- SpecialMesh166.MeshType = Enum.MeshType.FileMesh
- SpecialMesh166.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
- Script167.Name = "BloxyColaScript"
- Script167.Parent = Tool87
- table.insert(cors,sandbox(Script167,function()
- local Tool = script.Parent;
- enabled = true
- function onActivated()
- if not enabled then
- return
- end
- enabled = false
- Tool.GripForward = Vector3.new(0,-.759,-.651)
- Tool.GripPos = Vector3.new(1.5,-.5,.3)
- Tool.GripRight = Vector3.new(1,0,0)
- Tool.GripUp = Vector3.new(0,.651,-.759)
- Tool.Handle.DrinkSound:Play()
- wait(1)
- local h = Tool.Parent:FindFirstChild("Humanoid")
- if (h ~= nil) then
- if (h.MaxHealth > h.Health - 100) then
- h.Health = h.Health -100
- else
- h.Health = h.MaxHealth
- end
- end
- Tool.GripForward = Vector3.new(-.976,0,-0.217)
- Tool.GripPos = Vector3.new(0.03,0,0)
- Tool.GripRight = Vector3.new(.217,0,-.976)
- Tool.GripUp = Vector3.new(0,1,0)
- enabled = true
- end
- function onEquipped()
- Tool.Handle.OpenSound:play()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- end))
- Tool168.Name = "Card"
- Tool168.Parent = mas
- Tool168.TextureId = "http://www.roblox.com/asset/?id=34813616"
- Tool168.GripForward = Vector3.new(0, 1, 0)
- Tool168.GripPos = Vector3.new(0, 0, -0.649999976)
- Tool168.GripUp = Vector3.new(0, -0, 1)
- Script169.Name = "LaserBlast"
- Script169.Parent = Tool168
- Script169.Disabled = true
- table.insert(cors,sandbox(Script169,function()
- ball = script.Parent
- damage = 10
- HitSound = Instance.new("Sound")
- HitSound.Name = "HitSound"
- HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266"
- HitSound.Parent = ball
- HitSound.Volume = 1
- function onTouched(hit)
- if hit == nil or hit.Parent == nil then return end
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if humanoid ~= nil then
- if tostring(ball.creator.Value) ~= humanoid.Parent.Name then
- -- tagHumanoid(humanoid)
- -- humanoid:TakeDamage(damage)
- -- untagHumanoid(humanoid)
- humanoid:TakeDamage(damage)
- ball.Parent = nil
- end
- end
- if hit:findFirstChild("EnergyOrb") ~= nil then
- if tostring(hit.creator.Value) ~= tostring(ball.creator.Value) then
- ball.Parent = nil
- end
- end
- -- HitSound:Play()
- -- ball.Parent = nil
- --print("Hit Ground At: ")
- --print(ball.Position)
- --ball.Parent = nil
- end
- function tagHumanoid(humanoid)
- -- todo: make tag expire
- local tag = ball:findFirstChild("creator")
- if tag ~= nil then
- local new_tag = tag:clone()
- new_tag.Parent = humanoid
- end
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- connection = ball.Touched:connect(onTouched)
- local orbitingVelocity = 15
- local radius = 5
- local radiusSq = radius*radius
- local ovSq = orbitingVelocity*orbitingVelocity
- for i = 1, 500 do
- local tag = ball:findFirstChild("creator")
- if tag ~= nil then
- myMaker = Workspace:findFirstChild(tostring(tag.Value))
- if myMaker ~= nil then
- radius_tag = myMaker:findFirstChild("Radius")
- if radius_tag ~= nil then
- radius = radius_tag.Value
- radiusSq = radius*radius
- end
- MPos = myMaker.PrimaryPart.Position
- dPos = ball.Position - MPos
- ball.BodyForce.force = ball:getMass()*Vector3.new(-ovSq*dPos.X/radiusSq, -ovSq*dPos.Y/radiusSq + 196.1643, -ovSq*dPos.Z/radiusSq)
- -- find unit vector towards us
- unitVectorTowardsUs = dPos.unit
- -- take away component towards us (entirely if radius is 5, otherwise, less)
- newVelocity = ball.Velocity - (1/(1 + math.abs(dPos.magnitude - radius)))*unitVectorTowardsUs*ball.Velocity:Dot(unitVectorTowardsUs)
- -- and ensure speed stays at orbiting velocity
- ball.Velocity = newVelocity.unit * orbitingVelocity
- end
- end
- wait(.01)
- end
- --ball.SparkSound.Looped = false
- --ball.SparkSound:Stop()
- ball.Parent = nil
- end))
- Part170.Name = "Handle"
- Part170.Parent = Tool168
- Part170.BrickColor = BrickColor.new("Bright blue")
- Part170.Rotation = Vector3.new(90.0299988, -89.9799957, -89.9300003)
- Part170.FormFactor = Enum.FormFactor.Plate
- Part170.Size = Vector3.new(2, 0.400000006, 1)
- Part170.CFrame = CFrame.new(-1.50003779, 0.199955672, 17.9999714, 2.19792128e-07, 0.000189502767, -0.99999994, -0.000139061041, -0.999999881, -0.000189502796, -0.99999994, 0.000139061085, -1.00582838e-07)
- Part170.BottomSurface = Enum.SurfaceType.Smooth
- Part170.TopSurface = Enum.SurfaceType.Smooth
- Part170.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part170.Position = Vector3.new(-1.50003779, 0.199955672, 17.9999714)
- Part170.Orientation = Vector3.new(0.00999999978, -90, -179.98999)
- Part170.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Sound171.Name = "EquipSound"
- Sound171.Parent = Part170
- Sound171.SoundId = "http://www.roblox.com/asset/?id=10756118"
- Sound172.Name = "BurnSound"
- Sound172.Parent = Part170
- Sound172.SoundId = "http://www.roblox.com/asset/?id=32791565"
- Sound172.Volume = 1
- Sound173.Name = "OrbitSound"
- Sound173.Parent = Part170
- Sound173.SoundId = "http://www.roblox.com/asset/?id=10756118"
- Sound173.Volume = 1
- Sound174.Name = "OrbitSound2"
- Sound174.Parent = Part170
- Sound174.SoundId = "http://www.roblox.com/asset/?id=10756118"
- Sound174.Volume = 1
- Sound175.Name = "WhooshSound"
- Sound175.Parent = Part170
- Sound175.SoundId = "http://www.roblox.com/asset/?id=31758982"
- Sound175.Volume = 1
- Sound176.Name = "StormSound"
- Sound176.Parent = Part170
- Sound176.SoundId = "http://www.roblox.com/asset/?id=10756118"
- Sound176.Volume = 1
- Fire177.Parent = Part170
- Fire177.Size = 30
- Fire177.Color = Color3.new(0, 0, 0)
- Fire177.Enabled = false
- Fire177.Heat = 25
- Fire177.SecondaryColor = Color3.new(0, 0, 0)
- Fire177.Color = Color3.new(0, 0, 0)
- Script178.Name = "Spread"
- Script178.Parent = Fire177
- table.insert(cors,sandbox(Script178,function()
- function Spread(part)
- check = part:findFirstChild("Fire")
- if check == nil then
- script.Parent:Clone().Parent = part
- elseif check ~= nil then
- check.Size = check.Size + 1
- check.Heat = check.Heat +1
- end
- end
- script.Parent.Parent.Touched:connect(Spread)
- end))
- Decal179.Parent = Part170
- Decal179.Texture = "http://www.roblox.com/asset/?id=13465884"
- Decal179.Face = Enum.NormalId.Bottom
- Decal180.Parent = Part170
- Decal180.Texture = "http://www.roblox.com/asset/?id=13465884"
- Decal180.Face = Enum.NormalId.Top
- Script181.Name = "LaserBlast2"
- Script181.Parent = Tool168
- Script181.Disabled = true
- table.insert(cors,sandbox(Script181,function()
- ball = script.Parent
- damage = 10
- HitSound = Instance.new("Sound")
- HitSound.Name = "HitSound"
- HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266"
- HitSound.Parent = ball
- HitSound.Volume = 1
- function onTouched(hit)
- if hit == nil or hit.Parent == nil then return end
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if humanoid ~= nil then
- if tostring(ball.creator.Value) ~= humanoid.Parent.Name then
- -- tagHumanoid(humanoid)
- -- humanoid:TakeDamage(damage)
- -- untagHumanoid(humanoid)
- humanoid:TakeDamage(damage)
- ball.Parent = nil
- end
- end
- if hit:findFirstChild("EnergyOrb") ~= nil then
- if tostring(hit.creator.Value) ~= tostring(ball.creator.Value) then
- ball.Parent = nil
- end
- end
- -- HitSound:Play()
- -- ball.Parent = nil
- --print("Hit Ground At: ")
- --print(ball.Position)
- --ball.Parent = nil
- end
- function tagHumanoid(humanoid)
- -- todo: make tag expire
- local tag = ball:findFirstChild("creator")
- if tag ~= nil then
- local new_tag = tag:clone()
- new_tag.Parent = humanoid
- end
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- connection = ball.Touched:connect(onTouched)
- local orbitingVelocity = 7
- local radius = 7
- local radiusSq = radius*radius
- local ovSq = orbitingVelocity*orbitingVelocity
- for i = 1, 500 do
- local tag = ball:findFirstChild("creator")
- if tag ~= nil then
- myMaker = Workspace:findFirstChild(tostring(tag.Value))
- if myMaker ~= nil then
- radius_tag = myMaker:findFirstChild("Radius")
- if radius_tag ~= nil then
- radius = radius_tag.Value
- radiusSq = radius*radius
- end
- MPos = myMaker.PrimaryPart.Position
- dPos = ball.Position - MPos
- ball.BodyForce.force = ball:getMass()*Vector3.new(-ovSq*dPos.X/radiusSq, -ovSq*dPos.Y/radiusSq + 196.1643, -ovSq*dPos.Z/radiusSq)
- end
- end
- wait(.01)
- end
- --ball.SparkSound.Looped = false
- --ball.SparkSound:Stop()
- ball.Parent = nil
- end))
- Script182.Name = "StormBlast"
- Script182.Parent = Tool168
- Script182.Disabled = true
- table.insert(cors,sandbox(Script182,function()
- ball = script.Parent
- damage = 5
- HitSound = Instance.new("Sound")
- HitSound.Name = "HitSound"
- HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266"
- HitSound.Parent = ball
- HitSound.Volume = 1
- function onTouched(hit)
- if hit == nil or hit.Parent == nil then return end
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if humanoid ~= nil then
- if tostring(ball.creator.Value) ~= humanoid.Parent.Name then
- -- tagHumanoid(humanoid)
- -- humanoid:TakeDamage(damage)
- -- untagHumanoid(humanoid)
- humanoid:TakeDamage(damage)
- ball.Parent = nil
- end
- end
- if hit:findFirstChild("EnergyOrb") ~= nil then
- if tostring(hit.creator.Value) ~= tostring(ball.creator.Value) then
- ball.Parent = nil
- end
- end
- -- HitSound:Play()
- -- ball.Parent = nil
- --print("Hit Ground At: ")
- --print(ball.Position)
- --ball.Parent = nil
- end
- function tagHumanoid(humanoid)
- -- todo: make tag expire
- local tag = ball:findFirstChild("creator")
- if tag ~= nil then
- local new_tag = tag:clone()
- new_tag.Parent = humanoid
- end
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- connection = ball.Touched:connect(onTouched)
- wait(5)
- --ball.SparkSound.Looped = false
- --ball.SparkSound:Stop()
- ball.Parent = nil
- end))
- NumberValue183.Name = "Mode"
- NumberValue183.Parent = Tool168
- NumberValue183.Value = 1
- NumberValue184.Name = "Radius"
- NumberValue184.Parent = Tool168
- NumberValue184.Value = 7
- Script185.Name = "StaffOfPower"
- Script185.Parent = Tool168
- table.insert(cors,sandbox(Script185,function()
- local Tool = script.Parent;
- Tool.Enabled = true
- local fCols = {Color3.new(1,0,0), Color3.new(0,1,0), Color3.new(0,0,1), Color3.new(1,1,0), Color3.new(1,0,1), Color3.new(0,1,1)}
- local spark = Instance.new("Sparkles")
- local flame = Instance.new("Fire")
- local timeUntilConvergence = 3
- local BurnSound = Tool.Handle:FindFirstChild("BurnSound")
- if BurnSound == nil then
- BurnSound = Instance.new("Sound")
- BurnSound.Name = "BurnSound"
- BurnSound.SoundId = "http://www.roblox.com/asset/?id=32791565"
- BurnSound.Parent = Tool.Handle
- BurnSound.Volume = 1
- end
- --http://www.roblox.com/asset/?id=31758982
- function fire(dPos, whichOne, mode)
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- -- local missile = Instance.new("Part")
- -- begin asset insertion
- --This call will cause a "wait" until the data comes back
- local root = game:GetService("InsertService"):LoadAsset(34815459)
- local instances = root:GetChildren()
- if #instances == 0 then
- root:Remove()
- return
- end
- root = root:FindFirstChild("OrbOfPower")
- if root == nil then return end
- local missile = root:Clone()
- -- end asset insertion
- littleSpark = spark:Clone()
- littleSpark.Parent = missile
- --littleSpark.Color = Color3.new(math.random(), math.random(), math.random())
- littleSpark.Color = fCols[math.random(1, #fCols)]
- littleFlame = flame:Clone()
- littleFlame.Parent = missile
- --littleFlame.Color = Color3.new(math.random(), math.random(), math.random())
- littleFlame.Color = fCols[math.random(1, #fCols)]
- --littleFlame.SecondaryColor = Color3.new(math.random(), math.random(), math.random())
- if vCharacter.Name == "Backpack" then return end
- local spawnPos = vCharacter.PrimaryPart.Position
- local OrbitSound = Tool.Handle:FindFirstChild("OrbitSound")
- local OrbitSound2 = Tool.Handle:FindFirstChild("OrbitSound2")
- local WhooshSound = Tool.Handle:FindFirstChild("WhooshSound")
- if (OrbitSound == nil) then
- OrbitSound = Instance.new("Sound")
- OrbitSound.Name = "OrbitSound"
- OrbitSound.SoundId = "http://www.roblox.com/asset/?id=10756118"
- OrbitSound.Parent = Tool.Handle
- OrbitSound.Volume = 0
- end
- if (OrbitSound2 == nil) then
- OrbitSound2 = Instance.new("Sound")
- OrbitSound2.Name = "OrbitSound2"
- OrbitSound2.SoundId = "http://www.roblox.com/asset/?id=10756118"
- OrbitSound2.Parent = Tool.Handle
- OrbitSound2.Volume = 0
- end
- if WhooshSound == nil then
- WhooshSound = Instance.new("Sound")
- WhooshSound.Name = "WhooshSound"
- WhooshSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
- WhooshSound.Parent = Tool.Handle
- WhooshSound.Volume = 1
- end
- --spawnPos = spawnPos + dPos.unit*5
- --dPos = dPos - dPos.unit * 5
- local orbitingVelocity = 15
- if (mode == 1) then orbitingVelocity = 7 end
- radius_tag = vCharacter:FindFirstChild("Radius")
- if radius_tag == nil then
- radius_tag = Instance.new("NumberValue")
- radius_tag.Name = "Radius"
- radius_tag.Value = 7
- radius_tag.Parent = vCharacter
- end
- radius = radius_tag.Value
- --if radius_tag == nil then
- -- radiusTag = Instance.new("NumberValue")
- -- radiusTag.Name = "RadiusTag"
- -- radiusTag.Value = radius
- -- radiusTag.Parent = vPlayer
- --end
- theta = whichOne/20*2*math.pi
- missile.Position = Vector3.new(spawnPos.X+radius*math.cos(theta), spawnPos.Y, spawnPos.Z+radius*math.sin(theta))
- missile.Size = Vector3.new(0.01,0.01,0.01)
- gravity = 196.1643
- --missile.Velocity = Vector3.new(math.random()*100-50, math.random()*50+10, math.random()*100-50)
- newVelocity = Vector3.new(math.random()-0.5, math.random()-0.5, math.random()-0.5)
- -- find unit vector towards us
- unitVectorTowardsUs = Vector3.new(radius*math.cos(theta), 0, radius*math.sin(theta)).unit
- -- take away component towards us
- newVelocity = newVelocity - unitVectorTowardsUs*newVelocity:Dot(unitVectorTowardsUs)
- missile.Velocity = newVelocity.unit * orbitingVelocity
- missile.RotVelocity = Vector3.new((math.random()-.5)*10, (math.random()-.5)*10, (math.random()-.5)*10)
- missile.BrickColor = BrickColor.Random()
- missile.Shape = 1
- -- missile.BottomSurface = 0
- -- missile.TopSurface = 0
- missile.Name = "Spark"
- missile.Reflectance = 1
- missile.Transparency = 0
- missile.CanCollide = false
- local force = Instance.new("BodyForce")
- local radiusSq = radius*radius
- force.force = Vector3.new(-missile:getMass()*orbitingVelocity*orbitingVelocity*math.cos(theta)/radiusSq, gravity*missile:getMass(), -missile:getMass()*orbitingVelocity*orbitingVelocity*math.sin(theta)/radiusSq)
- force.Parent = missile
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = missile
- local new_script = nil
- if (mode == 0) then
- new_script = script.Parent.LaserBlast:clone()
- --se new_script = script.Parent.LaserBlastLarge:clone() end
- new_script.Disabled = false
- new_script.Parent = missile
- OrbitSound.Volume = 1
- OrbitSound:Play()
- WhooshSound:Play()
- end
- if (mode == 1) then
- new_script = script.Parent.LaserBlast2:clone()
- new_script.Disabled = false
- new_script.Parent = missile
- OrbitSound2.Volume = 1
- OrbitSound2:Play()
- WhooshSound:Play()
- end
- missile.Parent = game.Workspace
- end
- function gunUp()
- Tool.GripForward = Vector3.new(0,.981,-.196)
- Tool.GripRight = Vector3.new(1,0,0)
- Tool.GripUp = Vector3.new(0,.196,.981)
- end
- function gunOut()
- Tool.GripForward = Vector3.new(0,1,0)
- Tool.GripRight = Vector3.new(1,0,0)
- Tool.GripUp = Vector3.new(0,0,1)
- end
- function stormFire(dPos, whichOne)
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- --local missile = Instance.new("Part")
- -- begin asset insertion
- --This call will cause a "wait" until the data comes back
- local root = game:GetService("InsertService"):LoadAsset(34815459)
- local instances = root:GetChildren()
- if #instances == 0 then
- root:Remove()
- return
- end
- root = root:FindFirstChild("OrbOfPower")
- if root == nil then return end
- local missile = root:Clone()
- -- end asset insertion
- littleSpark = spark:Clone()
- littleSpark.Parent = missile
- --littleSpark.Color = Color3.new(math.random(), math.random(), math.random())
- littleSpark.Color = fCols[math.random(1, #fCols)]
- littleFlame = flame:Clone()
- littleFlame.Parent = missile
- --littleFlame.Color = Color3.new(math.random(), math.random(), math.random())
- littleFlame.Color = fCols[math.random(1, #fCols)]
- if vCharacter.Name == "Backpack" then return end
- local spawnPos = vCharacter.PrimaryPart.Position
- local StormSound = Tool.Handle:FindFirstChild("StormSound")
- local WhooshSound = Tool.Handle:FindFirstChild("WhooshSound")
- if (StormSound == nil) then
- StormSound = Instance.new("Sound")
- StormSound.Name = "StormSound"
- StormSound.SoundId = "http://www.roblox.com/asset/?id=10756118"
- StormSound.Parent = Tool.Handle
- StormSound.Volume = 0
- end
- if WhooshSound == nil then
- WhooshSound = Instance.new("Sound")
- WhooshSound.Name = "WhooshSound"
- WhooshSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
- WhooshSound.Parent = Tool.Handle
- WhooshSound.Volume = 1
- end
- --spawnPos = spawnPos + dPos.unit*5
- --dPos = dPos - dPos.unit * 5
- missile.Position = spawnPos
- missile.Size = Vector3.new(math.random()*0.01,math.random()*0.01,math.random()*0.01)
- gravity = 196.1643
- --missile.Velocity = Vector3.new(math.random()*100-50, math.random()*50+10, math.random()*100-50)
- missile.Velocity = Vector3.new(math.random()*100-50, math.random()*50+10, math.random()*100-50)
- missile.RotVelocity = Vector3.new((math.random()-.5)*10, (math.random()-.5)*10, (math.random()-.5)*10)
- missile.BrickColor = BrickColor.Random()
- missile.Shape = 1
- -- missile.BottomSurface = 0
- -- missile.TopSurface = 0
- missile.Name = "Spark"
- missile.Reflectance = 1
- missile.Transparency = 0
- missile.CanCollide = false
- -- 3 - ...
- timeDelay = timeUntilConvergence-whichOne*.1 --time left until they converge on the hapless victim >:D
- fireForce = missile:getMass()*2*(dPos - missile.Velocity*timeDelay)/(timeDelay*timeDelay) -- F = ma
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(fireForce.X, fireForce.Y + gravity*missile:getMass(), fireForce.Z)
- force.Parent = missile
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = missile
- local new_script = script.Parent.StormBlast:clone()
- new_script.Disabled = false
- new_script.Parent = missile
- missile.Parent = game.Workspace
- StormSound.Volume = 1
- StormSound:Play()
- WhooshSound:Play()
- end
- function staffFire()
- --lower staff
- for i = 1,10 do
- angle = i*math.pi/20
- Tool.GripForward = Vector3.new(0,math.cos(angle),math.sin(angle))
- Tool.GripRight = Vector3.new(1,0,0)
- Tool.GripUp = Vector3.new(0,-math.sin(angle),math.cos(angle))
- Tool.GripPos = Vector3.new(0,0,-.65)
- wait(.02)
- end
- --spin staff
- for i = 1,20 do
- firstAngle = math.pi/2
- secondAngle = i*math.pi/5
- Tool.GripForward = Vector3.new(0,math.cos(firstAngle),math.sin(firstAngle))
- Tool.GripRight = Vector3.new(math.cos(secondAngle),math.sin(secondAngle),0)
- Tool.GripUp = Vector3.new(math.sin(secondAngle),-math.sin(firstAngle)*math.cos(secondAngle),math.cos(firstAngle))
- Tool.GripPos = Vector3.new(0,0,-.65)
- wait(.01)
- end
- end
- function staffReturn()
- for i = 1,10 do
- angle = (10-i)*math.pi/20
- Tool.GripForward = Vector3.new(0,math.cos(angle),math.sin(angle))
- Tool.GripRight = Vector3.new(1,0,0)
- Tool.GripUp = Vector3.new(0,-math.sin(angle),math.cos(angle))
- Tool.GripPos = Vector3.new(0,0,-.65)
- wait(.04)
- end
- end
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local targetPos = humanoid.TargetPoint
- local lookAt = (targetPos - character.Head.Position).unit
- local shieldReloadTime = 25
- local stormReloadTime = 8
- local mode = Tool.Mode.Value
- staffFire()
- if (mode == 2) then
- for i = 0,19 do
- local targetPos = humanoid.TargetPoint
- local lookAt = targetPos - character.PrimaryPart.Position
- stormFire(lookAt, i)
- wait(.1)
- end
- --wait(timeUntilConvergence - 2)
- wait(.75)
- BurnSound:Play()
- staffReturn()
- --wait(stormReloadTime+2-timeUntilConvergence)
- wait(stormReloadTime-.75)
- else
- for i = 0,19 do --for i = 0, 19
- local targetPos = humanoid.TargetPoint
- --local lookAt = (targetPos - character.Head.Position)
- local lookAt = targetPos - character.PrimaryPart.Position
- --if (lookAt.magnitude > 1000) then lookAt = lookAt.unit * 1000 end
- fire(lookAt, i, mode)
- wait(.1)
- end
- staffReturn()
- wait(shieldReloadTime)
- end
- Tool.Enabled = true
- end
- function onEquipped()
- Tool.Handle.EquipSound:play()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- end))
- LocalScript186.Name = "EnergyGunGui"
- LocalScript186.Parent = Tool168
- table.insert(cors,sandbox(LocalScript186,function()
- local Tool = script.Parent
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- --if vPlayer == nil then return end
- while vPlayer == nil do
- Tool = script.Parent
- vCharacter = Tool.Parent
- vPlayer = game.Players:playerFromCharacter(vCharacter)
- wait(.3)
- end
- -- ~~SET-UP ON-EQUIP and ON-UNEQUIP HERE~~
- local keying = false
- local keyDown = nil
- function onKeyDown(key)
- if key == nil then return end
- if keying then return end
- keying = true
- selection = script.Parent.Mode.Value
- --radius = vCharacter.Radius.Value
- key:lower()
- if key == "f" then
- --selection = selection + 1
- --if selection == 3 then selection = 0 end
- if selection == 1 then
- if onShieldClick ~= nil then onShieldClick() end
- end
- if selection == 2 then
- if onBlastClick ~= nil then onBlastClick() end
- end
- if selection == 0 then
- if onStormClick ~= nil then onStormClick() end
- end
- elseif key == "r" then
- --selection = selection -1
- --if selection == -1 then selection = 2 end
- if selection == 2 then
- if onShieldClick ~= nil then onShieldClick() end
- end
- if selection == 0 then
- if onBlastClick ~= nil then onBlastClick() end
- end
- if selection == 1 then
- if onStormClick ~= nil then onStormClick() end
- end
- end
- if key == "t" then
- if onUpClick ~= nil then onUpClick() end
- elseif key == "g" then
- if onDownClick ~= nil then onDownClick() end
- end
- keying = false
- end
- local screen = vPlayer.PlayerGui:FindFirstChild("EnergyScreenGui")
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- radius_tag = vCharacter:FindFirstChild("Radius")
- if radius_tag == nil then
- radius_tag = Instance.new("NumberValue")
- radius_tag.Name = "Radius"
- radius_tag.Value = 7
- radius_tag.Parent = vCharacter
- end
- --if (Tool.Enabled) then mouse.Icon = "rbxasset://textures\\GunCursor.png"
- --else mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- keyDown = mouse.KeyDown:connect(onKeyDown)
- if screen == nil then
- print("Screen Nil!")
- else screen.Parent = vPlayer.PlayerGui end
- --[[if screen == nil then
- print("Creating Screen!")
- -- need to make a new screen
- screen = script:FindFirstChild("EnergyScreenGui")
- if screen == nil then print("ENERGY SCREEN NOT CLONEABLE!") end
- screen:Clone().Parent = vPlayer.PlayerGui
- screen = vPlayer.PlayerGui:FindFirstChild("EnergyScreenGui")
- else screen.Parent = vPlayer.PlayerGui end]]--
- end
- Tool.Equipped:connect(onEquippedLocal)
- local enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = false
- while Tool.Enabled do
- wait(.01)
- end
- print("Setting Mouse To Wait")
- mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
- while not Tool.Enabled do
- wait(.01)
- end
- print("Setting Mouse to Go")
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- enabled = true
- end
- -- ~~SET-UP GUI SCREEN HERE~~
- if (screen == nil) then
- print("Creating Screen!")
- -- need to make a new screen
- screen = script:FindFirstChild("EnergyScreenGui")
- if screen == nil then print("ENERGY SCREEN NOT CLONEABLE!") end
- screen:Clone().Parent = vPlayer.PlayerGui
- screen = vPlayer.PlayerGui:FindFirstChild("EnergyScreenGui")
- end
- function onUnequippedLocal()
- if keyDown ~= nil then keyDown:disconnect() end
- screen.Parent = nil -- remove gun GUI
- print("Deleting Screen!")
- end
- Tool.Unequipped:connect(onUnequippedLocal)
- local storm = screen.StormButton
- local shield = screen.ShieldButton
- local blast = screen.BlastButton
- local up = screen.UpButton
- local down = screen.DownButton
- local rArrow = screen.rArrow
- local fArrow = screen.fArrow
- local radiusImages = {screen.endImage, screen.radius5, screen.radius6, screen.radius7, screen.radius8, screen.radius9, screen.radius10, screen.radius11, screen.radius12, screen.radius13, screen.radius14, screen.radius15, screen.endImage}
- -- ~~FLY-IN ANIMATION~~
- local stormX = 0
- local stormY = 0
- local shieldX = 1
- local shieldY = 0
- local blastX = 1
- local blastY = 1
- -- not actually the centroid we need to calculate, but rather the circumcenter
- -- (we use the fact that two diameters of a circle must intersect at its center,
- -- and the perpendicular bisector of any chord in a circle gives us a diameter:
- -- geometry FTW!)
- local ABmidX = (shieldX+blastX)/2
- local ABmidY = (shieldY+blastY)/2
- local BCmidX = (stormX+blastX)/2
- local BCmidY = (stormY+blastY)/2
- local ABPerpSlope = (blastX-shieldX)/(shieldY-blastY)
- local BCPerpSlope = (stormX-blastX)/(blastY-stormY)
- local AByIntercept = ABmidY - ABPerpSlope*ABmidX
- local BCyIntercept = BCmidY - BCPerpSlope*BCmidY
- local centroidX = (BCyIntercept-AByIntercept)/(ABPerpSlope-BCPerpSlope)
- local centroidY = ABPerpSlope*centroidX + AByIntercept
- --print(centroidX)
- --print(centroidY)
- -- by symmetry, radius is the same from circumcenter
- local radius = math.sqrt((stormX - centroidX)*(stormX - centroidX)+(stormY - centroidY)*(stormY - centroidY))
- local alpha = 0
- local stormAlphaOffset = math.atan2((stormY - centroidY),(stormX - centroidX))
- local shieldAlphaOffset = math.atan2((shieldY - centroidY),(shieldX - centroidX))
- local blastAlphaOffset = math.atan2((blastY - centroidY),(blastX - centroidX))
- local angularV = .030
- local angularA = .007
- for i = 0, 59 do
- -- so many maths... trig time here:
- stormX = radius*math.cos(alpha+stormAlphaOffset) + centroidX
- stormY = radius*math.sin(alpha+stormAlphaOffset) + centroidY
- shieldX = radius*math.cos(alpha+shieldAlphaOffset) + centroidX
- shieldY = radius*math.sin(alpha+shieldAlphaOffset) + centroidY
- blastX = radius*math.cos(alpha+blastAlphaOffset) + centroidX
- blastY = radius*math.sin(alpha+blastAlphaOffset) + centroidY
- if i < 36 then radius = radius - .017 end
- alpha = alpha + angularV
- angularV = angularV + angularA
- if i > 34 then
- centroidX = centroidX - .02
- centroidY = centroidY + .02
- end
- -- show the updates
- storm.Position = UDim2.new(stormX, -50, stormY, -50)
- shield.Position = UDim2.new(shieldX, -50, shieldY, -50)
- blast.Position = UDim2.new(blastX, -50, blastY, -50)
- wait(.05)
- end
- local numIter = 20
- -- convert relative to absolute coordinates
- --local absoluteX = script.Parent.AbsoluteSize.X
- --local absoluteY = script.Parent.AbsoluteSize.Y
- local absoluteX = screen.AbsoluteSize.X
- local absoluteY = screen.AbsoluteSize.Y
- stormX = absoluteX*stormX - 50
- stormY = absoluteY*stormY - 50 - absoluteY
- shieldX = absoluteX*shieldX - 50
- shieldY = absoluteY*shieldY - 50 - absoluteY
- blastX = absoluteX*blastX - 50
- blastY = absoluteY*blastY - 50 - absoluteY
- -- 50, -200; 0, -100; 100, -100
- local stormXStep = (50 - stormX)/numIter
- local stormYStep = (-200 - stormY)/numIter
- local shieldXStep = (100 - shieldX)/numIter
- local shieldYStep = (-100 - shieldY)/numIter
- local blastXStep = (0 - blastX)/numIter
- local blastYStep = (-100 - blastY)/numIter
- local upX = 150--100
- local upY = -150--(-200)
- local downX = 150--100
- local downY = -100--(-100)
- radius = 7
- local firstRad = radiusImages[radius-3]
- local aboveRad = radiusImages[radius-2]
- local belowRad = radiusImages[radius-4]
- for i = 1,numIter do
- stormX = stormX + stormXStep
- stormY = stormY + stormYStep
- shieldX = shieldX + shieldXStep
- shieldY = shieldY + shieldYStep
- blastX = blastX + blastXStep
- blastY = blastY + blastYStep
- storm.Position = UDim2.new(0, stormX, 1, stormY)
- shield.Position = UDim2.new(0, shieldX, 1, shieldY)
- blast.Position = UDim2.new(0, blastX, 1, blastY)
- upX = upX - 10
- downX = downX - 10
- up.Position = UDim2.new(1, upX, 1, upY)
- down.Position = UDim2.new(1, downX, 1, downY)
- --aboveRad.Position = UDim2.new(1, -175, 1, -200-(numIter-i)*50)
- --firstRad.Position = UDim2.new(1, -200+(numIter-i)*20, 1, -150)
- --belowRad.Position = UDim2.new(1, -175, 1, -50+(numIter-i)*10)
- aboveRad.Position = UDim2.new(1, -125, 1, -200-(numIter-i)*50)
- firstRad.Position = UDim2.new(1, -150+(numIter-i)*20, 1, -150)
- belowRad.Position = UDim2.new(1, -125, 1, -50+(numIter-i)*10)
- --rArrow.Position = UDim2.new(0, 185+(numIter-i)*50, 1, -100-(numIter-i)*50)
- --fArrow.Position = UDim2.new(0, 185+(numIter-i)*10, 1, -30+(numIter-i)*10)
- rArrow.Position = UDim2.new(0, 135+(numIter-i)*50, 1, -100-(numIter-i)*50)
- fArrow.Position = UDim2.new(0, 135+(numIter-i)*10, 1, -30+(numIter-i)*10)
- wait(.05)
- end
- -- ~~ACTUAL FUNCTIONALITY~~
- local scaleEnabled = true
- function onStormClick()
- if (storm.Selected) or not scaleEnabled then return end
- storm.Selected = true
- shield.Selected = false
- blast.Selected = false
- --scaleButtons(130, 100, 100, 100, -100, 0, -100, 50, -200)
- --scaleButtons(100, 50, 50, 50, -50, 0, -50, 25, -100)
- scaleButtons(100, 50, 50, 50, -75, 0, -75, 25, -125)
- script.Parent.Mode.Value = 2
- end
- function onShieldClick()
- if (shield.Selected) or not scaleEnabled then return end
- storm.Selected = false
- shield.Selected = true
- blast.Selected = false
- --scaleButtons(100, 130, 100, 50, -200, 100, -100, 0, -100)
- --scaleButtons(50, 100, 50, 25, -100, 50, -50, 0, -50)
- scaleButtons(50, 100, 50, 25, -125, 50, -75, 0, -75)
- script.Parent.Mode.Value = 0
- end
- function onBlastClick()
- if (blast.Selected) or not scaleEnabled then return end
- storm.Selected = false
- shield.Selected = false
- blast.Selected = true
- --scaleButtons(100, 100, 130, 0, -100, 50, -200, 100, -100)
- --scaleButtons(50, 50, 100, 0, -50, 25, -100, 50, -50)
- scaleButtons(50, 50, 100, 0, -75, 25, -125, 50, -75)
- script.Parent.Mode.Value = 1
- end
- function updateRadiusUp()
- local currentSelection = radiusImages[radius - 3] --the one coming from above, getting larger
- local oldSelection = radiusImages[radius - 4] -- the one getting smaller
- local belowSelection = radiusImages[radius - 5] -- the one disappearing
- local aboveSelection = radiusImages[radius - 2] -- the one appearing in the up-slot
- aboveSelection.Visible = true
- for i = 1,10 do
- if i == 10 then belowSelection.Visible = false end
- aboveSelection.Size = UDim2.new(0, i*5, 0, i*5)
- currentSelection.Size = UDim2.new(0, i*5+50, 0, i*5+50)
- oldSelection.Size = UDim2.new(0, 100-i*5, 0, 100-i*5)
- belowSelection.Size = UDim2.new(0, 50-i*5, 0, 50-i*5)
- -- -175, -200
- --aboveSelection.Position = UDim2.new(1, -175+(10-i)*2.5, 1, -200)
- aboveSelection.Position = UDim2.new(1, -125+(10-i)*2.5, 1, -200)
- -- -200, -150
- --currentSelection.Position = UDim2.new(1, -200+(10-i)*2.5, 1, -150-(10-i)*5)
- currentSelection.Position = UDim2.new(1, -150+(10-i)*2.5, 1, -150-(10-i)*5)
- -- -175, -50
- --oldSelection.Position = UDim2.new(1, -175-(10-i)*2.5, 1, -50-(10-i)*10)
- oldSelection.Position = UDim2.new(1, -125-(10-i)*2.5, 1, -50-(10-i)*10)
- -- -150, 0
- --belowSelection.Position = UDim2.new(1, -150-(10-i)*2.5, 1, 0-(10-i)*5)
- belowSelection.Position = UDim2.new(1, -100-(10-i)*2.5, 1, 0-(10-i)*5)
- wait(.02)
- end
- --belowSelection.Visible = false
- end
- function updateRadiusDown()
- local currentSelection = radiusImages[radius - 3] --the one coming from below, getting larger
- local oldSelection = radiusImages[radius - 2] -- the one getting smaller
- local belowSelection = radiusImages[radius - 1] -- the one disappearing
- local aboveSelection = radiusImages[radius - 4] -- the one appearing in the down-slot
- aboveSelection.Visible = true
- for i = 1,10 do
- if i == 10 then belowSelection.Visible = false end
- aboveSelection.Size = UDim2.new(0, i*5, 0, i*5)
- currentSelection.Size = UDim2.new(0, i*5+50, 0, i*5+50)
- oldSelection.Size = UDim2.new(0, 100-i*5, 0, 100-i*5)
- belowSelection.Size = UDim2.new(0, 50-i*5, 0, 50-i*5)
- -- oldSelection.Position = UDim2.new(1, -175-(10-i)*2.5, 1, -200+(10-i)*5)
- -- currentSelection.Position = UDim2.new(1, -200+(10-i)*2.5, 1, -150+(10-i)*10)
- -- aboveSelection.Position = UDim2.new(1, -175+(10-i)*2.5, 1, -50+(10-i)*5)
- -- belowSelection.Position = UDim2.new(1, -150-(10-i)*2.5, 1, -200)
- oldSelection.Position = UDim2.new(1, -125-(10-i)*2.5, 1, -200+(10-i)*5)
- currentSelection.Position = UDim2.new(1, -150+(10-i)*2.5, 1, -150+(10-i)*10)
- aboveSelection.Position = UDim2.new(1, -125+(10-i)*2.5, 1, -50+(10-i)*5)
- belowSelection.Position = UDim2.new(1, -100-(10-i)*2.5, 1, -200)
- wait(.02)
- end
- --belowSelection.Visible = false
- end
- local scrollEnabled = true
- function onUpClick()
- if not scrollEnabled or radius == 15 then return end
- scrollEnabled = false
- radius = radius + 1
- updateRadiusUp()
- scrollEnabled = true
- print(radius)
- vCharacter.Radius.Value = radius
- end
- function onDownClick()
- if not scrollEnabled or radius == 5 then return end
- scrollEnabled = false
- radius = radius - 1
- updateRadiusDown()
- scrollEnabled = true
- print(radius)
- vCharacter.Radius.Value = radius
- end
- function scaleButtons(stormScale, shieldScale, blastScale, stormPosX, stormPosY, shieldPosX, shieldPosY, blastPosX, blastPosY)
- if not scaleEnabled then return end
- scaleEnabled = false
- local numSteps = 10
- stormStep = (stormScale - storm.Size.X.Offset)/numSteps
- shieldStep = (shieldScale - shield.Size.X.Offset)/numSteps
- blastStep = (blastScale - blast.Size.X.Offset)/numSteps
- stormStepX = (stormPosX - storm.Position.X.Offset)/numSteps
- stormStepY = (stormPosY - storm.Position.Y.Offset)/numSteps
- shieldStepX = (shieldPosX - shield.Position.X.Offset)/numSteps
- shieldStepY = (shieldPosY - shield.Position.Y.Offset)/numSteps
- blastStepX = (blastPosX - blast.Position.X.Offset)/numSteps
- blastStepY = (blastPosY - blast.Position.Y.Offset)/numSteps
- for i = 1,numSteps do
- storm.Size = UDim2.new(0, stormStep+storm.Size.X.Offset, 0, stormStep+storm.Size.X.Offset)
- shield.Size = UDim2.new(0, shieldStep+shield.Size.X.Offset, 0, shieldStep+shield.Size.X.Offset)
- blast.Size = UDim2.new(0, blastStep+blast.Size.X.Offset, 0, blastStep+blast.Size.X.Offset)
- storm.Position = UDim2.new(0, storm.Position.X.Offset + stormStepX, 1, storm.Position.Y.Offset + stormStepY)
- shield.Position = UDim2.new(0, shield.Position.X.Offset + shieldStepX, 1, shield.Position.Y.Offset + shieldStepY)
- blast.Position = UDim2.new(0, blast.Position.X.Offset + blastStepX, 1, blast.Position.Y.Offset + blastStepY)
- wait(.02)
- end
- scaleEnabled = true
- end
- onShieldClick()
- storm.MouseButton1Click:connect(onStormClick)
- shield.MouseButton1Click:connect(onShieldClick)
- blast.MouseButton1Click:connect(onBlastClick)
- up.MouseButton1Click:connect(onUpClick)
- down.MouseButton1Click:connect(onDownClick)
- end))
- ScreenGui187.Name = "EnergyScreenGui"
- ScreenGui187.Parent = LocalScript186
- ImageButton188.Name = "StormButton"
- ImageButton188.Parent = ScreenGui187
- ImageButton188.Transparency = 1
- ImageButton188.Size = UDim2.new(0, 100, 0, 100)
- ImageButton188.Position = UDim2.new(-1, -50, -1, -50)
- ImageButton188.BackgroundColor3 = Color3.new(0.737255, 0.733333, 0.745098)
- ImageButton188.BackgroundTransparency = 1
- ImageButton188.Image = "http://www.roblox.com/asset/?id=34799297 "
- ImageButton189.Name = "ShieldButton"
- ImageButton189.Parent = ScreenGui187
- ImageButton189.Transparency = 1
- ImageButton189.Size = UDim2.new(0, 100, 0, 100)
- ImageButton189.Position = UDim2.new(-1, -50, -1, -50)
- ImageButton189.BackgroundColor3 = Color3.new(0.737255, 0.733333, 0.745098)
- ImageButton189.BackgroundTransparency = 1
- ImageButton189.Image = "http://www.roblox.com/asset/?id=34799227"
- ImageButton190.Name = "BlastButton"
- ImageButton190.Parent = ScreenGui187
- ImageButton190.Transparency = 1
- ImageButton190.Size = UDim2.new(0, 100, 0, 100)
- ImageButton190.Position = UDim2.new(-1, -50, -1, -50)
- ImageButton190.BackgroundColor3 = Color3.new(0.737255, 0.733333, 0.745098)
- ImageButton190.BackgroundTransparency = 1
- ImageButton190.Image = "http://www.roblox.com/asset/?id=34799270 "
- ImageButton191.Name = "UpButton"
- ImageButton191.Parent = ScreenGui187
- ImageButton191.Transparency = 1
- ImageButton191.Size = UDim2.new(0, 50, 0, 50)
- ImageButton191.Position = UDim2.new(-1, 0, -1, 0)
- ImageButton191.BackgroundColor3 = Color3.new(0.737255, 0.733333, 0.745098)
- ImageButton191.BackgroundTransparency = 1
- ImageButton191.Image = "http://www.roblox.com/asset/?id=34795422"
- ImageButton192.Name = "DownButton"
- ImageButton192.Parent = ScreenGui187
- ImageButton192.Transparency = 1
- ImageButton192.Size = UDim2.new(0, 50, 0, 50)
- ImageButton192.Position = UDim2.new(-1, 0, -1, 0)
- ImageButton192.BackgroundColor3 = Color3.new(0.737255, 0.733333, 0.745098)
- ImageButton192.BackgroundTransparency = 1
- ImageButton192.Image = "http://www.roblox.com/asset/?id=34795441 "
- ImageLabel193.Name = "radius5"
- ImageLabel193.Parent = ScreenGui187
- ImageLabel193.Transparency = 1
- ImageLabel193.Visible = false
- ImageLabel193.BackgroundColor3 = Color3.new(0.737255, 0.733333, 0.745098)
- ImageLabel193.BackgroundTransparency = 1
- ImageLabel193.Image = "http://www.roblox.com/asset/?id=34793689 "
- ImageLabel194.Name = "radius6"
- ImageLabel194.Parent = ScreenGui187
- ImageLabel194.Transparency = 1
- ImageLabel194.Size = UDim2.new(0, 50, 0, 50)
- ImageLabel194.Position = UDim2.new(-1, 0, -1, 0)
- ImageLabel194.BackgroundColor3 = Color3.new(0.741176, 0.737255, 0.74902)
- ImageLabel194.BackgroundTransparency = 1
- ImageLabel194.Image = "http://www.roblox.com/asset/?id=34793696"
- ImageLabel195.Name = "radius7"
- ImageLabel195.Parent = ScreenGui187
- ImageLabel195.Transparency = 1
- ImageLabel195.Size = UDim2.new(0, 100, 0, 100)
- ImageLabel195.Position = UDim2.new(-1, 0, -1, 0)
- ImageLabel195.BackgroundColor3 = Color3.new(0.741176, 0.737255, 0.74902)
- ImageLabel195.BackgroundTransparency = 1
- ImageLabel195.Image = "http://www.roblox.com/asset/?id=34793707"
- ImageLabel196.Name = "radius8"
- ImageLabel196.Parent = ScreenGui187
- ImageLabel196.Transparency = 1
- ImageLabel196.Size = UDim2.new(0, 50, 0, 50)
- ImageLabel196.Position = UDim2.new(-1, 0, -1, 0)
- ImageLabel196.BackgroundColor3 = Color3.new(0.741176, 0.737255, 0.74902)
- ImageLabel196.BackgroundTransparency = 1
- ImageLabel196.Image = "http://www.roblox.com/asset/?id=34793711"
- ImageLabel197.Name = "radius9"
- ImageLabel197.Parent = ScreenGui187
- ImageLabel197.Transparency = 1
- ImageLabel197.Visible = false
- ImageLabel197.BackgroundColor3 = Color3.new(0.741176, 0.737255, 0.74902)
- ImageLabel197.BackgroundTransparency = 1
- ImageLabel197.Image = "http://www.roblox.com/asset/?id=34793725"
- ImageLabel198.Name = "radius10"
- ImageLabel198.Parent = ScreenGui187
- ImageLabel198.Transparency = 1
- ImageLabel198.Active = true
- ImageLabel198.Visible = false
- ImageLabel198.BackgroundColor3 = Color3.new(0.741176, 0.737255, 0.74902)
- ImageLabel198.BackgroundTransparency = 1
- ImageLabel198.Image = "http://www.roblox.com/asset/?id=34793739"
- ImageLabel199.Name = "radius11"
- ImageLabel199.Parent = ScreenGui187
- ImageLabel199.Transparency = 1
- ImageLabel199.Active = true
- ImageLabel199.Visible = false
- ImageLabel199.BackgroundColor3 = Color3.new(0.741176, 0.737255, 0.74902)
- ImageLabel199.BackgroundTransparency = 1
- ImageLabel199.Image = "http://www.roblox.com/asset/?id=34793757"
- ImageLabel200.Name = "radius12"
- ImageLabel200.Parent = ScreenGui187
- ImageLabel200.Transparency = 1
- ImageLabel200.Active = true
- ImageLabel200.Visible = false
- ImageLabel200.BackgroundColor3 = Color3.new(0.741176, 0.737255, 0.74902)
- ImageLabel200.BackgroundTransparency = 1
- ImageLabel200.Image = "http://www.roblox.com/asset/?id=34793776 "
- ImageLabel201.Name = "radius13"
- ImageLabel201.Parent = ScreenGui187
- ImageLabel201.Transparency = 1
- ImageLabel201.Visible = false
- ImageLabel201.BackgroundColor3 = Color3.new(0.745098, 0.741176, 0.752941)
- ImageLabel201.BackgroundTransparency = 1
- ImageLabel201.Image = "http://www.roblox.com/asset/?id=34793784"
- ImageLabel202.Name = "radius14"
- ImageLabel202.Parent = ScreenGui187
- ImageLabel202.Transparency = 1
- ImageLabel202.Visible = false
- ImageLabel202.BackgroundColor3 = Color3.new(0.745098, 0.741176, 0.752941)
- ImageLabel202.BackgroundTransparency = 1
- ImageLabel202.Image = "http://www.roblox.com/asset/?id=34793789"
- ImageLabel203.Name = "radius15"
- ImageLabel203.Parent = ScreenGui187
- ImageLabel203.Transparency = 1
- ImageLabel203.Visible = false
- ImageLabel203.BackgroundColor3 = Color3.new(0.745098, 0.741176, 0.752941)
- ImageLabel203.BackgroundTransparency = 1
- ImageLabel203.Image = "http://www.roblox.com/asset/?id=34793799"
- ImageLabel204.Name = "endImage"
- ImageLabel204.Parent = ScreenGui187
- ImageLabel204.Transparency = 1
- ImageLabel204.Visible = false
- ImageLabel204.BackgroundColor3 = Color3.new(0.745098, 0.741176, 0.752941)
- ImageLabel204.BackgroundTransparency = 1
- ImageLabel204.Image = "http://www.roblox.com/asset/?id=34793804"
- ImageLabel205.Name = "rArrow"
- ImageLabel205.Parent = ScreenGui187
- ImageLabel205.Transparency = 1
- ImageLabel205.Size = UDim2.new(0, 50, 0, 50)
- ImageLabel205.Position = UDim2.new(-1, 0, -1, 0)
- ImageLabel205.BackgroundColor3 = Color3.new(0.74902, 0.745098, 0.756863)
- ImageLabel205.BackgroundTransparency = 1
- ImageLabel205.Image = "http://www.roblox.com/asset/?id=34836603"
- ImageLabel206.Name = "fArrow"
- ImageLabel206.Parent = ScreenGui187
- ImageLabel206.Transparency = 1
- ImageLabel206.Size = UDim2.new(0, 50, 0, 50)
- ImageLabel206.Position = UDim2.new(-1, 0, -1, 0)
- ImageLabel206.BackgroundColor3 = Color3.new(0.984314, 0.984314, 0.984314)
- ImageLabel206.BackgroundTransparency = 1
- ImageLabel206.Image = "http://www.roblox.com/asset/?id=34836590"
- Tool207.Name = "Boomerang"
- Tool207.Parent = mas
- Tool207.TextureId = "http://www.roblox.com/asset/?id=47282021 "
- Tool207.GripForward = Vector3.new(-0, 1, -0)
- Tool207.GripPos = Vector3.new(0.449999988, 0, 0)
- Tool207.GripUp = Vector3.new(-0, 0, 1)
- Part208.Name = "Handle"
- Part208.Parent = Tool207
- Part208.BrickColor = BrickColor.new("Bright bluish green")
- Part208.Rotation = Vector3.new(-90, 0, 90)
- Part208.FormFactor = Enum.FormFactor.Custom
- Part208.Size = Vector3.new(2.65999985, 1.33000064, 0.200000003)
- Part208.CFrame = CFrame.new(-4.66499329, 0.100030974, 17.3300018, 1.63938083e-07, -0.99999994, 7.42917182e-05, 1.38932619e-05, 7.43838027e-05, 0.999999881, -0.99999994, -4.46610322e-08, 1.39455879e-05)
- Part208.Color = Color3.new(0, 0.560784, 0.611765)
- Part208.Position = Vector3.new(-4.66499329, 0.100030974, 17.3300018)
- Part208.Orientation = Vector3.new(-89.9700012, 79.3699951, 10.5799999)
- Part208.Color = Color3.new(0, 0.560784, 0.611765)
- Fire209.Parent = Part208
- Fire209.Size = 30
- Fire209.Color = Color3.new(0, 0, 0)
- Fire209.Enabled = false
- Fire209.Heat = 25
- Fire209.SecondaryColor = Color3.new(0, 0, 0)
- Fire209.Color = Color3.new(0, 0, 0)
- Script210.Name = "Spread"
- Script210.Parent = Fire209
- table.insert(cors,sandbox(Script210,function()
- function Spread(part)
- check = part:findFirstChild("Fire")
- if check == nil then
- script.Parent:Clone().Parent = part
- elseif check ~= nil then
- check.Size = check.Size + 1
- check.Heat = check.Heat +1
- end
- end
- script.Parent.Parent.Touched:connect(Spread)
- end))
- SpecialMesh211.Parent = Part208
- SpecialMesh211.MeshId = "http://www.roblox.com/asset/?id=13425802"
- SpecialMesh211.TextureId = "http://www.roblox.com/asset/?id=13425822"
- SpecialMesh211.MeshType = Enum.MeshType.FileMesh
- LocalScript212.Name = "Local Gui"
- LocalScript212.Parent = Tool207
- table.insert(cors,sandbox(LocalScript212,function()
- local Tool = script.Parent;
- local stillEquipped = true
- function onEquippedLocal(mouse)
- stillEquipped = true
- if mouse == nil then
- print("Mouse not found")
- return
- end
- while stillEquipped do
- print("Setting Mouse to Go")
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- while Tool.Enabled and stillEquipped do
- wait(.01)
- end
- print("Setting Mouse To Wait")
- mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
- while not Tool.Enabled and stillEquipped do
- wait(.01)
- end
- end
- end
- function onUnequippedLocal()
- stillEquipped = false
- end
- Tool.Equipped:connect(onEquippedLocal)
- Tool.Unequipped:connect(onUnequippedLocal)
- end))
- Sound213.Name = "ChakraSpin"
- Sound213.Parent = Tool207
- Sound213.SoundId = "http://www.roblox.com/asset?id=47281078 "
- Sound213.Volume = 1
- Sound213.Looped = true
- Animation214.Name = "ChakraThrow"
- Animation214.Parent = Tool207
- Animation214.AnimationId = "http://www.roblox.com/Asset?ID=47277200"
- Script215.Name = "StarScript"
- Script215.Parent = Tool207
- table.insert(cors,sandbox(Script215,function()
- local Tool = script.Parent
- local damage = 15
- local debris = game:GetService("Debris")
- Tool.Enabled = true
- local starClone
- local maxDistance = 60.0
- local count = 0
- local AwayFromCharacter = true
- -- Sounds
- local chakraSpin = nil
- while chakraSpin == nil do
- chakraSpin = Tool:FindFirstChild("ChakraSpin")
- wait(.5)
- end
- -- Animation
- local chakraThrow
- -- connection!
- local connection
- function returnToCharacter()
- --print("RETURNING TO CHARACTER")
- --print(starClone)
- local torso = Tool.Parent:FindFirstChild("Torso")
- -- if starClone then
- -- newBP = starClone:FindFirstChild("starPos")
- -- if newBP == nil then
- -- newBP = Instance.new("BodyPosition")
- -- newBP.P = 1
- -- newBP.maxForce = Vector3.new(newBP.P, newBP.P, newBP.P)
- -- if starClone then newBP.Parent = starClone end
- -- end
- --end
- if starClone and torso then
- local distance = (torso.Position - starClone.Position).magnitude
- --print(Tool.Parent.Torso.Position)
- --print(starClone.Position)
- --print(distance)
- local lookAt = Tool.Parent.Torso.Position - starClone.Position
- while distance > 4.0 and starClone ~= nil do
- --print("INSIDE WHILE LOOP")
- --starClone.Velocity = lookAt.unit * 30.0
- starClone.Velocity = lookAt.unit * 30
- --starClone.starPos.position = torso.Position
- --print(starClone.Velocity)
- --print(distance)
- starClone.RotVelocity = Vector3.new(0.0, -50.0, 0.0)
- if starClone ~= nil then
- lookAt = torso.Position - starClone.Position
- distance = lookAt.magnitude
- end
- --if distance < 5.0 then print("DISTANCE = ", distance) end
- wait(0.1)
- end
- end
- starClone.Parent = nil
- Tool.Handle.Transparency = 0
- if connection then connection:disconnect() end
- Tool.Enabled = true
- AwayFromCharacter = true
- if chakraSpin then chakraSpin:Stop() end
- end
- -- Shoot!!
- function shoot(pos, star)
- print("In Shoot")
- local vCharacter = Tool.Parent
- if vCharacter == nil or vCharacter:findFirstChild("Humanoid") == nil then
- print("NO Character")
- Tool.Enabled = true
- return
- end
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- if vPlayer == nil then print("NO PLAYER?") end
- -- Spawning position of the clone star
- local sPos = vCharacter.PrimaryPart.Position
- sPos = sPos + pos*5
- --print("SPAWN POS", sPos)
- star.CFrame = CFrame.new(sPos, sPos+pos) * CFrame.Angles(math.pi/2,0.0, 0.0)
- star.Velocity = pos*30
- --star.Velocity = pos * 30
- star.RotVelocity = Vector3.new(0.0, 50.0, 0.0)
- star.Name = "ThrownStar"
- star.CanCollide = false
- star.Parent = game.Workspace
- -- Touched event must be added HERE!
- if connection ~= nil then connection:disconnect() end
- connection = starClone.Touched:connect(doDamage)
- -- To keep the star afloat
- local starFloat = Instance.new("BodyForce")
- starFloat.force = Vector3.new(0.0, star:GetMass() * 196.1, 0.0)
- starFloat.Parent = star
- distance = (star.Position - sPos).magnitude
- chakraSpin:Play()
- while AwayFromCharacter and distance < maxDistance and star ~= nil do
- wait(.25)
- -- print("INFINITE WAIT")
- distance = (star.Position - sPos).magnitude
- --else Tool.Enabled = true break end
- end
- AwayFromCharacter = false
- if star then returnToCharacter() end
- -- Play Sounds here
- --
- end
- function doDamage(hit)
- print("hit")
- if hit == nil or hit.Parent == nil then return end
- local humanoid = hit.Parent:FindFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- if vCharacter == nil then return end
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- if vPlayer == nil then return end
- local myHumanoid = vCharacter:FindFirstChild("Humanoid")
- if myHumanoid == nil then return end
- if humanoid ~= nil and myHumanoid ~= humanoid then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- AwayFromCharacter = false
- wait(1.0)
- untagHumanoid(humanoid)
- print(hit.Parent)
- end
- if humanoid == nil and hit.Parent.Name ~= "Chakra" then
- print(hit.Parent)
- AwayFromCharacter = false
- end
- end
- function tagHumanoid(humanoid, player)
- local creatorTag = Instance.new("ObjectValue")
- creatorTag.Name = "creator"
- creatorTag.Parent = humanoid
- creatorTag.Value = player
- end
- function untagHumanoid()
- if humanoid ~= nil then
- local tag = humanoid:FindFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function onActivated()
- --if game.Workspace:FindFirstChild("ThrownStar") ~= nil then game.Workspace:FindFirstChild("ThrownStar"):Remove() end
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent
- if character == nil then
- print("No character")
- Tool.Enabled = true
- return
- end
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("No Humanoid")
- Tool.Enabled = true
- return
- end
- chakraThrow = humanoid:LoadAnimation(Tool.ChakraThrow)
- starClone = Tool.Handle:Clone()
- starClone.Transparency = 0
- local targetPos = humanoid.TargetPoint
- local lookAt = (targetPos - character.Head.Position).unit
- --local ThrowAnim = humanoid: LoadAnimation(Tool.Spin)
- --ThrowAnim:Play()
- if chakraThrow then chakraThrow:Play() end
- wait(0.2)
- Tool.Handle.Transparency = 1.0
- shoot(lookAt, starClone)
- end
- function onEquipped()
- count = 0
- Tool.Handle.Transparency = 0.0
- AwayFromCharacter = true
- wait(1.0)
- Tool.Enabled = true
- end
- function onUnequipped()
- Tool.Handle.Transparency = 0.0
- if starClone then starClone:Remove() end
- if chakraSpin then chakraSpin:Stop() end
- if chakraThrow then chakraThrow:Stop() end
- if connection then connection:disconnect() end
- count = 0
- end
- Tool.Activated:connect(onActivated)
- Tool.Equipped:connect(onEquipped)
- Tool.Unequipped:connect(onUnequipped)
- end))
- Tool216.Name = "Dynamite"
- Tool216.Parent = mas
- Tool216.TextureId = "http://www.roblox.com/asset/?id=12894577"
- Tool216.GripForward = Vector3.new(-1, -0, -0)
- Tool216.GripPos = Vector3.new(0, 0, -0.300000012)
- Tool216.GripRight = Vector3.new(0, 1, 0)
- Tool216.GripUp = Vector3.new(0, 0, 1)
- Part217.Name = "Handle"
- Part217.Parent = Tool216
- Part217.BrickColor = BrickColor.new("Dark stone grey")
- Part217.FormFactor = Enum.FormFactor.Symmetric
- Part217.Shape = Enum.PartType.Ball
- Part217.Size = Vector3.new(1, 1, 1)
- Part217.CFrame = CFrame.new(-14.5, 0.5, 17.5, 1, 2.00756336e-08, -5.96046448e-08, 5.44185497e-09, 1, 1.0658141e-14, 5.96046448e-08, 3.14871329e-08, 0.99999994)
- Part217.BottomSurface = Enum.SurfaceType.Smooth
- Part217.TopSurface = Enum.SurfaceType.Smooth
- Part217.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part217.Position = Vector3.new(-14.5, 0.5, 17.5)
- Part217.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh218.Parent = Part217
- SpecialMesh218.MeshId = "http://www.roblox.com/asset/?id=28565445"
- SpecialMesh218.Scale = Vector3.new(2, 2, 2)
- SpecialMesh218.TextureId = "http://www.roblox.com/asset/?id=28565501"
- SpecialMesh218.MeshType = Enum.MeshType.FileMesh
- SpecialMesh218.Scale = Vector3.new(2, 2, 2)
- Script219.Name = "Bomb"
- Script219.Parent = Tool216
- Script219.Disabled = true
- table.insert(cors,sandbox(Script219,function()
- FuseSound = Instance.new("Sound")
- FuseSound.SoundId = "http://www.roblox.com/asset/?id=11565378"
- FuseSound.Parent = script.Parent
- FuseSound:Play()
- local total_time = 5 -- seconds
- local cur_time = 0
- function update(frac)
- script.Parent.Fuse.Color = Color3.new(1,1 - frac,0)
- end
- function blowUp()
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxasset://sounds\\Rocket shot.wav"
- sound.Parent = script.Parent
- sound.Volume = 1
- sound:play()
- for i=1,3 do
- explosion = Instance.new("Explosion")
- explosion.BlastRadius = 12
- explosion.BlastPressure = 1000000 -- these are really wussy units
- -- find instigator tag
- local creator = script.Parent:findFirstChild("creator")
- if creator ~= nil then
- explosion.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance, creator) end)
- end
- explosion.Position = script.Parent.Position + Vector3.new(math.random() - .5, math.random() - .5, math.random() - .5)
- explosion.Parent = game.Workspace
- wait(.1)
- end
- script.Parent.Transparency = 1
- end
- function onPlayerBlownUp(part, distance, creator)
- if part.Name == "Head" then
- local humanoid = part.Parent.Humanoid
- tagHumanoid(humanoid, creator)
- end
- end
- function tagHumanoid(humanoid, creator)
- -- tag does not need to expire iff all explosions lethal
- if creator ~= nil then
- local new_tag = creator:clone()
- new_tag.Parent = humanoid
- end
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- while cur_time < total_time do
- update(cur_time / total_time)
- local e,g = wait(.5)
- cur_time = cur_time + e
- end
- blowUp()
- wait(.1)
- script.Parent:remove()
- end))
- Script220.Name = "PlantBomb"
- Script220.Parent = Tool216
- table.insert(cors,sandbox(Script220,function()
- bombScript = script.Parent.Bomb
- Tool = script.Parent
- function plant(pos)
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local spawnPos = vCharacter.PrimaryPart.Position
- local bomb = Tool.Handle:Clone()
- bomb.CanCollide = true
- bomb.Transparency = 0
- bomb.Position = pos
- bomb.Size = Vector3.new(2,2,2)
- bomb.Name = "FuseBomb"
- bomb.Locked = true
- local spark = Instance.new("Sparkles")
- spark.Name = "Fuse"
- spark.Parent = bomb
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = bomb
- bomb.Parent = game.Workspace
- local new_script = bombScript:clone()
- new_script.Disabled = false
- new_script.Parent = bomb
- end
- Tool.Enabled = true
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local targetPos = humanoid.TargetPoint
- Tool.Handle.Transparency = 1
- plant(Tool.Handle.Position)
- wait(3)
- Tool.Handle.Transparency = 0
- Tool.Enabled = true
- end
- script.Parent.Activated:connect(onActivated)
- end))
- LocalScript221.Name = "Local Gui"
- LocalScript221.Parent = Tool216
- table.insert(cors,sandbox(LocalScript221,function()
- local Tool = script.Parent;
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = false
- mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"
- wait(3)
- mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
- enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- Tool.Equipped:connect(onEquippedLocal)
- end))
- Tool222.Name = "Hotdog"
- Tool222.Parent = mas
- Tool222.TextureId = "http://www.roblox.com/asset/?id=25268602"
- Tool222.GripForward = Vector3.new(-0.895421028, 0.44522047, -0)
- Tool222.GripPos = Vector3.new(0.200000003, -0.100000001, 0)
- Tool222.GripRight = Vector3.new(0.44522047, 0.895421028, -0)
- Tool222.GripUp = Vector3.new(0, 0, 1)
- Part223.Name = "Handle"
- Part223.Parent = Tool222
- Part223.FormFactor = Enum.FormFactor.Symmetric
- Part223.Size = Vector3.new(1, 1, 1)
- Part223.CFrame = CFrame.new(-7.5, 0.5, 17.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part223.Position = Vector3.new(-7.5, 0.5, 17.5)
- Sound224.Name = "IHasABucket"
- Sound224.Parent = Part223
- Sound224.SoundId = "http://www.roblox.com/asset/?id=25320997"
- Sound225.Name = "StealingBucket"
- Sound225.Parent = Part223
- Sound225.SoundId = "http://www.roblox.com/asset/?id=25270310"
- Fire226.Parent = Part223
- Fire226.Size = 30
- Fire226.Color = Color3.new(0, 0, 0)
- Fire226.Enabled = false
- Fire226.Heat = 25
- Fire226.SecondaryColor = Color3.new(0, 0, 0)
- Fire226.Color = Color3.new(0, 0, 0)
- Script227.Name = "Spread"
- Script227.Parent = Fire226
- table.insert(cors,sandbox(Script227,function()
- function Spread(part)
- check = part:findFirstChild("Fire")
- if check == nil then
- script.Parent:Clone().Parent = part
- elseif check ~= nil then
- check.Size = check.Size + 1
- check.Heat = check.Heat +1
- end
- end
- script.Parent.Parent.Touched:connect(Spread)
- end))
- SpecialMesh228.Parent = Part223
- SpecialMesh228.MeshId = "http://www.roblox.com/asset/?id=29896287"
- SpecialMesh228.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
- SpecialMesh228.TextureId = "http://www.roblox.com/asset/?id=29941441"
- SpecialMesh228.MeshType = Enum.MeshType.FileMesh
- SpecialMesh228.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
- Script229.Name = "StealBucketScript"
- Script229.Parent = Tool222
- table.insert(cors,sandbox(Script229,function()
- Tool = script.Parent
- local canStealBucket = 0
- local gameStart = false
- local stopStealingBucket = true
- local e = Instance.new("Explosion")
- e.BlastRadius = 2
- e.BlastPressure = 10000
- enabled = true
- local player = nil
- local redColor = Vector3.new(1,0,0)
- function onEquipped()
- Tool.Handle.StealingBucket:Stop()
- player = Tool.Parent
- p = game.Players:GetPlayerFromCharacter(player)
- if p ~= nil and gameStart == false then
- local gui = Tool.HotPotatoGui:clone()
- gui.Parent = p.PlayerGui
- end
- if gameStart then
- Tool.Handle.IHasABucket.Looped = true
- Tool.Handle.IHasABucket:Play()
- end
- end
- function onUnequipped()
- if Tool.Parent.Parent.className == "Player" and gameStart == false then
- localGui = Tool.Parent.Parent.PlayerGui
- toRemove = localGui:FindFirstChild("HotPotatoGui")
- if toRemove ~= nil then
- toRemove:remove()
- end
- end
- if gameStart == false then
- Tool.Handle.IHasABucket.Looped = false
- Tool.Handle.IHasABucket:Stop()
- end
- end
- function onActivated()
- if not enabled then
- return
- end
- enabled = false
- player = Tool.Parent
- p = game.Players:GetPlayerFromCharacter(player)
- if p ~= nil then
- hpGui = p.PlayerGui:FindFirstChild("HotPotatoGui")
- if hpGui ~= nil then
- hpGui:remove()
- end
- end
- gameStart = true
- Tool.Handle.IHasABucket.Looped = true
- Tool.Handle.IHasABucket:Play()
- enabled = true
- end
- Tool.Equipped:connect(onEquipped)
- Tool.Unequipped:connect(onUnequipped)
- Tool.Activated:connect(onActivated)
- function onTouched(part)
- wait(0.1)
- humanoid = part.Parent:findFirstChild("Humanoid")
- if humanoid ~= nil and humanoid ~= Tool.Parent:FindFirstChild("Humanoid") and canStealBucket == 0 and gameStart == true then
- objects = humanoid.Parent:getChildren()
- for i = 1,#objects do
- if objects[i].className == "Tool" then
- objects[i].Parent = game.Workspace
- end
- end
- Tool.Parent = humanoid.Parent
- Tool.Handle.IHasABucket.Looped = true
- Tool.Handle.IHasABucket:Play()
- canStealBucket = 2
- end
- end
- Tool.Handle.Touched:connect(onTouched)
- while true do
- if gameStart then
- if Tool.Handle.Mesh.VertexColor == redColor then
- Tool.Handle.Mesh.VertexColor = Vector3.new(1,1,1)
- else
- Tool.Handle.Mesh.VertexColor = redColor
- end
- if player ~= nil and Tool.Parent ~= player then
- otherTools = player:GetChildren()
- for i = 1,#otherTools do
- if otherTools[i].className == "Tool" then
- otherTools[i].Parent = game.Workspace
- end
- end
- Tool.Parent = player
- end
- fate = math.random(1,15)
- if fate == 5 and Tool.Parent ~= game.Workspace and gameStart == true then
- Tool.Handle.StealingBucket:Play()
- Tool.Handle.IHasABucket:Stop()
- Tool.Handle.IHasABucket.Looped = false
- e.Position = Tool.Handle.Position
- local origPosition = Tool.Handle.Position
- Tool.Handle.Position = Vector3.new(0,100000,0)
- Tool.Handle.Transparency = 1
- Tool.Parent = game.Workspace
- e.Parent = game.Workspace
- gameStart = false
- fate = 0
- wait(2)
- e.Parent = nil
- wait(1)
- Tool.Handle.Transparency = 0
- Tool.Handle.Position = origPosition
- Tool.Handle.Mesh.VertexColor = Vector3.new(1,1,1)
- end
- if canStealBucket > 0 then
- canStealBucket = canStealBucket - 1
- end
- end
- wait(1)
- end
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement