SHOW:
|
|
- or go back to the newest paste.
1 | - | --// Gaara Remade by: SavageMunkey in about 4 hours. |
1 | + | --// Gaara Remade by: mnms999 in about 4 hours. |
2 | --// Only Contains: Teleport, OnDeath Sand Puddle, and That follower part thingy. | |
3 | --// Used build2script cause im lazy | |
4 | ||
5 | wait() | |
6 | KillingSand = true | |
7 | local PColor,SColor = 'Pearl','Bright red'; | |
8 | local SandColor = 'Crimson'; | |
9 | ||
10 | local Plr = game.Players.LocalPlayer | |
11 | Char = Plr.Character | |
12 | local Mouse = Plr:GetMouse() | |
13 | ||
14 | local torso = Char:WaitForChild'Torso' | |
15 | local rarm = Char:WaitForChild'Right Arm' | |
16 | local larm = Char:WaitForChild'Left Arm' | |
17 | local rleg = Char:WaitForChild'Right Leg' | |
18 | local lleg = Char:WaitForChild'Left Leg' | |
19 | local root = Char:WaitForChild'HumanoidRootPart' | |
20 | local hed = Char:WaitForChild'Head' | |
21 | local hum = Char:WaitForChild('Humanoid') | |
22 | ||
23 | hum.Died:connect(function() | |
24 | KillingSand = false | |
25 | local Pos = torso.CFrame | |
26 | local DP = Instance.new('Part',Char) | |
27 | DP.Anchored = true | |
28 | DP.CFrame = CFrame.new(Pos.p) * CFrame.new(0,-3.15,0) | |
29 | DP.Transparency = .35 | |
30 | DP.BrickColor = BrickColor.new(SandColor) | |
31 | local MFP = Instance.new('CylinderMesh',DP) | |
32 | MFP.Scale = Vector3.new(2,.5,2) | |
33 | local DP2 = Instance.new('Part',Char) | |
34 | DP2.Anchored = true | |
35 | DP2.CFrame = CFrame.new(Pos.p) * CFrame.new(0,-3.15,0) | |
36 | DP2.Transparency = .35 | |
37 | DP2.BrickColor = BrickColor.new(SandColor) | |
38 | local MFP2 = Instance.new('CylinderMesh',DP2) | |
39 | MFP2.Scale = Vector3.new(2,.5,2) | |
40 | local DP3 = Instance.new('Part',Char) | |
41 | DP3.Anchored = true | |
42 | DP3.CFrame = CFrame.new(Pos.p) * CFrame.new(0,-3.15,0) | |
43 | DP3.Transparency = .35 | |
44 | DP3.BrickColor = BrickColor.new(SandColor) | |
45 | local MFP3 = Instance.new('CylinderMesh',DP3) | |
46 | MFP3.Scale = Vector3.new(2,.5,2) | |
47 | local Div = 1.8 | |
48 | spawn(function() | |
49 | local C = 80/Div | |
50 | for I = 1,C do | |
51 | MFP.Scale = MFP.Scale + Vector3.new(.35,0,.35) | |
52 | game:FindService'RunService'.RenderStepped:wait() | |
53 | end; | |
54 | end) | |
55 | spawn(function() | |
56 | local C = 50/Div | |
57 | for I = 1,C do | |
58 | MFP2.Scale = MFP2.Scale + Vector3.new(.35,0,.35) | |
59 | game:FindService'RunService'.RenderStepped:wait() | |
60 | end; | |
61 | end) | |
62 | spawn(function() | |
63 | local C = 25/Div | |
64 | for I = 1,C do | |
65 | MFP3.Scale = MFP3.Scale + Vector3.new(.35,0,.35) | |
66 | game:FindService'RunService'.RenderStepped:wait() | |
67 | end; | |
68 | end) | |
69 | end) | |
70 | ||
71 | NSound = function(Parent, Id) | |
72 | local Sound = Instance.new('Sound',Parent or workspace) | |
73 | Sound.Name = 'Sound_'..(tostring(Id) or 0) | |
74 | Sound.SoundId = 'rbxassetid://'..(tostring(Id) or 0) | |
75 | return Sound | |
76 | end | |
77 | ||
78 | Ang = function(C1,C2,C3) | |
79 | return CFrame.Angles(math.rad(C1),math.rad(C2),math.rad(C3)) | |
80 | end; | |
81 | ||
82 | Euler = function(C1,C2,C3) | |
83 | return CFrame.fromEulerAnglesXYZ(math.rad(C1),math.rad(C2),math.rad(C3)) | |
84 | end; | |
85 | ||
86 | NWeld = function(P0, P1, CFStuff) | |
87 | local Weld = Instance.new('Weld',P0) | |
88 | Weld.Part0 = P0 | |
89 | Weld.Part1 = P1 | |
90 | Weld.Name = tostring(P0)..'to'..tostring(P1.Name) | |
91 | Weld.C1 = CFStuff | |
92 | return Weld | |
93 | end | |
94 | ||
95 | New = function(Object, Parent, Name, Data) | |
96 | local Object = Instance.new(Object) | |
97 | if Object:IsA'Part' then | |
98 | Object.CanCollide = false | |
99 | print(tostring(Name)..': Loaded') | |
100 | game:FindService'Lighting'.Outlines = false | |
101 | end; | |
102 | spawn(function() | |
103 | for Index, Value in pairs(Data or {}) do | |
104 | Object[Index] = Value | |
105 | end;end) | |
106 | Object.Parent = Parent | |
107 | Object.Name = Name | |
108 | wait() | |
109 | return Object | |
110 | end | |
111 | ||
112 | Gaara = New("Model",Char,"GaaraModel",{}) | |
113 | Base = New("Part",Gaara,"Base",{BrickColor = BrickColor.new("Really black"),Transparency = 0.30000001192093,Transparency = 0.30000001192093,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 3.79999995, 1),CFrame = CFrame.new(-6.5525918, 3.02563214, 48.0500031, 0.70710665, 0.707106709, 0, -0.707106709, 0.70710665, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
114 | Mesh = New("CylinderMesh",Base,"Mesh",{}) | |
115 | BaseRing = New("Part",Gaara,"BaseRing",{BrickColor = BrickColor.new(PColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 3.79999995, 1),CFrame = CFrame.new(-6.5525918, 3.02563214, 48.0500031, 0.707106709, 0.707106769, 0, -0.707106769, 0.707106709, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),}) | |
116 | Mesh = New("CylinderMesh",BaseRing,"Mesh",{Scale = Vector3.new(2, 0.0850000009, 2),}) | |
117 | mot = New("Motor",BaseRing,"mot",{Part0 = BaseRing,Part1 = Base,C0 = CFrame.new(0, 0, 0, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1),C1 = CFrame.new(0, 0, 0, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1),}) | |
118 | TopCircle = New("Part",Gaara,"TopCircle",{BrickColor = BrickColor.new(SColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-5.84548521, 3.73273802, 48.0500031, 0.707106471, 0.707106531, 0, -0.707106531, 0.707106471, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),}) | |
119 | Mesh = New("SpecialMesh",TopCircle,"Mesh",{Scale = Vector3.new(2.6500001, 2.6500001, 2.6500001),MeshType = Enum.MeshType.Sphere,}) | |
120 | mot = New("Motor",TopCircle,"mot",{Part0 = TopCircle,Part1 = Base,C0 = CFrame.new(0, 0, 0, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1),C1 = CFrame.new(4.76837158e-007, 0.999999523, 0, 0.70710665, -0.707106709, 0, 0.707106709, 0.70710665, 0, 0, 0, 1),}) | |
121 | BottomCircle = New("Part",Gaara,"BottomCircle",{BrickColor = BrickColor.new(SColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-7.25969839, 2.31852579, 48.0500031, 0.707106471, 0.707106531, 0, -0.707106531, 0.707106471, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),}) | |
122 | Mesh = New("SpecialMesh",BottomCircle,"Mesh",{Scale = Vector3.new(2.6500001, 2.6500001, 2.6500001),MeshType = Enum.MeshType.Sphere,}) | |
123 | mot = New("Motor",BottomCircle,"mot",{Part0 = BottomCircle,Part1 = Base,C0 = CFrame.new(0, 0, 0, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1),C1 = CFrame.new(0, -0.999999762, 0, 0.70710665, -0.707106709, 0, 0.707106709, 0.70710665, 0, 0, 0, 1),}) | |
124 | TopFunnel = New("Part",Gaara,"TopFunnel",{BrickColor = BrickColor.new(SColor),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-4.9969573, 4.5812664, 48.0500031, 0.707106471, 0.707106531, 0, -0.707106531, 0.707106471, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),}) | |
125 | Mesh = New("CylinderMesh",TopFunnel,"Mesh",{Scale = Vector3.new(0.400000006, 0.600000024, 0.400000006),}) | |
126 | mot = New("Motor",TopFunnel,"mot",{Part0 = TopFunnel,Part1 = Base,C0 = CFrame.new(0, 0, 0, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1),C1 = CFrame.new(0, 2.19999981, 0, 0.70710665, -0.707106709, 0, 0.707106709, 0.70710665, 0, 0, 0, 1),}) | |
127 | TopFunnelInner = New("Part",Gaara,"TopFunnelInner",{BrickColor = BrickColor.new(PColor),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-4.98988628, 4.58833694, 48.0500031, 0.707106471, 0.707106531, 0, -0.707106531, 0.707106471, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),}) | |
128 | Mesh = New("CylinderMesh",TopFunnelInner,"Mesh",{Scale = Vector3.new(0.300000012, 0.600000024, 0.300000012),}) | |
129 | mot = New("Motor",TopFunnelInner,"mot",{Part0 = TopFunnelInner,Part1 = Base,C0 = CFrame.new(0, 0, 0, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1),C1 = CFrame.new(4.76837158e-007, 2.20999885, 0, 0.70710665, -0.707106709, 0, 0.707106709, 0.70710665, 0, 0, 0, 1),}) | |
130 | TopFunnelCap = New("Part",Gaara,"TopFunnelCap",{BrickColor = BrickColor.new(PColor),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-4.77068233, 4.80754137, 48.0500031, 0.707106471, 0.707106531, 0, -0.707106531, 0.707106471, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),}) | |
131 | Mesh = New("CylinderMesh",TopFunnelCap,"Mesh",{Scale = Vector3.new(0.5, 0.100000001, 0.5),}) | |
132 | mot = New("Motor",TopFunnelCap,"mot",{Part0 = TopFunnelCap,Part1 = Base,C0 = CFrame.new(0, 0, 0, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1),C1 = CFrame.new(0, 2.52000046, 0, 0.70710665, -0.707106709, 0, 0.707106709, 0.70710665, 0, 0, 0, 1),}) | |
133 | TopFunnelCapConnector = New("Part",Gaara,"TopFunnelCapConnector",{Material = Enum.Material.Neon, BrickColor = BrickColor.new(PColor),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-4.99695778, 4.9348197, 48.0500031, 0.707106471, 0.707106531, 0, -0.707106531, 0.707106471, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),}) | |
134 | Mesh = New("SpecialMesh",TopFunnelCapConnector,"Mesh",{Scale = Vector3.new(0.150000006, 0.150000006, 0.150000006),MeshId = "rbxassetid://3270017",MeshType = Enum.MeshType.FileMesh,}) | |
135 | mot = New("Motor",TopFunnelCapConnector,"mot",{Part0 = TopFunnelCapConnector,Part1 = Base,C0 = CFrame.new(0, 0, 0, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1),C1 = CFrame.new(-0.250000477, 2.44999909, 0, 0.70710665, -0.707106709, 0, 0.707106709, 0.70710665, 0, 0, 0, 1),}) | |
136 | SackWeld = NWeld(torso,Base,Ang(0,0,45)*CFrame.new(0,0,-1.45)) | |
137 | BodyStrap = New("Model",Gaara,"BodyStrap",{}) | |
138 | Main = New("Part",BodyStrap,"Main",{BrickColor = BrickColor.new(PColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2.5400002, 0.200000003, 1.10000002),CFrame = CFrame.new(-6.42506027, 3.01506114, 46.4999962, 0.70710665, 0.707106709, 0, -0.707106709, 0.70710665, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
139 | Part = New("Part",BodyStrap,"Part_1",{BrickColor = BrickColor.new(PColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.10000002, 0.200000003, 1.10000002),CFrame = CFrame.new(-6.7826333, 2.59263539, 46.4999962, 0, -0.999999166, 0, 0.999999166, 0, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
140 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Main,C0 = CFrame.new(0, 0, 0, 2.98023224e-008, 0.999999523, 0, -0.999999523, 2.98023224e-008, 0, 0, 0, 1),C1 = CFrame.new(0.0458579063, -0.551542521, 0, 0.70710665, -0.707106709, 0, 0.707106709, 0.70710665, 0, 0, 0, 1),}) | |
141 | Part = New("Part",BodyStrap,"Part_2",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Concrete,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.10000002, 0.200000003, 0.200000003),CFrame = CFrame.new(-6.78263283, 3.2426362, 46.4899979, -1.38580754e-006, 0.999998868, 8.94069672e-007, -1.17351931e-007, 9.53674316e-007, -0.999999106, -0.999999344, -1.51991844e-006, 1.9185741e-007),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
142 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
143 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1.38580799e-006, -1.17351988e-007, -0.999999344, 0.999999166, 9.34102445e-007, -1.51991844e-006, 9.34102729e-007, -0.999999404, 1.9185741e-007),C1 = CFrame.new(-0.413762093, -0.0919222832, -0.00999832153, 0.70710665, -0.707106709, 0, 0.707106709, 0.70710665, 0, 0, 0, 1),}) | |
144 | Part = New("Part",BodyStrap,"Part_3",{BrickColor = BrickColor.new(PColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.10000002),CFrame = CFrame.new(-7.31289196, 3.9028945, 46.4999962, -5.96046448e-008, 0.999999464, 0, -0.999999464, -5.96046448e-008, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
145 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Main,C0 = CFrame.new(0, 0, 0, -4.47034836e-008, -0.999999762, 0, 0.999999762, -4.47034836e-008, 0, 0, 0, 1),C1 = CFrame.new(-1.25558472, 1.1920929e-006, 0, 0.70710665, -0.707106709, 0, 0.707106709, 0.70710665, 0, 0, 0, 1),}) | |
146 | Part = New("Part",BodyStrap,"Part_4",{BrickColor = BrickColor.new(PColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.10000002),CFrame = CFrame.new(-5.51289368, 2.10289407, 46.4999962, -5.96046448e-008, 0.999999464, 0, -0.999999464, -5.96046448e-008, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
147 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Main,C0 = CFrame.new(0, 0, 0, -4.47034836e-008, -0.999999762, 0, 0.999999762, -4.47034836e-008, 0, 0, 0, 1),C1 = CFrame.new(1.28999901, -2.38418579e-007, 0, 0.70710665, -0.707106709, 0, 0.707106709, 0.70710665, 0, 0, 0, 1),}) | |
148 | Part = New("Part",BodyStrap,"Part_5",{BrickColor = BrickColor.new(PColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.10000002),CFrame = CFrame.new(-6.78289366, 2.08289385, 46.4999962, -5.96046448e-008, 0.999999464, 0, -0.999999464, -5.96046448e-008, 0, 0, 0, 1),Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
149 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Main,C0 = CFrame.new(0, 0, 0, -4.47034836e-008, -0.999999762, 0, 0.999999762, -4.47034836e-008, 0, 0, 0, 1),C1 = CFrame.new(0.406115532, -0.912168264, 0, 0.70710665, -0.707106709, 0, 0.707106709, 0.70710665, 0, 0, 0, 1),}) | |
150 | StrapWeld = NWeld(torso,Main,Ang(0,0,45)*CFrame.new(0,-.025,0)) | |
151 | ||
152 | KillingSand = true | |
153 | local rs = game:FindService'RunService'.RenderStepped or nil | |
154 | ||
155 | CanTele = true; | |
156 | ||
157 | MakeBodyClone = function() | |
158 | local CharM = Instance.new('Model',Char) | |
159 | CharM.Name = 'SecChar_Model' | |
160 | spawn(function() | |
161 | local HED = hed:clone() | |
162 | HED.Parent = CharM | |
163 | HED.Anchored = true | |
164 | HED.BrickColor = BrickColor.new(SandColor) | |
165 | HED.Transparency = .45 | |
166 | local RARM = rarm:clone() | |
167 | RARM.Parent = CharM | |
168 | RARM.Anchored = true | |
169 | RARM.BrickColor = BrickColor.new(SandColor) | |
170 | RARM.Transparency = .45 | |
171 | local LARM = larm:clone() | |
172 | LARM.Parent = CharM | |
173 | LARM.Anchored = true | |
174 | LARM.BrickColor = BrickColor.new(SandColor) | |
175 | LARM.Transparency = .45 | |
176 | local TORSO = torso:clone() | |
177 | TORSO.Parent = CharM | |
178 | TORSO.Anchored = true | |
179 | TORSO.BrickColor = BrickColor.new(SandColor) | |
180 | TORSO.Transparency = .45 | |
181 | local LLEG = lleg:clone() | |
182 | LLEG.Parent = CharM | |
183 | LLEG.Anchored = true | |
184 | LLEG.BrickColor = BrickColor.new(SandColor) | |
185 | LLEG.Transparency = .45 | |
186 | local RLEG = rleg:clone() | |
187 | RLEG.Parent = CharM | |
188 | RLEG.Anchored = true | |
189 | RLEG.BrickColor = BrickColor.new(SandColor) | |
190 | RLEG.Transparency = .45 | |
191 | end) | |
192 | return CharM | |
193 | end; | |
194 | ||
195 | Keys = { | |
196 | R = false; | |
197 | Q = false; | |
198 | }; | |
199 | local CanUse1,CanUse2,CanUse3,CanUse4 = true,true,true,true | |
200 | Mouse.KeyDown:connect(function(k) | |
201 | ks = tostring(k) | |
202 | kb = k:byte() | |
203 | ||
204 | if kb == 114 and CanUse1 then | |
205 | Keys.R = true | |
206 | local FolloP = Instance.new('Part',BodyStrap) | |
207 | FolloP.Name = 'FollowingPart' | |
208 | FolloP.Size = Vector3.new(1,1,1) | |
209 | FolloP.Transparency = 1 | |
210 | FolloP.CanCollide = false | |
211 | FolloP.Anchored = true | |
212 | FolloP.CFrame = torso.CFrame | |
213 | spawn(function()pcall(function() | |
214 | rs:connect(function() | |
215 | local NewPos = Mouse.Hit | |
216 | FolloP.CFrame = FolloP.CFrame:lerp(CFrame.new(NewPos.X,NewPos.Y,NewPos.Z),.055) | |
217 | end)end)end) | |
218 | local MakeDeathPart = function(Pos) | |
219 | pcall(function() | |
220 | local P = Instance.new('Part',torso) | |
221 | P.FormFactor = 3 | |
222 | P.Size = Vector3.new(2,2,2) | |
223 | P.Transparency = .5 | |
224 | P.Anchored = true | |
225 | P.CanCollide = false | |
226 | P.Material = 'Neon' | |
227 | P.BrickColor = BrickColor.new(SandColor) | |
228 | P.CFrame = CFrame.new(Pos)*Euler(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
229 | P.Touched:connect(function(hit) | |
230 | if hit:IsA'Part' and not hit:FindFirstChild('AlreadyHit') and hit.Name ~= 'Base' and hit.Parent and hit.Parent.Name ~= Plr.Name then | |
231 | if hit.Parent.Name ~= 'GaaraModel' and hit.Parent.Name ~= 'BodyStrap' then | |
232 | spawn(function() | |
233 | hit.BrickColor = BrickColor.new(SandColor) | |
234 | repeat rs:wait() hit.BrickColor = BrickColor.new(SandColor) hit.Transparency = hit.Transparency + .015 until | |
235 | hit.Transparency >= 1 | |
236 | hit:Destroy() | |
237 | end) | |
238 | end;end;end) | |
239 | spawn(function() | |
240 | local M = Instance.new('BlockMesh',P) | |
241 | repeat rs:wait() | |
242 | M.Scale = M.Scale + Vector3.new(.1,.1,.1) | |
243 | P.Transparency = P.Transparency + .035 until P.Transparency >= 1 | |
244 | wait() | |
245 | P:Destroy() | |
246 | end) | |
247 | --// print('Made Part', Pos) | |
248 | rs:wait() | |
249 | end)end; | |
250 | repeat MakeDeathPart(FolloP.Position) until Keys.R == false | |
251 | elseif kb == 113 and CanTele == true then | |
252 | KillingSand = false | |
253 | local BodMod = MakeBodyClone() | |
254 | local Pos = Mouse.Hit | |
255 | CanTele = false | |
256 | local Beacon = Instance.new('Part',workspace.CurrentCamera) | |
257 | Beacon.FormFactor = 3 | |
258 | Beacon.Material = 'Neon' | |
259 | Beacon.Anchored = true | |
260 | Beacon.CanCollide = false | |
261 | Beacon.BrickColor = BrickColor.new(SandColor) | |
262 | Beacon.CFrame = CFrame.new(Pos.X,Pos.Y-.5,Pos.Z) | |
263 | Beacon.Transparency = .4 | |
264 | Beacon.Size = Vector3.new(.3,3,.3) | |
265 | torso.Anchored = true | |
266 | local MakeInvis,MakeVis = function() | |
267 | for index,part in next, Char:children() do | |
268 | if part:IsA'Part' then | |
269 | part.Transparency = 1 | |
270 | end | |
271 | end | |
272 | end,function() | |
273 | for index,part in next, Char:children() do | |
274 | if part:IsA'Part' and part.Name ~= 'HumanoidRootPart' then | |
275 | part.Transparency = 0 | |
276 | end | |
277 | end | |
278 | end; | |
279 | MakeInvis() | |
280 | for index,part in next, Gaara:children() do | |
281 | if part:IsA'Part' then | |
282 | spawn(function() | |
283 | repeat | |
284 | rs:wait() part.Transparency = part.Transparency + .065 | |
285 | until part.Transparency >= 1 | |
286 | end) | |
287 | end | |
288 | end | |
289 | repeat rs:wait() torso.CFrame = torso.CFrame * CFrame.new(0,-.125,0) | |
290 | until torso.CFrame.Y <= -2.3 | |
291 | wait() | |
292 | local Count = 0 | |
293 | repeat | |
294 | rs:wait() Count = Count + .9 | |
295 | torso.CFrame = torso.CFrame:lerp(CFrame.new(Pos.X,-2.3,Pos.Z),.1) | |
296 | until Count >= 62.5 | |
297 | wait() | |
298 | Count = 0 | |
299 | repeat rs:wait() torso.CFrame = torso.CFrame * CFrame.new(0,.125,0) | |
300 | until torso.CFrame.Y >= 3 | |
301 | wait() | |
302 | for index,part in next, Gaara:children() do | |
303 | if part:IsA'Part' then | |
304 | spawn(function() | |
305 | repeat | |
306 | rs:wait() part.Transparency = part.Transparency - .065 | |
307 | until part.Transparency <= 0 | |
308 | end) | |
309 | end | |
310 | end | |
311 | BodMod:Destroy() | |
312 | Beacon:Destroy() | |
313 | wait() | |
314 | MakeVis() | |
315 | torso.Anchored = false | |
316 | spawn(function() | |
317 | wait(.5) | |
318 | CanTele = true | |
319 | end) | |
320 | end | |
321 | ||
322 | end) | |
323 | ||
324 | Mouse.KeyUp:connect(function(k) | |
325 | if k:lower() == 'r' then | |
326 | pcall(function() | |
327 | Keys.R = false | |
328 | BodyStrap:FindFirstChild'FollowingPart':Destroy() | |
329 | end)end; | |
330 | end) | |
331 | ||
332 | rs:connect(function() | |
333 | if KillingSand == true then | |
334 | local SandPart = Instance.new('Part',Gaara) | |
335 | SandPart.Anchored = true | |
336 | SandPart.CanCollide = false | |
337 | SandPart.FormFactor = 3 | |
338 | SandPart.Material = 'Neon' | |
339 | local Pl = Instance.new('PointLight',SandPart) | |
340 | Pl.Color = SandPart.Color | |
341 | SandPart.BrickColor = BrickColor.new(SandColor) | |
342 | SandPart.Size = Vector3.new(math.random(.2,.3),math.random(.2,.3),math.random(.2,.3)) | |
343 | SandPart.CFrame = torso.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) * Euler(math.random(-360,360),math.random(-360,360),math.random(-360,360)) | |
344 | SandPart.Touched:connect(function(hit) | |
345 | if hit:IsA'Part' and not hit:FindFirstChild('AlreadyHit') and hit.Name ~= 'Base' and hit.Parent and hit.Parent.Name ~= Plr.Name then | |
346 | if hit.Parent.Name ~= 'GaaraModel' and hit.Parent.Name ~= 'BodyStrap' then | |
347 | spawn(function() | |
348 | hit.BrickColor = BrickColor.new(SandColor) | |
349 | repeat rs:wait() hit.BrickColor = BrickColor.new(SandColor) hit.Transparency = hit.Transparency + .015 until | |
350 | hit.Transparency >= 1 | |
351 | hit:Destroy() | |
352 | end) | |
353 | end;end;end) | |
354 | spawn(function() | |
355 | repeat rs:wait() SandPart.Transparency = SandPart.Transparency + .05 until SandPart.Transparency >= 1 | |
356 | wait() | |
357 | SandPart:Destroy() | |
358 | end) | |
359 | end | |
360 | end) |