SHOW:
|
|
- or go back to the newest paste.
1 | - | -- By Theamazingnater |
1 | + | |
2 | - | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
2 | + | --Converted with ttyyuu12345's model to script plugin v4 |
3 | - | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
3 | + | function sandbox(var,func) |
4 | - | do |
4 | + | local env = getfenv(func) |
5 | - | print("FE Compatibility code by Mokiros") |
5 | + | local newenv = setmetatable({},{ |
6 | - | script.Parent = Player.Character |
6 | + | __index = function(self,k) |
7 | - | |
7 | + | if k=="script" then |
8 | - | --RemoteEvent for communicating |
8 | + | return var |
9 | - | local Event = Instance.new("RemoteEvent") |
9 | + | else |
10 | - | Event.Name = "UserInput_Event" |
10 | + | return env[k] |
11 | - | |
11 | + | end |
12 | - | --Fake event to make stuff like Mouse.KeyDown work |
12 | + | end, |
13 | - | local function fakeEvent() |
13 | + | }) |
14 | - | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} |
14 | + | setfenv(func,newenv) |
15 | - | t.connect = t.Connect |
15 | + | return func |
16 | - | return t |
16 | + | |
17 | - | end |
17 | + | cors = {} |
18 | - | |
18 | + | mas = Instance.new("Model",game:GetService("Lighting")) |
19 | - | --Creating fake input objects with fake variables |
19 | + | Tool0 = Instance.new("Tool") |
20 | - | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} |
20 | + | Script1 = Instance.new("Script") |
21 | - | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} |
21 | + | LocalScript2 = Instance.new("LocalScript") |
22 | - | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) |
22 | + | Part3 = Instance.new("Part") |
23 | - | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil |
23 | + | Weld4 = Instance.new("Weld") |
24 | - | end} |
24 | + | Weld5 = Instance.new("Weld") |
25 | - | --Merged 2 functions into one by checking amount of arguments |
25 | + | Weld6 = Instance.new("Weld") |
26 | - | CAS.UnbindAction = CAS.BindAction |
26 | + | Weld7 = Instance.new("Weld") |
27 | - | |
27 | + | Weld8 = Instance.new("Weld") |
28 | - | --This function will trigger the events that have been :Connect()'ed |
28 | + | Weld9 = Instance.new("Weld") |
29 | - | local function te(self,ev,...) |
29 | + | Weld10 = Instance.new("Weld") |
30 | - | local t = m[ev] |
30 | + | Weld11 = Instance.new("Weld") |
31 | - | if t and t._fakeEvent and t.Function then |
31 | + | Weld12 = Instance.new("Weld") |
32 | - | t.Function(...) |
32 | + | Weld13 = Instance.new("Weld") |
33 | - | end |
33 | + | Weld14 = Instance.new("Weld") |
34 | - | end |
34 | + | Weld15 = Instance.new("Weld") |
35 | - | m.TrigEvent = te |
35 | + | Weld16 = Instance.new("Weld") |
36 | - | UIS.TrigEvent = te |
36 | + | Weld17 = Instance.new("Weld") |
37 | - | |
37 | + | Weld18 = Instance.new("Weld") |
38 | - | Event.OnServerEvent:Connect(function(plr,io) |
38 | + | Weld19 = Instance.new("Weld") |
39 | - | if plr~=Player then return end |
39 | + | Weld20 = Instance.new("Weld") |
40 | - | if io.isMouse then |
40 | + | Weld21 = Instance.new("Weld") |
41 | - | m.Target = io.Target |
41 | + | Weld22 = Instance.new("Weld") |
42 | - | m.Hit = io.Hit |
42 | + | Weld23 = Instance.new("Weld") |
43 | - | else |
43 | + | Weld24 = Instance.new("Weld") |
44 | - | local b = io.UserInputState == Enum.UserInputState.Begin |
44 | + | Weld25 = Instance.new("Weld") |
45 | - | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
45 | + | Weld26 = Instance.new("Weld") |
46 | - | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
46 | + | Weld27 = Instance.new("Weld") |
47 | - | end |
47 | + | Weld28 = Instance.new("Weld") |
48 | - | for _,t in pairs(CAS.Actions) do |
48 | + | Weld29 = Instance.new("Weld") |
49 | - | for _,k in pairs(t.Keys) do |
49 | + | Weld30 = Instance.new("Weld") |
50 | - | if k==io.KeyCode then |
50 | + | Weld31 = Instance.new("Weld") |
51 | - | t.Function(t.Name,io.UserInputState,io) |
51 | + | Weld32 = Instance.new("Weld") |
52 | - | end |
52 | + | Weld33 = Instance.new("Weld") |
53 | - | end |
53 | + | Weld34 = Instance.new("Weld") |
54 | - | end |
54 | + | Weld35 = Instance.new("Weld") |
55 | - | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
55 | + | Weld36 = Instance.new("Weld") |
56 | - | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
56 | + | Weld37 = Instance.new("Weld") |
57 | - | end |
57 | + | Weld38 = Instance.new("Weld") |
58 | - | end) |
58 | + | Weld39 = Instance.new("Weld") |
59 | - | Event.Parent = NLS([==[ |
59 | + | Weld40 = Instance.new("Weld") |
60 | - | local Player = game:GetService("Players").LocalPlayer |
60 | + | Weld41 = Instance.new("Weld") |
61 | - | local Event = script:WaitForChild("UserInput_Event") |
61 | + | Weld42 = Instance.new("Weld") |
62 | - | |
62 | + | Weld43 = Instance.new("Weld") |
63 | - | local UIS = game:GetService("UserInputService") |
63 | + | Weld44 = Instance.new("Weld") |
64 | - | local input = function(io,a) |
64 | + | Weld45 = Instance.new("Weld") |
65 | - | if a then return end |
65 | + | Weld46 = Instance.new("Weld") |
66 | - | --Since InputObject is a client-side instance, we create and pass table instead |
66 | + | Weld47 = Instance.new("Weld") |
67 | - | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) |
67 | + | Weld48 = Instance.new("Weld") |
68 | - | end |
68 | + | Weld49 = Instance.new("Weld") |
69 | - | UIS.InputBegan:Connect(input) |
69 | + | Weld50 = Instance.new("Weld") |
70 | - | UIS.InputEnded:Connect(input) |
70 | + | Weld51 = Instance.new("Weld") |
71 | - | |
71 | + | Weld52 = Instance.new("Weld") |
72 | - | local Mouse = Player:GetMouse() |
72 | + | Weld53 = Instance.new("Weld") |
73 | - | local h,t |
73 | + | Weld54 = Instance.new("Weld") |
74 | - | --Give the server mouse data 30 times every second, but only if the values changed |
74 | + | Weld55 = Instance.new("Weld") |
75 | - | --If player is not moving their mouse, client won't fire events |
75 | + | Weld56 = Instance.new("Weld") |
76 | - | while wait(1/30) do |
76 | + | Weld57 = Instance.new("Weld") |
77 | - | if h~=Mouse.Hit or t~=Mouse.Target then |
77 | + | Weld58 = Instance.new("Weld") |
78 | - | h,t=Mouse.Hit,Mouse.Target |
78 | + | Weld59 = Instance.new("Weld") |
79 | - | Event:FireServer({isMouse=true,Target=t,Hit=h}) |
79 | + | Weld60 = Instance.new("Weld") |
80 | - | end |
80 | + | Weld61 = Instance.new("Weld") |
81 | - | end]==],Player.Character) |
81 | + | Weld62 = Instance.new("Weld") |
82 | - | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
82 | + | Weld63 = Instance.new("Weld") |
83 | Weld64 = Instance.new("Weld") | |
84 | - | wait(0.1) |
84 | + | Weld65 = Instance.new("Weld") |
85 | - | plr = owner |
85 | + | Weld66 = Instance.new("Weld") |
86 | - | char = plr.Character |
86 | + | Weld67 = Instance.new("Weld") |
87 | Weld68 = Instance.new("Weld") | |
88 | - | local Trail = Instance.new("Model",char) -- Model for snake. |
88 | + | Weld69 = Instance.new("Weld") |
89 | - | Trail.Name = "Snake" |
89 | + | Weld70 = Instance.new("Weld") |
90 | - | snakeColor = "Camo" -- Your snake's color |
90 | + | Weld71 = Instance.new("Weld") |
91 | - | snakeSize = 0.5 -- Each time a player is eaten, the size increases. Basically the duration. |
91 | + | Weld72 = Instance.new("Weld") |
92 | Weld73 = Instance.new("Weld") | |
93 | Weld74 = Instance.new("Weld") | |
94 | Weld75 = Instance.new("Weld") | |
95 | - | for i,v in pairs(char:GetChildren()) do |
95 | + | Weld76 = Instance.new("Weld") |
96 | - | if v.ClassName == "Part" then |
96 | + | SpecialMesh77 = Instance.new("SpecialMesh") |
97 | - | v.Transparency = 1 |
97 | + | Sound78 = Instance.new("Sound") |
98 | Script79 = Instance.new("Script") | |
99 | Sound80 = Instance.new("Sound") | |
100 | - | for i,v in pairs(char:GetChildren()) do |
100 | + | Script81 = Instance.new("Script") |
101 | - | if v.ClassName == "Accessory" then |
101 | + | Tool0.Name = "Jarate" |
102 | - | v.Handle.Transparency = 1 |
102 | + | Tool0.Parent = mas |
103 | Script1.Name = "Slingshot" | |
104 | Script1.Parent = Tool0 | |
105 | - | function touch(part) |
105 | + | table.insert(cors,sandbox(Script1,function() |
106 | - | local human = part.Parent:FindFirstChildOfClass("Humanoid") |
106 | + | Tool = script.Parent |
107 | - | if human and human.Parent.Name ~= char.Name then |
107 | + | VELOCITY = 85 -- constant |
108 | - | human.Parent:BreakJoints() |
108 | + | loaded=false |
109 | - | snakeSize = snakeSize + 0.1 -- Increases size. |
109 | + | |
110 | - | human:Destroy() |
110 | + | local Pellet = Instance.new("Part") |
111 | Pellet.Name="Dynamite" | |
112 | Pellet.Locked = true | |
113 | - | char.Torso.Touched:connect(touch) |
113 | + | Pellet.BackSurface = 0 |
114 | - | char.Head.face.Transparency = 1 |
114 | + | Pellet.BottomSurface = 0 |
115 | - | local BODY = {} |
115 | + | Pellet.FrontSurface = 0 |
116 | - | LeftArm = char["Left Arm"] |
116 | + | Pellet.LeftSurface = 0 |
117 | - | RightLeg = char["Right Leg"] |
117 | + | Pellet.RightSurface = 0 |
118 | - | LeftLeg = char["Left Leg"] |
118 | + | Pellet.TopSurface = 0 |
119 | - | for _, c in pairs(char:GetDescendants()) do |
119 | + | Pellet.Shape = 0 |
120 | - | if c:IsA("BasePart") and c.Name ~= "Handle" then |
120 | + | Pellet.Transparency = 0.1 |
121 | - | if c ~= char.HumanoidRootPart and c ~= char.Torso and c ~= char.Head and c ~= char["Right Arm"] and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then |
121 | + | Pellet.FormFactor = 2 |
122 | - | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) |
122 | + | Pellet.Size = Vector3.new(1,0.8,2) |
123 | - | end |
123 | + | Pellet.BrickColor = BrickColor.new(1) |
124 | - | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency}) |
124 | + | script.Parent.PelletScript:clone().Parent = Pellet |
125 | - | elseif c:IsA("JointInstance") then |
125 | + | script.Parent.BrickCleanup:clone().Parent = Pellet |
126 | - | table.insert(BODY,{c,c.Parent,nil,nil,nil}) |
126 | + | script.Parent.Shatter:clone().Parent = Pellet |
127 | - | end |
127 | + | |
128 | function fire(mouse_pos) | |
129 | - | for e = 1, #BODY do |
129 | + | Tool.Parent.Torso["Right Shoulder"].MaxVelocity = 0.7 |
130 | - | if BODY[e] ~= nil then |
130 | + | Tool.Parent.Torso["Right Shoulder"].DesiredAngle = 3.6 |
131 | - | local STUFF = BODY[e] |
131 | + | wait(.1) |
132 | - | local PART = STUFF[1] |
132 | + | Tool.Parent.Torso["Right Shoulder"].MaxVelocity = 1 |
133 | - | local PARENT = STUFF[2] |
133 | + | Tool.Handle.Transparency=1 |
134 | - | local MATERIAL = STUFF[3] |
134 | + | Tool.Handle.Fire:play() |
135 | - | local TRANSPARENCY = STUFF[5] |
135 | + | |
136 | - | if PART.ClassName == "Part" and PART ~= char.HumanoidRootPart then |
136 | + | -- find player's head pos |
137 | - | PART.Material = MATERIAL |
137 | + | |
138 | - | PART.Transparency = TRANSPARENCY |
138 | + | local vCharacter = Tool.Parent |
139 | - | end |
139 | + | local vPlayer = game.Players:playerFromCharacter(vCharacter) |
140 | - | PART.AncestryChanged:Connect(function() |
140 | + | |
141 | - | PART.Parent = PARENT |
141 | + | local head = vCharacter:findFirstChild("Head") |
142 | - | end) |
142 | + | if head == nil then return end |
143 | - | end |
143 | + | |
144 | local dir = mouse_pos - head.Position | |
145 | - | function refit() |
145 | + | dir = computeDirection(dir) |
146 | - | char.Parent = workspace |
146 | + | |
147 | - | for e = 1, #BODY do |
147 | + | local launch = head.Position + 5 * dir |
148 | - | if BODY[e] ~= nil then |
148 | + | |
149 | - | local STUFF = BODY[e] |
149 | + | local delta = mouse_pos - launch |
150 | - | local PART = STUFF[1] |
150 | + | |
151 | - | local PARENT = STUFF[2] |
151 | + | local dy = delta.y |
152 | - | local MATERIAL = STUFF[3] |
152 | + | |
153 | - | local TRANSPARENCY = STUFF[5] |
153 | + | local new_delta = Vector3.new(delta.x, 0, delta.z) |
154 | - | if PART.ClassName == "Part" and PART ~= char.HumanoidRootPart then |
154 | + | delta = new_delta |
155 | - | PART.Material = MATERIAL |
155 | + | |
156 | - | PART.Transparency = TRANSPARENCY |
156 | + | local dx = delta.magnitude |
157 | - | end |
157 | + | local unit_delta = delta.unit |
158 | - | if PART.Parent ~= PARENT then |
158 | + | |
159 | - | char:FindFirstChildOfClass("Humanoid"):remove() |
159 | + | -- acceleration due to gravity in RBX units |
160 | - | PART.Parent = PARENT |
160 | + | local g = (-9.81 * 20) |
161 | - | Humanoid = Instance.new("Humanoid",char) |
161 | + | |
162 | - | end |
162 | + | local theta = computeLaunchAngle( dx, dy, g) |
163 | - | end |
163 | + | |
164 | - | end |
164 | + | local vy = math.sin(theta) |
165 | local xz = math.cos(theta) | |
166 | - | local dead = Instance.new("Sound",char) |
166 | + | local vx = unit_delta.x * xz |
167 | - | dead.SoundId = "rbxassetid://715082158" |
167 | + | local vz = unit_delta.z * xz |
168 | - | dead.Volume = 10 |
168 | + | |
169 | - | char.Humanoid.Died:connect(function() |
169 | + | |
170 | - | refit() |
170 | + | local missile = Pellet:clone() |
171 | - | end) |
171 | + | |
172 | - | while true do |
172 | + | |
173 | - | wait() |
173 | + | Tool.Handle.Mesh:clone().Parent = missile |
174 | - | refit() |
174 | + | |
175 | - | local puddle = Instance.new("Part",Trail) |
175 | + | |
176 | - | puddle.Anchored = true |
176 | + | missile.Position = launch |
177 | - | puddle.CanCollide = true |
177 | + | missile.Velocity = Vector3.new(vx,vy,vz) * VELOCITY |
178 | - | puddle.CFrame = char.Torso.CFrame + Vector3.new(0,-2, 0) |
178 | + | |
179 | - | puddle.CanCollide = false |
179 | + | missile.PelletScript.Disabled = false |
180 | - | puddle.BrickColor = BrickColor.new(snakeColor) |
180 | + | |
181 | - | local mesh = Instance.new("SpecialMesh",puddle) |
181 | + | local creator_tag = Instance.new("ObjectValue") |
182 | - | mesh.MeshType = "Sphere" |
182 | + | creator_tag.Value = vCharacter |
183 | - | puddle.Size = Vector3.new(4.18, 0.09, 4.28) |
183 | + | creator_tag.Name = "creator" |
184 | - | game:GetService("Debris"):AddItem(puddle,snakeSize) |
184 | + | creator_tag.Parent = missile |
185 | ||
186 | missile.Parent = game.Workspace | |
187 | ||
188 | end | |
189 | ||
190 | ||
191 | function computeLaunchAngle(dx,dy,grav) | |
192 | -- arcane | |
193 | -- http://en.wikipedia.org/wiki/Trajectory_of_a_projectile | |
194 | ||
195 | local g = math.abs(grav) | |
196 | local inRoot = (VELOCITY*VELOCITY*VELOCITY*VELOCITY) - (g * ((g*dx*dx) + (2*dy*VELOCITY*VELOCITY))) | |
197 | if inRoot <= 0 then | |
198 | return .25 * math.pi | |
199 | end | |
200 | local root = math.sqrt(inRoot) | |
201 | local inATan1 = ((VELOCITY*VELOCITY) + root) / (g*dx) | |
202 | ||
203 | local inATan2 = ((VELOCITY*VELOCITY) - root) / (g*dx) | |
204 | local answer1 = math.atan(inATan1) | |
205 | local answer2 = math.atan(inATan2) | |
206 | if answer1 < answer2 then return answer1 end | |
207 | return answer2 | |
208 | end | |
209 | ||
210 | function computeDirection(vec) | |
211 | local lenSquared = vec.magnitude * vec.magnitude | |
212 | local invSqrt = 1 / math.sqrt(lenSquared) | |
213 | return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt) | |
214 | end | |
215 | ||
216 | ||
217 | ||
218 | ||
219 | Tool.Enabled = true | |
220 | function onActivated() | |
221 | if not Tool.Enabled then | |
222 | return | |
223 | end | |
224 | ||
225 | Tool.Enabled = false | |
226 | ||
227 | local character = Tool.Parent; | |
228 | local humanoid = character.Humanoid | |
229 | if humanoid == nil then | |
230 | print("Humanoid not found") | |
231 | return | |
232 | end | |
233 | if loaded==true then | |
234 | loaded=false | |
235 | local targetPos = humanoid.TargetPoint | |
236 | ||
237 | fire(targetPos) | |
238 | wait(8) | |
239 | Tool.Enabled = true | |
240 | elseif loaded==false then | |
241 | Tool.Parent.Torso["Right Shoulder"].MaxVelocity = 0.6 | |
242 | Tool.Parent.Torso["Right Shoulder"].DesiredAngle = -3.6 | |
243 | wait(.1) | |
244 | Tool.Handle.Transparency=0.1 | |
245 | wait(.1) | |
246 | loaded=true | |
247 | end | |
248 | Tool.Enabled = true | |
249 | end | |
250 | ||
251 | script.Parent.Activated:connect(onActivated) | |
252 | ||
253 | end)) | |
254 | LocalScript2.Name = "Local Gui" | |
255 | LocalScript2.Parent = Tool0 | |
256 | table.insert(cors,sandbox(LocalScript2,function() | |
257 | Tool=script.Parent | |
258 | function onEquippedLocal(mouse) | |
259 | if mouse == nil then | |
260 | print("Mouse not found") | |
261 | return | |
262 | end | |
263 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
264 | end | |
265 | ||
266 | Tool.Equipped:connect(onEquippedLocal) | |
267 | end)) | |
268 | Part3.Name = "Handle" | |
269 | Part3.Parent = Tool0 | |
270 | Part3.CFrame = CFrame.new(-132.5, 0.600002766, 25.4999962, -1, -3.64205275e-17, -4.21310284e-17, -3.64202958e-17, 1, -5.47028503e-06, 4.21312269e-17, -5.47028503e-06, -1) | |
271 | Part3.Orientation = Vector3.new(0, -180, 0) | |
272 | Part3.Position = Vector3.new(-132.5, 0.600002766, 25.4999962) | |
273 | Part3.Rotation = Vector3.new(180, 0, 180) | |
274 | Part3.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
275 | Part3.Transparency = 0.10000000149012 | |
276 | Part3.Size = Vector3.new(1, 1.20000005, 1) | |
277 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
278 | Part3.BrickColor = BrickColor.new("Mid gray") | |
279 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
280 | Part3.brickColor = BrickColor.new("Mid gray") | |
281 | Part3.FormFactor = Enum.FormFactor.Plate | |
282 | Part3.formFactor = Enum.FormFactor.Plate | |
283 | Weld4.Parent = Part3 | |
284 | Weld4.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) | |
285 | Weld4.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) | |
286 | Weld4.Part0 = Part3 | |
287 | Weld4.Part1 = Part3 | |
288 | Weld4.part1 = Part3 | |
289 | Weld5.Parent = Part3 | |
290 | 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) | |
291 | 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) | |
292 | Weld6.Parent = Part3 | |
293 | 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) | |
294 | 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) | |
295 | Weld7.Parent = Part3 | |
296 | 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) | |
297 | 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) | |
298 | Weld8.Parent = Part3 | |
299 | 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) | |
300 | 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) | |
301 | Weld9.Parent = Part3 | |
302 | 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) | |
303 | 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) | |
304 | Weld10.Parent = Part3 | |
305 | 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) | |
306 | 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) | |
307 | Weld11.Parent = Part3 | |
308 | 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) | |
309 | 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) | |
310 | Weld12.Parent = Part3 | |
311 | 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) | |
312 | 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) | |
313 | Weld13.Parent = Part3 | |
314 | 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) | |
315 | 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) | |
316 | Weld14.Parent = Part3 | |
317 | 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) | |
318 | 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) | |
319 | Weld15.Parent = Part3 | |
320 | 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) | |
321 | 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) | |
322 | Weld16.Parent = Part3 | |
323 | 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) | |
324 | 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) | |
325 | Weld17.Parent = Part3 | |
326 | 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) | |
327 | 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) | |
328 | Weld18.Parent = Part3 | |
329 | 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) | |
330 | 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) | |
331 | Weld19.Parent = Part3 | |
332 | 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) | |
333 | 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) | |
334 | Weld20.Parent = Part3 | |
335 | 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) | |
336 | 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) | |
337 | Weld21.Parent = Part3 | |
338 | 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) | |
339 | 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) | |
340 | Weld22.Parent = Part3 | |
341 | 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) | |
342 | 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) | |
343 | Weld23.Parent = Part3 | |
344 | 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) | |
345 | 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) | |
346 | Weld24.Parent = Part3 | |
347 | 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) | |
348 | 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) | |
349 | Weld25.Parent = Part3 | |
350 | 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) | |
351 | 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) | |
352 | Weld26.Parent = Part3 | |
353 | 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) | |
354 | 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) | |
355 | Weld27.Parent = Part3 | |
356 | 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) | |
357 | 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) | |
358 | Weld28.Parent = Part3 | |
359 | 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) | |
360 | 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) | |
361 | Weld29.Parent = Part3 | |
362 | 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) | |
363 | 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) | |
364 | Weld30.Parent = Part3 | |
365 | 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) | |
366 | 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) | |
367 | Weld31.Parent = Part3 | |
368 | 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) | |
369 | 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) | |
370 | Weld32.Parent = Part3 | |
371 | 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) | |
372 | 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) | |
373 | Weld33.Parent = Part3 | |
374 | 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) | |
375 | 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) | |
376 | Weld34.Parent = Part3 | |
377 | 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) | |
378 | 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) | |
379 | Weld35.Parent = Part3 | |
380 | 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) | |
381 | 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) | |
382 | Weld36.Parent = Part3 | |
383 | 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) | |
384 | 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) | |
385 | Weld37.Parent = Part3 | |
386 | 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) | |
387 | 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) | |
388 | Weld38.Parent = Part3 | |
389 | 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) | |
390 | 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) | |
391 | Weld39.Parent = Part3 | |
392 | 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) | |
393 | 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) | |
394 | Weld40.Parent = Part3 | |
395 | 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) | |
396 | 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) | |
397 | Weld41.Parent = Part3 | |
398 | 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) | |
399 | 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) | |
400 | Weld42.Parent = Part3 | |
401 | 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) | |
402 | 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) | |
403 | Weld43.Parent = Part3 | |
404 | 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) | |
405 | 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) | |
406 | Weld44.Parent = Part3 | |
407 | 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) | |
408 | 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) | |
409 | Weld45.Parent = Part3 | |
410 | 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) | |
411 | 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) | |
412 | Weld46.Parent = Part3 | |
413 | 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) | |
414 | 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) | |
415 | Weld47.Parent = Part3 | |
416 | 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) | |
417 | 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) | |
418 | Weld48.Parent = Part3 | |
419 | 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) | |
420 | 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) | |
421 | Weld49.Parent = Part3 | |
422 | 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) | |
423 | 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) | |
424 | Weld50.Parent = Part3 | |
425 | 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) | |
426 | 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) | |
427 | Weld51.Parent = Part3 | |
428 | 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) | |
429 | 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) | |
430 | Weld52.Parent = Part3 | |
431 | 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) | |
432 | 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) | |
433 | Weld53.Parent = Part3 | |
434 | 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) | |
435 | 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) | |
436 | Weld54.Parent = Part3 | |
437 | 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) | |
438 | 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) | |
439 | Weld55.Parent = Part3 | |
440 | 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) | |
441 | 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) | |
442 | Weld56.Parent = Part3 | |
443 | 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) | |
444 | 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) | |
445 | Weld57.Parent = Part3 | |
446 | 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) | |
447 | 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) | |
448 | Weld58.Parent = Part3 | |
449 | 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) | |
450 | 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) | |
451 | Weld59.Parent = Part3 | |
452 | 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) | |
453 | 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) | |
454 | Weld60.Parent = Part3 | |
455 | 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) | |
456 | 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) | |
457 | Weld61.Parent = Part3 | |
458 | 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) | |
459 | 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) | |
460 | Weld62.Parent = Part3 | |
461 | 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) | |
462 | 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) | |
463 | Weld63.Parent = Part3 | |
464 | 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) | |
465 | 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) | |
466 | Weld64.Parent = Part3 | |
467 | 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) | |
468 | 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) | |
469 | Weld65.Parent = Part3 | |
470 | 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) | |
471 | 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) | |
472 | Weld66.Parent = Part3 | |
473 | 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) | |
474 | 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) | |
475 | Weld67.Parent = Part3 | |
476 | 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) | |
477 | 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) | |
478 | Weld68.Parent = Part3 | |
479 | 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) | |
480 | 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) | |
481 | Weld69.Parent = Part3 | |
482 | 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) | |
483 | 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) | |
484 | Weld69.Part0 = Part3 | |
485 | Weld69.Part1 = Part3 | |
486 | Weld69.part1 = Part3 | |
487 | Weld70.Parent = Part3 | |
488 | 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) | |
489 | 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) | |
490 | Weld70.Part0 = Part3 | |
491 | Weld70.Part1 = Part3 | |
492 | Weld70.part1 = Part3 | |
493 | Weld71.Parent = Part3 | |
494 | 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) | |
495 | 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) | |
496 | Weld71.Part0 = Part3 | |
497 | Weld71.Part1 = Part3 | |
498 | Weld71.part1 = Part3 | |
499 | Weld72.Parent = Part3 | |
500 | 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) | |
501 | 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) | |
502 | Weld72.Part0 = Part3 | |
503 | Weld72.Part1 = Part3 | |
504 | Weld72.part1 = Part3 | |
505 | Weld73.Parent = Part3 | |
506 | 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) | |
507 | 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) | |
508 | Weld73.Part0 = Part3 | |
509 | Weld73.Part1 = Part3 | |
510 | Weld73.part1 = Part3 | |
511 | Weld74.Parent = Part3 | |
512 | 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) | |
513 | 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) | |
514 | Weld74.Part0 = Part3 | |
515 | Weld74.Part1 = Part3 | |
516 | Weld74.part1 = Part3 | |
517 | Weld75.Parent = Part3 | |
518 | 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) | |
519 | 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) | |
520 | Weld75.Part0 = Part3 | |
521 | Weld75.Part1 = Part3 | |
522 | Weld75.part1 = Part3 | |
523 | Weld76.Parent = Part3 | |
524 | 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) | |
525 | 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) | |
526 | Weld76.Part0 = Part3 | |
527 | Weld76.Part1 = Part3 | |
528 | Weld76.part1 = Part3 | |
529 | SpecialMesh77.Parent = Part3 | |
530 | SpecialMesh77.MeshId = "http://www.roblox.com/asset/?id=11409474" | |
531 | SpecialMesh77.Scale = Vector3.new(1.5, 1.5, 1.5) | |
532 | SpecialMesh77.TextureId = "http://www.roblox.com/asset/?id=23128442" | |
533 | SpecialMesh77.MeshType = Enum.MeshType.FileMesh | |
534 | Sound78.Name = "Fire" | |
535 | Sound78.Parent = Part3 | |
536 | Sound78.SoundId = "rbxasset://sounds/swoosh.wav" | |
537 | Sound78.Volume = 0.69999998807907 | |
538 | Script79.Name = "PelletScript" | |
539 | Script79.Parent = Tool0 | |
540 | table.insert(cors,sandbox(Script79,function() | |
541 | ball = script.Parent | |
542 | damage = 10 | |
543 | ||
544 | ||
545 | ||
546 | function onTouched(hit) | |
547 | local humanoid = hit.Parent:findFirstChild("Humanoid") | |
548 | ||
549 | script.Parent.Shatter:play() | |
550 | --make a splat | |
551 | for i=1,32 do | |
552 | local s = Instance.new("Part") | |
553 | s.Shape = 1 -- block | |
554 | s.formFactor = 2 -- plate | |
555 | s.Size = Vector3.new(1,.4,1) | |
556 | s.BrickColor = BrickColor.new("New Yeller") | |
557 | local v = Vector3.new(math.random(-1,1), math.random(0,2), math.random(-1,1)) | |
558 | s.Velocity = 18 * v | |
559 | s.Transparency = 0.15 | |
560 | s.TopSurface = 0 | |
561 | s.BottomSurface = 0 | |
562 | s.CFrame = CFrame.new(ball.Position + v, v) | |
563 | ball.BrickCleanup:clone().Parent = s | |
564 | s.BrickCleanup.Disabled = false | |
565 | s.Parent = game.Workspace | |
566 | end | |
567 | ||
568 | ||
569 | if humanoid ~= nil then | |
570 | tagHumanoid(humanoid) | |
571 | humanoid.Health = humanoid.Health - damage | |
572 | wait(2) | |
573 | untagHumanoid(humanoid) | |
574 | end | |
575 | ||
576 | connection:disconnect() | |
577 | ball.Parent = nil | |
578 | end | |
579 | ||
580 | function tagHumanoid(humanoid) | |
581 | -- todo: make tag expire | |
582 | local tag = ball:findFirstChild("creator") | |
583 | if tag ~= nil then | |
584 | local new_tag = tag:clone() | |
585 | new_tag.Parent = humanoid | |
586 | end | |
587 | end | |
588 | ||
589 | ||
590 | function untagHumanoid(humanoid) | |
591 | if humanoid ~= nil then | |
592 | local tag = humanoid:findFirstChild("creator") | |
593 | if tag ~= nil then | |
594 | tag.Parent = nil | |
595 | end | |
596 | end | |
597 | end | |
598 | ||
599 | connection = ball.Touched:connect(onTouched) | |
600 | ||
601 | wait(8) | |
602 | ball.Parent = nil | |
603 | end)) | |
604 | Script79.Disabled = true | |
605 | Sound80.Name = "Shatter" | |
606 | Sound80.Parent = Tool0 | |
607 | Sound80.SoundId = "http://www.roblox.com/asset/?id=11415738" | |
608 | Sound80.Volume = 1 | |
609 | Script81.Name = "BrickCleanup" | |
610 | Script81.Parent = Tool0 | |
611 | table.insert(cors,sandbox(Script81,function() | |
612 | -- this script removes its parent from the workspace after 24 seconds | |
613 | ||
614 | wait(15) | |
615 | script.Parent.Parent = nil | |
616 | end)) | |
617 | Script81.Disabled = true | |
618 | for i,v in pairs(mas:GetChildren()) do | |
619 | v.Parent = game:GetService("Players").LocalPlayer.Backpack | |
620 | pcall(function() v:MakeJoints() end) | |
621 | end | |
622 | mas:Destroy() | |
623 | for i,v in pairs(cors) do | |
624 | spawn(function() | |
625 | pcall(v) | |
626 | end) | |
627 | end |