SHOW:
|
|
- or go back to the newest paste.
1 | - | -- Created with Z_Vs M2S Plugin TouchTransmitter |
1 | + | -- This script has been converted to FE by Guest_EXD |
2 | - | --CFrame is calling a model not in the script |
2 | + | |
3 | - | --Clipping isssues when firing bricks. |
3 | + | |
4 | - | Create = function(itemClass,tabl) |
4 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
5 | - | local item = Instance.new(itemClass) |
5 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
6 | - | for i,v in pairs(tabl) do |
6 | + | do |
7 | - | local a,b = ypcall(function() return item[i] end) |
7 | + | print("FE Compatibility code by Mokiros | Translated to FE by Guest_EXD") |
8 | - | if a then |
8 | + | script.Parent = Player.Character |
9 | - | item[i] = tabl[i] |
9 | + | |
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | - | return item |
12 | + | Event.Name = "UserInput_Event" |
13 | ||
14 | - | function runDummyScript(f,scri) |
14 | + | --Fake event to make stuff like Mouse.KeyDown work |
15 | - | local oldenv = getfenv(f) |
15 | + | local function fakeEvent() |
16 | - | local newenv = setmetatable({}, { |
16 | + | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} |
17 | - | __index = function(_, k) |
17 | + | t.connect = t.Connect |
18 | - | if k:lower() == 'script' then |
18 | + | return t |
19 | - | return scri |
19 | + | |
20 | ||
21 | - | return oldenv[k] |
21 | + | --Creating fake input objects with fake variables |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | - | }) |
24 | + | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) |
25 | - | setfenv(f, newenv) |
25 | + | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil |
26 | - | ypcall(function() f() end) |
26 | + | end} |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | - | cors = {} |
28 | + | CAS.UnbindAction = CAS.BindAction |
29 | - | mas = Instance.new("Model",game:GetService("Lighting")) |
29 | + | |
30 | - | mas.Name = "CompiledModel" |
30 | + | --This function will trigger the events that have been :Connect()'ed |
31 | - | o1 = Create("Tool",{ |
31 | + | local function te(self,ev,...) |
32 | - | ["Name"] = "Noobie McNoobington", |
32 | + | local t = m[ev] |
33 | - | ["Parent"] = mas, |
33 | + | if t and t._fakeEvent and t.Function then |
34 | - | ["GripPos"] = Vector3.new(0, -1.60000002, -0.150000006), |
34 | + | t.Function(...) |
35 | - | ["ToolTip"] = "A cuddly little noob.", |
35 | + | |
36 | - | }) |
36 | + | |
37 | - | o2 = Create("Part",{ |
37 | + | m.TrigEvent = te |
38 | - | ["Name"] = "Handle", |
38 | + | UIS.TrigEvent = te |
39 | - | ["Parent"] = o1, |
39 | + | |
40 | - | ["BrickColor"] = BrickColor.new("Bright blue"), |
40 | + | Event.OnServerEvent:Connect(function(plr,io) |
41 | - | ["Position"] = Vector3.new(330.49054, 87.0765381, -126.744385), |
41 | + | if plr~=Player then return end |
42 | - | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), |
42 | + | if io.isMouse then |
43 | - | ["RotVelocity"] = Vector3.new(1, 1, 1), |
43 | + | m.Target = io.Target |
44 | - | ["Velocity"] = Vector3.new(-9.18760204, 0, 13.3689327), |
44 | + | m.Hit = io.Hit |
45 | - | ["CFrame"] = CFrame.new(330.49054, 87.0765381, -126.744385, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), |
45 | + | else |
46 | - | ["Locked"] = true, |
46 | + | local b = io.UserInputState == Enum.UserInputState.Begin |
47 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
47 | + | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
48 | - | ["Size"] = Vector3.new(2, 2, 1), |
48 | + | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
49 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
49 | + | |
50 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
50 | + | for _,t in pairs(CAS.Actions) do |
51 | - | ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451), |
51 | + | for _,k in pairs(t.Keys) do |
52 | - | }) |
52 | + | if k==io.KeyCode then |
53 | - | o3 = Create("BlockMesh",{ |
53 | + | t.Function(t.Name,io.UserInputState,io) |
54 | - | ["Parent"] = o2, |
54 | + | |
55 | - | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), |
55 | + | |
56 | - | }) |
56 | + | |
57 | - | o4 = Create("Sound",{ |
57 | + | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
58 | - | ["Name"] = "FRESHMEAT", |
58 | + | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
59 | - | ["Parent"] = o2, |
59 | + | end |
60 | - | ["Pitch"] = 1.0249999761581, |
60 | + | end) |
61 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=2767085", |
61 | + | Event.Parent = NLS([==[ |
62 | - | ["Volume"] = 1, |
62 | + | local Player = game:GetService("Players").LocalPlayer |
63 | - | }) |
63 | + | local Event = script:WaitForChild("UserInput_Event") |
64 | - | o5 = Create("Sound",{ |
64 | + | |
65 | - | ["Name"] = "KABOOOOM2", |
65 | + | local UIS = game:GetService("UserInputService") |
66 | - | ["Parent"] = o2, |
66 | + | local input = function(io,a) |
67 | - | ["Pitch"] = 0.80000001192093, |
67 | + | if a then return end |
68 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=2101159", |
68 | + | --Since InputObject is a client-side instance, we create and pass table instead |
69 | - | ["Volume"] = 1, |
69 | + | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) |
70 | - | }) |
70 | + | |
71 | - | o6 = Create("Sound",{ |
71 | + | UIS.InputBegan:Connect(input) |
72 | - | ["Name"] = "RAWR", |
72 | + | UIS.InputEnded:Connect(input) |
73 | - | ["Parent"] = o2, |
73 | + | |
74 | - | ["Pitch"] = 0, |
74 | + | local Mouse = Player:GetMouse() |
75 | - | ["SoundId"] = "http://roblox.com/asset/?id=2767096", |
75 | + | local h,t |
76 | - | ["Volume"] = 0, |
76 | + | --Give the server mouse data 30 times every second, but only if the values changed |
77 | - | }) |
77 | + | --If player is not moving their mouse, client won't fire events |
78 | - | o7 = Create("Sound",{ |
78 | + | while wait(1/30) do |
79 | - | ["Name"] = "NOM", |
79 | + | if h~=Mouse.Hit or t~=Mouse.Target then |
80 | - | ["Parent"] = o2, |
80 | + | h,t=Mouse.Hit,Mouse.Target |
81 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=189652112", |
81 | + | Event:FireServer({isMouse=true,Target=t,Hit=h}) |
82 | - | ["Volume"] = 1, |
82 | + | |
83 | - | }) |
83 | + | end]==],Player.Character) |
84 | - | o8 = Create("Sound",{ |
84 | + | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
85 | - | ["Name"] = "wee", |
85 | + | |
86 | - | ["Parent"] = o2, |
86 | + | Player=owner |
87 | - | ["Pitch"] = 1.0499999523163, |
87 | + | Character=Player.Character |
88 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=4700455", |
88 | + | PlayerGui=Player.PlayerGui |
89 | - | ["Volume"] = 1, |
89 | + | Backpack=Player.Backpack |
90 | - | }) |
90 | + | Torso=Character.Torso |
91 | - | o9 = Create("Sound",{ |
91 | + | Head=Character.Head |
92 | - | ["Name"] = "GETOVERHERE", |
92 | + | Humanoid=Character.Humanoid |
93 | - | ["Parent"] = o2, |
93 | + | m=Instance.new('Model',Character) |
94 | - | ["Pitch"] = 0.89999997615814, |
94 | + | LeftArm=Character["Left Arm"] |
95 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=58435367", |
95 | + | LeftLeg=Character["Left Leg"] |
96 | - | ["Volume"] = 1, |
96 | + | RightArm=Character["Right Arm"] |
97 | - | }) |
97 | + | RightLeg=Character["Right Leg"] |
98 | - | o10 = Create("Sound",{ |
98 | + | LS=Torso["Left Shoulder"] |
99 | - | ["Name"] = "KABOOOOM1", |
99 | + | LH=Torso["Left Hip"] |
100 | - | ["Parent"] = o2, |
100 | + | RS=Torso["Right Shoulder"] |
101 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=1994345", |
101 | + | RH=Torso["Right Hip"] |
102 | - | ["Volume"] = 1, |
102 | + | Face = Head.face |
103 | - | }) |
103 | + | Neck=Torso.Neck |
104 | - | o11 = Create("Sound",{ |
104 | + | it=Instance.new |
105 | - | ["Name"] = "SWING", |
105 | + | attacktype=1 |
106 | - | ["Parent"] = o2, |
106 | + | vt=Vector3.new |
107 | - | ["Pitch"] = 1.1000000238419, |
107 | + | cf=CFrame.new |
108 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=189505649", |
108 | + | euler=CFrame.fromEulerAnglesXYZ |
109 | - | ["Volume"] = 1, |
109 | + | angles=CFrame.Angles |
110 | - | }) |
110 | + | cloaked=false |
111 | - | o12 = Create("Sound",{ |
111 | + | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
112 | - | ["Name"] = "OWNED", |
112 | + | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
113 | - | ["Parent"] = o2, |
113 | + | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
114 | - | ["Pitch"] = 0.30000001192093, |
114 | + | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
115 | - | ["SoundId"] = "http://roblox.com/asset/?id=2801263", |
115 | + | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
116 | - | ["Volume"] = 0.125, |
116 | + | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
117 | - | }) |
117 | + | RootPart=Character.HumanoidRootPart |
118 | - | o13 = Create("Sound",{ |
118 | + | RootJoint=RootPart.RootJoint |
119 | - | ["Name"] = "FULL", |
119 | + | RootCF=euler(-1.57,0,3.14) |
120 | - | ["Parent"] = o2, |
120 | + | attack = false |
121 | - | ["Pitch"] = 0.89999997615814, |
121 | + | attackdebounce = false |
122 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=13075805", |
122 | + | deb=false |
123 | - | ["Volume"] = 1, |
123 | + | equipped=true |
124 | - | }) |
124 | + | hand=false |
125 | - | o14 = Create("Sound",{ |
125 | + | MMouse=nil |
126 | - | ["Name"] = "OPEN1", |
126 | + | combo=0 |
127 | - | ["Parent"] = o2, |
127 | + | mana=0 |
128 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=90869127", |
128 | + | trispeed=.2 |
129 | - | ["Volume"] = 1, |
129 | + | attackmode='none' |
130 | - | }) |
130 | + | local idle=0 |
131 | - | o15 = Create("Sound",{ |
131 | + | local Anim="Idle" |
132 | - | ["Name"] = "OPEN3", |
132 | + | local Effects={} |
133 | - | ["Parent"] = o2, |
133 | + | local gun=false |
134 | - | ["Pitch"] = 1.25, |
134 | + | local shoot=false |
135 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=90110171", |
135 | + | player=nil |
136 | - | ["Volume"] = 0, |
136 | + | mana=0 |
137 | - | }) |
137 | + | |
138 | - | o16 = Create("Sound",{ |
138 | + | --save shoulders |
139 | - | ["Name"] = "OPEN2", |
139 | + | RSH, LSH=nil, nil |
140 | - | ["Parent"] = o2, |
140 | + | --welds |
141 | - | ["Pitch"] = 0, |
141 | + | RW, LW=Instance.new("Weld"), Instance.new("Weld") |
142 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=11450310", |
142 | + | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
143 | - | ["Volume"] = 0, |
143 | + | LH=Torso["Left Hip"] |
144 | - | }) |
144 | + | RH=Torso["Right Hip"] |
145 | - | o17 = Create("Sound",{ |
145 | + | TorsoColor=Torso.BrickColor |
146 | - | ["Name"] = "SAUCE1", |
146 | + | function NoOutline(Part) |
147 | - | ["Parent"] = o2, |
147 | + | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
148 | - | ["Pitch"] = 0.69999998807907, |
148 | + | |
149 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=2697295", |
149 | + | player=Player |
150 | - | ["Volume"] = 1, |
150 | + | ch=Character |
151 | - | }) |
151 | + | RSH=ch.Torso["Right Shoulder"] |
152 | - | o18 = Create("Sound",{ |
152 | + | LSH=ch.Torso["Left Shoulder"] |
153 | - | ["Name"] = "SAUCE2", |
153 | + | -- |
154 | - | ["Parent"] = o2, |
154 | + | RSH.Parent=nil |
155 | - | ["Pitch"] = 0.77499997615814, |
155 | + | LSH.Parent=nil |
156 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=2697295", |
156 | + | -- |
157 | - | ["Volume"] = 1, |
157 | + | RW.Name="Right Shoulder" |
158 | - | }) |
158 | + | RW.Part0=ch.Torso |
159 | - | o19 = Create("Sound",{ |
159 | + | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
160 | - | ["Name"] = "Fire", |
160 | + | RW.C1=cf(0, 0.5, 0) |
161 | - | ["Parent"] = o2, |
161 | + | RW.Part1=ch["Right Arm"] |
162 | - | ["Pitch"] = 0.85000002384186, |
162 | + | RW.Parent=ch.Torso |
163 | - | ["SoundId"] = "http://roblox.com/asset/?id=10209776", |
163 | + | -- |
164 | - | ["Volume"] = 1, |
164 | + | LW.Name="Left Shoulder" |
165 | - | }) |
165 | + | LW.Part0=ch.Torso |
166 | - | o20 = Create("Sound",{ |
166 | + | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
167 | - | ["Name"] = "Startup", |
167 | + | LW.C1=cf(0, 0.5, 0) |
168 | - | ["Parent"] = o2, |
168 | + | LW.Part1=ch["Left Arm"] |
169 | - | ["Pitch"] = 0.85000002384186, |
169 | + | LW.Parent=ch.Torso |
170 | - | ["SoundId"] = "http://roblox.com/asset/?id=10209788", |
170 | + | |
171 | - | ["Volume"] = 1, |
171 | + | |
172 | - | }) |
172 | + | local function weldBetween(a, b) |
173 | - | o21 = Create("Sound",{ |
173 | + | local weldd = Instance.new("ManualWeld") |
174 | - | ["Name"] = "Winddown", |
174 | + | weldd.Part0 = a |
175 | - | ["Parent"] = o2, |
175 | + | weldd.Part1 = b |
176 | - | ["Pitch"] = 0.85000002384186, |
176 | + | weldd.C0 = CFrame.new() |
177 | - | ["SoundId"] = "http://roblox.com/asset/?id=10209786", |
177 | + | weldd.C1 = b.CFrame:inverse() * a.CFrame |
178 | - | ["Volume"] = 1, |
178 | + | weldd.Parent = a |
179 | - | }) |
179 | + | return weldd |
180 | - | o22 = Create("Sound",{ |
180 | + | |
181 | - | ["Name"] = "InitialThrust", |
181 | + | |
182 | - | ["Parent"] = o2, |
182 | + | function swait(num) |
183 | - | ["Pitch"] = 0.60000002384186, |
183 | + | if num==0 or num==nil then |
184 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=30624262", |
184 | + | game:service'RunService'.Heartbeat:wait(0) |
185 | - | ["Volume"] = 1, |
185 | + | else |
186 | - | }) |
186 | + | for i=0,num do |
187 | - | o23 = Create("Sound",{ |
187 | + | game:service'RunService'.Heartbeat:wait(0) |
188 | - | ["Name"] = "Thrusting", |
188 | + | end |
189 | - | ["Parent"] = o2, |
189 | + | end |
190 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=30624426", |
190 | + | end |
191 | - | ["Volume"] = 1, |
191 | + | |
192 | - | }) |
192 | + | function nooutline(part) |
193 | - | o24 = Create("Sound",{ |
193 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
194 | - | ["Name"] = "Equip", |
194 | + | |
195 | - | ["Parent"] = o2, |
195 | + | |
196 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=189652125", |
196 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
197 | - | ["Volume"] = 1, |
197 | + | local fp=it("Part") |
198 | - | }) |
198 | + | fp.formFactor=formfactor |
199 | - | o25 = Create("Sound",{ |
199 | + | fp.Parent=parent |
200 | - | ["Name"] = "NOM2", |
200 | + | fp.Reflectance=reflectance |
201 | - | ["Parent"] = o2, |
201 | + | fp.Transparency=transparency |
202 | - | ["Pitch"] = 0.97079998254776, |
202 | + | fp.CanCollide=false |
203 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=1390349 ", |
203 | + | fp.Locked=true |
204 | - | }) |
204 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
205 | - | o26 = Create("Sound",{ |
205 | + | fp.Name=name |
206 | - | ["Name"] = "NOM1", |
206 | + | fp.Size=size |
207 | - | ["Parent"] = o2, |
207 | + | fp.Position=Character.Torso.Position |
208 | - | ["Pitch"] = 0.76563334465027, |
208 | + | nooutline(fp) |
209 | - | ["SoundId"] = "http://www.roblox.com/asset/?id=41410287", |
209 | + | fp.Material=material |
210 | - | }) |
210 | + | fp:BreakJoints() |
211 | - | o28 = Create("Part",{ |
211 | + | return fp |
212 | - | ["Name"] = "Handle2", |
212 | + | |
213 | - | ["Parent"] = o1, |
213 | + | |
214 | - | ["BrickColor"] = BrickColor.new("Bright yellow"), |
214 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
215 | - | ["Position"] = Vector3.new(330.481354, 87.9005737, -126.731689), |
215 | + | local mesh=it(Mesh) |
216 | - | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), |
216 | + | mesh.Parent=part |
217 | - | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), |
217 | + | if Mesh=="SpecialMesh" then |
218 | - | ["Velocity"] = Vector3.new(-9.18036747, 0, 13.4155693), |
218 | + | mesh.MeshType=meshtype |
219 | - | ["CFrame"] = CFrame.new(330.481354, 87.9005737, -126.731689, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), |
219 | + | mesh.MeshId=meshid |
220 | - | ["CanCollide"] = false, |
220 | + | |
221 | - | ["Locked"] = true, |
221 | + | mesh.Offset=offset |
222 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
222 | + | mesh.Scale=scale |
223 | - | ["Size"] = Vector3.new(1, 1, 1), |
223 | + | return mesh |
224 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
224 | + | |
225 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
225 | + | |
226 | - | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), |
226 | + | function weld(parent,part0,part1,c0,c1) |
227 | - | }) |
227 | + | local weld=it("Weld") |
228 | - | o29 = Create("SpecialMesh",{ |
228 | + | weld.Parent=parent |
229 | - | ["Parent"] = o28, |
229 | + | weld.Part0=part0 |
230 | - | ["Scale"] = Vector3.new(1, 0.150000006, 0.75), |
230 | + | weld.Part1=part1 |
231 | - | ["MeshType"] = Enum.MeshType.Brick, |
231 | + | weld.C0=c0 |
232 | - | }) |
232 | + | weld.C1=c1 |
233 | - | o30 = Create("Script",{ |
233 | + | return weld |
234 | - | ["Name"] = "Welds", |
234 | + | |
235 | - | ["Parent"] = o1, |
235 | + | |
236 | - | }) |
236 | + | |
237 | - | table.insert(cors,coroutine.create(function() |
237 | + | local function CFrameFromTopBack(at, top, back) |
238 | local right = top:Cross(back) | |
239 | - | runDummyScript(function() |
239 | + | return CFrame.new(at.x, at.y, at.z, |
240 | right.x, top.x, back.x, | |
241 | - | Tool=script.Parent |
241 | + | right.y, top.y, back.y, |
242 | right.z, top.z, back.z) | |
243 | - | Weld=function() |
243 | + | |
244 | - | for _,v in pairs(Tool.Handle:children()) do |
244 | + | |
245 | - | if v.className=="Weld" then |
245 | + | function Triangle(a, b, c) |
246 | - | v:Remove() |
246 | + | local edg1 = (c-a):Dot((b-a).unit) |
247 | local edg2 = (a-b):Dot((c-b).unit) | |
248 | local edg3 = (b-c):Dot((a-c).unit) | |
249 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
250 | - | w=Instance.new("Weld") |
250 | + | a, b, c = a, b, c |
251 | - | w.Part0=Tool.Handle |
251 | + | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
252 | - | w.Part1=Tool.Handle2 |
252 | + | a, b, c = b, c, a |
253 | - | w.C0=CFrame.new(0,.825,0) |
253 | + | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
254 | - | w.Parent=w.Part0 |
254 | + | a, b, c = c, a, b |
255 | else | |
256 | - | w=Instance.new("Weld") |
256 | + | assert(false, "unreachable") |
257 | - | w.Part0=Tool.Handle |
257 | + | |
258 | - | w.Part1=Tool.Handle3 |
258 | + | |
259 | - | w.C0=CFrame.new(1.125,0,0) |
259 | + | local len1 = (c-a):Dot((b-a).unit) |
260 | - | w.Parent=w.Part0 |
260 | + | local len2 = (b-a).magnitude - len1 |
261 | local width = (a + (b-a).unit*len1 - c).magnitude | |
262 | - | w=Instance.new("Weld") |
262 | + | |
263 | - | w.Part0=Tool.Handle |
263 | + | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
264 | - | w.Part1=Tool.Handle4 |
264 | + | |
265 | - | w.C0=CFrame.new(-1.125,0,0) |
265 | + | local list = {} |
266 | - | w.Parent=w.Part0 |
266 | + | |
267 | if len1 > 0.01 then | |
268 | - | w=Instance.new("Weld") |
268 | + | local w1 = Instance.new('WedgePart', m) |
269 | - | w.Part0=Tool.Handle |
269 | + | game:GetService("Debris"):AddItem(w1,5) |
270 | - | w.Part1=Tool.Handle5 |
270 | + | w1.Material = "SmoothPlastic" |
271 | - | w.C0=CFrame.new(.375,-1.5,0) |
271 | + | w1.FormFactor = 'Custom' |
272 | - | w.Parent=w.Part0 |
272 | + | w1.BrickColor = BrickColor.new("Really red") |
273 | w1.Transparency = 0 | |
274 | - | w=Instance.new("Weld") |
274 | + | w1.Reflectance = 0 |
275 | - | w.Part0=Tool.Handle |
275 | + | w1.Material = "Neon" |
276 | - | w.Part1=Tool.Handle6 |
276 | + | w1.CanCollide = false |
277 | - | w.C0=CFrame.new(-.375,-1.5,0) |
277 | + | NoOutline(w1) |
278 | - | w.Parent=w.Part0 |
278 | + | local sz = Vector3.new(0.2, width, len1) |
279 | w1.Size = sz | |
280 | - | -- |
280 | + | local sp = Instance.new("SpecialMesh",w1) |
281 | sp.MeshType = "Wedge" | |
282 | - | w=Instance.new("Weld") |
282 | + | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
283 | - | w.Name="CheekWeld1" |
283 | + | w1:BreakJoints() |
284 | - | w.Part0=Tool.Handle |
284 | + | w1.Anchored = true |
285 | - | w.Part1=Tool.Cheek1 |
285 | + | w1.Parent = workspace |
286 | - | w.C0=CFrame.new(-.425,1.325,0) |
286 | + | w1.Transparency = 0.7 |
287 | - | w.Parent=w.Part0 |
287 | + | table.insert(Effects,{w1,"Disappear",.01}) |
288 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
289 | - | w=Instance.new("Weld") |
289 | + | table.insert(list,w1) |
290 | - | w.Name="CheekWeld2" |
290 | + | |
291 | - | w.Part0=Tool.Handle |
291 | + | |
292 | - | w.Part1=Tool.Cheek2 |
292 | + | if len2 > 0.01 then |
293 | - | w.C0=CFrame.new(.425,1.325,0) |
293 | + | local w2 = Instance.new('WedgePart', m) |
294 | - | w.Parent=w.Part0 |
294 | + | game:GetService("Debris"):AddItem(w2,5) |
295 | w2.Material = "SmoothPlastic" | |
296 | - | w=Instance.new("Weld") |
296 | + | w2.FormFactor = 'Custom' |
297 | - | w.Name="CheekWeld3" |
297 | + | w2.BrickColor = BrickColor.new("Really red") |
298 | - | w.Part0=Tool.Handle |
298 | + | w2.Transparency = 0 |
299 | - | w.Part1=Tool.Cheek3 |
299 | + | w2.Reflectance = 0 |
300 | - | w.C0=CFrame.new(0,1.325,.3) |
300 | + | w2.Material = "Neon" |
301 | - | w.Parent=w.Part0 |
301 | + | w2.CanCollide = false |
302 | NoOutline(w2) | |
303 | - | w=Instance.new("Weld") |
303 | + | local sz = Vector3.new(0.2, width, len2) |
304 | - | w.Name="CheekWeldTop" |
304 | + | w2.Size = sz |
305 | - | w.Part0=Tool.Handle |
305 | + | local sp = Instance.new("SpecialMesh",w2) |
306 | - | w.Part1=Tool.Top |
306 | + | sp.MeshType = "Wedge" |
307 | - | w.C0=CFrame.new(0,1.675,-.0375) |
307 | + | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
308 | - | w.Parent=w.Part0 |
308 | + | w2:BreakJoints() |
309 | w2.Anchored = true | |
310 | - | w=Instance.new("Weld") |
310 | + | w2.Parent = workspace |
311 | - | w.Name="CheekWeld4" |
311 | + | w2.Transparency = 0.7 |
312 | - | w.Part0=Tool.Handle |
312 | + | table.insert(Effects,{w2,"Disappear",.01}) |
313 | - | w.Part1=Tool.Cheek4 |
313 | + | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
314 | - | w.C0=CFrame.new(0,1.4,-.3) |
314 | + | table.insert(list,w2) |
315 | - | w.Parent=w.Part0 |
315 | + | |
316 | return unpack(list) | |
317 | - | w=Instance.new("Weld") |
317 | + | |
318 | - | w.Name="CheekWeld5" |
318 | + | |
319 | - | w.Part0=Tool.Handle |
319 | + | |
320 | - | w.Part1=Tool.Cheek5 |
320 | + | so = function(id,par,vol,pit) |
321 | - | w.C0=CFrame.new(0,1.05,-.3) |
321 | + | coroutine.resume(coroutine.create(function() |
322 | - | w.Parent=w.Part0 |
322 | + | local sou = Instance.new("Sound",par or workspace) |
323 | sou.Volume=vol | |
324 | - | w=Instance.new("Weld") |
324 | + | sou.Pitch=pit or 1 |
325 | - | w.Name="FaceWeld" |
325 | + | sou.SoundId=id |
326 | - | w.Part0=Tool.Handle |
326 | + | swait() |
327 | - | w.Part1=Tool.Face |
327 | + | sou:play() |
328 | - | w.C0=CFrame.new(0,1.3,-.39) |
328 | + | game:GetService("Debris"):AddItem(sou,6) |
329 | - | w.Parent=w.Part0 |
329 | + | |
330 | end | |
331 | - | w=Instance.new("Weld") |
331 | + | |
332 | - | w.Name="CheekWeld6" |
332 | + | function clerp(a,b,t) |
333 | - | w.Part0=Tool.Handle |
333 | + | local qa = {QuaternionFromCFrame(a)} |
334 | - | w.Part1=Tool.Cheek6 |
334 | + | local qb = {QuaternionFromCFrame(b)} |
335 | - | w.C0=CFrame.new(0,.85,0) |
335 | + | local ax, ay, az = a.x, a.y, a.z |
336 | - | w.Parent=w.Part0 |
336 | + | local bx, by, bz = b.x, b.y, b.z |
337 | local _t = 1-t | |
338 | - | w=Instance.new("Weld") |
338 | + | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
339 | - | w.Name="CheekWeld7" |
339 | + | end |
340 | - | w.Part0=Tool.Handle |
340 | + | |
341 | - | w.Part1=Tool.Cheek7 |
341 | + | function QuaternionFromCFrame(cf) |
342 | - | w.C0=CFrame.new(.4,1.25,0) |
342 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
343 | - | w.Parent=w.Part0 |
343 | + | local trace = m00 + m11 + m22 |
344 | if trace > 0 then | |
345 | - | w=Instance.new("Weld") |
345 | + | local s = math.sqrt(1 + trace) |
346 | - | w.Name="CheekWeld8" |
346 | + | local recip = 0.5/s |
347 | - | w.Part0=Tool.Handle |
347 | + | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
348 | - | w.Part1=Tool.Cheek8 |
348 | + | else |
349 | - | w.C0=CFrame.new(0,1.325,.275) |
349 | + | local i = 0 |
350 | - | w.Parent=w.Part0 |
350 | + | if m11 > m00 then |
351 | i = 1 | |
352 | - | w=Instance.new("Weld") |
352 | + | |
353 | - | w.Name="CheekWeld9" |
353 | + | if m22 > (i == 0 and m00 or m11) then |
354 | - | w.Part0=Tool.Handle |
354 | + | i = 2 |
355 | - | w.Part1=Tool.Cheek9 |
355 | + | end |
356 | - | w.C0=CFrame.new(-.4,1.25,0) |
356 | + | if i == 0 then |
357 | - | w.Parent=w.Part0 |
357 | + | local s = math.sqrt(m00-m11-m22+1) |
358 | local recip = 0.5/s | |
359 | - | w=Instance.new("Weld") |
359 | + | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
360 | - | w.Name="CheekWeldTop2" |
360 | + | elseif i == 1 then |
361 | - | w.Part0=Tool.Handle |
361 | + | local s = math.sqrt(m11-m22-m00+1) |
362 | - | w.Part1=Tool.Top2 |
362 | + | local recip = 0.5/s |
363 | - | w.C0=CFrame.new(0,1.65,-.0375) |
363 | + | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
364 | - | w.Parent=w.Part0 |
364 | + | elseif i == 2 then |
365 | local s = math.sqrt(m22-m00-m11+1) | |
366 | - | w=Instance.new("Weld") |
366 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
367 | - | w.Name="ChewWeld1" |
367 | + | end |
368 | - | w.Part0=Tool.Handle |
368 | + | end |
369 | - | w.Part1=Tool.Chew1 |
369 | + | |
370 | - | w.C0=CFrame.new(-.65,1.25,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) |
370 | + | |
371 | - | w.Parent=w.Part0 |
371 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
372 | local xs, ys, zs = x + x, y + y, z + z | |
373 | - | w=Instance.new("Weld") |
373 | + | local wx, wy, wz = w*xs, w*ys, w*zs |
374 | - | w.Name="ChewWeld2" |
374 | + | local xx = x*xs |
375 | - | w.Part0=Tool.Handle |
375 | + | local xy = x*ys |
376 | - | w.Part1=Tool.Chew2 |
376 | + | local xz = x*zs |
377 | - | w.C0=CFrame.new(.65,1.25,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) |
377 | + | local yy = y*ys |
378 | - | w.Parent=w.Part0 |
378 | + | local yz = y*zs |
379 | local zz = z*zs | |
380 | - | w=Instance.new("Weld") |
380 | + | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) |
381 | - | w.Name="CheekWeld10" |
381 | + | |
382 | - | w.Part0=Tool.Handle |
382 | + | |
383 | - | w.Part1=Tool.Cheek10 |
383 | + | function QuaternionSlerp(a, b, t) |
384 | - | w.C0=CFrame.new(0,1.25,.8) |
384 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
385 | - | w.Parent=w.Part0 |
385 | + | local startInterp, finishInterp; |
386 | if cosTheta >= 0.0001 then | |
387 | if (1 - cosTheta) > 0.0001 then | |
388 | local theta = math.acos(cosTheta) | |
389 | - | Weld() |
389 | + | local invSinTheta = 1/math.sin(theta) |
390 | - | Tool.AncestryChanged:connect(Weld) |
390 | + | startInterp = math.sin((1-t)*theta)*invSinTheta |
391 | - | end,o30) |
391 | + | finishInterp = math.sin(t*theta)*invSinTheta |
392 | else | |
393 | - | o31 = Create("Part",{ |
393 | + | startInterp = 1-t |
394 | - | ["Name"] = "Handle3", |
394 | + | finishInterp = t |
395 | - | ["Parent"] = o1, |
395 | + | end |
396 | - | ["BrickColor"] = BrickColor.new("Bright yellow"), |
396 | + | else |
397 | - | ["Position"] = Vector3.new(329.581451, 87.0765381, -127.407104), |
397 | + | if (1+cosTheta) > 0.0001 then |
398 | - | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), |
398 | + | local theta = math.acos(-cosTheta) |
399 | - | ["RotVelocity"] = Vector3.new(0, 0.144870773, 0), |
399 | + | local invSinTheta = 1/math.sin(theta) |
400 | - | ["Velocity"] = Vector3.new(-9.28361034, 0, 13.5006351), |
400 | + | startInterp = math.sin((t-1)*theta)*invSinTheta |
401 | - | ["CFrame"] = CFrame.new(329.581451, 87.0765381, -127.407104, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), |
401 | + | finishInterp = math.sin(t*theta)*invSinTheta |
402 | - | ["CanCollide"] = false, |
402 | + | else |
403 | - | ["Locked"] = true, |
403 | + | startInterp = t-1 |
404 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
404 | + | finishInterp = t |
405 | - | ["Size"] = Vector3.new(1, 2, 1), |
405 | + | end |
406 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
406 | + | end |
407 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
407 | + | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp |
408 | - | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), |
408 | + | |
409 | - | }) |
409 | + | |
410 | - | o32 = Create("SpecialMesh",{ |
410 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
411 | - | ["Parent"] = o31, |
411 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
412 | - | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), |
412 | + | end |
413 | - | ["MeshType"] = Enum.MeshType.Brick, |
413 | + | |
414 | - | }) |
414 | + | local function CFrameFromTopBack(at, top, back) |
415 | - | o33 = Create("Part",{ |
415 | + | local right = top:Cross(back) |
416 | - | ["Name"] = "Handle4", |
416 | + | return CFrame.new(at.x, at.y, at.z, |
417 | - | ["Parent"] = o1, |
417 | + | right.x, top.x, back.x, |
418 | - | ["BrickColor"] = BrickColor.new("Bright yellow"), |
418 | + | right.y, top.y, back.y, |
419 | - | ["Position"] = Vector3.new(331.399658, 87.0765381, -126.081665), |
419 | + | right.z, top.z, back.z) |
420 | - | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), |
420 | + | |
421 | - | ["RotVelocity"] = Vector3.new(0, 0.144870773, 0), |
421 | + | |
422 | - | ["Velocity"] = Vector3.new(-9.09159374, 0, 13.2372303), |
422 | + | --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) |
423 | - | ["CFrame"] = CFrame.new(331.399658, 87.0765381, -126.081665, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), |
423 | + | |
424 | - | ["CanCollide"] = false, |
424 | + | |
425 | - | ["Locked"] = true, |
425 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
426 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
426 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
427 | - | ["Size"] = Vector3.new(1, 2, 1), |
427 | + | end |
428 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
428 | + | |
429 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
429 | + | Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) |
430 | - | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), |
430 | + | if hit.Parent==nil then |
431 | - | }) |
431 | + | return |
432 | - | o34 = Create("SpecialMesh",{ |
432 | + | end |
433 | - | ["Parent"] = o33, |
433 | + | local h=hit.Parent:FindFirstChild("Humanoid") |
434 | - | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), |
434 | + | for _,v in pairs(hit.Parent:children()) do |
435 | - | ["MeshType"] = Enum.MeshType.Brick, |
435 | + | if v:IsA("Humanoid") then |
436 | - | }) |
436 | + | h=v |
437 | - | o35 = Create("Part",{ |
437 | + | end |
438 | - | ["Name"] = "Handle5", |
438 | + | end |
439 | - | ["Parent"] = o1, |
439 | + | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then |
440 | - | ["BrickColor"] = BrickColor.new("Br. yellowish green"), |
440 | + | h=hit.Parent.Parent:FindFirstChild("Humanoid") |
441 | - | ["Position"] = Vector3.new(330.202728, 85.5767822, -126.986076), |
441 | + | end |
442 | - | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), |
442 | + | if hit.Parent.className=="Hat" then |
443 | - | ["RotVelocity"] = Vector3.new(0, 0.144870773, 0), |
443 | + | hit=hit.Parent.Parent:findFirstChild("Head") |
444 | - | ["Velocity"] = Vector3.new(-9.22261715, 0, 13.4106302), |
444 | + | end |
445 | - | ["CFrame"] = CFrame.new(330.202728, 85.5767822, -126.986076, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), |
445 | + | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then |
446 | - | ["CanCollide"] = false, |
446 | + | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end |
447 | - | ["Locked"] = true, |
447 | + | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then |
448 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
448 | + | return |
449 | - | ["Size"] = Vector3.new(1, 2, 1), |
449 | + | end]] |
450 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
450 | + | -- hs(hit,1.2) |
451 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
451 | + | local c=Instance.new("ObjectValue") |
452 | - | ["Color"] = Color3.new(0.643137, 0.741176, 0.278431), |
452 | + | c.Name="creator" |
453 | - | }) |
453 | + | c.Value=owner |
454 | - | o36 = Create("SpecialMesh",{ |
454 | + | c.Parent=h |
455 | - | ["Parent"] = o35, |
455 | + | game:GetService("Debris"):AddItem(c,.5) |
456 | - | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), |
456 | + | local Damage=math.random(minim,maxim) |
457 | - | ["MeshType"] = Enum.MeshType.Brick, |
457 | + | -- h:TakeDamage(Damage) |
458 | - | }) |
458 | + | local blocked=false |
459 | - | o37 = Create("Part",{ |
459 | + | local block=hit.Parent:findFirstChild("Block") |
460 | - | ["Name"] = "Handle6", |
460 | + | if block~=nil then |
461 | - | ["Parent"] = o1, |
461 | + | print(block.className) |
462 | - | ["BrickColor"] = BrickColor.new("Br. yellowish green"), |
462 | + | if block.className=="NumberValue" then |
463 | - | ["Position"] = Vector3.new(330.808777, 85.5767822, -126.544312), |
463 | + | if block.Value>0 then |
464 | - | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), |
464 | + | blocked=true |
465 | - | ["RotVelocity"] = Vector3.new(0, 0.144870773, 0), |
465 | + | if decreaseblock==nil then |
466 | - | ["Velocity"] = Vector3.new(-9.15861702, 0, 13.3228292), |
466 | + | block.Value=block.Value-1 |
467 | - | ["CFrame"] = CFrame.new(330.808777, 85.5767822, -126.544312, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), |
467 | + | end |
468 | - | ["CanCollide"] = false, |
468 | + | end |
469 | - | ["Locked"] = true, |
469 | + | end |
470 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
470 | + | if block.className=="IntValue" then |
471 | - | ["Size"] = Vector3.new(1, 2, 1), |
471 | + | if block.Value>0 then |
472 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
472 | + | blocked=true |
473 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
473 | + | if decreaseblock~=nil then |
474 | - | ["Color"] = Color3.new(0.643137, 0.741176, 0.278431), |
474 | + | block.Value=block.Value-1 |
475 | - | }) |
475 | + | end |
476 | - | o38 = Create("SpecialMesh",{ |
476 | + | end |
477 | - | ["Parent"] = o37, |
477 | + | end |
478 | - | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), |
478 | + | end |
479 | - | ["MeshType"] = Enum.MeshType.Brick, |
479 | + | if blocked==false then |
480 | - | }) |
480 | + | -- h:TakeDamage(Damage) |
481 | - | o39 = Create("Part",{ |
481 | + | h.Health=h.Health-Damage |
482 | - | ["Name"] = "Cheek1", |
482 | + | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) |
483 | - | ["Parent"] = o1, |
483 | + | else |
484 | - | ["BrickColor"] = BrickColor.new("Bright yellow"), |
484 | + | h.Health=h.Health-(Damage/2) |
485 | - | ["Position"] = Vector3.new(330.81955, 88.400444, -126.474121), |
485 | + | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color) |
486 | - | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), |
486 | + | end |
487 | - | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), |
487 | + | if Type=="Knockdown" then |
488 | - | ["Velocity"] = Vector3.new(-9.13731194, 0, 13.3590374), |
488 | + | local hum=hit.Parent.Humanoid |
489 | - | ["CFrame"] = CFrame.new(330.81955, 88.400444, -126.474121, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), |
489 | + | hum.PlatformStand=true |
490 | - | ["CanCollide"] = false, |
490 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
491 | - | ["Locked"] = true, |
491 | + | swait(1) |
492 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
492 | + | HHumanoid.PlatformStand=false |
493 | - | ["Size"] = Vector3.new(1, 1, 1), |
493 | + | end),hum) |
494 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
494 | + | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit |
495 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
495 | + | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) |
496 | - | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), |
496 | + | local bodvol=Instance.new("BodyVelocity") |
497 | - | }) |
497 | + | bodvol.velocity=angle*knockback |
498 | - | o40 = Create("SpecialMesh",{ |
498 | + | bodvol.P=5000 |
499 | - | ["Parent"] = o39, |
499 | + | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
500 | - | ["Scale"] = Vector3.new(0.150000006, 0.850000024, 0.75), |
500 | + | bodvol.Parent=hit |
501 | - | ["MeshType"] = Enum.MeshType.Brick, |
501 | + | local rl=Instance.new("BodyAngularVelocity") |
502 | - | }) |
502 | + | rl.P=3000 |
503 | - | o41 = Create("Part",{ |
503 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
504 | - | ["Name"] = "Cheek2", |
504 | + | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
505 | - | ["Parent"] = o1, |
505 | + | rl.Parent=hit |
506 | - | ["BrickColor"] = BrickColor.new("Bright yellow"), |
506 | + | game:GetService("Debris"):AddItem(bodvol,.5) |
507 | - | ["Position"] = Vector3.new(330.13266, 88.400444, -126.974854), |
507 | + | game:GetService("Debris"):AddItem(rl,.5) |
508 | - | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), |
508 | + | elseif Type=="Normal" then |
509 | - | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), |
509 | + | local vp=Instance.new("BodyVelocity") |
510 | - | ["Velocity"] = Vector3.new(-9.22101402, 0, 13.4738541), |
510 | + | vp.P=500 |
511 | - | ["CFrame"] = CFrame.new(330.13266, 88.400444, -126.974854, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), |
511 | + | vp.maxForce=Vector3.new(math.huge,0,math.huge) |
512 | - | ["CanCollide"] = false, |
512 | + | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback |
513 | - | ["Locked"] = true, |
513 | + | if KnockbackType==1 then |
514 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
514 | + | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 |
515 | - | ["Size"] = Vector3.new(1, 1, 1), |
515 | + | elseif KnockbackType==2 then |
516 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
516 | + | vp.velocity=Property.CFrame.lookVector*knockback |
517 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
517 | + | end |
518 | - | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), |
518 | + | if knockback>0 then |
519 | - | }) |
519 | + | vp.Parent=hit.Parent.Torso |
520 | - | o42 = Create("SpecialMesh",{ |
520 | + | end |
521 | - | ["Parent"] = o41, |
521 | + | game:GetService("Debris"):AddItem(vp,.5) |
522 | - | ["Scale"] = Vector3.new(0.150000006, 0.850000024, 0.75), |
522 | + | elseif Type=="Up" then |
523 | - | ["MeshType"] = Enum.MeshType.Brick, |
523 | + | local bodyVelocity=Instance.new("BodyVelocity") |
524 | - | }) |
524 | + | bodyVelocity.velocity=vt(0,60,0) |
525 | - | o43 = Create("Part",{ |
525 | + | bodyVelocity.P=5000 |
526 | - | ["Name"] = "Cheek3", |
526 | + | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
527 | - | ["Parent"] = o1, |
527 | + | bodyVelocity.Parent=hit |
528 | - | ["BrickColor"] = BrickColor.new("Bright yellow"), |
528 | + | game:GetService("Debris"):AddItem(bodyVelocity,1) |
529 | - | ["Position"] = Vector3.new(330.652802, 88.4058228, -126.966919), |
529 | + | local rl=Instance.new("BodyAngularVelocity") |
530 | - | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), |
530 | + | rl.P=3000 |
531 | - | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), |
531 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
532 | - | ["Velocity"] = Vector3.new(-9.21968746, 0, 13.3869104), |
532 | + | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) |
533 | - | ["CFrame"] = CFrame.new(330.652802, 88.4058228, -126.966919, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), |
533 | + | rl.Parent=hit |
534 | - | ["CanCollide"] = false, |
534 | + | game:GetService("Debris"):AddItem(rl,.5) |
535 | - | ["Locked"] = true, |
535 | + | elseif Type=="Snare" then |
536 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
536 | + | local bp=Instance.new("BodyPosition") |
537 | - | ["Size"] = Vector3.new(1, 1, 1), |
537 | + | bp.P=2000 |
538 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
538 | + | bp.D=100 |
539 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
539 | + | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
540 | - | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), |
540 | + | bp.position=hit.Parent.Torso.Position |
541 | - | }) |
541 | + | bp.Parent=hit.Parent.Torso |
542 | - | o44 = Create("SpecialMesh",{ |
542 | + | game:GetService("Debris"):AddItem(bp,1) |
543 | - | ["Parent"] = o43, |
543 | + | elseif Type=="Target" then |
544 | - | ["Scale"] = Vector3.new(0.75, 0.850000024, 0.150000006), |
544 | + | local Targetting = false |
545 | - | ["MeshType"] = Enum.MeshType.Brick, |
545 | + | if Targetting==false then |
546 | - | }) |
546 | + | ZTarget=hit.Parent.Torso |
547 | - | o45 = Create("Part",{ |
547 | + | coroutine.resume(coroutine.create(function(Part) |
548 | - | ["Name"] = "Top", |
548 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) |
549 | - | ["Parent"] = o1, |
549 | + | swait(5) |
550 | - | ["BrickColor"] = BrickColor.new("Bright yellow"), |
550 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) |
551 | - | ["Position"] = Vector3.new(330.450348, 88.7497482, -126.689087), |
551 | + | end),ZTarget) |
552 | - | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), |
552 | + | local TargHum=ZTarget.Parent:findFirstChild("Humanoid") |
553 | - | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), |
553 | + | local targetgui=Instance.new("BillboardGui") |
554 | - | ["Velocity"] = Vector3.new(-9.17324543, 0, 13.4207516), |
554 | + | targetgui.Parent=ZTarget |
555 | - | ["CFrame"] = CFrame.new(330.450348, 88.7497482, -126.689087, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), |
555 | + | targetgui.Size=UDim2.new(10,100,10,100) |
556 | - | ["CanCollide"] = false, |
556 | + | local targ=Instance.new("ImageLabel") |
557 | - | ["Locked"] = true, |
557 | + | targ.Parent=targetgui |
558 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
558 | + | targ.BackgroundTransparency=1 |
559 | - | ["Size"] = Vector3.new(1, 1, 1), |
559 | + | targ.Image="rbxassetid://4834067" |
560 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
560 | + | targ.Size=UDim2.new(1,0,1,0) |
561 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
561 | + | cam.CameraType="Scriptable" |
562 | - | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), |
562 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
563 | - | }) |
563 | + | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
564 | - | o46 = Create("SpecialMesh",{ |
564 | + | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
565 | - | ["Parent"] = o45, |
565 | + | Targetting=true |
566 | - | ["Scale"] = Vector3.new(0.925000012, 0.150000006, 0.675000012), |
566 | + | RocketTarget=ZTarget |
567 | - | ["MeshType"] = Enum.MeshType.Brick, |
567 | + | for i=1,Property do |
568 | - | }) |
568 | + | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do |
569 | - | o47 = Create("Part",{ |
569 | + | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then |
570 | - | ["Name"] = "Cheek4", |
570 | + | swait() |
571 | - | ["Parent"] = o1, |
571 | + | end |
572 | - | ["BrickColor"] = BrickColor.new("Bright yellow"), |
572 | + | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) |
573 | - | ["Position"] = Vector3.new(330.298645, 88.4700928, -126.480957), |
573 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
574 | - | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), |
574 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
575 | - | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), |
575 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) |
576 | - | ["Velocity"] = Vector3.new(-9.13845539, 0, 13.4461126), |
576 | + | end |
577 | - | ["CFrame"] = CFrame.new(330.298645, 88.4700928, -126.480957, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), |
577 | + | Targetting=false |
578 | - | ["CanCollide"] = false, |
578 | + | RocketTarget=nil |
579 | - | ["Locked"] = true, |
579 | + | targetgui.Parent=nil |
580 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
580 | + | cam.CameraType="Custom" |
581 | - | ["Size"] = Vector3.new(1, 1, 1), |
581 | + | end |
582 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
582 | + | end |
583 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
583 | + | local debounce=Instance.new("BoolValue") |
584 | - | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), |
584 | + | debounce.Name="DebounceHit" |
585 | - | }) |
585 | + | debounce.Parent=hit.Parent |
586 | - | o48 = Create("SpecialMesh",{ |
586 | + | debounce.Value=true |
587 | - | ["Parent"] = o47, |
587 | + | game:GetService("Debris"):AddItem(debounce,Delay) |
588 | - | ["Scale"] = Vector3.new(0.75, 0.425000012, 0.150000006), |
588 | + | c=Instance.new("ObjectValue") |
589 | - | ["MeshType"] = Enum.MeshType.Brick, |
589 | + | c.Name="creator" |
590 | - | }) |
590 | + | c.Value=Player |
591 | - | o49 = Create("Part",{ |
591 | + | c.Parent=h |
592 | - | ["Name"] = "Cheek5", |
592 | + | game:GetService("Debris"):AddItem(c,.5) |
593 | - | ["Parent"] = o1, |
593 | + | end |
594 | - | ["BrickColor"] = BrickColor.new("Bright yellow"), |
594 | + | |
595 | - | ["Position"] = Vector3.new(330.302307, 88.1201782, -126.486076), |
595 | + | |
596 | - | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), |
596 | + | |
597 | - | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), |
597 | + | function ShowDamage(Pos, Text, Time, Color) |
598 | - | ["Velocity"] = Vector3.new(-9.13931179, 0, 13.4454994), |
598 | + | local Rate = (1 / 30) |
599 | - | ["CFrame"] = CFrame.new(330.302307, 88.1201782, -126.486076, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), |
599 | + | local Pos = (Pos or Vector3.new(0, 0, 0)) |
600 | - | ["CanCollide"] = false, |
600 | + | local Text = (Text or "") |
601 | - | ["Locked"] = true, |
601 | + | local Time = (Time or 2) |
602 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
602 | + | local Color = (Color or Color3.new(1, 0, 0)) |
603 | - | ["Size"] = Vector3.new(1, 1, 1), |
603 | + | local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0)) |
604 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
604 | + | EffectPart.Anchored = true |
605 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
605 | + | local BillboardGui = Instance.new("BillboardGui") |
606 | - | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), |
606 | + | BillboardGui.Size = UDim2.new(3, 0, 3, 0) |
607 | - | }) |
607 | + | BillboardGui.Adornee = EffectPart |
608 | - | o50 = Create("SpecialMesh",{ |
608 | + | local TextLabel = Instance.new("TextLabel") |
609 | - | ["Parent"] = o49, |
609 | + | TextLabel.BackgroundTransparency = 1 |
610 | - | ["Scale"] = Vector3.new(0.725000024, 0.310000002, 0.150000006), |
610 | + | TextLabel.Size = UDim2.new(1, 0, 1, 0) |
611 | - | ["MeshType"] = Enum.MeshType.Brick, |
611 | + | TextLabel.Text = Text |
612 | - | }) |
612 | + | TextLabel.TextColor3 = Color |
613 | - | o51 = Create("Part",{ |
613 | + | TextLabel.TextScaled = true |
614 | - | ["Name"] = "Face", |
614 | + | TextLabel.Font = Enum.Font.ArialBold |
615 | - | ["Parent"] = o1, |
615 | + | TextLabel.Parent = BillboardGui |
616 | - | ["BrickColor"] = BrickColor.new("Bright yellow"), |
616 | + | BillboardGui.Parent = EffectPart |
617 | - | ["Position"] = Vector3.new(330.246674, 88.3685303, -126.40966), |
617 | + | game.Debris:AddItem(EffectPart, (Time + 0.1)) |
618 | - | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), |
618 | + | EffectPart.Parent = game:GetService("Workspace") |
619 | - | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), |
619 | + | Delay(0, function() |
620 | - | ["Velocity"] = Vector3.new(-9.12653828, 0, 13.4547977), |
620 | + | local Frames = (Time / Rate) |
621 | - | ["CFrame"] = CFrame.new(330.246674, 88.3685303, -126.40966, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), |
621 | + | for Frame = 1, Frames do |
622 | - | ["CanCollide"] = false, |
622 | + | wait(Rate) |
623 | - | ["Locked"] = true, |
623 | + | local Percent = (Frame / Frames) |
624 | - | ["FormFactor"] = Enum.FormFactor.Symmetric, |
624 | + | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
625 | - | ["Size"] = Vector3.new(1, 1, 1), |
625 | + | TextLabel.TextTransparency = Percent |
626 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
626 | + | |
627 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
627 | + | if EffectPart and EffectPart.Parent then |
628 | - | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), |
628 | + | EffectPart:Destroy() |
629 | - | }) |
629 | + | |
630 | - | o52 = Create("SpecialMesh",{ |
630 | + | end) |
631 | - | ["Parent"] = o51, |
631 | + | |
632 | - | ["Scale"] = Vector3.new(1, 1, 0.00200000009), |
632 | + | |
633 | - | ["MeshType"] = Enum.MeshType.Brick, |
633 | + | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.296501815, 5.18878126, 0.296499223)) |
634 | - | }) |
634 | + | Handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.10050106, -1.63029861, -0.888347149, -1, 0, 0, 0, 0, -1, -0, -0.999999881, -0)) |
635 | - | o53 = Create("Decal",{ |
635 | + | mesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
636 | - | ["Parent"] = o51, |
636 | + | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really red","Hitbox",Vector3.new(0.200000003, 6.98600721, 2.19299841)) |
637 | - | ["Texture"] = "http://www.roblox.com/asset/?id=8056256", |
637 | + | Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -3.93773937, 2.93521118, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) |
638 | - | }) |
638 | + | mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1)) |
639 | - | o54 = Create("IntValue",{ |
639 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2.52026534, 0.200000003)) |
640 | - | ["Name"] = "Nom", |
640 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, -1.70486319, 3.70584869, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) |
641 | - | ["Parent"] = o1, |
641 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) |
642 | - | ["Value"] = 204, |
642 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
643 | - | }) |
643 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, 0.815379143, 3.85409546, -0.999993443, -5.94257529e-007, -4.47034836e-008, -2.98022105e-008, -6.0737176e-007, -0.999998927, 5.9425787e-007, -0.999993384, 6.66978679e-007)) |
644 | - | o55 = Create("LocalScript",{ |
644 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
645 | - | ["Parent"] = o1, |
645 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.03775609, 0.311326832, 1.18599701)) |
646 | - | }) |
646 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.40932465, 3.81469727e-006, -6.91413879e-006, -2.98023295e-008, -1, -0, 1, -2.98023295e-008, 0, 0, 0, 0.999999762)) |
647 | - | table.insert(cors,coroutine.create(function() |
647 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
648 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501815, 0.889504969, 0.200000003)) | |
649 | - | runDummyScript(function() |
649 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.86102295e-006, -1.34825706, -1.8123436, 0.999997854, 1.3482402e-007, 1.3200642e-007, -1.99253947e-009, 0.707105041, -0.707106531, -1.88677433e-007, 0.7071051, 0.707106531)) |
650 | - | --Saz |
650 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.741248071)) |
651 | - | --Based off of Mario's Castle Collab 1/2 |
651 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501815, 0.889504969, 0.200000003)) |
652 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.76837158e-006, 1.33309555, -1.79717827, 0.999997854, 7.14049833e-008, 2.88419812e-007, -2.54434127e-007, 0.707104981, 0.707106411, -1.53452262e-007, -0.707104921, 0.707106352)) | |
653 | - | --My finest creation |
653 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.741248071)) |
654 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
655 | - | wait(2) |
655 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, -2.44612718, 3.85409546, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) |
656 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) | |
657 | - | Tool=script.Parent |
657 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.296501756, 0.200000003)) |
658 | - | Scaling=0 |
658 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -2.37199664, -2.81639481, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007)) |
659 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) | |
660 | - | Chewing=false |
660 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
661 | - | canScale=true |
661 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.90734863e-006, 2.14962149, -2.81639862, 0.999993205, 5.96046448e-007, -4.47034836e-008, 2.98021234e-008, 6.07371646e-007, -0.999998927, -5.96046448e-007, 0.999993205, 6.66978679e-007)) |
662 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) | |
663 | - | OnlyEyes="http://www.roblox.com/asset/?id=98704326" |
663 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.593003511, 0.200000003)) |
664 | - | MouthToo="http://www.roblox.com/asset/?id=8056256" |
664 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, -1.18598497, 3.85409546, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) |
665 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) | |
666 | - | BESTSIZE=0 |
666 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
667 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -2.59437418, -2.81639481, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007)) | |
668 | - | permobjects={} |
668 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
669 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
670 | - | updateScaling=function() --updates the mouth. |
670 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, -1.55661559, 3.85409546, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) |
671 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) | |
672 | - | if canScale==false then return end |
672 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.326151937, 0.296499252)) |
673 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.8536377, 0.000444412231, -6.91413879e-006, -2.9802333e-008, -0.999999762, -0, 1, -2.98023402e-008, 0, 0, 0, 0.999999523)) | |
674 | - | Lol=Scaling/6 |
674 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1)) |
675 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
676 | - | Tool.Handle2.Mesh.Scale=Vector3.new(1, 0.15, 0.75) + Vector3.new(Lol/10*2.5, 0, 0) |
676 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, 2.0013752, 3.85409546, -0.999993443, -5.94257529e-007, -4.47034836e-008, -2.98022105e-008, -6.0737176e-007, -0.999998927, 5.9425787e-007, -0.999993384, 6.66978679e-007)) |
677 | - | Tool.Cheek6.Mesh.Scale=Vector3.new(0.85, 0.15, 0.6) + Vector3.new(Lol/10*2.5, 0, 0) |
677 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
678 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.296501756, 0.200000003)) | |
679 | - | Tool.Cheek1.Mesh.Scale=Vector3.new(0.15, 0.85, 0.75) + Vector3.new(0, Lol, 0) |
679 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, -2.22374678, 3.85409546, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) |
680 | - | Tool.Handle.CheekWeld1.C0=CFrame.new(-.425,1.325,0) * CFrame.new(-Lol/20*2.5, Lol/2, 0) |
680 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) |
681 | - | Tool.Cheek9.Mesh.Scale=Vector3.new(0.15, 0.7, 0.6) + Vector3.new(0, Lol, 0) |
681 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.296499103)) |
682 | - | Tool.Handle.CheekWeld9.C0=CFrame.new(-.4,1.25,0) * CFrame.new(-Lol/20*2.5, Lol/2, 0) |
682 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.80853271, 0.000414848328, 3.47587585, 1.29208814e-007, -0.866024733, -0.499999523, 1, 2.00156606e-007, -8.8263846e-008, 1.76517091e-007, -0.499999642, 0.866024554)) |
683 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) | |
684 | - | Tool.Cheek2.Mesh.Scale=Vector3.new(0.15, 0.85, 0.75) + Vector3.new(0, Lol, 0) |
684 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.889505386, 0.200000003)) |
685 | - | Tool.Handle.CheekWeld2.C0=CFrame.new(.425,1.325,0) * CFrame.new(Lol/20*2.5, Lol/2, 0) |
685 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00040435791, -1.87283707, -3.30593491, 0.999993205, 3.10420091e-006, 4.20707329e-006, 5.11838152e-006, -0.500021577, -0.86601007, -5.17362992e-007, 0.86601001, -0.500015497)) |
686 | - | Tool.Cheek7.Mesh.Scale=Vector3.new(0.15, 0.7, 0.6) + Vector3.new(0, Lol, 0) |
686 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) |
687 | - | Tool.Handle.CheekWeld7.C0=CFrame.new(.4,1.25,0) * CFrame.new(Lol/20*2.5, Lol/2, 0) |
687 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.296499103)) |
688 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15766907, 0.000414848328, -0.0542945862, 1.73149076e-007, -0.866024733, 0.499999464, 1, 1.09283768e-007, -1.57012991e-007, 8.13355285e-008, 0.499999583, 0.866024554)) | |
689 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) | |
690 | - | Tool.Top.Mesh.Scale=Vector3.new(0.925, 0.15, 0.675) + Vector3.new(Lol/10*2.5, 0, 0) |
690 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.444752693, 0.200000003)) |
691 | - | Tool.Handle.CheekWeldTop.C0=CFrame.new(0,1.675,-.0375) * CFrame.new(0, Lol, 0) |
691 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000381469727, 0.518871069, 4.00193787, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) |
692 | - | Tool.Top2.Mesh.Scale=Vector3.new(0.9, 0.15, 0.65) + Vector3.new(Lol/10*2.5, 0, 0) |
692 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.741248071)) |
693 | - | Tool.Handle.CheekWeldTop2.C0=CFrame.new(0,1.65,-.0375) * CFrame.new(0, Lol, 0) |
693 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
694 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15768051, 0.000414848328, 0.168071747, 1.73149047e-007, -0.866024673, 0.499999404, 1, 1.09283775e-007, -1.57012963e-007, 8.13355712e-008, 0.499999523, 0.866024494)) | |
695 | - | Tool.Cheek3.Mesh.Scale=Vector3.new(0.75, 0.85, 0.15) + Vector3.new(Lol/10*2.5, Lol, 0) |
695 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
696 | - | Tool.Handle.CheekWeld3.C0=CFrame.new(0,1.325,.3) * CFrame.new(0, Lol/2, 0) |
696 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 1.77899528)) |
697 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.9568634, 0.000414848328, 4.06890678, 1.29209454e-007, -0.866017103, -0.499994904, 0.99999994, 2.00155014e-007, -8.82613804e-008, 1.7651513e-007, -0.499995023, 0.866016924)) | |
698 | - | Tool.Cheek8.Mesh.Scale=Vector3.new(0.75, 0.84, 0.15) + Vector3.new(Lol/10*2.5, Lol, 0) |
698 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) |
699 | - | Tool.Handle.CheekWeld8.C0=CFrame.new(0,1.325,.275) * CFrame.new(0, Lol/2, 0) |
699 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.741247892)) |
700 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.6042366, 0.000414848328, 1.40539384, 7.28354408e-008, -0.999999523, 2.98026634e-008, 1, 7.28354905e-008, -1.137834e-007, 1.13783528e-007, 2.9802635e-008, 0.999999285)) | |
701 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) | |
702 | - | Tool.Handle.FaceWeld.C0=CFrame.new(0,1.3,-.39) * CFrame.new(0, Lol/1.01, 0) |
702 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.741247892)) |
703 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15763474, 0.000415802002, -0.721405029, 8.67096972e-008, -0.866025329, 0.499999881, 1, 3.44270887e-008, -1.13789923e-007, 8.13314571e-008, 0.5, 0.86602515)) | |
704 | - | Tool.Cheek4.Mesh.Scale=Vector3.new(0.75, 0.425, 0.15) + Vector3.new(Lol/10*2.5, Lol/40, 0) |
704 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) |
705 | - | Tool.Handle.CheekWeld4.C0=CFrame.new(0,1.4,-.3) * CFrame.new(0, Lol, 0) |
705 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.741247892)) |
706 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.95671082, 0.000415802002, 2.80871201, 4.27689706e-008, -0.86602515, -0.499999851, 0.999999762, 1.25296964e-007, -1.31482579e-007, 1.76515783e-007, -0.499999851, 0.866025209)) | |
707 | - | Tool.Cheek10.Mesh.Scale=Vector3.new(1,1,1) + Vector3.new(Lol/10*2.5, Lol, BESTSIZE/10) |
707 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) |
708 | - | Tool.Handle.CheekWeld10.C0=CFrame.new(0,1.25,.8) * CFrame.new(0, Lol/2, BESTSIZE/20) |
708 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.592998326)) |
709 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15768814, 0.000414848328, 0.538698196, 1.73149076e-007, -0.866024733, 0.499999464, 1, 1.09283768e-007, -1.57012991e-007, 8.1335557e-008, 0.499999583, 0.866024554)) | |
710 | - | if Scaling>0 then |
710 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) |
711 | - | Tool.Face.Decal.Texture=OnlyEyes |
711 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.593003631, 0.200000003)) |
712 | - | Tool.Cheek5.Transparency=1 |
712 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000418663025, -4.66182327, -2.80873108, 0.999993205, -2.08179517e-006, 4.68745384e-006, 5.02319881e-006, 0.499976099, -0.866036355, -4.73424905e-007, 0.866031289, 0.499978751)) |
713 | - | else |
713 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) |
714 | - | Tool.Face.Decal.Texture=MouthToo |
714 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.741247892)) |
715 | - | Tool.Cheek5.Transparency=0 |
715 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.30587387, 0.000415802002, -0.721378326, 8.67091714e-008, -0.866024256, 0.499999464, 0.999999046, 3.4425458e-008, -1.13791891e-007, 8.13342709e-008, 0.499999762, 0.86602515)) |
716 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) | |
717 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.741247892)) | |
718 | - | if BESTSIZE>0 then |
718 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.80846024, 0.000415802002, 2.8087101, 4.27693685e-008, -0.86602515, -0.499999851, 0.999999762, 1.25295941e-007, -1.31480022e-007, 1.76513069e-007, -0.499999851, 0.866025209)) |
719 | - | Tool.Cheek10.Transparency=0 |
719 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) |
720 | - | else |
720 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
721 | - | Tool.Cheek10.Transparency=1 |
721 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15765762, 0.000414848328, -0.27664566, 1.73148948e-007, -0.866023302, 0.499998629, 1, 1.09283704e-007, -1.57012749e-007, 8.13356706e-008, 0.499998748, 0.866023123)) |
722 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) | |
723 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.889505386, 0.200000003)) | |
724 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000422477722, -5.40308189, -2.95698166, 0.999993205, -2.08179517e-006, 4.68745384e-006, 5.02319881e-006, 0.499976099, -0.866036355, -4.73424905e-007, 0.866031289, 0.499978751)) | |
725 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) | |
726 | - | Chew=function() --nomnom |
726 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.593003631, 0.200000003)) |
727 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000400543213, -1.13156891, -3.15768433, 0.999993205, 3.10420091e-006, 4.20707329e-006, 5.11838152e-006, -0.500021577, -0.86601007, -5.17362992e-007, 0.86601001, -0.500015497)) | |
728 | - | Chewing=true |
728 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) |
729 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
730 | - | start=0 |
730 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.80859375, 0.000414848328, 3.69829178, 1.29208786e-007, -0.866024613, -0.499999523, 1, 2.00156563e-007, -8.82638247e-008, 1.76517119e-007, -0.499999642, 0.866024435)) |
731 | - | Tool.Chew1.Transparency=0 |
731 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
732 | - | Tool.Chew2.Transparency=0 |
732 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.741254389, 0.296501786, 0.889497578)) |
733 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55724716, 0.000415802002, 0.593008757, -2.98023437e-008, -1, -0, 1, -2.98023437e-008, 0, 0, 0, 0.999999762)) | |
734 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
735 | - | for lol=1, 3 do |
735 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.80845261, 0.000414848328, 3.25345612, 1.29208672e-007, -0.866023123, -0.499998778, 0.999999762, 2.00156279e-007, -8.82637536e-008, 1.76517077e-007, -0.499998778, 0.866023183)) |
736 | - | |
736 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
737 | - | Tool.Handle.NOM1:Play() |
737 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 1.77899528)) |
738 | - | Tool.Handle.NOM2:Play() |
738 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.30587006, 0.000414848328, 0.538694382, 1.73149331e-007, -0.866016984, 0.499995172, 0.99999994, 1.09285118e-007, -1.57010405e-007, 8.13343917e-008, 0.499995291, 0.866016805)) |
739 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) | |
740 | - | if math.random(1,3)~=1 then |
740 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.592998326)) |
741 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.80862808, 0.000414848328, 4.06892586, 1.29208814e-007, -0.866024733, -0.499999523, 1, 2.00156606e-007, -8.8263846e-008, 1.76517119e-007, -0.499999642, 0.866024554)) | |
742 | - | Tool.Handle.NOM1.Pitch=.7625 + math.random(-700,150)/15000 |
742 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) |
743 | - | Tool.Handle.NOM2.Pitch=1 + math.random(-700,150)/15000 |
743 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
744 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.53674316e-007, 2.89088011, 3.26107788, -0.999993324, -1.62995764e-006, 4.10754041e-007, -2.91542648e-007, 1.04308128e-007, -0.999998927, 1.61505602e-006, -0.999993324, -2.53319683e-007)) | |
745 | - | else |
745 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
746 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
747 | - | Tool.Handle.NOM1.Pitch=.8 |
747 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -2.89087987, -3.26107788, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007)) |
748 | - | Tool.Handle.NOM2.Pitch=.95 |
748 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
749 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501815, 4.00277376, 0.200000003)) | |
750 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -0.00343322754, -0.573273778, 0.999997854, 1.29937892e-008, 1.07842467e-007, -1.29937483e-008, 0.999997437, 0, -1.07842268e-007, 5.96046448e-008, 0.999999464)) | |
751 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.741248071)) | |
752 | - | for i=1, 6 do |
752 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
753 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.26012194, -2.81639481, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007)) | |
754 | - | Scaling=0-i/3 |
754 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
755 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
756 | - | Tool.Chew2.Mesh.Scale=Vector3.new(0.5, 0.65, 0.5) - Vector3.new(Scaling,Scaling/5,Scaling)/4 |
756 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.90734863e-006, 0.815383554, -2.81639481, 0.999993205, 5.96046448e-007, -4.47034836e-008, 2.98021234e-008, 6.07371646e-007, -0.999998927, -5.96046448e-007, 0.999993205, 6.66978679e-007)) |
757 | - | Tool.Handle.ChewWeld2.C0=CFrame.new(.5,1.15,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0, 0, -Scaling/150) |
757 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
758 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.18600714, 0.592998505)) | |
759 | - | Tool.Chew1.Mesh.Scale=Vector3.new(0.5, 0.65, 0.5) - Vector3.new(Scaling,Scaling/5,Scaling)/4 |
759 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -1.03774309, 3.33521271, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) |
760 | - | Tool.Handle.ChewWeld1.C0=CFrame.new(-.5,1.15,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0, 0, -Scaling/150) |
760 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1)) |
761 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.296501756, 0.200000003)) | |
762 | - | wait() |
762 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.0377425, -2.81639481, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007)) |
763 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) | |
764 | - | for i=1, 5 do |
764 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.592998505)) |
765 | - | Scaling=-(5/3)+i/3 |
765 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -1.70486319, 3.33521271, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) |
766 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) | |
767 | - | Tool.Chew2.Mesh.Scale=Vector3.new(0.5, 0.65, 0.5) - Vector3.new(Scaling,Scaling/5,Scaling)/4 |
767 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.0377562, 0.200000003)) |
768 | - | Tool.Handle.ChewWeld2.C0=CFrame.new(.5,1.15,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0, 0, -Scaling/150) |
768 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -2.2978766, 3.26107407, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) |
769 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) | |
770 | - | Tool.Chew1.Mesh.Scale=Vector3.new(0.5, 0.65, 0.5) - Vector3.new(Scaling,Scaling/5,Scaling)/4 |
770 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.200000003, 0.200000003)) |
771 | - | Tool.Handle.ChewWeld1.C0=CFrame.new(-.5,1.15,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0, 0, -Scaling/150) |
771 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.48348236, 3.81469727e-006, -2.2978785, -2.98023224e-008, -0.999999821, -0, 0.999999821, -2.98023224e-008, 0, 0, 0, 0.999999762)) |
772 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.815379977, 0.741248071)) | |
773 | - | wait() |
773 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.296499252)) |
774 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -2.89088058, 3.48345947, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
775 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) | |
776 | - | Tool.Chew1.Transparency=1 |
776 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.18600726, 0.200000003)) |
777 | - | Tool.Chew2.Transparency=1 |
777 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -2.37198853, 3.11284637, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) |
778 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) | |
779 | - | if Tool.Nom.Value>300 then Tool.Nom.Value=300 Tool.Handle.FULL:Play() end |
779 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.200000003, 0.200000003)) |
780 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.48348236, 3.81469727e-006, -2.00137448, -2.98023224e-008, -0.999999821, -0, 0.999999821, -2.98023224e-008, 0, 0, 0, 0.999999762)) | |
781 | - | Chewing=false |
781 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.815379977, 0.741248071)) |
782 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.200000003, 0.200000003)) | |
783 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.48348236, 3.81469727e-006, -2.5943768, -2.98023224e-008, -0.999999821, -0, 0.999999821, -2.98023224e-008, 0, 0, 0, 0.999999762)) | |
784 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.815379977, 0.741248071)) | |
785 | - | EatObject=function(Object) --Attempts to eat the object, annihilate it and gain charges. |
785 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.0377562, 0.296499252)) |
786 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -2.29787683, 3.48345947, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
787 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1)) | |
788 | - | Attackdeb=true |
788 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 2.07551241, 0.592998505)) |
789 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -4.00276041, 3.33521271, 0.999993443, 1.45976469e-006, 1.94331719e-007, -7.51218181e-008, 1.49011612e-007, 0.999998868, 1.45976469e-006, -0.999993384, 2.23517361e-007)) | |
790 | - | GetNearParts=function(Model) |
790 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.815379918, 1, 1)) |
791 | - | local pen={} |
791 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2.9650178, 0.889497638)) |
792 | - | for __,vv in pairs(Model:children()) do |
792 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -4.4475174, 3.33521271, 0.999993443, 1.45976469e-006, 1.94331719e-007, -7.51218181e-008, 1.49011612e-007, 0.999998868, 1.45976469e-006, -0.999993384, 2.23517361e-007)) |
793 | - | if vv.className=="Model" then |
793 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1)) |
794 | - | for ___,vvv in pairs(GetNearParts(vv)) do |
794 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.311326861, 0.296501487, 0.326149136)) |
795 | - | table.insert(pen,vvv) |
795 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 2.00148392, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762)) |
796 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
797 | - | elseif vv:IsA("BasePart") then |
797 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.311326861, 1.33425784, 0.326149136)) |
798 | - | table.insert(pen,vv) |
798 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 9.91821289e-005, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762)) |
799 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
800 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 2.9650178, 0.444748878)) | |
801 | - | return pen |
801 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.86102295e-006, -3.84435654, 4.01723862, 0.999993443, 1.59027059e-006, 2.6722384e-007, 2.68622188e-007, -0.258817196, 0.965924799, 1.57439217e-006, -0.965919495, -0.258818537)) |
802 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.815379977, 1, 1)) | |
803 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.311326861, 0.296501487, 0.326149136)) | |
804 | - | Attack=function() --Click and hold readies the noob; releasing swings it. |
804 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -1.85279465, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762)) |
805 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
806 | - | if Tool.Nom.Value<300 then |
806 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2.52026534, 0.200000003)) |
807 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.70486307, 2.96461105, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
808 | - | if Attackdeb==false then return end |
808 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) |
809 | - | if Chewing==true then return end |
809 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 4.29927588, 0.741248131)) |
810 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.86102295e-006, -4.5114727, 4.01726913, 0.999993443, 1.59027059e-006, 2.6722384e-007, 2.68622188e-007, -0.258817196, 0.965924799, 1.57439217e-006, -0.965919495, -0.258818537)) | |
811 | - | arm=Tool.Parent.Torso:FindFirstChild([[Right Shoulder]]) |
811 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1)) |
812 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.326151937, 0.200000003, 0.355799079)) | |
813 | - | if arm==nil then print("FUUUUUUUUUU") return end |
813 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 9.91821289e-005, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762)) |
814 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.741254449, 1)) | |
815 | - | holdi=1 |
815 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.311326861, 0.200000003, 0.326149136)) |
816 | - | Waiting=true |
816 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 1.03784561, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762)) |
817 | - | Attackdeb=false |
817 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.741254449, 1)) |
818 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.33425796, 0.296501786, 1.48249602)) | |
819 | - | co=arm.C0 |
819 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.40934753, 3.81469727e-006, -6.91413879e-006, -2.98023224e-008, -0.999999821, -0, 0.999999821, -2.98023224e-008, 0, 0, 0, 0.999999762)) |
820 | - | c1=arm.Part1["RightGrip"].C0 |
820 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
821 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.311326861, 0.200000003, 0.326149136)) | |
822 | - | Tool.Handle.SAUCE2:Play() |
822 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -1.03752136, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762)) |
823 | - | Tool.Handle.SAUCE1:Play() |
823 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.741254449, 1)) |
824 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.326151937, 0.296499252)) | |
825 | - | for i=1, 5 do |
825 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.40927505, 2.95639038e-005, 0.444754362, -2.98023295e-008, -1, -0, 1, -2.98023295e-008, 0, 0, 0, 0.999999762)) |
826 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1)) | |
827 | - | Scaling=-i/2 |
827 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.326151937, 0.296499252)) |
828 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.40908051, 0.000387191772, -6.91413879e-006, -2.98023259e-008, -0.999999523, -0, 1, -2.98023402e-008, 0, 0, 0, 0.999999285)) | |
829 | - | wait() |
829 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1)) |
830 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.326151937, 0.296499252)) | |
831 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.96453476, 4.67300415e-005, -6.91413879e-006, -2.98023295e-008, -1, -0, 1, -2.98023295e-008, 0, 0, 0, 0.999999762)) | |
832 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1)) | |
833 | - | Tool.Handle.OPEN1:Play() |
833 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.326151937, 0.296499252)) |
834 | - | Tool.Handle.OPEN2:Play() |
834 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.40927505, 2.95639038e-005, -0.444758654, -2.98023295e-008, -1, -0, 1, -2.98023295e-008, 0, 0, 0, 0.999999762)) |
835 | - | Tool.Handle.OPEN3:Play() |
835 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1)) |
836 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.296501786, 0.200000003)) | |
837 | - | for i=1, 10 do --must be held for the full 20, or moot. |
837 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.00191879, 0.00050163269, 0.815378904, -2.98023437e-008, -0.999999642, -0, 0.999999642, -2.98023437e-008, 0, 0, 0, 0.999999762)) |
838 | - | if Waiting==false then break end |
838 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) |
839 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.444748729)) | |
840 | - | Scaling=10*i |
840 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.45595932, 0.000414848328, 1.25711417, 7.28358245e-008, -0.999999046, 2.98032496e-008, 1, 7.28358458e-008, -1.13780651e-007, 1.13780807e-007, 2.98032212e-008, 0.999998808)) |
841 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) | |
842 | - | arm.C0=arm.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/1.75/10) |
842 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.296501487, 0.296499223)) |
843 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -2.74229431, -6.67572021e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999523)) | |
844 | - | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(-math.pi/45*2,0,0) |
844 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
845 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.296501487, 0.296499223)) | |
846 | - | wait() |
846 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 2.74255371, -6.67572021e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999523)) |
847 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
848 | - | holdi=i*2 |
848 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.296501786, 0.296499252)) |
849 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.48226929e-005, 2.89077377, -2.43186951e-005, 0.999999642, 1.29942332e-008, 1.07873738e-007, -1.29943079e-008, 0.999999642, 7.15448891e-007, -1.07873717e-007, -7.15448834e-007, 0.999999762)) | |
850 | mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
851 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.200000003, 0.200000003)) | |
852 | - | while Waiting==true do |
852 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000374794006, -0.963628292, 4.00193787, -0.999993443, -3.16762635e-006, -1.49011381e-008, -1.49021755e-008, 8.47403953e-007, -0.999998868, 3.16762657e-006, -0.999993384, -7.8780505e-007)) |
853 | - | wait() |
853 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.741254449, 0.741248071)) |
854 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.296501786, 0.200000003)) | |
855 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000382423401, -0.88951993, -3.11242676, 0.999993205, 1.42891167e-006, -3.27825433e-007, -4.32134527e-007, 1.02892602e-006, -0.999998927, -1.47361538e-006, 0.999993265, 9.69328653e-007)) | |
856 | - | if holdi==20 then --fully charged |
856 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.741248071)) |
857 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.444752693, 0.200000003)) | |
858 | - | Tool.Parent.Torso.Anchored=true |
858 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000383377075, 0.518874645, -3.11242294, -0.999993443, -1.32620335e-006, 2.76574696e-007, 3.95783559e-007, -9.85657607e-007, 0.999998868, -1.37090683e-006, 0.999993265, 9.26059613e-007)) |
859 | - | gg=Instance.new("BodyGyro") --no re |
859 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.741248071)) |
860 | - | gg.P=7000 |
860 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 1.48249602)) |
861 | - | gg.D=500 |
861 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.60424805, 0.000413894653, 2.51726198, 1.59275899e-007, -0.999999821, 1.49011584e-007, 1, 1.59275913e-007, -1.1378453e-007, 1.1378458e-007, 1.49011612e-007, 0.999999583)) |
862 | - | gg.maxTorque=Vector3.new(500000,500000,500000)*500000000000000000000000000000 |
862 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) |
863 | - | gg.cframe=Tool.Parent.Torso.CFrame |
863 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.593003631, 0.200000003)) |
864 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000409126282, -2.96186352, -3.45602417, 0.999993205, 5.70906195e-007, 5.16308319e-006, 5.08593212e-006, -2.63005495e-005, -0.999997497, -5.03489844e-007, 0.999994576, -2.12490504e-005)) | |
865 | - | gp=Instance.new("BodyPosition") |
865 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) |
866 | - | gp.P=5000 |
866 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
867 | - | gp.maxForce=Vector3.new(50000,50000,50000)*500000000000 |
867 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.45597839, 0.000414848328, 1.55362201, 1.59275089e-007, -0.999997139, -5.96043996e-008, 1, 1.59274975e-007, -1.13784445e-007, 1.13784942e-007, -5.96045808e-008, 0.999996901)) |
868 | - | gp.position=Tool.Parent.Torso.CFrame.p |
868 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
869 | - | gp.Parent=Tool.Parent.Torso |
869 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.592998326)) |
870 | - | gg.Parent=Tool.Parent.Torso |
870 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.45598221, 0.000413894653, 2.36899614, 1.59275146e-007, -0.999998569, -2.98022584e-008, 1, 1.59275189e-007, -1.13784601e-007, 1.137849e-007, -2.98023508e-008, 0.999998331)) |
871 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) | |
872 | - | Tool.Handle.SWING:Play() |
872 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
873 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.45597839, 0.000414848328, 1.99837613, 1.59275089e-007, -0.99999845, -5.96045027e-008, 1, 1.59275174e-007, -1.13784559e-007, 1.13784928e-007, -5.96046306e-008, 0.999998212)) | |
874 | - | didGrab=false |
874 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
875 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.296499103)) | |
876 | - | objects={} |
876 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.45598602, 0.000414848328, 1.77599883, 1.59275174e-007, -0.999998808, -2.98022726e-008, 1, 1.59275203e-007, -1.13784644e-007, 1.13784857e-007, -2.98023366e-008, 0.999998569)) |
877 | - | players={} |
877 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1)) |
878 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.889505386, 0.200000003)) | |
879 | - | for i=1, 6 do |
879 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000412940979, -3.70311022, -3.60429001, 0.999993205, 5.70906195e-007, 5.16308319e-006, 5.08593212e-006, -2.63005495e-005, -0.999997497, -5.03489844e-007, 0.999994576, -2.12490504e-005)) |
880 | - | arm.C0=arm.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/2.25/5) |
880 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071)) |
881 | - | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(-math.pi/60,0,0) |
881 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
882 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 1.90172958, -0.639986753, 0.999993563, 1.29944793e-008, 1.07850958e-007, -1.29944917e-008, 0.999992311, 1.25175063e-006, -1.0785029e-007, -1.07292954e-006, 0.999998868)) | |
883 | - | dir=(Tool.Handle.Position-Tool.Handle2.Position).unit |
883 | + | mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
884 | - | for peni=-2, 2 do |
884 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.593003571, 0.200000003)) |
885 | - | hit,loc=workspace:FindPartOnRay(Ray.new(Tool.Handle2.Position+(Tool.Parent["Right Arm"].Position-Tool.Parent.Torso.Position).unit*peni+Tool.Handle.CFrame.lookVector*2.4,-dir*30),Tool.Parent) |
885 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.0706977844, -0.573273659, 0.999997854, 1.29939313e-008, 1.07844173e-007, -1.29939162e-008, 0.999997437, 2.38420625e-007, -1.07843974e-007, -1.78815498e-007, 0.999999464)) |
886 | - | if hit~=nil and #objects<=12 then |
886 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.815372765)) |
887 | - | if hit.Parent~=nil then |
887 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.200000003, 0.200000003)) |
888 | - | h=hit.Parent:FindFirstChild("Humanoid") |
888 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -0.596420288, -0.57327354, 0.999997854, 1.29939313e-008, 1.07844173e-007, -1.29939162e-008, 0.999997437, 2.38420625e-007, -1.07843974e-007, -1.78815498e-007, 0.999999464)) |
889 | - | if h~=nil and hit.Parent~=Tool.Parent then |
889 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.741254449, 0.815372765)) |
890 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.741254449, 0.200000003)) | |
891 | - | h.Parent.Head.Transparency=1 |
891 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -1.18922043, -0.57327342, 0.999997854, 1.29939313e-008, 1.07844173e-007, -1.29939162e-008, 0.999997437, 2.38420625e-007, -1.07843974e-007, -1.78815498e-007, 0.999999464)) |
892 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.815372765)) | |
893 | - | table.insert(permobjects,hit:clone()) |
893 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.200000003, 0.200000003)) |
894 | - | table.insert(permobjects,h.Parent.Head:clone()) |
894 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.737804413, -0.573273778, 0.999997854, 1.29939313e-008, 1.07844173e-007, -1.29939162e-008, 0.999997437, 2.38420625e-007, -1.07843974e-007, -1.78815498e-007, 0.999999464)) |
895 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.741254449, 0.815372765)) | |
896 | - | h.PlatformStand=true |
896 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
897 | - | table.insert(players,h.Parent) |
897 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.62124634e-005, -1.92287064, -0.639983892, 0.999997854, 1.29942155e-008, 1.07847583e-007, -1.29942519e-008, 0.999997437, 7.15275121e-007, -1.07847377e-007, -6.55669055e-007, 0.999999464)) |
898 | - | ww=Instance.new("Weld") |
898 | + | mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071)) |
899 | - | ww.Part0=Tool.Cheek3 |
899 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.741254449, 0.200000003)) |
900 | - | ww.C0=CFrame.new(0,1.5,1)*CFrame.fromEulerAnglesXYZ(math.pi/2,math.pi/2,0) |
900 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 1.33082199, -0.573274136, 0.999993563, 1.2994124e-008, 1.07846695e-007, -1.29940725e-008, 0.999992311, 6.55663769e-007, -1.07846034e-007, -4.76846481e-007, 0.999998868)) |
901 | - | ww.Part1=h.Parent.Head |
901 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.815372765)) |
902 | - | ww.Parent=ww.Part1 |
902 | + | |
903 | function attackone() | |
904 | - | ww.Name="lolowned" |
904 | + | attack=true |
905 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9999,100000,math.random(9999,100000),"Normal",RootPart,.2,1) end) | |
906 | - | Tool.Handle.GETOVERHERE:Play() |
906 | + | for i=0,1,0.1 do |
907 | swait() | |
908 | - | if BESTSIZE < 8 then |
908 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(80)),.3) |
909 | - | BESTSIZE = 8 |
909 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(10),math.rad(-70)),.3) |
910 | - | end |
910 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3) |
911 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(-70), math.rad(0)), 0.3) | |
912 | - | else |
912 | + | RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3) |
913 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
914 | - | for _,v in pairs(GetNearParts(hit.Parent)) do |
914 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) |
915 | - | if v:GetMass()<=180 and v.Parent~=Tool.Parent and v.Parent~=Tool and (v.Position-hit.Position).magnitude<=7 then |
915 | + | end |
916 | - | table.insert(objects,v) |
916 | + | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.6) |
917 | so("http://roblox.com/asset/?id=231917871",Hitbox,1,0.8) | |
918 | - | if BESTSIZE < v:GetMass() then |
918 | + | for i=0,1,0.1 do |
919 | - | BESTSIZE = v:GetMass() |
919 | + | swait() |
920 | - | end |
920 | + | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) |
921 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
922 | - | table.insert(permobjects,v:clone()) |
922 | + | local h = 5 |
923 | - | x=Instance.new("BodyForce") x.force=Vector3.new(0,v:GetMass(),0) x.Parent=v |
923 | + | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) |
924 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
925 | - | for __,vv in pairs(v:children()) do |
925 | + | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) |
926 | - | hasmesh=false |
926 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
927 | - | if vv:IsA("DataModelMesh") then |
927 | + | scfr = blcf |
928 | - | vv.Scale=vv.Scale |
928 | + | elseif not scfr then |
929 | - | hasmesh=true |
929 | + | scfr = blcf |
930 | - | print("LOL") |
930 | + | |
931 | - | end |
931 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-80)),.3) |
932 | - | if hasmesh==false then --give it one |
932 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(5),math.rad(70)),.3) |
933 | - | m=Instance.new("SpecialMesh") m.MeshType="Brick" m.Scale=Vector3.new(v.Size.x,v.Size.y,v.Size.z) m.Parent=v |
933 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.5) * angles(math.rad(0), math.rad(-70), math.rad(90)), 0.3) |
934 | - | end |
934 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(-70), math.rad(0)), 0.3) |
935 | - | end |
935 | + | RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3) |
936 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
937 | - | v.Size=Vector3.new(1,1,1) |
937 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) |
938 | end | |
939 | - | v:BreakJoints() |
939 | + | attack=false |
940 | - | v.CanCollide=false |
940 | + | con1:disconnect() |
941 | - | v.Anchored=false |
941 | + | scfr = nil |
942 | end | |
943 | - | v:BreakJoints() |
943 | + | |
944 | - | v.CanCollide=false |
944 | + | function attacktwo() |
945 | - | v.Anchored=false |
945 | + | attack=true |
946 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9999,100000,math.random(9999,100000),"Normal",RootPart,.2,1) end) | |
947 | - | v.CFrame=Tool.Cheek3.CFrame |
947 | + | for i=0,1,0.1 do |
948 | swait() | |
949 | - | ww=Instance.new("Weld") |
949 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(90)),.2) |
950 | - | ww.Part0=Tool.Cheek3 |
950 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-80)),.3) |
951 | - | ww.C0=CFrame.new(math.random(-10,10)/100,math.random(-50,50)/10,math.random(-10,10)/10)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),0) |
951 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.1) |
952 | - | ww.Part1=v |
952 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(-70), math.rad(0)), 0.3) |
953 | - | ww.Parent=ww.Part1 |
953 | + | |
954 | end | |
955 | - | ww.Name="lolowned" |
955 | + | |
956 | for i=0,1,1 do | |
957 | - | x=Instance.new("BodyForce") x.force=Vector3.new(0,v:GetMass()*186,0) x.Parent=v |
957 | + | swait() |
958 | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.7) | |
959 | - | ss=Tool.Handle.OWNED:clone() ss.Pitch=.7 - v:GetMass()/70 ss.Parent=v ss:Play() |
959 | + | so("http://www.roblox.com/asset/?id=234365573",Hitbox,1,0.7) |
960 | for i=0,1,0.1 do | |
961 | - | end |
961 | + | swait() |
962 | - | end |
962 | + | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) |
963 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
964 | local h = 5 | |
965 | - | else --single part |
965 | + | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) |
966 | - | if hit:GetMass()<=220 then |
966 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
967 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
968 | - | table.insert(permobjects,hit) |
968 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
969 | - | table.insert(objects,hit) |
969 | + | scfr = blcf |
970 | - | |
970 | + | elseif not scfr then |
971 | - | hit:BreakJoints() |
971 | + | scfr = blcf |
972 | - | hit.CanCollide=false |
972 | + | |
973 | - | hit.Anchored=false |
973 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,-6*i),.3) |
974 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-50)),.3) | |
975 | - | x=Instance.new("BodyForce") x.force=Vector3.new(0,hit:GetMass()*186,0) x.Parent=hit |
975 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-10),math.rad(90)),.1) |
976 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) | |
977 | - | hit.CFrame=Tool.Cheek3.CFrame |
977 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3) |
978 | end | |
979 | - | ww=Instance.new("Weld") |
979 | + | |
980 | - | ww.Part0=Tool.Cheek3 |
980 | + | con1:disconnect() |
981 | - | ww.C0=CFrame.new(math.random(-10,10)/100,math.random(-10,10)/10,math.random(-10,10)/10)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),0) |
981 | + | attack=false |
982 | - | ww.Part1=hit |
982 | + | scfr = nil |
983 | - | ww.Parent=ww.Part1 |
983 | + | |
984 | ||
985 | - | ww.Name="lolowned" |
985 | + | function attackthree() |
986 | attack=true | |
987 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9999,100000,math.random(9999,100000),"Normal",RootPart,.2,1) end) | |
988 | for i=0,1,0.1 do | |
989 | swait() | |
990 | - | wait() |
990 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(00)),.3) |
991 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(00)),.3) | |
992 | - | if #objects>0 or #players>0 then |
992 | + | RW.C0=clerp(RW.C0,cf(1,0.8,-1)*angles(math.rad(150),math.rad(0),math.rad(-50)),.3) |
993 | - | Tool.Handle.NOM:Play() |
993 | + | LW.C0=clerp(LW.C0,cf(-1,0.8,-1)*angles(math.rad(150),math.rad(0),math.rad(50)),.3) |
994 | RH.C0=clerp(RH.C0,cf(1,-1,.2)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
995 | - | wait(.2) |
995 | + | LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) |
996 | Handleweld.C0=clerp(Handleweld.C0,cf(-1,0,-.2)*angles(math.rad(-20),math.rad(-20),math.rad(50)),.3) | |
997 | - | for _,v in pairs(objects) do |
997 | + | end |
998 | - | ss=Tool.Handle.OWNED:clone() ss.Pitch=.6 - v:GetMass()/60 ss.Parent=v ss:Play() ss.Volume=ss.Volume+.2 |
998 | + | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.4) |
999 | so("http://www.roblox.com/asset/?id=234365549",Hitbox,1,0.6) | |
1000 | for i=0,1,.1 do | |
1001 | - | for i=1, 3 do |
1001 | + | swait() |
1002 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1003 | - | Tool.Parent.Torso.CFrame=gg.cframe |
1003 | + | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then |
1004 | local h = 5 | |
1005 | - | BESTSIZE=BESTSIZE/3 |
1005 | + | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) |
1006 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1007 | - | for _,v in pairs(objects) do |
1007 | + | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) |
1008 | - | hasmesh=false |
1008 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
1009 | - | for __,vv in pairs(v:children()) do |
1009 | + | scfr = blcf |
1010 | - | if vv:IsA("DataModelMesh") then |
1010 | + | elseif not scfr then |
1011 | - | vv.Scale=vv.Scale/2 |
1011 | + | scfr = blcf |
1012 | - | hasmesh=true |
1012 | + | |
1013 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1014 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(00)),.3) | |
1015 | - | if hasmesh==false then --give it one |
1015 | + | RW.C0=clerp(RW.C0,cf(1,0.2,-.5)*angles(math.rad(10),math.rad(0),math.rad(-50)),.3) |
1016 | - | print("AAAAA") |
1016 | + | LW.C0=clerp(LW.C0,cf(-1,0.2,-.5)*angles(math.rad(10),math.rad(0),math.rad(50)),.3) |
1017 | - | m=Instance.new("SpecialMesh") m.MeshType="Brick" m.Scale=Vector3.new(.9,.9,.9) m.Parent=v |
1017 | + | RH.C0=clerp(RH.C0,cf(1,-1,.2)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) |
1018 | LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
1019 | Handleweld.C0=clerp(Handleweld.C0,cf(-1,0,-.2)*angles(math.rad(-20),math.rad(-20),math.rad(50)),.3) | |
1020 | end | |
1021 | - | for _,v in pairs(players) do |
1021 | + | attack=false |
1022 | - | if v:FindFirstChild("Humanoid")~=nil then |
1022 | + | con1:disconnect() |
1023 | - | v.Humanoid.PlatformStand=true |
1023 | + | scfr = nil |
1024 | end | |
1025 | ||
1026 | - | |
1026 | + | function CyanMoon() |
1027 | - | Scaling=Scaling-33.33 |
1027 | + | attack=true |
1028 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9999,100000,math.random(9999,100000),"Normal",RootPart,.2,1) end) | |
1029 | - | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(math.pi/16,0,0) |
1029 | + | for i=0,1,0.1 do |
1030 | swait() | |
1031 | - | wait() |
1031 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(120),math.rad(80)),.3) |
1032 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-10)),.3) | |
1033 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(-5),math.rad(0)),.3) | |
1034 | - | Tool.Parent.Torso.Anchored=false |
1034 | + | |
1035 | for i=1,4 do | |
1036 | - | num=0 |
1036 | + | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.5) |
1037 | - | if #objects>0 or #players>0 then |
1037 | + | so("http://roblox.com/asset/?id=28144425",Torso,1,0.8) |
1038 | - | for _,v in pairs(objects) do |
1038 | + | swait() |
1039 | for i=0,1,0.1 do | |
1040 | - | |
1040 | + | swait() |
1041 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1042 | - | num=num+(v:GetMass()*2) |
1042 | + | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then |
1043 | - | v:Remove() --lolgone |
1043 | + | local h = 5 |
1044 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
1045 | - | for _,v in pairs(players) do |
1045 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
1046 | - | num=num+40 |
1046 | + | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) |
1047 | - | v.Torso:BreakJoints() |
1047 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
1048 | - | for __,vv in pairs(v:children()) do |
1048 | + | scfr = blcf |
1049 | - | if vv.className=="Part" then |
1049 | + | elseif not scfr then |
1050 | - | coroutine.resume(coroutine.create(function(p) p.Transparency=1 wait(.1) p:Remove() end),vv) |
1050 | + | scfr = blcf |
1051 | end | |
1052 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(-40),math.rad(90)),.3) | |
1053 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-60)),.3) | |
1054 | - | Tool.Nom.Value=Tool.Nom.Value+math.floor(num) |
1054 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(0,-1.5,-6*i),.3) |
1055 | - | BESTSIZE=0 |
1055 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(-5),math.rad(0)),.3) |
1056 | - | Scaling=0 |
1056 | + | |
1057 | end | |
1058 | - | Chew() |
1058 | + | attack=false |
1059 | con1:disconnect() | |
1060 | - | for i=1, holdi/2 do |
1060 | + | scfr = nil |
1061 | - | arm.C0=arm.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/2.25/100/2) |
1061 | + | |
1062 | - | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(math.pi/40,0,0) |
1062 | + | |
1063 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
1064 | - | wait() |
1064 | + | local prt=part("Custom",workspace,"SmoothPlastic",0,0,"Really red","Effect",vt(0.5,0.5,0.5)) |
1065 | prt.Anchored=true | |
1066 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1067 | - | arm.Part1["RightGrip"].C0=c1 |
1067 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
1068 | - | arm.C0=co |
1068 | + | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) |
1069 | CF=Part.CFrame | |
1070 | Numbb=0 | |
1071 | - | BestSize=0 |
1071 | + | randnumb=math.random()-math.random() |
1072 | - | print(num) |
1072 | + | for i=0,1,0.05 do |
1073 | wait() | |
1074 | - | Tool.Parent.Torso.Anchored=false |
1074 | + | CF=CF*cf(0,1,0) |
1075 | - | gp.Parent=nil |
1075 | + | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) |
1076 | - | gg.Parent=nil |
1076 | + | Part.CFrame=CF*euler(Numbb,0,0) |
1077 | Part.Transparency=i | |
1078 | - | else --nope |
1078 | + | Numbb=Numbb+randnumb |
1079 | end | |
1080 | - | for i=1, holdi do |
1080 | + | Part.Parent=nil |
1081 | - | arm.C0=arm.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/1.75/20) |
1081 | + | end),prt) |
1082 | - | Scaling=Scaling-5 |
1082 | + | |
1083 | - | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(math.pi/45,0,0) |
1083 | + | |
1084 | - | wait() |
1084 | + | function Execution() --HEUAHUEHAUEHAUHUEAHUAEHUAHEUAHEUH |
1085 | attack=true | |
1086 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9999,100000,math.random(9999,100000),"Knockdown",RootPart,.2,1) end) | |
1087 | for i=0,1,0.03 do | |
1088 | - | arm.Part1["RightGrip"].C0=c1 |
1088 | + | swait() |
1089 | - | Attackdeb=true |
1089 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.1) |
1090 | - | arm.C0=co |
1090 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.1) |
1091 | - | Scaling=0 |
1091 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(120)),.1) |
1092 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(0), math.rad(0)), 0.1) | |
1093 | - | else |
1093 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.1) |
1094 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.2) | |
1095 | - | Attackdeb=true |
1095 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0,.4)*angles(math.rad(0),math.rad(10),math.rad(0)),.1) |
1096 | - | secondary() |
1096 | + | |
1097 | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.5) | |
1098 | so("http://roblox.com/asset/?id=28144425",Torso,1,0.5) | |
1099 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
1100 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
1101 | if hum12 and not hum12:IsDescendantOf(Character) then | |
1102 | - | Tool.Activated:connect(Attack) |
1102 | + | so('http://roblox.com/asset/?id=154965973',Hitbox,1,0.8) |
1103 | - | Tool.Deactivated:connect(function() Waiting=false end) |
1103 | + | for i = 1,20 do |
1104 | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1105 | - | secondary=function() |
1105 | + | end |
1106 | hitconasdf:disconnect() | |
1107 | - | if Chewing==true or Attackdeb==false or Tool.Nom.Value<50 or #permobjects<0 then return end |
1107 | + | end |
1108 | - | Attackdeb=false |
1108 | + | end) |
1109 | for i=0,1,0.03 do | |
1110 | swait() | |
1111 | - | gg=Instance.new("BodyGyro") --no re |
1111 | + | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) |
1112 | - | gg.P=7000 |
1112 | + | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then |
1113 | - | gg.D=500 |
1113 | + | local h = 5 |
1114 | - | gg.maxTorque=Vector3.new(500000,500000,500000)*500000000000000000000000000000 |
1114 | + | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) |
1115 | - | gg.cframe=Tool.Parent.Torso.CFrame |
1115 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
1116 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
1117 | - | gp=Instance.new("BodyPosition") |
1117 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
1118 | - | gp.P=5000 |
1118 | + | scfr = blcf |
1119 | - | gp.maxForce=Vector3.new(50000,50000,50000)*500000000000 |
1119 | + | elseif not scfr then |
1120 | - | gp.position=Tool.Parent.Torso.CFrame.p |
1120 | + | scfr = blcf |
1121 | - | gp.Parent=Tool.Parent.Torso |
1121 | + | |
1122 | - | gg.Parent=Tool.Parent.Torso |
1122 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.2) |
1123 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(60)),.2) | |
1124 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-20),math.rad(70)),.2) | |
1125 | - | tofire={} |
1125 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2) |
1126 | - | x=Tool.Nom.Value/4 |
1126 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.2) |
1127 | - | if #permobjects<Tool.Nom.Value/3 then x=#permobjects end |
1127 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.2) |
1128 | - | while (#tofire<x)do |
1128 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0,.4)*angles(math.rad(0),math.rad(10),math.rad(0)),.2) |
1129 | - | for _,v in pairs(permobjects) do |
1129 | + | |
1130 | - | if math.random(1,6)==1 and v:FindFirstChild("AAAA")==nil then |
1130 | + | attack=false |
1131 | - | table.insert(tofire,v) |
1131 | + | con1:disconnect() |
1132 | - | p=Instance.new("ObjectValue") p.Name="AAAA" p.Value=game.Players:GetPlayerFromCharacter(Tool.Parent) p.Parent=v |
1132 | + | scfr = nil |
1133 | pcall(function() | |
1134 | hitconasdf:disconnect() | |
1135 | end) | |
1136 | end | |
1137 | - | Tool.Handle.Startup:Play() |
1137 | + | |
1138 | mouse.Button1Down:connect(function() | |
1139 | - | lolpos=Tool.Parent.Humanoid.TargetPoint |
1139 | + | if attack==false then |
1140 | if attacktype==1 then | |
1141 | - | for i=1, 8 do |
1141 | + | attack=true |
1142 | - | Scaling=Scaling+10 |
1142 | + | attacktype=2 |
1143 | - | wait() |
1143 | + | attackone() |
1144 | elseif attacktype==2 then | |
1145 | attack=true | |
1146 | - | wait(.5) |
1146 | + | attacktype=3 |
1147 | attacktwo() | |
1148 | - | Tool.Handle.Startup:Stop() |
1148 | + | elseif attacktype==3 then |
1149 | - | Tool.Handle.Fire:Play() |
1149 | + | attack=true |
1150 | attacktype=1 | |
1151 | - | firing={} |
1151 | + | attackthree() |
1152 | - | for _,v in pairs(tofire) do |
1152 | + | end |
1153 | end | |
1154 | - | LOL=v:clone() |
1154 | + | end) |
1155 | - | LOL.CFrame=Tool.Cheek3.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-5,5),0,math.random(-5,5)) |
1155 | + | |
1156 | - | LOL.CanCollide=true |
1156 | + | mouse.KeyDown:connect(function(k) |
1157 | - | LOL.Anchored=false |
1157 | + | k=k:lower() |
1158 | - | LOL.Parent=workspace |
1158 | + | if k=='q' then |
1159 | - | vv=Instance.new("BodyVelocity") |
1159 | + | if attack==false then |
1160 | - | vv.Parent=LOL |
1160 | + | CyanMoon() |
1161 | - | vv.P=6000 |
1161 | + | |
1162 | - | vv.maxForce=Vector3.new(50000000000,50000000000,50000000000)*5000 |
1162 | + | elseif k=='e' then |
1163 | - | vv.velocity=Tool.Handle.CFrame.lookVector*200+Vector3.new(math.random(-10,10),math.random(-5,5),math.random(-10,10)) |
1163 | + | if attack==false then |
1164 | - | game:GetService("Debris"):AddItem(vv,.33) |
1164 | + | Execution() |
1165 | - | game:GetService("Debris"):AddItem(LOL,15) |
1165 | + | |
1166 | end | |
1167 | - | wait(.075) |
1167 | + | end) |
1168 | ||
1169 | ||
1170 | local sine = 0 | |
1171 | - | Tool.Handle.Fire:Stop() |
1171 | + | local change = 1 |
1172 | local val = 0 | |
1173 | - | wait(.25) |
1173 | + | |
1174 | while true do | |
1175 | - | Tool.Handle.Winddown:Play() |
1175 | + | swait() |
1176 | sine = sine + change | |
1177 | - | for i=1, 8 do |
1177 | + | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude |
1178 | - | Scaling=Scaling-10 |
1178 | + | local velderp=RootPart.Velocity.y |
1179 | - | wait() |
1179 | + | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) |
1180 | if equipped==true or equipped==false then | |
1181 | - | |
1181 | + | if attack==false then |
1182 | - | gp.Parent=nil |
1182 | + | idle=idle+1 |
1183 | - | gg.Parent=nil |
1183 | + | |
1184 | - | permobjects={} |
1184 | + | idle=0 |
1185 | end | |
1186 | - | Scaling=0 |
1186 | + | if idle>=500 then |
1187 | if attack==false then | |
1188 | - | if Tool.Nom.Value==300 then --Yay |
1188 | + | --Sheath() |
1189 | - | canScale=false |
1189 | + | |
1190 | - | Noob=Instance.new("Model") |
1190 | + | |
1191 | - | Noob.Name="Tactical FUUUUUU" |
1191 | + | if RootPart.Velocity.y > 1 and hitfloor==nil then |
1192 | - | for _,v in pairs(Tool:children()) do |
1192 | + | Anim="Jump" |
1193 | - | lol=v:clone() if lol.className=="Part" then lol.CanCollide=false end lol.Parent=Noob |
1193 | + | if attack==false then |
1194 | - | if v.className=="Part" then v.Transparency=1 end |
1194 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
1195 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1196 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), 0.3) | |
1197 | - | Noob.Parent=workspace |
1197 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) |
1198 | - | |
1198 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) |
1199 | - | wait(.1) |
1199 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) |
1200 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(10),math.rad(0)),.3) | |
1201 | - | smoke=Instance.new("Smoke") |
1201 | + | |
1202 | - | smoke.Color=Color3.new(.8,.8,.8) |
1202 | + | elseif RootPart.Velocity.y < -1 and hitfloor==nil then |
1203 | - | smoke.RiseVelocity=-5 |
1203 | + | Anim="Fall" |
1204 | - | smoke.Parent=Noob.Handle |
1204 | + | if attack==false then |
1205 | - | smoke.Opacity=.4 |
1205 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) |
1206 | - | smoke.Size=2 |
1206 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) |
1207 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3) | |
1208 | - | smoke2=Instance.new("Fire") |
1208 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3) |
1209 | - | smoke2.Heat=-8 |
1209 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) |
1210 | - | smoke2.Parent=Noob.Handle |
1210 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) |
1211 | - | smoke2.Enabled=false |
1211 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(10),math.rad(0)),.3) |
1212 | - | |
1212 | + | |
1213 | - | Noob.Handle.InitialThrust:Play() |
1213 | + | elseif torvel<1 and hitfloor~=nil then |
1214 | - | move=Instance.new("BodyVelocity") |
1214 | + | Anim="Idle" |
1215 | - | move.P=6000 |
1215 | + | if attack==false then |
1216 | - | move.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
1216 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(60)),.3) |
1217 | - | move.velocity=Vector3.new(0,-5,0) |
1217 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(5),math.rad(-50)),.3) |
1218 | - | move.Parent=smoke.Parent |
1218 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3) |
1219 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3) | |
1220 | - | firecols={BrickColor:Red(),BrickColor.new("Bright orange"),BrickColor.new("Pastel yellow"),BrickColor.new("Bright yellow")} |
1220 | + | RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3) |
1221 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1222 | - | for i=1, 130 do |
1222 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) |
1223 | - | wait(.03) |
1223 | + | |
1224 | - | move.velocity=move.velocity+Vector3.new(0,.52*(i/5),0) |
1224 | + | elseif torvel>2 and hitfloor~=nil then |
1225 | - | Noob.Handle.Thrusting.Pitch=1+i/50 |
1225 | + | Anim="Walk" |
1226 | - | if i>10 then |
1226 | + | if attack==false then |
1227 | - | smoke2.Enabled=true |
1227 | + | change=3 |
1228 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(60)),.3) | |
1229 | - | if i/2==math.floor(i/2) then |
1229 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(10),math.rad(-50)),.3) |
1230 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3) | |
1231 | - | local p=Instance.new("Part") |
1231 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3) |
1232 | - | p.Name="FadeTrail" |
1232 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3) |
1233 | - | p.TopSurface=0 |
1233 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(0)),.3) |
1234 | - | p.BottomSurface=0 |
1234 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) |
1235 | - | p.BrickColor=firecols[math.random(1,4)] |
1235 | + | |
1236 | - | p.formFactor="Symmetric" |
1236 | + | |
1237 | - | p.Size=Vector3.new(1,1,1) |
1237 | + | |
1238 | - | p.Anchored=true |
1238 | + | if #Effects>0 then |
1239 | - | p.CanCollide=false |
1239 | + | for e=1,#Effects do |
1240 | - | p.CFrame=Noob.Handle.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
1240 | + | if Effects[e]~=nil then |
1241 | - | local mm=Instance.new("BlockMesh") |
1241 | + | local Thing=Effects[e] |
1242 | - | mm.Parent=p |
1242 | + | if Thing~=nil then |
1243 | - | mm.Scale=Vector3.new(5,5,5) |
1243 | + | local Part=Thing[1] |
1244 | - | p.Parent=Noob |
1244 | + | local Mode=Thing[2] |
1245 | - | coroutine.resume(coroutine.create(function(p) for i=1, 10 do p.CFrame=p.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/1000,math.random(-100,100)/1000,math.random(-100,100)/1000) p.Mesh.Scale=p.Mesh.Scale-Vector3.new(1/15,1/15,1/15) wait() end p.BrickColor=BrickColor.new("Medium stone grey") for i=1, 40 do p.Transparency=i/40 p.CFrame=p.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)-Vector3.new(0,.1,0) p.Mesh.Scale=p.Mesh.Scale+Vector3.new(8/30,8/30,8/30) wait() end p:Remove() end),p) |
1245 | + | local Delay=Thing[3] |
1246 | local IncX=Thing[4] | |
1247 | local IncY=Thing[5] | |
1248 | local IncZ=Thing[6] | |
1249 | - | if i/10==math.floor(i/10) then |
1249 | + | if Thing[1].Transparency<=1 then |
1250 | - | Noob.Handle.Thrusting:Play() |
1250 | + | if Thing[2]=="Block1" then |
1251 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1252 | Mesh=Thing[1].Mesh | |
1253 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1254 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1255 | - | Noob.Handle.CFrame=CFrame.new(lolpos+Vector3.new(math.random(-9,9)*160,1100,math.random(-9,9)*160),lolpos) |
1255 | + | elseif Thing[2]=="Cylinder" then |
1256 | - | Noob.Handle.Anchored=true |
1256 | + | Mesh=Thing[1].Mesh |
1257 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1258 | - | move.velocity=(Noob.Handle.Position-lolpos).unit*-320 |
1258 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
1259 | elseif Thing[2]=="Blood" then | |
1260 | - | wait(6) |
1260 | + | Mesh=Thing[7] |
1261 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
1262 | - | Tool.Script.DoGui.Value=true |
1262 | + | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) |
1263 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1264 | - | Tool.Ohgodno:Play() |
1264 | + | elseif Thing[2]=="Elec" then |
1265 | Mesh=Thing[1].Mesh | |
1266 | - | elap=0 |
1266 | + | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) |
1267 | - | Noob.Handle.Anchored=false |
1267 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
1268 | elseif Thing[2]=="Disappear" then | |
1269 | - | yeeh=false |
1269 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
1270 | end | |
1271 | - | while (elap<300 and (Noob.Handle.Position-lolpos).magnitude>=30) do |
1271 | + | |
1272 | - | wait(.03) |
1272 | + | Part.Parent=nil |
1273 | table.remove(Effects,e) | |
1274 | - | if (Noob.Handle.Position-lolpos).magnitude<=300 and yeeh==false then yeeh=true Noob.Handle.wee:Play() Noob.Handle.KABOOOOM2:Play() end |
1274 | + | |
1275 | end | |
1276 | - | if elap/2==math.floor(elap/2) then |
1276 | + | |
1277 | end | |
1278 | - | local p=Instance.new("Part") |
1278 | + | |
1279 | - | p.Name="FadeTrail" |
1279 | + | end |